MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' { 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 --no-inlining --user-guided-type-specialization '; 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 - complicated_constraint.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' { 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 --no-inlining --user-guided-type-specialization '; 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 - complicated_constraint Making Mercury/int3s/complicated_constraint.int3 Making Mercury/ints/complicated_constraint.int Making Mercury/javas/jmercury/complicated_constraint.java Making Java class files Mercury/javas/jmercury/complicated_constraint.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_constraint__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_constraint__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_constraint.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_constraint__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_constraint.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_constraint__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_constraint__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_constraint.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint complicated_constraint__type_class_decl_super_foo_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/complicated_constraint.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] complicated_constraint__type_class_decl_supers_foo_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_constraint__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_constraint.java:159: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:162: 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/complicated_constraint.java:163: 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[3]; ^ Mercury/javas/jmercury/complicated_constraint.java:279: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/complicated_constraint.java:330: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/complicated_constraint.java:462: error: package list does not exist list.List_1 List_2) ^ Mercury/javas/jmercury/complicated_constraint.java:585: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_5, ^ Mercury/javas/jmercury/complicated_constraint.java:587: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/complicated_constraint.java:603: error: package list does not exist list.List_1 Xs_4) ^ Mercury/javas/jmercury/complicated_constraint.java:646: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/complicated_constraint.java:697: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/complicated_constraint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "complicated_constraint"; ^ Mercury/javas/jmercury/complicated_constraint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/complicated_constraint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/complicated_constraint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/complicated_constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/complicated_constraint.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_constraint__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_constraint__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_constraint.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_constraint__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_constraint.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_constraint__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_constraint__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_constraint.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint complicated_constraint__type_class_decl_super_foo_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/complicated_constraint.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] complicated_constraint__type_class_decl_supers_foo_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_constraint__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_constraint.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_constraint.java:103: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_constraint.java:126: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:140: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/complicated_constraint.java:144: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) complicated_constraint.complicated_constraint__type_class_decl_super_foo_1_1; ^ Mercury/javas/jmercury/complicated_constraint.java:159: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:162: 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/complicated_constraint.java:163: 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[3]; ^ Mercury/javas/jmercury/complicated_constraint.java:170: 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 complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:170: 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/complicated_constraint.java:176: 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 complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:176: 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/complicated_constraint.java:179: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/complicated_constraint.java:180: 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 complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:180: 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/complicated_constraint.java:181: 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 complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:181: 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/complicated_constraint.java:187: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(complicated_constraint.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/complicated_constraint.java:194: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(complicated_constraint.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/complicated_constraint.java:211: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:211: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/complicated_constraint.java:213: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:213: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/complicated_constraint.java:214: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:214: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/complicated_constraint.java:217: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/complicated_constraint.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:221: error: package list does not exist (list.List_1) complicated_constraint.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/complicated_constraint.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:226: error: package list does not exist (list.List_1) complicated_constraint.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/complicated_constraint.java:229: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:231: error: package list does not exist (list.List_1) complicated_constraint.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/complicated_constraint.java:238: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:238: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/complicated_constraint.java:298: error: package list does not exist succeeded = complicated_constraint.ClassMethod_for_complicated_constraint__foo____list__list__arity1______complicated_constraint__b_1_1_p_0(((/* typeclass_info */ java.lang.Object[]) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/complicated_constraint.java:308: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:336: error: cannot find symbol TypeClassInfo_for_printable_5 = private_builtin.superclass_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_4, PolyConst1_6); ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:353: error: package list does not exist complicated_constraint.ClassMethod_for_complicated_constraint__printable____list__list__arity1______complicated_constraint__p_3_3_p_0(((/* typeclass_info */ java.lang.Object[]) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/complicated_constraint.java:386: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_2)[0])[5]); ^ Mercury/javas/jmercury/complicated_constraint.java:386: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_2)[0])[5]); ^ Mercury/javas/jmercury/complicated_constraint.java:389: 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) (HeadVar__1_1)))).booleanValue(); ^ Mercury/javas/jmercury/complicated_constraint.java:401: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:402: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:403: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:404: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:405: error: package list does not exist list.List_1 Var_10 = (list.List_1) complicated_constraint.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/complicated_constraint.java:405: error: package list does not exist list.List_1 Var_10 = (list.List_1) complicated_constraint.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/complicated_constraint.java:408: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:414: error: package list.List_1 does not exist Var_8 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:427: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:435: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:438: error: package list does not exist Var_17 = (list.List_1) complicated_constraint.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/complicated_constraint.java:440: error: package list.List_1 does not exist Var_15 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/complicated_constraint.java:465: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:466: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:469: error: package list does not exist list.List_1 Var_4 = null; ^ Mercury/javas/jmercury/complicated_constraint.java:481: error: cannot find symbol TypeInfo_11_11 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_9, PolyConst2_10); ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:484: error: cannot find symbol TypeInfo_12_12 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_9, PolyConst2_10); ^ symbol: variable private_builtin location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:487: error: cannot find symbol java.lang.Object [] result = list.map_3_p_2(TypeInfo_11_11, TypeInfo_12_12, Var_5, List_2); ^ symbol: variable list location: class complicated_constraint Mercury/javas/jmercury/complicated_constraint.java:489: error: package list does not exist Var_4 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/complicated_constraint.java:522: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = null; ^ 100 errors make[3]: *** [/tmp/mmake.4uekYm:1244: complicated_constraint] Error 1 make[3]: Target 'complicated_constraint.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses'