MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-08-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-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-08-06/stage2/scripts/mmc --make --options-file - higher_order.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-08-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-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-08-06/stage2/scripts/mmc --make --options-file - higher_order Making Mercury/int3s/higher_order.int3 Making Mercury/ints/higher_order.int Making Mercury/javas/jmercury/higher_order.java Making Java class files Mercury/javas/jmercury/higher_order.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.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/higher_order.java:322: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/higher_order.java:323: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/higher_order.java:325: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order.java:320: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/higher_order.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/higher_order.java:358: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/higher_order.java:360: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/higher_order.java:361: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/higher_order.java:406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order.java:425: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order"; ^ Mercury/javas/jmercury/higher_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order Mercury/javas/jmercury/higher_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order Mercury/javas/jmercury/higher_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order.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 Mercury/javas/jmercury/higher_order.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 Mercury/javas/jmercury/higher_order.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 Mercury/javas/jmercury/higher_order.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 Mercury/javas/jmercury/higher_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order.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.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/higher_order.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/higher_order.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/higher_order.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:75: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:80: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/higher_order.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:85: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:90: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:95: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:114: error: cannot find symbol Var_64 = string.append_3_p_2(LambdaHeadVar__1_21, LambdaHeadVar__1_21); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:129: error: cannot find symbol Var_65 = string.append_3_p_2(LambdaHeadVar__1_34, LambdaHeadVar__1_34); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:144: error: cannot find symbol Var_66 = string.append_3_p_2(LambdaHeadVar__1_47, LambdaHeadVar__1_47); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:157: error: cannot find symbol Y_4 = string.append_3_p_2(X_3, X_3); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/higher_order.java:166: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/higher_order.java:167: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/higher_order.java:169: error: package list does not exist list.List_1 Var_10 = (list.List_1) higher_order.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/higher_order.java:169: error: package list does not exist list.List_1 Var_10 = (list.List_1) higher_order.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/higher_order.java:172: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/higher_order.java:173: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/higher_order.java:175: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/higher_order.java:176: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/higher_order.java:178: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/higher_order.java:179: error: package list does not exist list.List_1 Var_46 = null; ^ Mercury/javas/jmercury/higher_order.java:185: error: cannot find symbol io.write_strings_3_p_0(List_4); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:189: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:192: error: package list does not exist Var_19 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:193: error: package list does not exist Var_20 = (list.List_1) higher_order.MR_scalar_common_4[3]; ^ Mercury/javas/jmercury/higher_order.java:202: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:210: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:214: error: package list does not exist Var_32 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:215: error: package list does not exist Var_33 = (list.List_1) higher_order.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/higher_order.java:224: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:232: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:236: error: package list does not exist Var_45 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:237: error: package list does not exist Var_46 = (list.List_1) higher_order.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order.java:246: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:254: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:327: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order.java:330: error: package list does not exist HeadVar__3_3 = (list.List_1) higher_order.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order.java:333: error: package list.List_1 does not exist java.lang.Object X_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order.java:334: error: package list does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:334: error: package list.List_1 does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:336: error: package list does not exist list.List_1 Ys_9 = null; ^ Mercury/javas/jmercury/higher_order.java:337: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:337: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:340: error: package jmercury.runtime does not exist Y_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__1_1))), ((java.lang.Object) (X_6)))); ^ Mercury/javas/jmercury/higher_order.java:346: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:372: error: package list.List_1 does not exist java.lang.Object X_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order.java:373: error: package list does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:373: error: package list.List_1 does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:375: error: package list does not exist list.List_1 Ys_9 = null; ^ Mercury/javas/jmercury/higher_order.java:376: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/higher_order.java:377: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/higher_order.java:378: error: package list does not exist list.List_1 next_value_of_HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order.java:383: error: package list.List_1 does not exist Y_8 = ((list.List_1.F_cons_2) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/higher_order.java:384: error: package list.List_1 does not exist Ys_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/higher_order.java:385: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:387: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__1_1))), ((java.lang.Object) (X_6)), ((java.lang.Object) (Y_8)))).booleanValue(); ^ Mercury/javas/jmercury/higher_order.java:464: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors make[3]: *** [/tmp/mmake.IP4fFS:1281: higher_order] Error 1 make[3]: Target 'higher_order.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/general'