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_shuffle2.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_shuffle2 Making Mercury/int3s/random_shuffle2.int3 Making Mercury/ints/random_shuffle2.int Making Mercury/javas/jmercury/random_shuffle2.java Making Java class files Mercury/javas/jmercury/random_shuffle2.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[1]; ^ Mercury/javas/jmercury/random_shuffle2.java:81: error: package list does not exist list.List_1 List_7, ^ Mercury/javas/jmercury/random_shuffle2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_shuffle2"; ^ Mercury/javas/jmercury/random_shuffle2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_shuffle2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_shuffle2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_shuffle2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_shuffle2.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[1]; ^ Mercury/javas/jmercury/random_shuffle2.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_shuffle2.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle2.java:43: 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_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:43: 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_shuffle2.java:44: 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_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:44: 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_shuffle2.java:58: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/random_shuffle2.java:59: error: package random__sfc16 does not exist random__sfc16.Random_0 R_5 = null; ^ Mercury/javas/jmercury/random_shuffle2.java:66: error: cannot find symbol List_4 = list.f_46_46_2_f_0(Var_9, Var_10); ^ symbol: variable list location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:69: error: cannot find symbol R_5 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle2.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle2.java:96: error: package list does not exist list.List_1 Shuffled_11 = null; ^ Mercury/javas/jmercury/random_shuffle2.java:97: error: package list does not exist list.List_1 Sorted_12 = null; ^ Mercury/javas/jmercury/random_shuffle2.java:101: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/random_shuffle2.java:106: error: cannot find symbol java.lang.Object [] result = random.shuffle_list_4_p_0(TypeCtorInfo_28_28, TypeClassInfo_for_random_27, List_7, STATE_VARIABLE_R_0_13); ^ symbol: variable random location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:107: error: package list does not exist Shuffled_11 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/random_shuffle2.java:111: error: cannot find symbol Sorted_12 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_28_28, Shuffled_11); ^ symbol: variable list location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:113: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle2.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/random_shuffle2.java:115: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_29_29, ((java.lang.Object) (Sorted_12)), ((java.lang.Object) (List_7))); ^ symbol: variable builtin location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:122: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class random_shuffle2 Mercury/javas/jmercury/random_shuffle2.java:130: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class random_shuffle2 39 errors make[3]: *** [/tmp/mmake.C6xkUZ:2360: random_shuffle2] Error 1 make[3]: Target 'random_shuffle2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'