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 - record_syntax_bug.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 - record_syntax_bug.class Making Mercury/int3s/record_syntax_bug.int3 Making Mercury/ints/record_syntax_bug.int Making Mercury/javas/jmercury/record_syntax_bug.java Making Mercury/classes/jmercury/record_syntax_bug.class Mercury/javas/jmercury/record_syntax_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] record_syntax_bug__exist_locns_foo2_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo record_syntax_bug__exist_info_foo2_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/record_syntax_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_foo2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:560: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/record_syntax_bug.java:577: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/record_syntax_bug.java:241: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/record_syntax_bug.java:289: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/record_syntax_bug.java:594: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/record_syntax_bug.java:329: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/record_syntax_bug.java:596: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/record_syntax_bug.java:605: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/record_syntax_bug.java:482: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/record_syntax_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug__field_types_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] record_syntax_bug__exist_locns_foo2_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo record_syntax_bug__exist_info_foo2_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/record_syntax_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc record_syntax_bug__du_functor_desc_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/record_syntax_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_stag_ordered_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug__du_ptag_ordered_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug__du_name_ordered_foo2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/record_syntax_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug__type_ctor_info_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/record_syntax_bug.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/record_syntax_bug.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:50: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:66: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/record_syntax_bug.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/record_syntax_bug.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:97: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/record_syntax_bug.java:97: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:102: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:110: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:118: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/record_syntax_bug.java:137: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/record_syntax_bug.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:149: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/record_syntax_bug.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/record_syntax_bug.java:166: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:174: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:180: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:182: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/record_syntax_bug.java:201: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/record_syntax_bug.java:204: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/record_syntax_bug.java:247: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:253: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/record_syntax_bug.java:261: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/record_syntax_bug.java:266: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/record_syntax_bug.java:268: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/record_syntax_bug.java:280: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:295: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:301: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/record_syntax_bug.java:308: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:320: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:335: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:341: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/record_syntax_bug.java:344: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_8_8 = ((record_syntax_bug.Foo2_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/record_syntax_bug.java:345: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = ((record_syntax_bug.Foo2_0) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/record_syntax_bug.java:350: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_8_8, TypeInfo_9_9, ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:362: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/record_syntax_bug.java:455: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_7_7 = ((record_syntax_bug.Foo2_0) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/record_syntax_bug.java:456: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_8_8 = ((record_syntax_bug.Foo2_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/record_syntax_bug.java:461: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_7_7, TypeInfo_8_8, ArgX1_3, ArgY1_4); ^ symbol: variable private_builtin location: class record_syntax_bug Mercury/javas/jmercury/record_syntax_bug.java:547: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 96 errors ** Error making `Mercury/classes/jmercury/record_syntax_bug.class'. make[3]: *** [/tmp/mmake.6cRe6b:1500: record_syntax_bug.class] Error 1 make[3]: Target 'record_syntax_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'