MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/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-11-06/stage2/scripts/mmc --make --options-file - mode_inf.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/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-11-06/stage2/scripts/mmc --make --options-file - mode_inf Making Mercury/int3s/mode_inf.int3 Making Mercury/ints/mode_inf.int Making Mercury/javas/jmercury/mode_inf.java mode_inf.m:025: Inferred :- pred do_some_stuff(int). mode_inf.m:025: Inferred :- mode do_some_stuff(muo) is multi. mode_inf.m:029: Inferred :- pred some_array_stuff(int, int). mode_inf.m:029: Inferred :- mode some_array_stuff(di, out) is det. mode_inf.m:034: Inferred :- pred some_backtracking_stuff(int, int, int). mode_inf.m:034: Inferred :- mode some_backtracking_stuff(in, muo, muo) is mode_inf.m:034: multi. mode_inf.m:038: Inferred :- pred p(int). mode_inf.m:038: Inferred :- mode p(uo) is multi. Making Java class files Mercury/javas/jmercury/mode_inf.java:86: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_inf.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_inf.java:229: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mode_inf.java:248: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/mode_inf.java:295: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_inf.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_inf"; ^ Mercury/javas/jmercury/mode_inf.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_inf.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_inf.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_inf Mercury/javas/jmercury/mode_inf.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_inf Mercury/javas/jmercury/mode_inf.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_inf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_inf.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/mode_inf.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/mode_inf.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/mode_inf.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/mode_inf.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:80: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_17_17, java.lang.Integer.valueOf(HeadVar__1_14)); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:90: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:104: error: cannot find symbol conv0_A0_6 = array.init_3_p_0(TypeCtorInfo_11_12, Var_8, java.lang.Integer.valueOf(Var_9)); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:109: error: cannot find symbol conv1_A1_7 = array.set_4_p_0(TypeCtorInfo_11_12, Var_10, java.lang.Integer.valueOf(Var_5), (/* Array */ java.lang.Object) A0_6); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:114: error: cannot find symbol conv2_Y_3 = array.lookup_3_p_0(TypeCtorInfo_11_12, (/* Array */ java.lang.Object) A1_7, Var_11); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:122: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:130: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:138: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:146: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/mode_inf.java:148: error: package list does not exist list.List_1 L_5 = null; ^ Mercury/javas/jmercury/mode_inf.java:154: error: cannot find symbol L_5 = solutions.solutions_2_p_0(TypeCtorInfo_13_13, Var_8); ^ symbol: variable solutions location: class mode_inf Mercury/javas/jmercury/mode_inf.java:157: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:157: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/mode_inf.java:159: error: cannot find symbol conv1_STATE_VARIABLE_IO_7 = list.foldl_4_p_2(TypeCtorInfo_13_13, TypeCtorInfo_18_18, Var_10, L_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class mode_inf Mercury/javas/jmercury/mode_inf.java:171: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:264: error: package jmercury.runtime does not exist mode_inf.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/mode_inf.java:278: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 49 errors make[3]: *** [/tmp/mmake.qPoII6:1279: mode_inf] Error 1 make[3]: Target 'mode_inf.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/general' ERROR OUTPUT mode_inf.m:025: Inferred :- pred do_some_stuff(int). mode_inf.m:025: Inferred :- mode do_some_stuff(muo) is multi. mode_inf.m:029: Inferred :- pred some_array_stuff(int, int). mode_inf.m:029: Inferred :- mode some_array_stuff(di, out) is det. mode_inf.m:034: Inferred :- pred some_backtracking_stuff(int, int, int). mode_inf.m:034: Inferred :- mode some_backtracking_stuff(in, muo, muo) is mode_inf.m:034: multi. mode_inf.m:038: Inferred :- pred p(int). mode_inf.m:038: Inferred :- mode p(uo) is multi. END OF THE ERROR OUTPUT