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_test.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_test Making Mercury/int3s/loop_inv_test.int3 Making Mercury/ints/loop_inv_test.int Making Mercury/javas/jmercury/loop_inv_test.java Making Java class files Mercury/javas/jmercury/loop_inv_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test"; ^ Mercury/javas/jmercury/loop_inv_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test.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_test Mercury/javas/jmercury/loop_inv_test.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_test Mercury/javas/jmercury/loop_inv_test.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_test Mercury/javas/jmercury/loop_inv_test.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_test Mercury/javas/jmercury/loop_inv_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test.java:196: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test.java:197: error: package io does not exist io.Result_1 Res1_4 = null; ^ Mercury/javas/jmercury/loop_inv_test.java:198: error: package io does not exist io.Result_1 Res2_5 = null; ^ Mercury/javas/jmercury/loop_inv_test.java:199: error: package io does not exist io.Result_1 Res3_6 = null; ^ Mercury/javas/jmercury/loop_inv_test.java:206: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:209: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:212: error: cannot find symbol Res1_4 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:215: error: cannot find symbol Res2_5 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:218: error: cannot find symbol Res3_6 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:223: error: package io.Result_1 does not exist L1_7 = ((java.lang.String) ((io.Result_1.Ok_1) Res1_4).F1); ^ Mercury/javas/jmercury/loop_inv_test.java:227: error: package io.Result_1 does not exist L2_8 = ((java.lang.String) ((io.Result_1.Ok_1) Res2_5).F1); ^ Mercury/javas/jmercury/loop_inv_test.java:230: error: package io.Result_1 does not exist L3_9 = ((java.lang.String) ((io.Result_1.Ok_1) Res3_6).F1); ^ Mercury/javas/jmercury/loop_inv_test.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/loop_inv_test.java:248: error: cannot find symbol Var_23 = string.chomp_1_f_0(L1_7); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:251: error: cannot find symbol N1_10 = string.det_to_int_1_f_0(Var_23); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:254: error: cannot find symbol Var_24 = string.chomp_1_f_0(L2_8); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:257: error: cannot find symbol N2_11 = string.det_to_int_1_f_0(Var_24); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:260: error: cannot find symbol Var_25 = string.chomp_1_f_0(L3_9); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:263: error: cannot find symbol N3_12 = string.det_to_int_1_f_0(Var_25); ^ symbol: variable string location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:273: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:275: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:275: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/loop_inv_test.java:277: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(R1_13)); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:281: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:284: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(R2_14)); ^ symbol: variable io location: class loop_inv_test Mercury/javas/jmercury/loop_inv_test.java:292: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class loop_inv_test 39 errors make[3]: *** [/tmp/mmake.6l6BIY:2360: loop_inv_test] Error 1 make[3]: Target 'loop_inv_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'