MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/scripts/mmc --make --options-file - higher_order_func_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/scripts/mmc --make --options-file - higher_order_func_test Making Mercury/int3s/higher_order_func_test.int3 Making Mercury/ints/higher_order_func_test.int Making Mercury/javas/jmercury/higher_order_func_test.java Making Java class files Mercury/javas/jmercury/higher_order_func_test.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/higher_order_func_test.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[3]; ^ Mercury/javas/jmercury/higher_order_func_test.java:255: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_func_test.java:256: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_func_test.java:258: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_func_test.java:253: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/higher_order_func_test.java:290: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_func_test.java:341: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order_func_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_func_test"; ^ Mercury/javas/jmercury/higher_order_func_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_func_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_func_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_func_test.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/higher_order_func_test.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[3]; ^ Mercury/javas/jmercury/higher_order_func_test.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order_func_test.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:45: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order_func_test.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:50: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/higher_order_func_test.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:55: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/higher_order_func_test.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:63: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:63: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/higher_order_func_test.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:90: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:90: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:91: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:91: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/higher_order_func_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:111: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:113: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_func_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/higher_order_func_test.java:113: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_func_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/higher_order_func_test.java:114: error: package list does not exist list.List_1 L2_5 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:115: error: package list does not exist list.List_1 L3_8 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:116: error: package list does not exist list.List_1 L_11 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:135: error: cannot find symbol TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:137: error: cannot find symbol conv3_STATE_VARIABLE_IO_34_34 = list.foldl_4_p_2(TypeCtorInfo_40_40, TypeCtorInfo_44_44, Var_33, L_11, ((java.lang.Object) (0))); ^ symbol: variable list location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:140: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:213: error: cannot find symbol io.write_int_3_p_0(N_6); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:216: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:260: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:263: error: package list does not exist HeadVar__3_3 = (list.List_1) higher_order_func_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order_func_test.java:266: error: package list.List_1 does not exist java.lang.Object H0_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order_func_test.java:267: error: package list does not exist list.List_1 T0_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_func_test.java:267: error: package list.List_1 does not exist list.List_1 T0_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_func_test.java:269: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/higher_order_func_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/higher_order_func_test.java:273: error: package jmercury.runtime does not exist Var_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_1))), ((java.lang.Object) (H0_6)))); ^ Mercury/javas/jmercury/higher_order_func_test.java:279: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:328: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 66 errors make[3]: *** [/tmp/mmake.ZZLibx:2366: higher_order_func_test] Error 1 make[3]: Target 'higher_order_func_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded'