MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module nested_module_2_r nested_module_2_r_2 Testing nested_module_2_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-19/stage2/scripts/mmc --make --options-file - nested_module_2_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-19/stage2/scripts/mmc --make --options-file - nested_module_2_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/nested_module_2_r.int3 Making Mercury/int3s/nested_module_2_r_2.int3 Making Mercury/int0s/nested_module_2_r_2.int0 Making Mercury/ints/nested_module_2_r_2.int Making Mercury/ints/nested_module_2_r.int Making Mercury/javas/jmercury/nested_module_2_r.java Making Mercury/javas/jmercury/nested_module_2_r_2.java Making Java class files Mercury/javas/jmercury/nested_module_2_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nested_module_2_r"; ^ Mercury/javas/jmercury/nested_module_2_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nested_module_2_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nested_module_2_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nested_module_2_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_module_2_r Mercury/javas/jmercury/nested_module_2_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nested_module_2_r_2__sub_module.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class nested_module_2_r_2__sub_module 12 errors make[4]: *** [/tmp/mmake.dedJaw:1248: nested_module_2_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation' ** Error: mmake -j1 nested_module_2_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.5wc1Bf:865: nested_module_2_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/recompilation'