MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-modes --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - ite.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-modes --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - ite Making Mercury/int3s/ite.int3 Making Mercury/ints/ite.int Making Mercury/opts/ite.opt Making Mercury/javas/jmercury/ite.java ite.m:032: Inferred :- mode sort_of_factorial(di, uo) is det. Making Java class files Mercury/javas/jmercury/ite.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ite"; ^ Mercury/javas/jmercury/ite.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ite.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ite.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ite Mercury/javas/jmercury/ite.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ite Mercury/javas/jmercury/ite.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ite.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class ite Mercury/javas/jmercury/ite.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/ite.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/ite.java:119: error: package io does not exist io.Text_output_stream_0 Var_16 = null; ^ Mercury/javas/jmercury/ite.java:120: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_18 = null; ^ Mercury/javas/jmercury/ite.java:122: error: package io does not exist io.Text_output_stream_0 Var_24 = null; ^ Mercury/javas/jmercury/ite.java:123: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_26 = null; ^ Mercury/javas/jmercury/ite.java:128: error: cannot find symbol Var_18 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class ite Mercury/javas/jmercury/ite.java:131: error: package io does not exist Var_16 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/ite.java:136: error: cannot find symbol io.write_string_4_p_0(Var_16, Var_8); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:143: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ite Mercury/javas/jmercury/ite.java:143: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ite.java:145: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, java.lang.Integer.valueOf(Factorial_4)); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:149: error: cannot find symbol Var_26 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class ite Mercury/javas/jmercury/ite.java:152: error: package io does not exist Var_24 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/ite.java:157: error: cannot find symbol io.write_string_4_p_0(Var_24, Var_12); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:165: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, java.lang.Integer.valueOf(Factorial2_5)); ^ symbol: variable io location: class ite 43 errors make[3]: *** [/tmp/mmake.6KFFRq:1211: ite] Error 1 make[3]: Target 'ite.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' ERROR OUTPUT ite.m:032: Inferred :- mode sort_of_factorial(di, uo) is det. END OF THE ERROR OUTPUT