MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { 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 --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 - mode_from_int0_opt.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { 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 --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 - mode_from_int0_opt.class Making Mercury/int3s/mode_from_int0_opt.int3 Making Mercury/int3s/mode_from_int0_opt_helper_1.int3 Making Mercury/int3s/mode_from_int0_opt_helper_1.mode_from_int0_opt_helper_2.int3 Making Mercury/ints/mode_from_int0_opt.int Making Mercury/ints/mode_from_int0_opt_helper_1.int Making Mercury/int0s/mode_from_int0_opt_helper_1.int0 Making Mercury/ints/mode_from_int0_opt_helper_1.mode_from_int0_opt_helper_2.int Making Mercury/opts/mode_from_int0_opt.opt Making Mercury/opts/mode_from_int0_opt_helper_1.opt Making Mercury/opts/mode_from_int0_opt_helper_1.mode_from_int0_opt_helper_2.opt Making Mercury/javas/jmercury/mode_from_int0_opt.java Making Mercury/classes/jmercury/mode_from_int0_opt.class Mercury/javas/jmercury/mode_from_int0_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:34: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_3 = new maybe.Maybe_error_2.Error_1[1]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_from_int0_opt"; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_from_int0_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_from_int0_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:34: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_3 = new maybe.Maybe_error_2.Error_1[1]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_from_int0_opt.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/mode_from_int0_opt.java:40: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:40: 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/mode_from_int0_opt.java:41: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:41: 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/mode_from_int0_opt.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_from_int0_opt.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/mode_from_int0_opt.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mode_from_int0_opt.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/mode_from_int0_opt.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_from_int0_opt.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_error_2))), ^ symbol: variable maybe location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_error_2))), ^ Mercury/javas/jmercury/mode_from_int0_opt.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mode_from_int0_opt.MR_scalar_common_1[1]))), ^ Mercury/javas/jmercury/mode_from_int0_opt.java:52: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:52: 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/mode_from_int0_opt.java:56: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:57: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:57: 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/mode_from_int0_opt.java:58: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:58: 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/mode_from_int0_opt.java:62: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:64: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:64: 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/mode_from_int0_opt.java:65: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:65: 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/mode_from_int0_opt.java:69: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:71: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:71: 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/mode_from_int0_opt.java:72: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:72: 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/mode_from_int0_opt.java:73: 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 mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:73: 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/mode_from_int0_opt.java:76: error: package maybe.Maybe_error_2 does not exist new maybe.Maybe_error_2.Error_1( ^ Mercury/javas/jmercury/mode_from_int0_opt.java:90: error: package maybe does not exist maybe.Maybe_error_2 Res0_4 = (maybe.Maybe_error_2) mode_from_int0_opt.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:90: error: package maybe does not exist maybe.Maybe_error_2 Res0_4 = (maybe.Maybe_error_2) mode_from_int0_opt.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:91: error: package maybe.Maybe_error_2 does not exist java.lang.String Error_7 = ((java.lang.String) ((maybe.Maybe_error_2.Error_1) Res0_4).F1); ^ Mercury/javas/jmercury/mode_from_int0_opt.java:92: error: package io does not exist io.Text_output_stream_0 Var_14 = null; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:93: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_16 = null; ^ Mercury/javas/jmercury/mode_from_int0_opt.java:96: error: cannot find symbol Var_16 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class mode_from_int0_opt Mercury/javas/jmercury/mode_from_int0_opt.java:99: error: package io does not exist Var_14 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/mode_from_int0_opt.java:104: error: cannot find symbol io.write_string_4_p_0(Var_14, Error_7); ^ symbol: variable io location: class mode_from_int0_opt 58 errors ** Error making `Mercury/classes/jmercury/mode_from_int0_opt.class'. make[3]: *** [/tmp/mmake.Y1Cw5Z:1242: mode_from_int0_opt.class] Error 1 make[3]: Target 'mode_from_int0_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq'