MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/scripts/mmc --make --options-file - exists_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/scripts/mmc --make --options-file - exists_bug.class Making Mercury/int3s/exists_bug.int3 Making Mercury/ints/exists_bug.int Making Mercury/javas/jmercury/exists_bug.java Making Mercury/classes/jmercury/exists_bug.class Mercury/javas/jmercury/exists_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] exists_bug__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/exists_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc exists_bug__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/exists_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exists_bug__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exists_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] exists_bug__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/exists_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exists_bug__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exists_bug.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct exists_bug__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/exists_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId exists_bug__type_class_id_bar_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/exists_bug.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct exists_bug__type_class_decl_bar_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/exists_bug.java:295: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/exists_bug.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_8, ^ Mercury/javas/jmercury/exists_bug.java:169: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/exists_bug.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_7, ^ Mercury/javas/jmercury/exists_bug.java:252: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/exists_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] exists_bug__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/exists_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc exists_bug__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/exists_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exists_bug__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exists_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] exists_bug__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/exists_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exists_bug__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exists_bug.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct exists_bug__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/exists_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId exists_bug__type_class_id_bar_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/exists_bug.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct exists_bug__type_class_decl_bar_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/exists_bug.java:30: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/exists_bug.java:35: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:43: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/exists_bug.java:51: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/exists_bug.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/exists_bug.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/exists_bug.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_4_4 = null; ^ Mercury/javas/jmercury/exists_bug.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = null; ^ Mercury/javas/jmercury/exists_bug.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = null; ^ Mercury/javas/jmercury/exists_bug.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/exists_bug.java:140: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/exists_bug.java:147: error: package jmercury.runtime does not exist TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(exists_bug.exists_bug__type_ctor_info_foo_1); ^ Mercury/javas/jmercury/exists_bug.java:149: error: package jmercury.runtime does not exist TypeInfo_6_6 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/exists_bug.java:176: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/exists_bug.java:182: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/exists_bug.java:189: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_S_8, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:202: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/exists_bug.java:205: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = exists_bug.__Compare____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((exists_bug.Foo_1) wrapper_arg_3), ((exists_bug.Foo_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/exists_bug.java:230: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_S_7, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class exists_bug Mercury/javas/jmercury/exists_bug.java:245: error: package jmercury.runtime does not exist succeeded = exists_bug.__Unify____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((exists_bug.Foo_1) wrapper_arg_2), ((exists_bug.Foo_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/exists_bug.java:282: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/exists_bug.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 45 errors ** Error making `Mercury/classes/jmercury/exists_bug.class'. make[3]: *** [/tmp/mmake.d7mkf4:1500: exists_bug.class] Error 1 make[3]: Target 'exists_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'