MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - lambda_multi_constraint_same_tvar.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - lambda_multi_constraint_same_tvar Making Mercury/int3s/lambda_multi_constraint_same_tvar.int3 Making Mercury/ints/lambda_multi_constraint_same_tvar.int Making Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java lambda_multi_constraint_same_tvar.m:034: Inferred :- pred main2(T, T, io.state, lambda_multi_constraint_same_tvar.m:034: io.state) <= lambda_multi_constraint_same_tvar.m:034: (lambda_multi_constraint_same_tvar.c1(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c1(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c2(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c2(T)). lambda_multi_constraint_same_tvar.m:034: Inferred :- mode main2(di, di, di, uo) lambda_multi_constraint_same_tvar.m:034: is det. Making Java class files Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] lambda_multi_constraint_same_tvar__type_class_id_method_ids_c2_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_multi_constraint_same_tvar__type_class_id_c2_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_multi_constraint_same_tvar__type_class_decl_c2_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] lambda_multi_constraint_same_tvar__type_class_id_method_ids_c1_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_multi_constraint_same_tvar__type_class_id_c1_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_multi_constraint_same_tvar__type_class_decl_c1_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:322: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lambda_multi_constraint_same_tvar"; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] lambda_multi_constraint_same_tvar__type_class_id_method_ids_c2_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_multi_constraint_same_tvar__type_class_id_c2_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_multi_constraint_same_tvar__type_class_decl_c2_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] lambda_multi_constraint_same_tvar__type_class_id_method_ids_c1_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_multi_constraint_same_tvar__type_class_id_c1_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_multi_constraint_same_tvar__type_class_decl_c1_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:75: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:98: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:131: 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 lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:131: 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/lambda_multi_constraint_same_tvar.java:136: 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 lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:136: 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/lambda_multi_constraint_same_tvar.java:149: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:149: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:150: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:150: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:151: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:151: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:152: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:152: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:155: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:155: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:156: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:156: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:182: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:206: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:234: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_26)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:234: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_26)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:236: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:238: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:240: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_6 = null; ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:244: error: package jmercury.runtime does not exist conv1_DCG_1_13 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c1_26))), ((java.lang.Object) (LambdaHeadVar__1_19)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:246: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c2_28)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:248: error: package jmercury.runtime does not exist conv3_DCG_2_14 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c2_28))), ((java.lang.Object) (LambdaHeadVar__1_19)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:253: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_27)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:255: error: package jmercury.runtime does not exist conv5_DCG_4_16 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c1_27))), ((java.lang.Object) (Y_6)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:257: error: package jmercury.runtime does not exist func_6 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c2_29)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:259: error: package jmercury.runtime does not exist conv7_DCG_5_17 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_6).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c2_29))), ((java.lang.Object) (Y_6)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:262: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lambda_multi_constraint_same_tvar Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:271: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_12)[1]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:271: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_12)[1]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:275: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Foo_12))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_6))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:299: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_4)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:299: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_4)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:303: error: package jmercury.runtime does not exist conv1_HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c1_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:312: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c2_4)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:312: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c2_4)[0])[5]); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:316: error: package jmercury.runtime does not exist conv1_HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c2_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/lambda_multi_constraint_same_tvar.java:361: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 70 errors make[3]: *** [/tmp/mmake.wbp8pM:1241: lambda_multi_constraint_same_tvar] Error 1 make[3]: Target 'lambda_multi_constraint_same_tvar.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/typeclasses' ERROR OUTPUT lambda_multi_constraint_same_tvar.m:034: Inferred :- pred main2(T, T, io.state, lambda_multi_constraint_same_tvar.m:034: io.state) <= lambda_multi_constraint_same_tvar.m:034: (lambda_multi_constraint_same_tvar.c1(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c1(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c2(T), lambda_multi_constraint_same_tvar.m:034: lambda_multi_constraint_same_tvar.c2(T)). lambda_multi_constraint_same_tvar.m:034: Inferred :- mode main2(di, di, di, uo) lambda_multi_constraint_same_tvar.m:034: is det. END OF THE ERROR OUTPUT