MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/scripts/mmc --make --options-file - lco_mday_bug_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/scripts/mmc --make --options-file - lco_mday_bug_1 Making Mercury/int3s/lco_mday_bug_1.int3 Making Mercury/ints/lco_mday_bug_1.int Making Mercury/javas/jmercury/lco_mday_bug_1.java Making Java class files Mercury/javas/jmercury/lco_mday_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_1__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:520: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_1.java:565: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_mday_bug_1.java:566: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_1.java:279: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:343: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_mday_bug_1"; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_1__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:91: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_mday_bug_1.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_mday_bug_1.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:157: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:198: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:198: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/lco_mday_bug_1.java:206: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:228: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_mday_bug_1.lco_mday_bug_1__type_ctor_info_number_0); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:230: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:242: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:245: error: cannot find symbol io.write_float_3_p_0(F_7); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:248: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:257: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:260: error: cannot find symbol io.write_int_3_p_0(I_6); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:263: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:267: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Res_5))); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:285: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:291: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:300: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:304: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:307: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:320: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:322: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:334: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:349: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:350: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:351: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:355: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:360: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:362: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:373: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:440: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:440: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:507: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 91 errors make[3]: *** [/tmp/mmake.2cNbLz:2360: lco_mday_bug_1] Error 1 make[3]: Target 'lco_mday_bug_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded'