MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/benchmarks' { 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 - primes.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/benchmarks' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/benchmarks' { 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 - primes Making Mercury/int3s/primes.int3 Making Mercury/ints/primes.int Making Mercury/javas/jmercury/primes.java Making Java class files Mercury/javas/jmercury/primes.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/primes.java:45: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:120: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/primes.java:153: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/primes.java:150: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:202: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/primes.java:200: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "primes"; ^ Mercury/javas/jmercury/primes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/primes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/primes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class primes Mercury/javas/jmercury/primes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class primes Mercury/javas/jmercury/primes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/primes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/primes.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/primes.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/primes.java:51: error: package list does not exist list.List_1 Result_6 = null; ^ Mercury/javas/jmercury/primes.java:56: error: package list does not exist list.List_1 Rest_8 = null; ^ Mercury/javas/jmercury/primes.java:64: error: package list.List_1 does not exist Result_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/primes.java:71: error: package list does not exist Result_6 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:78: error: package list does not exist list.List_1 Out_4 = null; ^ Mercury/javas/jmercury/primes.java:80: error: package list does not exist list.List_1 Integers_8 = null; ^ Mercury/javas/jmercury/primes.java:94: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:99: error: package list.List_1 does not exist int H_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_4).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:99: error: illegal start of type int H_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_4).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:100: error: package list does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) Out_4).F2; ^ Mercury/javas/jmercury/primes.java:100: error: package list.List_1 does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) Out_4).F2; ^ Mercury/javas/jmercury/primes.java:105: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:112: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:126: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:130: error: package list.List_1 does not exist int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:130: error: illegal start of type int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:131: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/primes.java:131: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/primes.java:134: error: package list does not exist list.List_1 next_value_of_Xs_6 = null; ^ Mercury/javas/jmercury/primes.java:137: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:158: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/primes.java:162: error: package list does not exist HeadVar__3_3 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:165: error: package list.List_1 does not exist int I_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:165: error: illegal start of type int I_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:166: error: package list does not exist list.List_1 Is_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/primes.java:166: error: package list.List_1 does not exist list.List_1 Is_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/primes.java:170: error: cannot find symbol Var_10 = mr_int.mod_2_f_0(I_6, HeadVar__1_1); ^ symbol: variable mr_int location: class primes Mercury/javas/jmercury/primes.java:175: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = Is_7; ^ Mercury/javas/jmercury/primes.java:183: error: package list does not exist list.List_1 TailResult_11 = null; ^ Mercury/javas/jmercury/primes.java:189: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/primes.java:204: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/primes.java:207: error: package list does not exist HeadVar__2_2 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:210: error: package list.List_1 does not exist int Integer_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:210: error: illegal start of type int Integer_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:211: error: package list does not exist list.List_1 Integers_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/primes.java:211: error: package list.List_1 does not exist list.List_1 Integers_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/primes.java:212: error: package list does not exist list.List_1 Ps_5 = null; ^ Mercury/javas/jmercury/primes.java:213: error: package list does not exist list.List_1 New_6 = null; ^ Mercury/javas/jmercury/primes.java:222: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ 59 errors make[3]: *** [/tmp/mmake.UifhOy:1196: primes] Error 1 make[3]: Target 'primes.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/benchmarks'