MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - read_dir_regression.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - read_dir_regression Making Mercury/int3s/read_dir_regression.int3 Making Mercury/ints/read_dir_regression.int Making Mercury/javas/jmercury/read_dir_regression.java Making Java class files Mercury/javas/jmercury/read_dir_regression.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_dir_regression"; ^ Mercury/javas/jmercury/read_dir_regression.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_dir_regression.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_dir_regression.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_dir_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_dir_regression.java:36: error: package io does not exist io.Res_1 FileRes_4 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:40: error: cannot find symbol FileRes_4 = io.open_input_4_p_0(Var_11); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:45: error: package io does not exist io.Error_0 Error_31 = ((io.Res_1.Error_1) FileRes_4).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:45: error: package io.Res_1 does not exist io.Error_0 Error_31 = ((io.Res_1.Error_1) FileRes_4).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:50: error: cannot find symbol Var_29 = io.error_message_1_f_0(Error_31); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:54: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:57: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:61: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:66: error: package io does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileRes_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:66: error: package io does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileRes_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:66: error: package io.Res_1 does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileRes_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:67: error: package io does not exist io.Result_1 LineRes_6 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:70: error: cannot find symbol LineRes_6 = io.read_line_4_p_0(File_5); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:72: error: illegal start of type switch (LineRes_6.data_tag) { ^ Mercury/javas/jmercury/read_dir_regression.java:78: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:87: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:93: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) LineRes_6).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:93: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) LineRes_6).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:99: error: cannot find symbol Var_22 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:103: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:106: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:110: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:115: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_dir_regression.java:118: error: cannot find symbol io.close_input_3_p_0(File_5); ^ symbol: variable io location: class read_dir_regression 35 errors make[3]: *** [/tmp/mmake.J8g3yE:1282: read_dir_regression] Error 1 make[3]: Target 'read_dir_regression.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general'