MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-06/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-06/stage2/scripts/mmc --make --options-file - superclass_bug_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-06/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-06/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-06/stage2/scripts/mmc --make --options-file - superclass_bug_2 Making Mercury/int3s/superclass_bug_2.int3 Making Mercury/ints/superclass_bug_2.int Making Mercury/javas/jmercury/superclass_bug_2.java Making Java class files Mercury/javas/jmercury/superclass_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] superclass_bug_2__field_types_t1_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc superclass_bug_2__du_functor_desc_t1_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/superclass_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] superclass_bug_2__du_stag_ordered_t1_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] superclass_bug_2__du_ptag_ordered_t1_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] superclass_bug_2__du_name_ordered_t1_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct superclass_bug_2__type_ctor_info_t1_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_bug_2__type_class_id_h_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint superclass_bug_2__type_class_decl_super_h_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/superclass_bug_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] superclass_bug_2__type_class_decl_supers_h_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_bug_2__type_class_decl_h_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_bug_2__type_class_id_g_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_bug_2.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_bug_2__type_class_decl_g_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:184: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_8, ^ Mercury/javas/jmercury/superclass_bug_2.java:355: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/superclass_bug_2.java:229: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/superclass_bug_2.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_7, ^ Mercury/javas/jmercury/superclass_bug_2.java:312: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/superclass_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "superclass_bug_2"; ^ Mercury/javas/jmercury/superclass_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/superclass_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/superclass_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/superclass_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/superclass_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] superclass_bug_2__field_types_t1_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc superclass_bug_2__du_functor_desc_t1_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/superclass_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] superclass_bug_2__du_stag_ordered_t1_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] superclass_bug_2__du_ptag_ordered_t1_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] superclass_bug_2__du_name_ordered_t1_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct superclass_bug_2__type_ctor_info_t1_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_bug_2__type_class_id_h_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint superclass_bug_2__type_class_decl_super_h_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/superclass_bug_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] superclass_bug_2__type_class_decl_supers_h_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_bug_2__type_class_decl_h_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId superclass_bug_2__type_class_id_g_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/superclass_bug_2.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct superclass_bug_2__type_class_decl_g_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/superclass_bug_2.java:54: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/superclass_bug_2.java:59: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/superclass_bug_2.java:75: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/superclass_bug_2.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/superclass_bug_2.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/superclass_bug_2.java:166: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/superclass_bug_2.java:170: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) superclass_bug_2.superclass_bug_2__type_class_decl_super_h_1_1; ^ Mercury/javas/jmercury/superclass_bug_2.java:184: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/superclass_bug_2.java:189: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/superclass_bug_2.java:190: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(superclass_bug_2.superclass_bug_2__type_ctor_info_t1_1))), ^ Mercury/javas/jmercury/superclass_bug_2.java:191: 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_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:191: 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_bug_2.java:196: 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_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:196: 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_bug_2.java:202: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(superclass_bug_2.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/superclass_bug_2.java:209: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(superclass_bug_2.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/superclass_bug_2.java:225: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:236: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/superclass_bug_2.java:242: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/superclass_bug_2.java:249: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_S_8, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:262: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/superclass_bug_2.java:265: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = superclass_bug_2.__Compare____t1_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((superclass_bug_2.T1_1) wrapper_arg_3), ((superclass_bug_2.T1_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/superclass_bug_2.java:290: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_S_7, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class superclass_bug_2 Mercury/javas/jmercury/superclass_bug_2.java:305: error: package jmercury.runtime does not exist succeeded = superclass_bug_2.__Unify____t1_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((superclass_bug_2.T1_1) wrapper_arg_2), ((superclass_bug_2.T1_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/superclass_bug_2.java:342: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 69 errors make[3]: *** [/tmp/mmake.2WipJc:1241: superclass_bug_2] Error 1 make[3]: Target 'superclass_bug_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-06/tests/typeclasses'