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 - sharing_in_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 - sharing_in_opt.class Making Mercury/int3s/sharing_in_opt.int3 Making Mercury/int3s/sharing_in_opt_helper_1.int3 Making Mercury/ints/sharing_in_opt.int Making Mercury/ints/sharing_in_opt_helper_1.int Making Mercury/opts/sharing_in_opt.opt Making Mercury/opts/sharing_in_opt_helper_1.opt Making Mercury/javas/jmercury/sharing_in_opt.java Making Mercury/classes/jmercury/sharing_in_opt.class Mercury/javas/jmercury/sharing_in_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[1]; ^ Mercury/javas/jmercury/sharing_in_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "sharing_in_opt"; ^ Mercury/javas/jmercury/sharing_in_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/sharing_in_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/sharing_in_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/sharing_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 sharing_in_opt Mercury/javas/jmercury/sharing_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 sharing_in_opt Mercury/javas/jmercury/sharing_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 sharing_in_opt Mercury/javas/jmercury/sharing_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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/sharing_in_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[1]; ^ Mercury/javas/jmercury/sharing_in_opt.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/sharing_in_opt.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sharing_in_opt_helper_1.sharing_in_opt_helper_1__type_ctor_info_myarray_1))), ^ symbol: variable sharing_in_opt_helper_1 location: class sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sharing_in_opt_helper_1.sharing_in_opt_helper_1__type_ctor_info_myarray_1))), ^ Mercury/javas/jmercury/sharing_in_opt.java:39: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:39: 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/sharing_in_opt.java:43: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:44: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:44: 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/sharing_in_opt.java:45: 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 sharing_in_opt Mercury/javas/jmercury/sharing_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_state_0))) ^ Mercury/javas/jmercury/sharing_in_opt.java:49: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:51: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:51: 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/sharing_in_opt.java:52: 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 sharing_in_opt Mercury/javas/jmercury/sharing_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_state_0))) ^ Mercury/javas/jmercury/sharing_in_opt.java:56: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:58: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:58: 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/sharing_in_opt.java:59: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:59: 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/sharing_in_opt.java:60: 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 sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:60: 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/sharing_in_opt.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/sharing_in_opt.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/sharing_in_opt.java:91: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:91: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/sharing_in_opt.java:105: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Bar_4))); ^ symbol: variable io location: class sharing_in_opt Mercury/javas/jmercury/sharing_in_opt.java:117: error: package jmercury.runtime does not exist TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(sharing_in_opt.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/sharing_in_opt.java:119: error: cannot find symbol io.write_3_p_0(TypeInfo_14_14, ((java.lang.Object) (Array_5))); ^ symbol: variable io location: class sharing_in_opt 42 errors ** Error making `Mercury/classes/jmercury/sharing_in_opt.class'. make[3]: *** [/tmp/mmake.DXxFJb:1242: sharing_in_opt.class] Error 1 make[3]: Target 'sharing_in_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq'