MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 '; 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 - random_shuffle.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 '; 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 - random_shuffle Making Mercury/int3s/random_shuffle.int3 Making Mercury/ints/random_shuffle.int Making Mercury/javas/jmercury/random_shuffle.java Making Java class files Mercury/javas/jmercury/random_shuffle.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_shuffle.java:101: error: package list does not exist list.List_1 List_7, ^ Mercury/javas/jmercury/random_shuffle.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_shuffle"; ^ Mercury/javas/jmercury/random_shuffle.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_shuffle.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_shuffle.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_shuffle.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_shuffle.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_shuffle.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_shuffle.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_shuffle.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ symbol: variable random location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ Mercury/javas/jmercury/random_shuffle.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_shuffle.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_shuffle.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__io_urandom__arity2__io__state__arity0__)), ^ symbol: variable random location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle.MR_scalar_common_2[0]))), ^ Mercury/javas/jmercury/random_shuffle.java:53: 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 random_shuffle Mercury/javas/jmercury/random_shuffle.java:53: 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/random_shuffle.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle.java:57: 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 random_shuffle Mercury/javas/jmercury/random_shuffle.java:57: 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/random_shuffle.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/random_shuffle.java:73: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/random_shuffle.java:74: error: package random__sfc32 does not exist random__sfc32.Ustate_0 S_6 = null; ^ Mercury/javas/jmercury/random_shuffle.java:75: error: package random does not exist random.Io_urandom_2 M_7 = null; ^ Mercury/javas/jmercury/random_shuffle.java:81: error: cannot find symbol List_4 = list.f_46_46_2_f_0(Var_10, Var_11); ^ symbol: variable list location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:84: error: cannot find symbol S_6 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:88: error: cannot find symbol M_7 = random.make_io_urandom_5_p_0(TypeClassInfo_for_urandom_14, ((java.lang.Object) (0)), ((java.lang.Object) (S_6))); ^ symbol: variable random location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle.java:113: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle.java:114: error: package list does not exist list.List_1 Shuffled_10 = null; ^ Mercury/javas/jmercury/random_shuffle.java:115: error: package list does not exist list.List_1 Sorted_11 = null; ^ Mercury/javas/jmercury/random_shuffle.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_25_25 = null; ^ Mercury/javas/jmercury/random_shuffle.java:123: error: cannot find symbol java.lang.Object [] result = random.shuffle_list_5_p_0(TypeCtorInfo_24_24, TypeClassInfo_for_urandom_23, M_6, List_7, ((java.lang.Object) (0))); ^ symbol: variable random location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:124: error: package list does not exist Shuffled_10 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/random_shuffle.java:128: error: cannot find symbol Sorted_11 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_24_24, Shuffled_10); ^ symbol: variable list location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:130: error: package jmercury.runtime does not exist TypeInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle.MR_scalar_common_2[1]); ^ Mercury/javas/jmercury/random_shuffle.java:132: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_25_25, ((java.lang.Object) (Sorted_11)), ((java.lang.Object) (List_7))); ^ symbol: variable builtin location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:139: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class random_shuffle Mercury/javas/jmercury/random_shuffle.java:147: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class random_shuffle 54 errors make[3]: *** [/tmp/mmake.nZ2v9l:2360: random_shuffle] Error 1 make[3]: Target 'random_shuffle.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'