MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/scripts/mmc --make --options-file - func_in_head.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/scripts/mmc --make --options-file - func_in_head.class Making Mercury/int3s/func_in_head.int3 Making Mercury/ints/func_in_head.int Making Mercury/javas/jmercury/func_in_head.java Making Mercury/classes/jmercury/func_in_head.class Mercury/javas/jmercury/func_in_head.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/func_in_head.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/func_in_head.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/func_in_head.java:125: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/func_in_head.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_in_head"; ^ Mercury/javas/jmercury/func_in_head.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_in_head.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_in_head.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_in_head Mercury/javas/jmercury/func_in_head.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_in_head Mercury/javas/jmercury/func_in_head.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_in_head.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_in_head.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/func_in_head.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/func_in_head.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/func_in_head.java:40: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/func_in_head.java:42: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_in_head.java:44: error: package list does not exist (list.List_1) func_in_head.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/func_in_head.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_in_head.java:49: error: package list does not exist (list.List_1) func_in_head.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/func_in_head.java:52: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/func_in_head.java:53: error: package list does not exist ((java.lang.Object) ((list.List_1) func_in_head.MR_scalar_common_2[1])), ^ Mercury/javas/jmercury/func_in_head.java:61: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class func_in_head Mercury/javas/jmercury/func_in_head.java:61: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/func_in_head.java:62: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:62: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/func_in_head.java:63: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:63: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/func_in_head.java:82: 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/func_in_head.java:82: 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 func_in_head Mercury/javas/jmercury/func_in_head.java:82: 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/func_in_head.java:83: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 Set_4 = null; ^ Mercury/javas/jmercury/func_in_head.java:84: error: package pair does not exist pair.Pair_2 Var_7 = (pair.Pair_2) func_in_head.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/func_in_head.java:84: error: package pair does not exist pair.Pair_2 Var_7 = (pair.Pair_2) func_in_head.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/func_in_head.java:85: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/func_in_head.java:88: error: package list does not exist list.List_1 Var_29 = ((list.List_1) ((pair.Pair_2) Var_7).F1); ^ Mercury/javas/jmercury/func_in_head.java:88: error: package list does not exist list.List_1 Var_29 = ((list.List_1) ((pair.Pair_2) Var_7).F1); ^ Mercury/javas/jmercury/func_in_head.java:88: error: package pair does not exist list.List_1 Var_29 = ((list.List_1) ((pair.Pair_2) Var_7).F1); ^ Mercury/javas/jmercury/func_in_head.java:92: error: cannot find symbol Set_4 = set.init_0_f_0(TypeCtorInfo_17_17); ^ symbol: variable set location: class func_in_head Mercury/javas/jmercury/func_in_head.java:96: error: cannot find symbol Set_4 = set.list_to_set_2_p_0(TypeCtorInfo_17_17, Var_29); ^ symbol: variable set location: class func_in_head Mercury/javas/jmercury/func_in_head.java:99: error: cannot find symbol Var_14 = set.to_sorted_list_1_f_0(TypeCtorInfo_17_17, Set_4); ^ symbol: variable set location: class func_in_head Mercury/javas/jmercury/func_in_head.java:104: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_17_17, Var_14, Var_15, Var_16); ^ symbol: variable io location: class func_in_head Mercury/javas/jmercury/func_in_head.java:118: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class func_in_head 46 errors ** Error making `Mercury/classes/jmercury/func_in_head.class'. make[3]: *** [/tmp/mmake.16JGp6:1500: func_in_head.class] Error 1 make[3]: Target 'func_in_head.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid'