MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_4.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_4 Making Mercury/int3s/bad_indirect_reuse_4.int3 Making Mercury/ints/bad_indirect_reuse_4.int Making Mercury/javas/jmercury/bad_indirect_reuse_4.java Making Java class files Mercury/javas/jmercury/bad_indirect_reuse_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_hide_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_hide_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_hide_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_hide_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_hide_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_hide_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:473: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:227: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:493: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:295: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:413: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bad_indirect_reuse_4"; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_hide_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_hide_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_hide_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_hide_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_hide_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_hide_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:57: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:73: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:104: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:109: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:117: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:125: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:144: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:147: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:190: error: cannot find symbol conv0_U_4 = builtin.copy_2_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_9))); ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:201: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_hide_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:203: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (H_5))); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:206: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (X_6))); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:233: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:239: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:246: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:250: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:255: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:257: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:259: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:266: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:271: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:273: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:286: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:301: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:307: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:326: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:460: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 81 errors make[3]: *** [/tmp/mmake.mdmQ6m:2364: bad_indirect_reuse_4] Error 1 make[3]: Target 'bad_indirect_reuse_4.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded'