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 - arbitrary_constraint_class.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 - arbitrary_constraint_class Making Mercury/int3s/arbitrary_constraint_class.int3 Making Mercury/ints/arbitrary_constraint_class.int Making Mercury/javas/jmercury/arbitrary_constraint_class.java Making Java class files Mercury/javas/jmercury/arbitrary_constraint_class.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId arbitrary_constraint_class__type_class_id_solver_for_float_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint arbitrary_constraint_class__type_class_decl_super_solver_for_float_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] arbitrary_constraint_class__type_class_decl_supers_solver_for_float_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct arbitrary_constraint_class__type_class_decl_solver_for_float_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] arbitrary_constraint_class__type_class_id_method_ids_solver_for_2 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId arbitrary_constraint_class__type_class_id_solver_for_2 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct arbitrary_constraint_class__type_class_decl_solver_for_2 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:299: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arbitrary_constraint_class"; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId arbitrary_constraint_class__type_class_id_solver_for_float_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint arbitrary_constraint_class__type_class_decl_super_solver_for_float_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] arbitrary_constraint_class__type_class_decl_supers_solver_for_float_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct arbitrary_constraint_class__type_class_decl_solver_for_float_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] arbitrary_constraint_class__type_class_id_method_ids_solver_for_2 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId arbitrary_constraint_class__type_class_id_solver_for_2 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct arbitrary_constraint_class__type_class_decl_solver_for_2 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:87: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0, ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:107: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0, ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:108: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) arbitrary_constraint_class.arbitrary_constraint_class__type_class_decl_super_solver_for_float_1_1; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:134: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:134: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:135: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:141: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:141: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:153: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:153: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:154: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:154: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:178: error: cannot find symbol io.write_string_3_p_0(S_4); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:181: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:194: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:200: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:211: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_5)[1]); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:213: error: package jmercury.runtime does not exist S_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_5))), ((java.lang.Object) (java.lang.Double.valueOf(Var_6))))); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:242: error: cannot find symbol HeadVar__2_2 = string.float_to_string_1_f_0(Float_3); ^ symbol: variable string location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:271: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:274: error: cannot find symbol TypeClassInfo_for_solver_for_10 = private_builtin.superclass_from_typeclass_info_3_p_0(TypeClassInfo_for_solver_for_float_7, PolyConst1_11); ^ symbol: variable private_builtin location: class arbitrary_constraint_class Mercury/javas/jmercury/arbitrary_constraint_class.java:276: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_solver_for_10)[0])[5]); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:278: error: package jmercury.runtime does not exist HeadVar__3_9 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_solver_for_10))), ((java.lang.Object) (java.lang.Double.valueOf(HeadVar__2_8))))); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_solver_for_3)[0])[5]); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_solver_for_3)[0])[5]); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:292: 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_solver_for_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/arbitrary_constraint_class.java:328: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 57 errors make[3]: *** [/tmp/mmake.wZlF3L:1244: arbitrary_constraint_class] Error 1 make[3]: Target 'arbitrary_constraint_class.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/typeclasses'