MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/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-08/stage2/scripts/mmc --make --options-file - higher_order_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/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-08/stage2/scripts/mmc --make --options-file - higher_order_1.class Making Mercury/int3s/higher_order_1.int3 Making Mercury/ints/higher_order_1.int Making Mercury/javas/jmercury/higher_order_1.java Making Mercury/classes/jmercury/higher_order_1.class Mercury/javas/jmercury/higher_order_1.java:15: 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_1.java:30: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/higher_order_1.java:31: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/higher_order_1.java:33: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_1.java:28: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/higher_order_1.java:15: 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_1.java:19: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order_1.java:35: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order_1.java:38: error: package list does not exist HeadVar__3_3 = (list.List_1) higher_order_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order_1.java:41: 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_1.java:42: 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_1.java:42: 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_1.java:44: error: package list does not exist list.List_1 Ys_9 = null; ^ Mercury/javas/jmercury/higher_order_1.java:45: 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_1.java:45: 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_1.java:48: 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_1.java:54: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ 17 errors ** Error making `Mercury/classes/jmercury/higher_order_1.class'. make[3]: *** [/tmp/mmake.N8nxlh:1500: higher_order_1.class] Error 1 make[3]: Target 'higher_order_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-08/tests/valid'