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 - switches.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 - switches.class Making Mercury/int3s/switches.int3 Making Mercury/ints/switches.int Making Mercury/javas/jmercury/switches.java Making Mercury/classes/jmercury/switches.class Mercury/javas/jmercury/switches.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switches__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switches.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switches__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switches__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/switches.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switches__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switches.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switches__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/switches.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switches__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switches.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] switches__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/switches.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] switches__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/switches.java:28: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switches__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switches.java:351: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/switches.java:142: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/switches.java:370: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/switches.java:371: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/switches.java:192: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/switches.java:291: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/switches.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switches__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switches.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switches__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switches__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/switches.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switches__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switches.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switches__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/switches.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switches__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switches.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc switches__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/switches.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] switches__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/switches.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] switches__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/switches.java:28: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switches__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switches.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) switches.switches__type_ctor_info_t_0; ^ Mercury/javas/jmercury/switches.java:38: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class switches Mercury/javas/jmercury/switches.java:46: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switches Mercury/javas/jmercury/switches.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/switches.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class switches Mercury/javas/jmercury/switches.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/switches.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/switches.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/switches.java:118: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/switches.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/switches.java:126: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/switches.java:148: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switches.java:154: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switches.java:159: error: cannot find symbol int Var_9 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type T_0 Mercury/javas/jmercury/switches.java:160: error: cannot find symbol int Var_10 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type T_0 Mercury/javas/jmercury/switches.java:164: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switches.java:169: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switches.java:171: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switches.java:183: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switches.java:198: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switches.java:199: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/switches.java:200: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type T_0 Mercury/javas/jmercury/switches.java:204: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switches.java:209: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switches.java:211: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switches.java:222: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switches.java:248: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgX1_3 of type T_0 Mercury/javas/jmercury/switches.java:248: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgY1_4 of type T_0 Mercury/javas/jmercury/switches.java:271: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type T_0 Mercury/javas/jmercury/switches.java:271: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/switches.java:338: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 61 errors ** Error making `Mercury/classes/jmercury/switches.class'. make[3]: *** [/tmp/mmake.fvjZ7F:1500: switches.class] Error 1 make[3]: Target 'switches.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'