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 - io_foldl.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 - io_foldl Making Mercury/int3s/io_foldl.int3 Making Mercury/ints/io_foldl.int Making Mercury/javas/jmercury/io_foldl.java io_foldl.m:018: Warning: call to obsolete predicate io_foldl.m:018: `io.input_stream_foldl_io'/4. io_foldl.m:018: The suggested replacement is io_foldl.m:018: `stream.input_stream_fold_state'/5. Making Java class files Mercury/javas/jmercury/io_foldl.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/io_foldl.java:73: error: package io does not exist io.Res_0 Res_4, ^ Mercury/javas/jmercury/io_foldl.java:74: error: package io does not exist io.Res_0 HeadVar__2_11) ^ Mercury/javas/jmercury/io_foldl.java:143: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/io_foldl.java:161: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/io_foldl.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "io_foldl"; ^ Mercury/javas/jmercury/io_foldl.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/io_foldl.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/io_foldl.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class io_foldl Mercury/javas/jmercury/io_foldl.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class io_foldl Mercury/javas/jmercury/io_foldl.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/io_foldl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/io_foldl.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/io_foldl.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class io_foldl Mercury/javas/jmercury/io_foldl.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/io_foldl.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/io_foldl.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/io_foldl.java:54: error: package io.Res_0 does not exist new io.Res_0.Ok_0(); ^ Mercury/javas/jmercury/io_foldl.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_res_0)), ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_res_0)), ^ Mercury/javas/jmercury/io_foldl.java:61: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_res_0)) ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:61: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_res_0)) ^ Mercury/javas/jmercury/io_foldl.java:79: error: cannot find symbol succeeded = io.__Unify____res_0_0(Res_4, HeadVar__2_11); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:88: error: package io does not exist io.Res_0 Res_4 = null; ^ Mercury/javas/jmercury/io_foldl.java:92: error: package io does not exist io.Res_0 Var_11 = null; ^ Mercury/javas/jmercury/io_foldl.java:95: error: cannot find symbol Res_4 = io.input_stream_foldl_io_4_p_0(Var_7); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:97: error: package io does not exist Var_11 = (io.Res_0) io_foldl.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/io_foldl.java:109: error: cannot find symbol require.require_2_p_0(Var_9, Var_10); ^ symbol: variable require location: class io_foldl Mercury/javas/jmercury/io_foldl.java:123: error: cannot find symbol io.write_char_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:136: error: package io does not exist succeeded = io_foldl.IntroducedFrom__pred__main__19__1_2_p_0(((io.Res_0) ((java.lang.Object[]) closure)[3]), ((io.Res_0) ((java.lang.Object[]) closure)[4])); ^ Mercury/javas/jmercury/io_foldl.java:136: error: package io does not exist succeeded = io_foldl.IntroducedFrom__pred__main__19__1_2_p_0(((io.Res_0) ((java.lang.Object[]) closure)[3]), ((io.Res_0) ((java.lang.Object[]) closure)[4])); ^ 37 errors make[3]: *** [/tmp/mmake.yyCn2U:1282: io_foldl] Error 1 make[3]: Target 'io_foldl.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' ERROR OUTPUT io_foldl.m:018: Warning: call to obsolete predicate io_foldl.m:018: `io.input_stream_foldl_io'/4. io_foldl.m:018: The suggested replacement is io_foldl.m:018: `stream.input_stream_fold_state'/5. END OF THE ERROR OUTPUT