MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/scripts/mmc --make --options-file - stable_sort.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/scripts/mmc --make --options-file - stable_sort Making Mercury/int3s/stable_sort.int3 Making Mercury/ints/stable_sort.int Making Mercury/javas/jmercury/stable_sort.java Making Java class files Mercury/javas/jmercury/stable_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stable_sort.java:51: 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/stable_sort.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stable_sort.java:104: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/stable_sort.java:128: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/stable_sort.java:156: error: package list does not exist list.List_1 List0_7, ^ Mercury/javas/jmercury/stable_sort.java:343: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/stable_sort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stable_sort"; ^ Mercury/javas/jmercury/stable_sort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stable_sort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stable_sort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stable_sort Mercury/javas/jmercury/stable_sort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stable_sort Mercury/javas/jmercury/stable_sort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stable_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stable_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stable_sort.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/stable_sort.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/stable_sort.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:51: 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/stable_sort.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stable_sort.java:59: 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 stable_sort Mercury/javas/jmercury/stable_sort.java:60: 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 stable_sort Mercury/javas/jmercury/stable_sort.java:60: 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/stable_sort.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/stable_sort.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/stable_sort.java:65: 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 stable_sort Mercury/javas/jmercury/stable_sort.java:65: 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/stable_sort.java:66: 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 stable_sort Mercury/javas/jmercury/stable_sort.java:66: 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/stable_sort.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/stable_sort.java:70: 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 stable_sort Mercury/javas/jmercury/stable_sort.java:70: 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/stable_sort.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/stable_sort.java:74: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/stable_sort.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/stable_sort.java:110: error: package builtin does not exist builtin.Comparison_result_0 Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:116: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:121: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/stable_sort.java:123: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:134: error: package builtin does not exist builtin.Comparison_result_0 Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:140: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:145: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/stable_sort.java:147: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:162: error: package list does not exist list.List_1 List_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:179: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/stable_sort.java:183: error: package list does not exist list.List_1 next_value_of_List0_7 = null; ^ Mercury/javas/jmercury/stable_sort.java:187: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_26, Var_15, Var_16, STATE_VARIABLE_RandomState_0_12); ^ symbol: variable random location: class stable_sort Mercury/javas/jmercury/stable_sort.java:194: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_26, Var_18, Var_19, STATE_VARIABLE_RandomState_17_17); ^ symbol: variable random location: class stable_sort Mercury/javas/jmercury/stable_sort.java:207: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/stable_sort.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_21 = null; ^ Mercury/javas/jmercury/stable_sort.java:239: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/stable_sort.java:240: error: package bool does not exist bool.Bool_0 Stable_5 = null; ^ Mercury/javas/jmercury/stable_sort.java:241: error: package random__sfc16 does not exist random__sfc16.Random_0 RandomState0_11 = null; ^ Mercury/javas/jmercury/stable_sort.java:243: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/stable_sort.java:244: error: package list does not exist list.List_1 SortedOnSecond_16 = null; ^ Mercury/javas/jmercury/stable_sort.java:245: error: package list does not exist list.List_1 SortedOnSecondThenFirst_17 = null; ^ Mercury/javas/jmercury/stable_sort.java:246: error: package list does not exist list.List_1 Sorted_18 = null; ^ Mercury/javas/jmercury/stable_sort.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_22 = null; ^ Mercury/javas/jmercury/stable_sort.java:253: error: cannot find symbol RandomState0_11 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class stable_sort Mercury/javas/jmercury/stable_sort.java:256: error: package list does not exist Var_14 = (list.List_1) stable_sort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/stable_sort.java:260: error: package list does not exist List_4 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/stable_sort.java:264: error: package jmercury.runtime does not exist TypeInfo_13_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/stable_sort.java:266: error: cannot find symbol SortedOnSecond_16 = list.sort_3_p_0(TypeInfo_13_21, Var_19, List_4); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:270: error: cannot find symbol SortedOnSecondThenFirst_17 = list.sort_3_p_0(TypeInfo_13_21, Var_20, SortedOnSecond_16); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:273: error: cannot find symbol Sorted_18 = list.sort_2_p_0(TypeInfo_13_21, List_4); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:275: error: package jmercury.runtime does not exist TypeInfo_17_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[1]); ^ Mercury/javas/jmercury/stable_sort.java:277: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_17_22, ((java.lang.Object) (SortedOnSecondThenFirst_17)), ((java.lang.Object) (Sorted_18))); ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:280: error: package bool does not exist Stable_5 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:282: error: package bool does not exist Stable_5 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:283: error: illegal start of type switch (Stable_5.MR_value) { ^ Mercury/javas/jmercury/stable_sort.java:289: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:298: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:303: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/stable_sort.java:315: error: package builtin does not exist builtin.Comparison_result_0 conv1_Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:332: error: package builtin does not exist builtin.Comparison_result_0 conv2_Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:373: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 84 errors make[3]: *** [/tmp/mmake.2hTHhm:2362: stable_sort] Error 1 make[3]: Target 'stable_sort.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/hard_coded'