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 - java_print_foreign.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 - java_print_foreign Making Mercury/int3s/java_print_foreign.int3 Making Mercury/ints/java_print_foreign.int Making Mercury/javas/jmercury/java_print_foreign.java Making Java class files Mercury/javas/jmercury/java_print_foreign.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_bool_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_long_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_local_date_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_uuid_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:533: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:563: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:593: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:623: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:653: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:683: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:713: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:743: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:999: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/java_print_foreign.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "java_print_foreign"; ^ Mercury/javas/jmercury/java_print_foreign.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/java_print_foreign.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/java_print_foreign.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/java_print_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/java_print_foreign.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_bool_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_long_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_local_date_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_uuid_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:217: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:242: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_bool_0); ^ Mercury/javas/jmercury/java_print_foreign.java:244: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_25_25, java.lang.Boolean.valueOf(Var_6)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:255: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_char_0); ^ Mercury/javas/jmercury/java_print_foreign.java:257: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_26_26, java.lang.Character.valueOf(Var_8)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:268: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_int_0); ^ Mercury/javas/jmercury/java_print_foreign.java:270: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_27_27, java.lang.Integer.valueOf(Var_10)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:281: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_long_0); ^ Mercury/javas/jmercury/java_print_foreign.java:283: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, java.lang.Long.valueOf(Var_12)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:294: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_float_0); ^ Mercury/javas/jmercury/java_print_foreign.java:296: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Float.valueOf(Var_14)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:307: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_double_0); ^ Mercury/javas/jmercury/java_print_foreign.java:309: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_30_30, java.lang.Double.valueOf(Var_16)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:320: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_uuid_0); ^ Mercury/javas/jmercury/java_print_foreign.java:322: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:334: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:345: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_local_date_0); ^ Mercury/javas/jmercury/java_print_foreign.java:347: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:359: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:538: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:543: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:554: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:568: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:573: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:584: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:598: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:603: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:614: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:628: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:633: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:644: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:658: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:663: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign 100 errors make[3]: *** [/tmp/mmake.2DLBd5:2364: java_print_foreign] Error 1 make[3]: Target 'java_print_foreign.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded'