MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/scripts/mmc --make --options-file - bug572.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/scripts/mmc --make --options-file - bug572.class Making Mercury/int3s/bug572.int3 Making Mercury/ints/bug572.int Making Mercury/javas/jmercury/bug572.java Making Mercury/classes/jmercury/bug572.class Mercury/javas/jmercury/bug572.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug572__field_types_argdesc_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug572.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bug572__exist_locns_argdesc_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/bug572.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bug572__exist_info_argdesc_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bug572.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug572__du_functor_desc_argdesc_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug572.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_stag_ordered_argdesc_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug572__du_ptag_ordered_argdesc_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug572.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_name_ordered_argdesc_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug572__type_ctor_info_argdesc_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug572__field_types_cla_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug572.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug572__du_functor_desc_cla_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug572.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_stag_ordered_cla_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug572__du_ptag_ordered_cla_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug572.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_name_ordered_cla_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug572__type_ctor_info_cla_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug572__type_class_id_argument_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug572.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug572__type_class_decl_argument_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug572.java:187: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug572.java:550: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug572.java:200: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug572.java:302: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug572.java:570: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug572.java:359: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug572.java:552: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/bug572.java:553: error: package maybe does not exist public maybe.Maybe_1 argdesc_default; ^ Mercury/javas/jmercury/bug572.java:561: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/bug572.java:562: error: package maybe does not exist maybe.Maybe_1 argdesc_default) ^ Mercury/javas/jmercury/bug572.java:490: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug572.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug572__field_types_argdesc_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug572.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bug572__exist_locns_argdesc_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/bug572.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bug572__exist_info_argdesc_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bug572.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug572__du_functor_desc_argdesc_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug572.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_stag_ordered_argdesc_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug572__du_ptag_ordered_argdesc_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug572.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_name_ordered_argdesc_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug572__type_ctor_info_argdesc_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug572__field_types_cla_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug572.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug572__du_functor_desc_cla_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug572.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_stag_ordered_cla_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug572__du_ptag_ordered_cla_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug572.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug572__du_name_ordered_cla_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug572.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug572__type_ctor_info_cla_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug572.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug572__type_class_id_argument_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug572.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug572__type_class_decl_argument_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug572.java:40: error: cannot find symbol maybe.maybe__type_ctor_info_maybe_1, ^ symbol: variable maybe location: class bug572 Mercury/javas/jmercury/bug572.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513) ^ Mercury/javas/jmercury/bug572.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug572.maybe__pti_maybe_1__pseudo_513; ^ Mercury/javas/jmercury/bug572.java:50: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/bug572.java:65: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:73: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug572.java:81: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug572.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug572.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug572.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/bug572.java:112: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class bug572 Mercury/javas/jmercury/bug572.java:117: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:125: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:131: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug572.java:133: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug572.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug572.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug572.java:187: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug572.java:191: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug572.java:206: error: package list does not exist list.List_1 Values_4 = null; ^ Mercury/javas/jmercury/bug572.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = ((bug572.Argdesc_0) ArgDesc_3).F1; ^ Mercury/javas/jmercury/bug572.java:208: error: package maybe does not exist maybe.Maybe_1 MDef_5 = ((bug572.Argdesc_0) ArgDesc_3).argdesc_default; ^ Mercury/javas/jmercury/bug572.java:211: error: package list does not exist Values_4 = (list.List_1) bug572.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug572.java:214: error: package maybe.Maybe_1 does not exist java.lang.Object Default_6 = ((maybe.Maybe_1.Yes_1) MDef_5).F1; ^ Mercury/javas/jmercury/bug572.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/bug572.java:220: error: cannot find symbol TypeInfo_24_24 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_argument_21, PolyConst1_23); ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:223: error: cannot find symbol java.lang.Object [] result = private_builtin.typed_unify_2_p_1(TypeInfo_22_22, TypeInfo_24_24, Default_6); ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:229: error: package list does not exist list.List_1 Var_15 = (list.List_1) bug572.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug572.java:229: error: package list does not exist list.List_1 Var_15 = (list.List_1) bug572.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug572.java:232: error: package list.List_1 does not exist Values_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug572.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/bug572.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/bug572.java:241: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class bug572 Mercury/javas/jmercury/bug572.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/bug572.java:242: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/bug572.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct ValuesTypeDesc_8 = null; ^ Mercury/javas/jmercury/bug572.java:244: error: package list does not exist list.List_1 TArgs_10 = null; ^ Mercury/javas/jmercury/bug572.java:246: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorInfo_Struct Var_9 = null; ^ Mercury/javas/jmercury/bug572.java:249: error: cannot find symbol TypeInfo_26_26 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_argument_21, PolyConst1_25); ^ symbol: variable private_builtin location: class bug572 Mercury/javas/jmercury/bug572.java:252: error: package jmercury.runtime does not exist TypeInfo_28_28 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug572.java:258: error: cannot find symbol ValuesTypeDesc_8 = type_desc.type_of_1_f_0(TypeInfo_28_28); ^ symbol: variable type_desc location: class bug572 Mercury/javas/jmercury/bug572.java:261: error: cannot find symbol java.lang.Object [] result = type_desc.type_ctor_and_args_3_p_0(ValuesTypeDesc_8); ^ symbol: variable type_desc location: class bug572 Mercury/javas/jmercury/bug572.java:262: error: package jmercury.runtime does not exist Var_9 = (jmercury.runtime.TypeCtorInfo_Struct) result[0]; ^ Mercury/javas/jmercury/bug572.java:263: error: package list does not exist TArgs_10 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/bug572.java:267: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/bug572.java:267: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class bug572 Mercury/javas/jmercury/bug572.java:267: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/bug572.java:271: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_29_29, ((java.lang.Object) (Var_16))); ^ symbol: variable exception location: class bug572 Mercury/javas/jmercury/bug572.java:276: error: package list does not exist list.List_1 Var_32 = ((list.List_1.F_cons_2) TArgs_10).F2; ^ Mercury/javas/jmercury/bug572.java:276: error: package list.List_1 does not exist list.List_1 Var_32 = ((list.List_1.F_cons_2) TArgs_10).F2; ^ Mercury/javas/jmercury/bug572.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/bug572.java:280: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class bug572 100 errors ** Error making `Mercury/classes/jmercury/bug572.class'. make[3]: *** [/tmp/mmake.08Yaqh:1500: bug572.class] Error 1 make[3]: Target 'bug572.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/valid'