MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -w --optimize-peep-mkword '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-10-13/stage2/scripts/mmc --make --options-file - bug160.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -w --optimize-peep-mkword '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-10-13/stage2/scripts/mmc --make --options-file - bug160 Making Mercury/int3s/bug160.int3 Making Mercury/ints/bug160.int Making Mercury/javas/jmercury/bug160.java Making Java class files Mercury/javas/jmercury/bug160.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_ordinal_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_name_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug160.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug160.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:720: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:742: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug160.java:743: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:281: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:673: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:320: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:404: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:595: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug160.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug160"; ^ Mercury/javas/jmercury/bug160.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug160.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug160.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug160 Mercury/javas/jmercury/bug160.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug160 Mercury/javas/jmercury/bug160.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug160.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug160.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_ordinal_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_name_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug160.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug160.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug160.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:98: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t3_0; ^ Mercury/javas/jmercury/bug160.java:103: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:111: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:118: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:126: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:133: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:141: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug160.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug160.java:180: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:183: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:192: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t1_0; ^ Mercury/javas/jmercury/bug160.java:194: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t1_0; ^ Mercury/javas/jmercury/bug160.java:199: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:207: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:213: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug160.java:215: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug160.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:237: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:274: error: cannot find symbol io.write_string_3_p_0(R_4); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:277: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:288: 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 T1_0 Mercury/javas/jmercury/bug160.java:289: 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 T1_0 Mercury/javas/jmercury/bug160.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:311: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:326: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:332: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:349: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:352: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug160.java:358: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:367: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug160.java:374: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ 100 errors make[3]: *** [/tmp/mmake.AZvOV4:2362: bug160] Error 1 make[3]: Target 'bug160.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/hard_coded'