MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/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-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/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-30/stage2/scripts/mmc --make --options-file - merge_inst_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/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-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/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-30/stage2/scripts/mmc --make --options-file - merge_inst_bug.class Making Mercury/int3s/merge_inst_bug.int3 Making Mercury/int3s/merge_inst_bug_helper_1.int3 Making Mercury/ints/merge_inst_bug.int Making Mercury/ints/merge_inst_bug_helper_1.int Making Mercury/javas/jmercury/merge_inst_bug.java Making Mercury/classes/jmercury/merge_inst_bug.class Mercury/javas/jmercury/merge_inst_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_4__vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0bool__type_ctor_info_bool_0unit__type_ctor_info_unit_0unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:17: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct merge_inst_bug__type_ctor_info_amend_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:97: error: package list does not exist list.List_1 All_1, ^ Mercury/javas/jmercury/merge_inst_bug.java:98: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/merge_inst_bug.java:160: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/merge_inst_bug.java:216: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/merge_inst_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_4__vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0bool__type_ctor_info_bool_0unit__type_ctor_info_unit_0unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:17: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct merge_inst_bug__type_ctor_info_amend_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/merge_inst_bug.java:22: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:24: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ symbol: variable io location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:24: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ Mercury/javas/jmercury/merge_inst_bug.java:25: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ symbol: variable io location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ Mercury/javas/jmercury/merge_inst_bug.java:29: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:31: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(merge_inst_bug.__vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0), ^ Mercury/javas/jmercury/merge_inst_bug.java:32: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0), ^ symbol: variable bool location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:32: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0), ^ Mercury/javas/jmercury/merge_inst_bug.java:33: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0), ^ symbol: variable unit location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:33: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0), ^ Mercury/javas/jmercury/merge_inst_bug.java:34: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0) ^ symbol: variable unit location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:34: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0) ^ Mercury/javas/jmercury/merge_inst_bug.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/merge_inst_bug.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/merge_inst_bug.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/merge_inst_bug.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) merge_inst_bug.__vti_pred_4__vti_pred_2io__type_ctor_info_state_0io__type_ctor_info_state_0bool__type_ctor_info_bool_0unit__type_ctor_info_unit_0unit__type_ctor_info_unit_0 ^ Mercury/javas/jmercury/merge_inst_bug.java:73: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:73: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/merge_inst_bug.java:74: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:74: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/merge_inst_bug.java:109: error: package list.List_1 does not exist /* closure */ java.lang.Object[] Amend_15 = ((/* closure */ java.lang.Object[]) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/merge_inst_bug.java:110: error: package list does not exist list.List_1 Amends_16 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/merge_inst_bug.java:110: error: package list.List_1 does not exist list.List_1 Amends_16 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/merge_inst_bug.java:112: error: package bool does not exist bool.Bool_0 Done_20 = null; ^ Mercury/javas/jmercury/merge_inst_bug.java:113: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Amend_15)[1]); ^ Mercury/javas/jmercury/merge_inst_bug.java:113: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Amend_15)[1]); ^ Mercury/javas/jmercury/merge_inst_bug.java:119: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Amend_15))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/merge_inst_bug.java:125: error: package bool does not exist Done_20 = ((bool.Bool_0) conv2_Done_20); ^ Mercury/javas/jmercury/merge_inst_bug.java:126: error: illegal start of type switch (Done_20.MR_value) { ^ Mercury/javas/jmercury/merge_inst_bug.java:129: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = Amends_16; ^ Mercury/javas/jmercury/merge_inst_bug.java:139: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/merge_inst_bug.java:165: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/merge_inst_bug.java:168: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:179: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/merge_inst_bug.java:196: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class merge_inst_bug Mercury/javas/jmercury/merge_inst_bug.java:254: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 47 errors ** Error making `Mercury/classes/jmercury/merge_inst_bug.class'. make[3]: *** [/tmp/mmake.ZpE4qF:1242: merge_inst_bug.class] Error 1 make[3]: Target 'merge_inst_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-30/tests/valid_seq'