MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - preferred_switch_var.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - preferred_switch_var.class Making Mercury/int3s/preferred_switch_var.int3 Making Mercury/ints/preferred_switch_var.int Making Mercury/javas/jmercury/preferred_switch_var.java Making Mercury/classes/jmercury/preferred_switch_var.class Mercury/javas/jmercury/preferred_switch_var.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/preferred_switch_var.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/preferred_switch_var.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct preferred_switch_var__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/preferred_switch_var.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_u_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_u_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_ordinal_ordered_u_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/preferred_switch_var.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_name_ordered_u_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/preferred_switch_var.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct preferred_switch_var__type_ctor_info_u_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/preferred_switch_var.java:430: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/preferred_switch_var.java:431: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/preferred_switch_var.java:448: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/preferred_switch_var.java:449: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/preferred_switch_var.java:242: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/preferred_switch_var.java:281: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/preferred_switch_var.java:368: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/preferred_switch_var.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_t_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/preferred_switch_var.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/preferred_switch_var.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct preferred_switch_var__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/preferred_switch_var.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_u_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc preferred_switch_var__enum_functor_desc_u_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/preferred_switch_var.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_ordinal_ordered_u_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/preferred_switch_var.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] preferred_switch_var__enum_name_ordered_u_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/preferred_switch_var.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct preferred_switch_var__type_ctor_info_u_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/preferred_switch_var.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/preferred_switch_var.java:125: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/preferred_switch_var.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/preferred_switch_var.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/preferred_switch_var.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/preferred_switch_var.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/preferred_switch_var.java:192: error: cannot find symbol switch (T_4.MR_value) { ^ symbol: variable MR_value location: variable T_4 of type T_0 Mercury/javas/jmercury/preferred_switch_var.java:192: error: illegal start of type switch (T_4.MR_value) { ^ Mercury/javas/jmercury/preferred_switch_var.java:195: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K0.MR_value); ^ symbol: variable MR_value location: variable U_5 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:195: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K0.MR_value); ^ symbol: variable MR_value location: variable K0 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:205: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K1.MR_value); ^ symbol: variable MR_value location: variable U_5 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:205: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K1.MR_value); ^ symbol: variable MR_value location: variable K1 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:215: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K0.MR_value); ^ symbol: variable MR_value location: variable U_5 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:215: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K0.MR_value); ^ symbol: variable MR_value location: variable K0 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:225: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K1.MR_value); ^ symbol: variable MR_value location: variable U_5 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:225: error: cannot find symbol succeeded = (U_5.MR_value == preferred_switch_var.U_0.K1.MR_value); ^ symbol: variable MR_value location: variable K1 of type U_0 Mercury/javas/jmercury/preferred_switch_var.java:248: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/preferred_switch_var.java:249: 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/preferred_switch_var.java:250: 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/preferred_switch_var.java:254: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/preferred_switch_var.java:259: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/preferred_switch_var.java:261: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/preferred_switch_var.java:272: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/preferred_switch_var.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/preferred_switch_var.java:288: 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 U_0 Mercury/javas/jmercury/preferred_switch_var.java:289: 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 U_0 Mercury/javas/jmercury/preferred_switch_var.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/preferred_switch_var.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/preferred_switch_var.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/preferred_switch_var.java:311: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/preferred_switch_var.java:325: 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/preferred_switch_var.java:325: 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/preferred_switch_var.java:348: 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 U_0 Mercury/javas/jmercury/preferred_switch_var.java:348: 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 U_0 Mercury/javas/jmercury/preferred_switch_var.java:415: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 74 errors ** Error making `Mercury/classes/jmercury/preferred_switch_var.class'. make[3]: *** [/tmp/mmake.WHsTc2:1500: preferred_switch_var.class] Error 1 make[3]: Target 'preferred_switch_var.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid'