MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - superclass_call.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - superclass_call Making Mercury/int3s/superclass_call.int3 Making Mercury/ints/superclass_call.int Making Mercury/javas/jmercury/superclass_call.java Making Java class files Mercury/javas/jmercury/superclass_call.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] superclass_call__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/superclass_call.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_call__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_call.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_call__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_call.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] superclass_call__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/superclass_call.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_call__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_call.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint superclass_call__type_class_decl_super_foo_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/superclass_call.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] superclass_call__type_class_decl_supers_foo_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/superclass_call.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_call__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_call.java:291: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/superclass_call.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/superclass_call.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "superclass_call"; ^ Mercury/javas/jmercury/superclass_call.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/superclass_call.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/superclass_call.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class superclass_call Mercury/javas/jmercury/superclass_call.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class superclass_call Mercury/javas/jmercury/superclass_call.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/superclass_call.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/superclass_call.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] superclass_call__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/superclass_call.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_call__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_call.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_call__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_call.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] superclass_call__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/superclass_call.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_call__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_call.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint superclass_call__type_class_decl_super_foo_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/superclass_call.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] superclass_call__type_class_decl_supers_foo_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/superclass_call.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_call__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_call.java:74: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/superclass_call.java:77: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class superclass_call Mercury/javas/jmercury/superclass_call.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/superclass_call.java:100: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class superclass_call Mercury/javas/jmercury/superclass_call.java:114: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/superclass_call.java:118: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) superclass_call.superclass_call__type_class_decl_super_foo_1_1; ^ Mercury/javas/jmercury/superclass_call.java:138: 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 superclass_call Mercury/javas/jmercury/superclass_call.java:138: 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/superclass_call.java:144: 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 superclass_call Mercury/javas/jmercury/superclass_call.java:144: 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/superclass_call.java:182: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:207: 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/superclass_call.java:207: 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/superclass_call.java:210: 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/superclass_call.java:227: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_13)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:227: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_13)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/superclass_call.java:230: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/superclass_call.java:234: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_7_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_13))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_6))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/superclass_call.java:238: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:242: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_14)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:244: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_14))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))).booleanValue(); ^ Mercury/javas/jmercury/superclass_call.java:251: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:259: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:264: error: cannot find symbol TypeClassInfo_for_printable_18 = private_builtin.superclass_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_14, PolyConst1_19); ^ symbol: variable private_builtin location: class superclass_call Mercury/javas/jmercury/superclass_call.java:266: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_18)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:268: error: package jmercury.runtime does not exist conv4_STATE_VARIABLE_IO_11_11 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_18))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/superclass_call.java:272: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class superclass_call Mercury/javas/jmercury/superclass_call.java:281: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_4)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:281: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_4)[0])[5]); ^ Mercury/javas/jmercury/superclass_call.java:285: 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_printable_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 60 errors make[3]: *** [/tmp/mmake.72U8f5:1244: superclass_call] Error 1 make[3]: Target 'superclass_call.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/typeclasses'