MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - foreign_type_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - foreign_type_1 Making Mercury/int3s/foreign_type_1.int3 Making Mercury/ints/foreign_type_1.int Making Mercury/javas/jmercury/foreign_type_1.java foreign_type_1.m:015: Warning: this declaration of `coord'/0 is redundant, foreign_type_1.m:015: since the type has a definition in the implementation foreign_type_1.m:015: section. Making Java class files Mercury/javas/jmercury/foreign_type_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_1__field_types_coord_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_1__du_functor_desc_coord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_stag_ordered_coord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_1__du_ptag_ordered_coord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_name_ordered_coord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_1__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_1.java:438: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_type_1.java:287: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_1.java:396: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_type_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_type_1"; ^ Mercury/javas/jmercury/foreign_type_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_type_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_type_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_type_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_type_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_1__field_types_coord_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_1__du_functor_desc_coord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_stag_ordered_coord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_1__du_ptag_ordered_coord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_name_ordered_coord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_1__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_1.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_1.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_1.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:55: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/foreign_type_1.java:71: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/foreign_type_1.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_1.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_1.java:164: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:168: error: cannot find symbol io.write_int_3_p_0(Var_14); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:171: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:175: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:179: error: cannot find symbol io.write_int_3_p_0(Var_19); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:187: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:191: error: cannot find symbol io.write_int_3_p_0(Var_26); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:194: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:198: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:202: error: cannot find symbol io.write_int_3_p_0(Var_31); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:210: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:214: error: cannot find symbol io.write_int_3_p_0(Var_38); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:217: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:221: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:225: error: cannot find symbol io.write_int_3_p_0(Var_43); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:228: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:233: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:237: error: cannot find symbol io.write_int_3_p_0(Var_50); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:244: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:248: error: cannot find symbol io.write_int_3_p_0(Var_55); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:293: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:299: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:306: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:310: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_1.java:315: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_1.java:317: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:319: 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_type_1.java:326: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_1.java:331: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_1.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:346: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:425: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 73 errors make[3]: *** [/tmp/mmake.uvL8nw:2364: foreign_type_1] Error 1 make[3]: Target 'foreign_type_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' ERROR OUTPUT foreign_type_1.m:015: Warning: this declaration of `coord'/0 is redundant, foreign_type_1.m:015: since the type has a definition in the implementation foreign_type_1.m:015: section. END OF THE ERROR OUTPUT