MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/scripts/mmc --make --options-file - commit_bug_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-08-01/stage2/scripts/mmc --make --options-file - commit_bug_2 Making Mercury/int3s/commit_bug_2.int3 Making Mercury/ints/commit_bug_2.int Making Mercury/javas/jmercury/commit_bug_2.java Making Java class files Mercury/javas/jmercury/commit_bug_2.java:147: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_2.java:170: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commit_bug_2.java:200: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_2.java:406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commit_bug_2.java:425: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/commit_bug_2.java:449: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_2.java:458: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_2.java:462: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/commit_bug_2.java:466: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_3; ^ Mercury/javas/jmercury/commit_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commit_bug_2"; ^ Mercury/javas/jmercury/commit_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commit_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commit_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commit_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commit_bug_2.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/commit_bug_2.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_2.java:107: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_2.java:108: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/commit_bug_2.java:112: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:127: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_2.java:177: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_2.java:177: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_2.java:178: error: package list does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_2.java:178: error: package list.List_1 does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_2.java:180: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commit_bug_2.java:183: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:187: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:280: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/commit_bug_2.java:286: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_2.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_2.Test_1_p_0_env_0) env_ptr).A_2), ((java.lang.Object) (((commit_bug_2.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_2.java:296: error: package jmercury.runtime does not exist ((commit_bug_2.Test_1_p_0_env_0) env_ptr).commit_1 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/commit_bug_2.java:370: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/commit_bug_2.java:386: error: package jmercury.runtime does not exist ((commit_bug_2.Test_1_p_0_env_0) env_ptr).commit_3 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/commit_bug_2.java:437: error: package jmercury.runtime does not exist commit_bug_2.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 41 errors make[3]: *** [/tmp/mmake.FuyZJR:1281: commit_bug_2] Error 1 make[3]: Target 'commit_bug_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/general'