MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/scripts/mmc --make --options-file - call_impure_in_opt.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/scripts/mmc --make --options-file - call_impure_in_opt.class Making Mercury/int3s/call_impure_in_opt.int3 Making Mercury/int3s/call_impure_in_opt_helper_1.int3 Making Mercury/ints/call_impure_in_opt.int Making Mercury/ints/call_impure_in_opt_helper_1.int Making Mercury/opts/call_impure_in_opt.opt Making Mercury/opts/call_impure_in_opt_helper_1.opt Making Mercury/javas/jmercury/call_impure_in_opt.java Making Mercury/classes/jmercury/call_impure_in_opt.class Mercury/javas/jmercury/call_impure_in_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "call_impure_in_opt"; ^ Mercury/javas/jmercury/call_impure_in_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/call_impure_in_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/call_impure_in_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/call_impure_in_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.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 call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.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/call_impure_in_opt.java:68: error: package io does not exist io.Text_output_stream_0 Var_8 = null; ^ Mercury/javas/jmercury/call_impure_in_opt.java:69: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_10 = null; ^ Mercury/javas/jmercury/call_impure_in_opt.java:71: error: package io does not exist io.Text_output_stream_0 Var_12 = null; ^ Mercury/javas/jmercury/call_impure_in_opt.java:72: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_14 = null; ^ Mercury/javas/jmercury/call_impure_in_opt.java:75: error: cannot find symbol Int_4 = call_impure_in_opt_helper_1.intermod_impure_1_p_0(); ^ symbol: variable call_impure_in_opt_helper_1 location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:78: error: cannot find symbol Var_10 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:81: error: package io does not exist Var_8 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/call_impure_in_opt.java:86: error: cannot find symbol io.write_int_4_p_0(Var_8, Int_4); ^ symbol: variable io location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:90: error: cannot find symbol Var_14 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class call_impure_in_opt Mercury/javas/jmercury/call_impure_in_opt.java:93: error: package io does not exist Var_12 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/call_impure_in_opt.java:98: error: cannot find symbol io.write_char_4_p_0(Var_12, Var_11); ^ symbol: variable io location: class call_impure_in_opt 39 errors ** Error making `Mercury/classes/jmercury/call_impure_in_opt.class'. make[3]: *** [/tmp/mmake.YP6dBg:1242: call_impure_in_opt.class] Error 1 make[3]: Target 'call_impure_in_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/valid_seq'