MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - multimode.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - multimode Making Mercury/int3s/multimode.int3 Making Mercury/ints/multimode.int Making Mercury/javas/jmercury/multimode.java multimode.m:041: Warning: the function `func0'/0 has only one mode, so there is multimode.m:041: no need to restrict a clause for it to that mode. Making Java class files Mercury/javas/jmercury/multimode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multimode"; ^ Mercury/javas/jmercury/multimode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multimode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multimode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multimode Mercury/javas/jmercury/multimode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multimode Mercury/javas/jmercury/multimode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multimode.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/multimode.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class multimode Mercury/javas/jmercury/multimode.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/multimode.java:54: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:58: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:62: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:66: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:70: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:74: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:78: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_30))); ^ symbol: variable io location: class multimode 21 errors make[3]: *** [/tmp/mmake.azr9DQ:2364: multimode] Error 1 make[3]: Target 'multimode.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' ERROR OUTPUT multimode.m:041: Warning: the function `func0'/0 has only one mode, so there is multimode.m:041: no need to restrict a clause for it to that mode. END OF THE ERROR OUTPUT