MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - constrained_lambda.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - constrained_lambda Making Mercury/int3s/constrained_lambda.int3 Making Mercury/ints/constrained_lambda.int Making Mercury/javas/jmercury/constrained_lambda.java Making Java class files Mercury/javas/jmercury/constrained_lambda.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] constrained_lambda__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/constrained_lambda.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId constrained_lambda__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/constrained_lambda.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct constrained_lambda__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/constrained_lambda.java:83: 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/constrained_lambda.java:86: 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/constrained_lambda.java:87: 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[2]; ^ Mercury/javas/jmercury/constrained_lambda.java:227: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/constrained_lambda.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constrained_lambda"; ^ Mercury/javas/jmercury/constrained_lambda.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constrained_lambda.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constrained_lambda.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constrained_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constrained_lambda.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] constrained_lambda__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/constrained_lambda.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId constrained_lambda__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/constrained_lambda.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct constrained_lambda__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/constrained_lambda.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/constrained_lambda.java:58: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:83: 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/constrained_lambda.java:86: 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/constrained_lambda.java:87: 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[2]; ^ Mercury/javas/jmercury/constrained_lambda.java:93: 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 constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:93: 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/constrained_lambda.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/constrained_lambda.java:97: 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 constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:97: 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/constrained_lambda.java:98: 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 constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:98: 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/constrained_lambda.java:105: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:105: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/constrained_lambda.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/constrained_lambda.java:115: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/constrained_lambda.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constrained_lambda.java:119: error: package list does not exist (list.List_1) constrained_lambda.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/constrained_lambda.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constrained_lambda.java:124: error: package list does not exist (list.List_1) constrained_lambda.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/constrained_lambda.java:167: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_20)[0])[5]); ^ Mercury/javas/jmercury/constrained_lambda.java:167: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_20)[0])[5]); ^ Mercury/javas/jmercury/constrained_lambda.java:171: error: package jmercury.runtime does not exist conv1_LambdaHeadVar__2_12 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_20))), ((java.lang.Object) (java.lang.Integer.valueOf(LambdaHeadVar__1_11))))); ^ Mercury/javas/jmercury/constrained_lambda.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/constrained_lambda.java:180: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/constrained_lambda.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/constrained_lambda.java:182: error: package list does not exist list.List_1 X_6 = null; ^ Mercury/javas/jmercury/constrained_lambda.java:184: error: package list does not exist list.List_1 Var_10 = (list.List_1) constrained_lambda.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/constrained_lambda.java:184: error: package list does not exist list.List_1 Var_10 = (list.List_1) constrained_lambda.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/constrained_lambda.java:187: error: cannot find symbol X_6 = list.map_3_p_0(TypeCtorInfo_21_21, TypeCtorInfo_21_21, Var_9, Var_10); ^ symbol: variable list location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:189: error: package jmercury.runtime does not exist TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(constrained_lambda.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/constrained_lambda.java:191: error: cannot find symbol io.write_line_3_p_0(TypeInfo_22_22, ((java.lang.Object) (X_6))); ^ symbol: variable io location: class constrained_lambda Mercury/javas/jmercury/constrained_lambda.java:217: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/constrained_lambda.java:217: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/constrained_lambda.java:220: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/constrained_lambda.java:256: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 59 errors make[3]: *** [/tmp/mmake.OUiBDT:1244: constrained_lambda] Error 1 make[3]: Target 'constrained_lambda.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/typeclasses'