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 - array_sort.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 - array_sort Making Mercury/int3s/array_sort.int3 Making Mercury/ints/array_sort.int Making Mercury/javas/jmercury/array_sort.java Making Java class files Mercury/javas/jmercury/array_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_sort.java:49: 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/array_sort.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_sort.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/array_sort.java:142: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:177: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:190: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:234: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:248: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:286: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/array_sort.java:287: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/array_sort.java:288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:341: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:354: error: package list does not exist list.List_1 L_4) ^ Mercury/javas/jmercury/array_sort.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_sort.java:472: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/array_sort.java:519: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:521: error: package list does not exist public list.List_1 L_2; ^ Mercury/javas/jmercury/array_sort.java:522: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21; ^ Mercury/javas/jmercury/array_sort.java:523: error: package list does not exist public list.List_1 L1_4; ^ Mercury/javas/jmercury/array_sort.java:529: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:532: error: package list does not exist public list.List_1 conv0_L_2; ^ Mercury/javas/jmercury/array_sort.java:538: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:540: error: package list does not exist public list.List_1 HeadVar__2_2; ^ Mercury/javas/jmercury/array_sort.java:542: error: package list does not exist public list.List_1 L_8; ^ Mercury/javas/jmercury/array_sort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_sort"; ^ Mercury/javas/jmercury/array_sort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_sort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_sort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_sort Mercury/javas/jmercury/array_sort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_sort Mercury/javas/jmercury/array_sort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_sort.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/array_sort.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:49: 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/array_sort.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_sort.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/array_sort.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_sort.java:59: 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 array_sort Mercury/javas/jmercury/array_sort.java:59: 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/array_sort.java:60: 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 array_sort Mercury/javas/jmercury/array_sort.java:60: 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/array_sort.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/array_sort.java:82: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:82: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/array_sort.java:91: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_sort.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:95: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_sort.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:100: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/array_sort.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:105: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/array_sort.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:110: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/array_sort.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:115: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/array_sort.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:120: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/array_sort.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:125: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/array_sort.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:130: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/array_sort.java:155: error: package list does not exist list.List_1 L0_3 = (list.List_1) array_sort.MR_scalar_common_6[7]; ^ Mercury/javas/jmercury/array_sort.java:155: error: package list does not exist list.List_1 L0_3 = (list.List_1) array_sort.MR_scalar_common_6[7]; ^ Mercury/javas/jmercury/array_sort.java:157: error: cannot find symbol ((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:157: error: package jmercury.runtime does not exist ((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:171: error: cannot find symbol list.perm_2_p_0(((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21, ((array_sort.Generate_1_p_0_env_0) env_ptr).L1_4, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:197: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Generate_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Generate_1_p_0_env_0) env_ptr).L_2)), ((java.lang.Object) (((array_sort.Generate_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_sort.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_sort.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_sort.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_sort.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/array_sort.java:205: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/array_sort.java:212: error: cannot find symbol conv1_STATE_VARIABLE_IO_8_8 = solutions.unsorted_aggregate_4_p_2(TypeInfo_14_14, TypeCtorInfo_15_15, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class array_sort Mercury/javas/jmercury/array_sort.java:216: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:228: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((array_sort.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:279: error: package list does not exist array_sort.test_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/array_sort.java:302: error: package list does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2 = (list.List_1) array_sort.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/array_sort.java:304: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:309: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/array_sort.java:311: error: package list.List_1 does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/array_sort.java:312: error: package list.List_1 does not exist Var_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/array_sort.java:329: error: package list.List_1 does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:335: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:357: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:358: error: package list does not exist list.List_1 LS_6 = null; ^ Mercury/javas/jmercury/array_sort.java:359: error: package list does not exist list.List_1 AS_7 = null; ^ Mercury/javas/jmercury/array_sort.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/array_sort.java:367: error: cannot find symbol LS_6 = list.sort_2_p_0(TypeCtorInfo_18_18, L_4); ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:370: error: cannot find symbol conv0_Var_11 = array.from_list_1_f_0(TypeCtorInfo_18_18, L_4); ^ symbol: variable array location: class array_sort Mercury/javas/jmercury/array_sort.java:374: error: cannot find symbol conv1_Var_10 = array.sort_1_f_0(TypeCtorInfo_18_18, (/* Array */ java.lang.Object) Var_11); ^ symbol: variable array location: class array_sort 100 errors make[3]: *** [/tmp/mmake.oCMQ8q:2360: array_sort] Error 1 make[3]: Target 'array_sort.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'