MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - commit_bug_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - commit_bug_1 Making Mercury/int3s/commit_bug_1.int3 Making Mercury/ints/commit_bug_1.int Making Mercury/javas/jmercury/commit_bug_1.java commit_bug_1.m:045: Warning: the determinism declaration for `foo'(in, out) commit_bug_1.m:045: could be tighter. commit_bug_1.m:045: Declared `nondet', inferred `multi'. Making Java class files Mercury/javas/jmercury/commit_bug_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commit_bug_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/commit_bug_1.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_1.java:152: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commit_bug_1.java:180: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_1.java:258: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commit_bug_1.java:300: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/commit_bug_1.java:324: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_1.java:333: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commit_bug_1"; ^ Mercury/javas/jmercury/commit_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commit_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commit_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commit_bug_1.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_1 Mercury/javas/jmercury/commit_bug_1.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_1 Mercury/javas/jmercury/commit_bug_1.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_1 Mercury/javas/jmercury/commit_bug_1.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_1 Mercury/javas/jmercury/commit_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commit_bug_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commit_bug_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/commit_bug_1.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/commit_bug_1.java:52: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/commit_bug_1.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:56: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/commit_bug_1.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:61: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/commit_bug_1.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:66: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/commit_bug_1.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:71: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/commit_bug_1.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:76: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/commit_bug_1.java:89: 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_1.java:89: 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_1 Mercury/javas/jmercury/commit_bug_1.java:89: 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_1.java:90: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:94: error: cannot find symbol List_4 = solutions.solutions_2_p_0(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:109: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:159: 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_1.java:159: 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_1.java:160: 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_1.java:160: 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_1.java:161: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:164: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:167: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:194: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:197: error: package list does not exist Var_6 = (list.List_1) commit_bug_1.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/commit_bug_1.java:198: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:198: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_1.java:200: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_18_18, Var_6, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:206: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:226: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:287: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commit_bug_1.java:312: error: package jmercury.runtime does not exist commit_bug_1.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 59 errors make[3]: *** [/tmp/mmake.LBeHlM:1279: commit_bug_1] Error 1 make[3]: Target 'commit_bug_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/general' ERROR OUTPUT commit_bug_1.m:045: Warning: the determinism declaration for `foo'(in, out) commit_bug_1.m:045: could be tighter. commit_bug_1.m:045: Declared `nondet', inferred `multi'. END OF THE ERROR OUTPUT