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 - dir_fold.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 - dir_fold Making Mercury/int3s/dir_fold.int3 Making Mercury/ints/dir_fold.int Making Mercury/javas/jmercury/dir_fold.java Making Java class files Mercury/javas/jmercury/dir_fold.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/dir_fold.java:151: error: package io does not exist io.File_type_0 _FileType_11) ^ Mercury/javas/jmercury/dir_fold.java:147: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/dir_fold.java:158: error: package io does not exist private static io.Res_0 ^ Mercury/javas/jmercury/dir_fold.java:238: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr6 ^ Mercury/javas/jmercury/dir_fold.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dir_fold"; ^ Mercury/javas/jmercury/dir_fold.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dir_fold.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dir_fold.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dir_fold Mercury/javas/jmercury/dir_fold.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dir_fold Mercury/javas/jmercury/dir_fold.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dir_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dir_fold.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/dir_fold.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class dir_fold Mercury/javas/jmercury/dir_fold.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/dir_fold.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class dir_fold Mercury/javas/jmercury/dir_fold.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/dir_fold.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_file_type_0)), ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_file_type_0)), ^ Mercury/javas/jmercury/dir_fold.java:45: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class dir_fold Mercury/javas/jmercury/dir_fold.java:45: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/dir_fold.java:46: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:46: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/dir_fold.java:47: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:47: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/dir_fold.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/dir_fold.java:49: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:49: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/dir_fold.java:58: error: package io.Res_0 does not exist new io.Res_0.Ok_0(); ^ Mercury/javas/jmercury/dir_fold.java:71: error: package io does not exist io.Res_0 ResMkdir_5 = null; ^ Mercury/javas/jmercury/dir_fold.java:74: error: cannot find symbol ResMkdir_5 = dir.make_directory_4_p_0(DirName_4); ^ symbol: variable dir location: class dir_fold Mercury/javas/jmercury/dir_fold.java:79: error: package io does not exist io.Error_0 Error_21 = ((io.Res_0.Error_1) ResMkdir_5).F1; ^ Mercury/javas/jmercury/dir_fold.java:79: error: package io.Res_0 does not exist io.Error_0 Error_21 = ((io.Res_0.Error_1) ResMkdir_5).F1; ^ Mercury/javas/jmercury/dir_fold.java:80: error: package io does not exist io.Text_output_stream_0 Stream_22 = null; ^ Mercury/javas/jmercury/dir_fold.java:84: error: cannot find symbol Var_19 = io.error_message_1_f_0(Error_21); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:87: error: cannot find symbol Stream_22 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:90: error: cannot find symbol io.write_string_4_p_0(Stream_22, Var_19); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:93: error: cannot find symbol io.nl_3_p_0(Stream_22); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:97: error: cannot find symbol io.set_exit_status_3_p_0(Var_26); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:102: error: package io does not exist io.Res_0 Res_6 = null; ^ Mercury/javas/jmercury/dir_fold.java:104: error: package io does not exist io.Res_0 Var_7 = null; ^ Mercury/javas/jmercury/dir_fold.java:110: error: cannot find symbol Var_7 = io__file.remove_file_4_p_0(DirName_4); ^ symbol: variable io__file location: class dir_fold Mercury/javas/jmercury/dir_fold.java:114: error: package io does not exist io.Error_0 Error_8 = ((io.Res_0.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/dir_fold.java:114: error: package io.Res_0 does not exist io.Error_0 Error_8 = ((io.Res_0.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/dir_fold.java:116: error: package io does not exist io.Text_output_stream_0 Stream_27 = null; ^ Mercury/javas/jmercury/dir_fold.java:120: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:123: error: cannot find symbol Stream_27 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:126: error: cannot find symbol io.write_string_4_p_0(Stream_27, Var_17); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:129: error: cannot find symbol io.nl_3_p_0(Stream_27); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:133: error: cannot find symbol io.set_exit_status_3_p_0(Var_31); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:141: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:153: error: package bool does not exist bool.Bool_0 Continue_12 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/dir_fold.java:153: error: package bool does not exist bool.Bool_0 Continue_12 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/dir_fold.java:166: error: package io does not exist io.Res_0 Res_8 = null; ^ Mercury/javas/jmercury/dir_fold.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/dir_fold.java:174: error: package io does not exist io.Maybe_partial_res_1 Res0_10 = null; ^ Mercury/javas/jmercury/dir_fold.java:177: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ Mercury/javas/jmercury/dir_fold.java:179: error: cannot find symbol Res0_10 = dir.foldl2_6_p_0(TypeCtorInfo_32_32, Var_17, DirName_6, ((java.lang.Object) (0))); ^ symbol: variable dir location: class dir_fold Mercury/javas/jmercury/dir_fold.java:183: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) Res0_10).F2; ^ Mercury/javas/jmercury/dir_fold.java:183: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) Res0_10).F2; ^ Mercury/javas/jmercury/dir_fold.java:186: error: package io.Res_0 does not exist Res_8 = new io.Res_0.Error_1( ^ Mercury/javas/jmercury/dir_fold.java:205: error: package io does not exist Res_8 = (io.Res_0) dir_fold.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/dir_fold.java:223: error: package bool does not exist bool.Bool_0 conv0_Continue_12 = null; ^ Mercury/javas/jmercury/dir_fold.java:226: error: package io does not exist conv0_Continue_12 = dir_fold.nothing_8_p_0(((java.lang.String) wrapper_arg_1), ((java.lang.String) wrapper_arg_2), ((io.File_type_0) wrapper_arg_3)); ^ 70 errors make[3]: *** [/tmp/mmake.BKt8Q4:2364: dir_fold] Error 1 make[3]: Target 'dir_fold.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'