MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' { 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 - commit_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' { 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 - commit_bug Making Mercury/int3s/commit_bug.int3 Making Mercury/ints/commit_bug.int Making Mercury/javas/jmercury/commit_bug.java commit_bug.m:045: Warning: the determinism declaration for `foo'(in, out) could commit_bug.m:045: be tighter. commit_bug.m:045: Declared `nondet', inferred `multi'. Making Java class files Mercury/javas/jmercury/commit_bug.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.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.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug.java:152: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commit_bug.java:180: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug.java:258: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commit_bug.java:300: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/commit_bug.java:324: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug.java:333: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commit_bug"; ^ Mercury/javas/jmercury/commit_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commit_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commit_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commit_bug Mercury/javas/jmercury/commit_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commit_bug Mercury/javas/jmercury/commit_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commit_bug.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.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.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class commit_bug Mercury/javas/jmercury/commit_bug.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/commit_bug.java:52: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/commit_bug.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug.java:56: error: package list does not exist (list.List_1) commit_bug.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/commit_bug.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug.java:61: error: package list does not exist (list.List_1) commit_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/commit_bug.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug.java:66: error: package list does not exist (list.List_1) commit_bug.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/commit_bug.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug.java:71: error: package list does not exist (list.List_1) commit_bug.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/commit_bug.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug.java:76: error: package list does not exist (list.List_1) commit_bug.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/commit_bug.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.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 Mercury/javas/jmercury/commit_bug.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.java:90: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.java:109: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((commit_bug.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((commit_bug.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug.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.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.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.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.java:161: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commit_bug.java:164: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class commit_bug Mercury/javas/jmercury/commit_bug.java:167: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class commit_bug Mercury/javas/jmercury/commit_bug.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/commit_bug.java:194: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/commit_bug.java:197: error: package list does not exist Var_6 = (list.List_1) commit_bug.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/commit_bug.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 Mercury/javas/jmercury/commit_bug.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.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 Mercury/javas/jmercury/commit_bug.java:206: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug.java:226: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug.java:287: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commit_bug.java:312: error: package jmercury.runtime does not exist commit_bug.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.FTmRE9:1281: commit_bug] Error 1 make[3]: Target 'commit_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' ERROR OUTPUT commit_bug.m:045: Warning: the determinism declaration for `foo'(in, out) could commit_bug.m:045: be tighter. commit_bug.m:045: Declared `nondet', inferred `multi'. END OF THE ERROR OUTPUT