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 --loop-invariants --trace-optimized '; 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 - loop_inv_test1.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 --loop-invariants --trace-optimized '; 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 - loop_inv_test1 Making Mercury/int3s/loop_inv_test1.int3 Making Mercury/ints/loop_inv_test1.int Making Mercury/javas/jmercury/loop_inv_test1.java Making Java class files Mercury/javas/jmercury/loop_inv_test1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test1"; ^ Mercury/javas/jmercury/loop_inv_test1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test1.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test1.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test1.java:191: error: package io does not exist io.Result_1 Res1_4 = null; ^ Mercury/javas/jmercury/loop_inv_test1.java:192: error: package io does not exist io.Result_1 Res2_5 = null; ^ Mercury/javas/jmercury/loop_inv_test1.java:198: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:201: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:204: error: cannot find symbol Res1_4 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:207: error: cannot find symbol Res2_5 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:212: error: package io.Result_1 does not exist L1_6 = ((java.lang.String) ((io.Result_1.Ok_1) Res1_4).F1); ^ Mercury/javas/jmercury/loop_inv_test1.java:215: error: package io.Result_1 does not exist L2_7 = ((java.lang.String) ((io.Result_1.Ok_1) Res2_5).F1); ^ Mercury/javas/jmercury/loop_inv_test1.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/loop_inv_test1.java:230: error: cannot find symbol Var_19 = string.chomp_1_f_0(L1_6); ^ symbol: variable string location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:233: error: cannot find symbol N1_8 = string.det_to_int_1_f_0(Var_19); ^ symbol: variable string location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:236: error: cannot find symbol Var_20 = string.chomp_1_f_0(L2_7); ^ symbol: variable string location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:239: error: cannot find symbol N2_9 = string.det_to_int_1_f_0(Var_20); ^ symbol: variable string location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:249: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_21))); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:251: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/loop_inv_test1.java:253: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Integer.valueOf(R1_10)); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:257: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:260: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Integer.valueOf(R2_11)); ^ symbol: variable io location: class loop_inv_test1 Mercury/javas/jmercury/loop_inv_test1.java:268: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_27))); ^ symbol: variable io location: class loop_inv_test1 34 errors make[3]: *** [/tmp/mmake.ZfnQZ5:2360: loop_inv_test1] Error 1 make[3]: Target 'loop_inv_test1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'