MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - repeated_class_constraint.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - repeated_class_constraint.class Making Mercury/int3s/repeated_class_constraint.int3 Making Mercury/ints/repeated_class_constraint.int Making Mercury/javas/jmercury/repeated_class_constraint.java Making Mercury/classes/jmercury/repeated_class_constraint.class Mercury/javas/jmercury/repeated_class_constraint.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] repeated_class_constraint__type_class_id_method_ids_fooable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/repeated_class_constraint.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId repeated_class_constraint__type_class_id_fooable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/repeated_class_constraint.java:18: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct repeated_class_constraint__type_class_decl_fooable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/repeated_class_constraint.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] repeated_class_constraint__type_class_id_method_ids_fooable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/repeated_class_constraint.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId repeated_class_constraint__type_class_id_fooable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/repeated_class_constraint.java:18: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct repeated_class_constraint__type_class_decl_fooable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/repeated_class_constraint.java:25: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/repeated_class_constraint.java:28: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class repeated_class_constraint Mercury/javas/jmercury/repeated_class_constraint.java:60: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_fooable_4)[0])[5]); ^ Mercury/javas/jmercury/repeated_class_constraint.java:60: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_fooable_4)[0])[5]); ^ Mercury/javas/jmercury/repeated_class_constraint.java:63: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_fooable_4))), ((java.lang.Object) (((java.lang.Object) (TypeClassInfo_for_fooable_3)))), ((java.lang.Object) (HeadVar__1_1)))); ^ 11 errors ** Error making `Mercury/classes/jmercury/repeated_class_constraint.class'. make[3]: *** [/tmp/mmake.hZrbZD:1500: repeated_class_constraint.class] Error 1 make[3]: Target 'repeated_class_constraint.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'