MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - remove_file.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - remove_file Making Mercury/int3s/remove_file.int3 Making Mercury/ints/remove_file.int Making Mercury/javas/jmercury/remove_file.java Making Java class files Mercury/javas/jmercury/remove_file.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "remove_file"; ^ Mercury/javas/jmercury/remove_file.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/remove_file.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/remove_file.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class remove_file Mercury/javas/jmercury/remove_file.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class remove_file Mercury/javas/jmercury/remove_file.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/remove_file.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/remove_file.java:36: error: package io does not exist io.Res_1 NameResult_4 = null; ^ Mercury/javas/jmercury/remove_file.java:38: error: package io does not exist io.Res_1 OpenOutputResult_7 = null; ^ Mercury/javas/jmercury/remove_file.java:41: error: cannot find symbol NameResult_4 = io__file.make_temp_file_3_p_0(); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/remove_file.java:45: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/remove_file.java:46: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) NameResult_4).F1; ^ Mercury/javas/jmercury/remove_file.java:46: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) NameResult_4).F1; ^ Mercury/javas/jmercury/remove_file.java:49: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_52_52, ((java.lang.Object) (Error_6))); ^ symbol: variable exception location: class remove_file Mercury/javas/jmercury/remove_file.java:53: error: package io.Res_1 does not exist Name_5 = ((java.lang.String) ((io.Res_1.Ok_1) NameResult_4).F1); ^ Mercury/javas/jmercury/remove_file.java:55: error: cannot find symbol OpenOutputResult_7 = io.open_output_4_p_0(Name_5); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:59: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class remove_file Mercury/javas/jmercury/remove_file.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:60: error: package io does not exist io.Error_0 OpenOutputError_18 = ((io.Res_1.Error_1) OpenOutputResult_7).F1; ^ Mercury/javas/jmercury/remove_file.java:60: error: package io.Res_1 does not exist io.Error_0 OpenOutputError_18 = ((io.Res_1.Error_1) OpenOutputResult_7).F1; ^ Mercury/javas/jmercury/remove_file.java:66: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_54_54, ((java.lang.Object) (Var_48))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:69: error: cannot find symbol OpenOutputErrorMsg_19 = io.error_message_2_p_0(OpenOutputError_18); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:72: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_54_54, ((java.lang.Object) (OpenOutputErrorMsg_19))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:76: error: cannot find symbol io.set_exit_status_3_p_0(Var_51); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class remove_file Mercury/javas/jmercury/remove_file.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io.Res_1 does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:83: error: package io does not exist io.Res_0 RemoveResult_9 = null; ^ Mercury/javas/jmercury/remove_file.java:84: error: package io does not exist io.Res_0 RemoveAgainResult_15 = null; ^ Mercury/javas/jmercury/remove_file.java:88: error: cannot find symbol io.print_line_4_p_0(TypeCtorInfo_53_53, Stream_8, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:91: error: cannot find symbol io.close_output_3_p_0(Stream_8); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:94: error: cannot find symbol RemoveResult_9 = io__file.remove_file_4_p_0(Name_5); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:98: error: package io does not exist io.Error_0 RemoveError_13 = ((io.Res_0.Error_1) RemoveResult_9).F1; ^ Mercury/javas/jmercury/remove_file.java:98: error: package io.Res_0 does not exist io.Error_0 RemoveError_13 = ((io.Res_0.Error_1) RemoveResult_9).F1; ^ Mercury/javas/jmercury/remove_file.java:104: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_35))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:107: error: cannot find symbol RemoveErrorMsg_14 = io.error_message_2_p_0(RemoveError_13); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:110: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (RemoveErrorMsg_14))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:114: error: cannot find symbol io.set_exit_status_3_p_0(Var_38); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:119: error: package io does not exist io.Res_1 OpenInputResult_10 = null; ^ Mercury/javas/jmercury/remove_file.java:122: error: cannot find symbol OpenInputResult_10 = io.open_input_4_p_0(Name_5); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:129: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_33))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:138: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:142: error: cannot find symbol io.set_exit_status_3_p_0(Var_31); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:147: error: cannot find symbol RemoveAgainResult_15 = io__file.remove_file_4_p_0(Name_5); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:151: error: package io does not exist io.Error_0 RemoveAgainError_16 = ((io.Res_0.Error_1) RemoveAgainResult_15).F1; ^ Mercury/javas/jmercury/remove_file.java:151: error: package io.Res_0 does not exist io.Error_0 RemoveAgainError_16 = ((io.Res_0.Error_1) RemoveAgainResult_15).F1; ^ Mercury/javas/jmercury/remove_file.java:156: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:159: error: cannot find symbol RemoveAgainErrorMsg_17 = io.error_message_2_p_0(RemoveAgainError_16); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:162: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (RemoveAgainErrorMsg_17))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:171: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_41))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:175: error: cannot find symbol io.set_exit_status_3_p_0(Var_43); ^ symbol: variable io location: class remove_file 61 errors make[3]: *** [/tmp/mmake.4U1hQn:2364: remove_file] Error 1 make[3]: Target 'remove_file.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'