MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - bug557.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - bug557 Making Mercury/int3s/bug557.int3 Making Mercury/int3s/bug557_helper.int3 Making Mercury/ints/bug557_helper.int Making Mercury/ints/bug557.int Making Mercury/javas/jmercury/bug557.java Making Mercury/javas/jmercury/bug557_helper.java Making Java class files Mercury/javas/jmercury/bug557.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug557__field_types_record_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug557.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug557__du_functor_desc_record_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_stag_ordered_record_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug557__du_ptag_ordered_record_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug557.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_name_ordered_record_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_record_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:389: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug557.java:390: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557.java:161: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557.java:200: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug557_helper.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557_helper__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557_helper.java:191: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug557_helper.java:192: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557_helper.java:83: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557_helper.java:147: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug557.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug557"; ^ Mercury/javas/jmercury/bug557.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug557.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug557.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug557 Mercury/javas/jmercury/bug557.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug557 Mercury/javas/jmercury/bug557.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug557.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug557.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug557__field_types_record_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug557.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug557__du_functor_desc_record_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_stag_ordered_record_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug557__du_ptag_ordered_record_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug557.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_name_ordered_record_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_record_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug557.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557.java:90: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug557.bug557__type_ctor_info_ambiguous_type_0; ^ Mercury/javas/jmercury/bug557.java:97: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug557.java:113: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug557.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557.java:157: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:167: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:168: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:169: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:173: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557.java:178: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557.java:180: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:191: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:206: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:212: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:217: error: cannot find symbol int Var_9 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:218: error: cannot find symbol int Var_10 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:222: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557.java:227: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557.java:229: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:241: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:255: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:255: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:290: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgX1_3 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:290: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgY1_4 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:357: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug557_helper.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557_helper__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557_helper.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug557_helper.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557_helper.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557_helper.java:89: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557_helper.java:90: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:91: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:95: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557_helper.java:100: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557_helper.java:102: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557_helper.java:113: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557_helper.java:127: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:127: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:176: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors make[3]: *** [/tmp/mmake.pyCWWN:2364: bug557] Error 1 make[3]: Target 'bug557.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded'