MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - func_method.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - func_method.class Making Mercury/int3s/func_method.int3 Making Mercury/ints/func_method.int Making Mercury/javas/jmercury/func_method.java Making Mercury/classes/jmercury/func_method.class Mercury/javas/jmercury/func_method.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] func_method__field_types_pair_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/func_method.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc func_method__du_functor_desc_pair_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/func_method.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] func_method__du_stag_ordered_pair_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/func_method.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] func_method__du_ptag_ordered_pair_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/func_method.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] func_method__du_name_ordered_pair_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/func_method.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_method__type_ctor_info_pair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_method.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] func_method__type_class_id_method_ids_c_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/func_method.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId func_method__type_class_id_c_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/func_method.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct func_method__type_class_decl_c_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/func_method.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_3, ^ Mercury/javas/jmercury/func_method.java:338: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/func_method.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_4, ^ Mercury/javas/jmercury/func_method.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_11, ^ Mercury/javas/jmercury/func_method.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_12, ^ Mercury/javas/jmercury/func_method.java:171: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/func_method.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_9, ^ Mercury/javas/jmercury/func_method.java:228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_10, ^ Mercury/javas/jmercury/func_method.java:274: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/func_method.java:294: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/func_method.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] func_method__field_types_pair_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/func_method.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc func_method__du_functor_desc_pair_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/func_method.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] func_method__du_stag_ordered_pair_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/func_method.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] func_method__du_ptag_ordered_pair_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/func_method.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] func_method__du_name_ordered_pair_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/func_method.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_method__type_ctor_info_pair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_method.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] func_method__type_class_id_method_ids_c_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/func_method.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId func_method__type_class_id_c_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/func_method.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct func_method__type_class_decl_c_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/func_method.java:31: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/func_method.java:33: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2; ^ Mercury/javas/jmercury/func_method.java:38: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class func_method Mercury/javas/jmercury/func_method.java:46: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class func_method Mercury/javas/jmercury/func_method.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/func_method.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class func_method Mercury/javas/jmercury/func_method.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/func_method.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/func_method.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/func_method.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/func_method.java:102: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class func_method Mercury/javas/jmercury/func_method.java:148: error: package jmercury.runtime does not exist conv0_HeadVar__2_2 = func_method.ClassMethod_for_func_method__c____int__arity0______func_method__op_1_1_f_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((func_method.Pair_2) wrapper_arg_2)); ^ Mercury/javas/jmercury/func_method.java:161: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_3)[0])[5]); ^ Mercury/javas/jmercury/func_method.java:161: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_3)[0])[5]); ^ Mercury/javas/jmercury/func_method.java:165: error: package jmercury.runtime does not exist conv1_HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c_3))), ((java.lang.Object) (((java.lang.Object) (TypeInfo_for_B_4)))), ((java.lang.Object) (((java.lang.Object) (HeadVar__1_1)))))); ^ Mercury/javas/jmercury/func_method.java:179: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/func_method.java:185: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/func_method.java:192: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/func_method.java:195: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_A_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class func_method Mercury/javas/jmercury/func_method.java:197: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/func_method.java:202: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_B_12, ArgX2_7, ArgY2_8); ^ symbol: variable builtin location: class func_method Mercury/javas/jmercury/func_method.java:216: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/func_method.java:219: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = func_method.__Compare____pair_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((func_method.Pair_2) wrapper_arg_4), ((func_method.Pair_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/func_method.java:219: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = func_method.__Compare____pair_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((func_method.Pair_2) wrapper_arg_4), ((func_method.Pair_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/func_method.java:247: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_A_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class func_method Mercury/javas/jmercury/func_method.java:251: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_B_10, ArgX2_5, ArgY2_6); ^ symbol: variable builtin location: class func_method Mercury/javas/jmercury/func_method.java:267: error: package jmercury.runtime does not exist succeeded = func_method.__Unify____pair_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((func_method.Pair_2) wrapper_arg_3), ((func_method.Pair_2) wrapper_arg_4)); ^ Mercury/javas/jmercury/func_method.java:267: error: package jmercury.runtime does not exist succeeded = func_method.__Unify____pair_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((func_method.Pair_2) wrapper_arg_3), ((func_method.Pair_2) wrapper_arg_4)); ^ Mercury/javas/jmercury/func_method.java:325: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 57 errors ** Error making `Mercury/classes/jmercury/func_method.class'. make[3]: *** [/tmp/mmake.gH8nsl:1500: func_method.class] Error 1 make[3]: Target 'func_method.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid'