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 --halt-at-warn '; 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 - typeclass_det_warning.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 --halt-at-warn '; 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 - typeclass_det_warning.class Making Mercury/int3s/typeclass_det_warning.int3 Making Mercury/ints/typeclass_det_warning.int Making Mercury/javas/jmercury/typeclass_det_warning.java Making Mercury/classes/jmercury/typeclass_det_warning.class Mercury/javas/jmercury/typeclass_det_warning.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] typeclass_det_warning__type_class_id_method_ids_my_enum_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/typeclass_det_warning.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId typeclass_det_warning__type_class_id_my_enum_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/typeclass_det_warning.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct typeclass_det_warning__type_class_decl_my_enum_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/typeclass_det_warning.java:134: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/typeclass_det_warning.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] typeclass_det_warning__type_class_id_method_ids_my_enum_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/typeclass_det_warning.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId typeclass_det_warning__type_class_id_my_enum_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/typeclass_det_warning.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct typeclass_det_warning__type_class_decl_my_enum_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/typeclass_det_warning.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/typeclass_det_warning.java:41: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class typeclass_det_warning Mercury/javas/jmercury/typeclass_det_warning.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/typeclass_det_warning.java:72: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class typeclass_det_warning Mercury/javas/jmercury/typeclass_det_warning.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/typeclass_det_warning.java:76: error: cannot find symbol conv0_HeadVar__2_2 = std_util.id_1_f_0(TypeCtorInfo_3_3, java.lang.Integer.valueOf(HeadVar__1_1)); ^ symbol: variable std_util location: class typeclass_det_warning Mercury/javas/jmercury/typeclass_det_warning.java:119: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_my_enum_3)[0])[5]); ^ Mercury/javas/jmercury/typeclass_det_warning.java:119: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_my_enum_3)[0])[5]); ^ Mercury/javas/jmercury/typeclass_det_warning.java:122: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_my_enum_3))), ((java.lang.Object) (java.lang.Integer.valueOf(HeadVar__1_1))))); ^ 16 errors ** Error making `Mercury/classes/jmercury/typeclass_det_warning.class'. make[3]: *** [/tmp/mmake.9WM9OX:1500: typeclass_det_warning.class] Error 1 make[3]: Target 'typeclass_det_warning.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'