MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-08-10/stage2/scripts/mmc --make --options-file - unsorted_agg2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-08-10/stage2/scripts/mmc --make --options-file - unsorted_agg2 Making Mercury/int3s/unsorted_agg2.int3 Making Mercury/ints/unsorted_agg2.int Making Mercury/javas/jmercury/unsorted_agg2.java Making Java class files Mercury/javas/jmercury/unsorted_agg2.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/unsorted_agg2.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/unsorted_agg2.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/unsorted_agg2.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/unsorted_agg2.java:139: error: package list does not exist list.List_1 STATE_VARIABLE_DoubleQs_0_9) ^ Mercury/javas/jmercury/unsorted_agg2.java:136: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/unsorted_agg2.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/unsorted_agg2.java:274: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/unsorted_agg2.java:296: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/unsorted_agg2.java:315: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/unsorted_agg2.java:335: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/unsorted_agg2.java:360: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/unsorted_agg2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "unsorted_agg2"; ^ Mercury/javas/jmercury/unsorted_agg2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/unsorted_agg2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/unsorted_agg2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/unsorted_agg2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/unsorted_agg2.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/unsorted_agg2.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/unsorted_agg2.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.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/unsorted_agg2.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/unsorted_agg2.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/unsorted_agg2.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/unsorted_agg2.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 unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.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/unsorted_agg2.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 unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.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/unsorted_agg2.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/unsorted_agg2.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/unsorted_agg2.java:83: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:83: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/unsorted_agg2.java:84: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:84: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/unsorted_agg2.java:93: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/unsorted_agg2.java:95: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/unsorted_agg2.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/unsorted_agg2.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/unsorted_agg2.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/unsorted_agg2.java:99: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/unsorted_agg2.java:100: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/unsorted_agg2.java:141: error: package list does not exist list.List_1 STATE_VARIABLE_DoubleQs_10 = null; ^ Mercury/javas/jmercury/unsorted_agg2.java:146: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/unsorted_agg2.java:150: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:152: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) unsorted_agg2.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/unsorted_agg2.java:154: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, I_6); ^ symbol: variable string__format location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:157: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:161: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:166: error: package list.List_1 does not exist STATE_VARIABLE_DoubleQs_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/unsorted_agg2.java:177: 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/unsorted_agg2.java:177: 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 unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:177: 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/unsorted_agg2.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(unsorted_agg2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/unsorted_agg2.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(unsorted_agg2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/unsorted_agg2.java:179: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/unsorted_agg2.java:179: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:179: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/unsorted_agg2.java:180: error: package list does not exist list.List_1 DoubleQs_4 = null; ^ Mercury/javas/jmercury/unsorted_agg2.java:183: error: package list does not exist list.List_1 Var_9 = (list.List_1) unsorted_agg2.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/unsorted_agg2.java:183: error: package list does not exist list.List_1 Var_9 = (list.List_1) unsorted_agg2.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/unsorted_agg2.java:188: error: cannot find symbol java.lang.Object [] result = solutions.unsorted_aggregate2_6_p_2(TypeCtorInfo_18_18, TypeInfo_19_19, TypeCtorInfo_20_20, Var_7, Var_8, ((java.lang.Object) (Var_9)), ((java.lang.Object) (0))); ^ symbol: variable solutions location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:192: error: package list does not exist DoubleQs_4 = ((list.List_1) conv3_DoubleQs_4); ^ Mercury/javas/jmercury/unsorted_agg2.java:194: error: cannot find symbol io.write_3_p_0(TypeInfo_19_19, ((java.lang.Object) (DoubleQs_4))); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:197: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class unsorted_agg2 Mercury/javas/jmercury/unsorted_agg2.java:209: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((unsorted_agg2.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((unsorted_agg2.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((unsorted_agg2.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/unsorted_agg2.java:260: error: package list does not exist list.List_1 conv1_STATE_VARIABLE_DoubleQs_10 = null; ^ Mercury/javas/jmercury/unsorted_agg2.java:263: error: package list does not exist conv1_STATE_VARIABLE_DoubleQs_10 = unsorted_agg2.collect_q_5_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/unsorted_agg2.java:286: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__1_1), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/unsorted_agg2.java:327: error: package jmercury.runtime does not exist unsorted_agg2.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 78 errors make[3]: *** [/tmp/mmake.6BVHZq:2364: unsorted_agg2] Error 1 make[3]: Target 'unsorted_agg2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded'