MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - foreign_type2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - foreign_type2 Making Mercury/int3s/foreign_type2.int3 Making Mercury/ints/foreign_type2.int Making Mercury/javas/jmercury/foreign_type2.java Making Java class files Mercury/javas/jmercury/foreign_type2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type2__field_types_coord_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type2__du_functor_desc_coord_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type2__du_stag_ordered_coord_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type2__du_ptag_ordered_coord_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type2__du_name_ordered_coord_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type2__type_ctor_info_coord_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type2.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_type2.java:334: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_type2.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/foreign_type2.java:178: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type2.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/foreign_type2.java:291: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/foreign_type2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_type2"; ^ Mercury/javas/jmercury/foreign_type2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_type2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_type2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_type2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_type2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type2__field_types_coord_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type2__du_functor_desc_coord_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type2__du_stag_ordered_coord_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type2__du_ptag_ordered_coord_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type2__du_name_ordered_coord_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type2__type_ctor_info_coord_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type2.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type2.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type2.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:55: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/foreign_type2.java:71: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/foreign_type2.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type2.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type2.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_type2.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/foreign_type2.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_type2.foreign_type2__type_ctor_info_coord_1))), ^ Mercury/javas/jmercury/foreign_type2.java:115: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/foreign_type2.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/foreign_type2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_22 = null; ^ Mercury/javas/jmercury/foreign_type2.java:143: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:147: error: cannot find symbol io.write_int_3_p_0(Var_12); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:150: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:154: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:158: error: cannot find symbol io.write_int_3_p_0(Var_17); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:161: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:163: error: package jmercury.runtime does not exist TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_type2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/foreign_type2.java:165: error: cannot find symbol Var_22 = type_desc.type_of_1_f_0(TypeInfo_24_24); ^ symbol: variable type_desc location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:168: error: cannot find symbol Var_20 = type_desc.type_name_1_f_0(Var_22); ^ symbol: variable type_desc location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:171: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:174: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type2 Mercury/javas/jmercury/foreign_type2.java:185: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type2.java:191: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type2.java:198: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/foreign_type2.java:202: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type2.java:207: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type2.java:209: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type2.java:211: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/foreign_type2.java:218: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type2.java:223: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type2.java:225: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type2.java:239: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type2.java:242: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = foreign_type2.__Compare____coord_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((foreign_type2.Coord_1) wrapper_arg_3), ((foreign_type2.Coord_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/foreign_type2.java:284: error: package jmercury.runtime does not exist succeeded = foreign_type2.__Unify____coord_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((foreign_type2.Coord_1) wrapper_arg_2), ((foreign_type2.Coord_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/foreign_type2.java:321: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 72 errors make[3]: *** [/tmp/mmake.Abe92r:2360: foreign_type2] Error 1 make[3]: Target 'foreign_type2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'