MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-21/stage2/scripts/mmc --make --options-file - bug240.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-21/stage2/scripts/mmc --make --options-file - bug240 Making Mercury/int3s/bug240.int3 Making Mercury/ints/bug240.int Making Mercury/javas/jmercury/bug240.java Making Java class files Mercury/javas/jmercury/bug240.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug240.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug240__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug240.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug240__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug240.java:656: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug240.java:285: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug240.java:614: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug240.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug240"; ^ Mercury/javas/jmercury/bug240.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug240.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug240.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug240 Mercury/javas/jmercury/bug240.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug240 Mercury/javas/jmercury/bug240.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug240.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug240.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug240.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug240__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug240.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug240__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug240.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:85: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:85: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:90: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:98: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:102: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:102: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:107: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:115: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:119: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/bug240.java:119: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:121: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/bug240.java:121: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:123: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:128: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:136: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug240.java:152: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug240.java:187: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug240.java:190: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug240.java:249: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/bug240.java:249: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:249: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/bug240.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/bug240.java:256: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, java.lang.Double.valueOf(Y1_6)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:259: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, java.lang.Double.valueOf(Y2_7)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:261: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:261: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bug240.java:263: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, java.lang.Integer.valueOf(Y3_8)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:291: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug240.java:297: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug240.java:309: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:316: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug240.java:324: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:327: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug240.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:342: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:347: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:349: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug240.java:356: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:359: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug240.java:366: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:375: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:380: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:382: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug240.java:388: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:391: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug240.java:399: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors make[3]: *** [/tmp/mmake.Z0NLn7:2364: bug240] Error 1 make[3]: Target 'bug240.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded'