MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module change_func_r change_func_r_2 Testing change_func_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - change_func_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - change_func_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/change_func_r.int3 Making Mercury/int3s/change_func_r_2.int3 Making Mercury/ints/change_func_r_2.int Making Mercury/ints/change_func_r.int Making Mercury/javas/jmercury/change_func_r.java Making Mercury/javas/jmercury/change_func_r_2.java Making Java class files Mercury/javas/jmercury/change_func_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "change_func_r"; ^ Mercury/javas/jmercury/change_func_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/change_func_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/change_func_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class change_func_r Mercury/javas/jmercury/change_func_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class change_func_r Mercury/javas/jmercury/change_func_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/change_func_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/change_func_r.java:43: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class change_func_r Mercury/javas/jmercury/change_func_r.java:55: error: cannot find symbol io.write_string_3_p_0(Str_4); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:62: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class change_func_r Mercury/javas/jmercury/change_func_r.java:70: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class change_func_r 15 errors make[4]: *** [/tmp/mmake.Q69nyK:1248: change_func_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' ** Error: mmake change_func_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.hcQ0IS:857: change_func_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation'