MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/typeclasses' { 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 --optimize-higher-order --no-type-specialization --body-typeinfo-liveness '; 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 - extra_typeinfo.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/typeclasses' { 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 --optimize-higher-order --no-type-specialization --body-typeinfo-liveness '; 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 - extra_typeinfo Making Mercury/int3s/extra_typeinfo.int3 Making Mercury/ints/extra_typeinfo.int Making Mercury/javas/jmercury/extra_typeinfo.java Making Java class files Mercury/javas/jmercury/extra_typeinfo.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] extra_typeinfo__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/extra_typeinfo.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId extra_typeinfo__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/extra_typeinfo.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct extra_typeinfo__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/extra_typeinfo.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/extra_typeinfo.java:97: 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/extra_typeinfo.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[17]; ^ Mercury/javas/jmercury/extra_typeinfo.java:240: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/extra_typeinfo.java:282: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_16, ^ Mercury/javas/jmercury/extra_typeinfo.java:284: error: package list does not exist list.List_1 In_4, ^ Mercury/javas/jmercury/extra_typeinfo.java:285: error: package list does not exist list.List_1 Out0_5) ^ Mercury/javas/jmercury/extra_typeinfo.java:372: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_21, ^ Mercury/javas/jmercury/extra_typeinfo.java:373: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_23, ^ Mercury/javas/jmercury/extra_typeinfo.java:375: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_26, ^ Mercury/javas/jmercury/extra_typeinfo.java:377: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_29, ^ Mercury/javas/jmercury/extra_typeinfo.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_31, ^ Mercury/javas/jmercury/extra_typeinfo.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_33, ^ Mercury/javas/jmercury/extra_typeinfo.java:380: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_35, ^ Mercury/javas/jmercury/extra_typeinfo.java:381: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_19, ^ Mercury/javas/jmercury/extra_typeinfo.java:383: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/extra_typeinfo.java:384: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/extra_typeinfo.java:385: error: package list does not exist list.List_1 HeadVar__5_5) ^ Mercury/javas/jmercury/extra_typeinfo.java:468: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/extra_typeinfo.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "extra_typeinfo"; ^ Mercury/javas/jmercury/extra_typeinfo.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/extra_typeinfo.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/extra_typeinfo.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/extra_typeinfo.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/extra_typeinfo.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] extra_typeinfo__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/extra_typeinfo.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId extra_typeinfo__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/extra_typeinfo.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct extra_typeinfo__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/extra_typeinfo.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/extra_typeinfo.java:71: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/extra_typeinfo.java:97: 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/extra_typeinfo.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[17]; ^ Mercury/javas/jmercury/extra_typeinfo.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/extra_typeinfo.java:103: 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 extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:103: 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/extra_typeinfo.java:104: 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 extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:104: 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/extra_typeinfo.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/extra_typeinfo.java:108: 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 extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:108: 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/extra_typeinfo.java:109: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(extra_typeinfo.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/extra_typeinfo.java:114: 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 extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:114: 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/extra_typeinfo.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/extra_typeinfo.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:121: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:126: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:131: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/extra_typeinfo.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:136: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/extra_typeinfo.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:140: error: package list does not exist ((java.lang.Object) ((list.List_1) extra_typeinfo.MR_scalar_common_4[3])), ^ Mercury/javas/jmercury/extra_typeinfo.java:141: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:146: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:151: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/extra_typeinfo.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:156: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/extra_typeinfo.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:160: error: package list does not exist ((java.lang.Object) ((list.List_1) extra_typeinfo.MR_scalar_common_4[7])), ^ Mercury/javas/jmercury/extra_typeinfo.java:161: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/extra_typeinfo.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:166: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:171: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/extra_typeinfo.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:176: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/extra_typeinfo.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:180: error: package list does not exist ((java.lang.Object) ((list.List_1) extra_typeinfo.MR_scalar_common_4[11])), ^ Mercury/javas/jmercury/extra_typeinfo.java:181: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:186: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extra_typeinfo.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:191: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/extra_typeinfo.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:196: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/extra_typeinfo.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extra_typeinfo.java:200: error: package list does not exist ((java.lang.Object) ((list.List_1) extra_typeinfo.MR_scalar_common_4[15])), ^ Mercury/javas/jmercury/extra_typeinfo.java:201: error: package list does not exist (list.List_1) extra_typeinfo.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/extra_typeinfo.java:218: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class extra_typeinfo Mercury/javas/jmercury/extra_typeinfo.java:244: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/extra_typeinfo.java:248: error: package list.List_1 does not exist A_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/extra_typeinfo.java:249: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_2)[0])[5]); ^ Mercury/javas/jmercury/extra_typeinfo.java:251: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_2))), ((java.lang.Object) (A_3)))).booleanValue(); ^ Mercury/javas/jmercury/extra_typeinfo.java:266: error: package list does not exist succeeded = extra_typeinfo.ClassMethod_for_extra_typeinfo__foo____list__list__arity1______extra_typeinfo__foo_pred_1_1_p_0(((/* typeclass_info */ java.lang.Object[]) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/extra_typeinfo.java:288: error: package list does not exist list.List_1 Out_6 = null; ^ Mercury/javas/jmercury/extra_typeinfo.java:289: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/extra_typeinfo.java:290: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ 100 errors make[3]: *** [/tmp/mmake.xCk1Zx:1241: extra_typeinfo] Error 1 make[3]: Target 'extra_typeinfo.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/typeclasses'