MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-19/stage2/scripts/mmc --make --options-file - higher_order_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-19/stage2/scripts/mmc --make --options-file - higher_order_2.class Making Mercury/int3s/higher_order_2.int3 Making Mercury/ints/higher_order_2.int Making Mercury/javas/jmercury/higher_order_2.java Making Mercury/classes/jmercury/higher_order_2.class Mercury/javas/jmercury/higher_order_2.java:19: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_2.java:26: error: package list.List_1 does not exist int H0_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/higher_order_2.java:26: error: illegal start of type int H0_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/higher_order_2.java:27: error: package list does not exist list.List_1 T0_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_2.java:27: error: package list.List_1 does not exist list.List_1 T0_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_2.java:28: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/higher_order_2.java:28: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/higher_order_2.java:30: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/higher_order_2.java:33: error: package jmercury.runtime does not exist conv1__H_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_1))), ((java.lang.Object) (java.lang.Integer.valueOf(H0_5))))); ^ 9 errors ** Error making `Mercury/classes/jmercury/higher_order_2.class'. make[3]: *** [/tmp/mmake.MT89xN:1497: higher_order_2.class] Error 1 make[3]: Target 'higher_order_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/valid'