MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - array_primitives.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - array_primitives Making Mercury/int3s/array_primitives.int3 Making Mercury/ints/array_primitives.int Making Mercury/javas/jmercury/array_primitives.java Making Java class files Mercury/javas/jmercury/array_primitives.java:32: 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_primitives.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_primitives.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/array_primitives.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_43, ^ Mercury/javas/jmercury/array_primitives.java:333: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_43, ^ Mercury/javas/jmercury/array_primitives.java:344: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_primitives.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_primitives"; ^ Mercury/javas/jmercury/array_primitives.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_primitives.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_primitives.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_primitives Mercury/javas/jmercury/array_primitives.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_primitives Mercury/javas/jmercury/array_primitives.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_primitives.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_primitives.java:32: 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_primitives.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_primitives.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/array_primitives.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_primitives.java:41: 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_primitives Mercury/javas/jmercury/array_primitives.java:41: 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_primitives.java:42: 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_primitives Mercury/javas/jmercury/array_primitives.java:42: 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_primitives.java:54: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:54: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_primitives.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_primitives.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_primitives.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:64: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_primitives.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:69: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_primitives.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:74: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/array_primitives.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:79: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_primitives.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = null; ^ Mercury/javas/jmercury/array_primitives.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_45_45 = null; ^ Mercury/javas/jmercury/array_primitives.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_16 = null; ^ Mercury/javas/jmercury/array_primitives.java:116: error: cannot find symbol Var_16 = type_desc.type_of_1_f_0(TypeInfo_for_T_43); ^ symbol: variable type_desc location: class array_primitives Mercury/javas/jmercury/array_primitives.java:119: error: cannot find symbol TypeName_8 = type_desc.type_name_1_f_0(Var_16); ^ symbol: variable type_desc location: class array_primitives Mercury/javas/jmercury/array_primitives.java:123: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:126: error: cannot find symbol io.write_string_3_p_0(TypeName_8); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:130: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:134: error: cannot find symbol InitArray_9 = array.init_3_p_0(TypeInfo_for_T_43, Var_22, E_5); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:138: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:140: error: cannot find symbol TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ Mercury/javas/jmercury/array_primitives.java:142: error: package jmercury.runtime does not exist TypeInfo_45_45 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_primitives.java:148: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (InitArray_9))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:161: error: cannot find symbol GenArray_10 = array.generate_2_f_0(TypeInfo_for_T_43, Var_26, Var_27); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:165: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:168: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (GenArray_10))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:172: error: cannot find symbol ResizedArray_12 = array.resize_4_p_0(TypeInfo_for_T_43, Var_33, F_6, InitArray_9); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:176: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:179: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (ResizedArray_12))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:183: error: cannot find symbol ShrunkArray_13 = array.shrink_3_p_0(TypeInfo_for_T_43, Var_37, GenArray_10); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:187: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:190: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (ShrunkArray_13))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:193: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:206: error: package jmercury.runtime does not exist wrapper_arg_2 = array_primitives.IntroducedFrom__func__do_test__61__1_3_f_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((java.lang.Object[]) closure)[4], ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/array_primitives.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/array_primitives.java:214: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/array_primitives.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = null; ^ Mercury/javas/jmercury/array_primitives.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_55_55 = null; ^ Mercury/javas/jmercury/array_primitives.java:217: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_56_56 = null; ^ Mercury/javas/jmercury/array_primitives.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_57_57 = null; ^ Mercury/javas/jmercury/array_primitives.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_58_58 = null; ^ Mercury/javas/jmercury/array_primitives.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = null; ^ Mercury/javas/jmercury/array_primitives.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = null; ^ Mercury/javas/jmercury/array_primitives.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/array_primitives.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = null; ^ Mercury/javas/jmercury/array_primitives.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = null; ^ Mercury/javas/jmercury/array_primitives.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = null; ^ Mercury/javas/jmercury/array_primitives.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/array_primitives.java:251: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/array_primitives.java:252: error: package list does not exist list.List_1 Var_43 = null; ^ Mercury/javas/jmercury/array_primitives.java:259: error: cannot find symbol TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:259: error: package jmercury.runtime does not exist TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/array_primitives.java:265: error: cannot find symbol TypeCtorInfo_55_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:265: error: package jmercury.runtime does not exist TypeCtorInfo_55_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/array_primitives.java:271: error: cannot find symbol TypeCtorInfo_56_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:271: error: package jmercury.runtime does not exist TypeCtorInfo_56_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/array_primitives.java:277: error: cannot find symbol TypeCtorInfo_57_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:277: error: package jmercury.runtime does not exist TypeCtorInfo_57_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ Mercury/javas/jmercury/array_primitives.java:283: error: cannot find symbol TypeCtorInfo_58_58 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:283: error: package jmercury.runtime does not exist TypeCtorInfo_58_58 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/array_primitives.java:289: error: cannot find symbol TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:289: error: package jmercury.runtime does not exist TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ Mercury/javas/jmercury/array_primitives.java:295: error: cannot find symbol TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:295: error: package jmercury.runtime does not exist TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/array_primitives.java:301: error: cannot find symbol TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:301: error: package jmercury.runtime does not exist TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_primitives.java:307: error: cannot find symbol TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:307: error: package jmercury.runtime does not exist TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/array_primitives.java:313: error: cannot find symbol TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:313: error: package jmercury.runtime does not exist TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ 100 errors make[3]: *** [/tmp/mmake.3Y9Mqb:2364: array_primitives] Error 1 make[3]: Target 'array_primitives.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'