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 - bug402.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 - bug402.class Making Mercury/int3s/bug402.int3 Making Mercury/ints/bug402.int Making Mercury/javas/jmercury/bug402.java Making Mercury/classes/jmercury/bug402.class Mercury/javas/jmercury/bug402.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug402__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug402.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug402__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug402.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug402__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug402.java:276: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug402.java:277: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug402.java:168: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug402.java:232: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug402.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug402__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug402.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug402__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug402.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug402__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug402.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug402__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug402.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug402.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug402.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug402.java:91: error: cannot find symbol switch (STATE_VARIABLE_Value_0_4.MR_value) { ^ symbol: variable MR_value location: variable STATE_VARIABLE_Value_0_4 of type Foo_0 Mercury/javas/jmercury/bug402.java:91: error: illegal start of type switch (STATE_VARIABLE_Value_0_4.MR_value) { ^ Mercury/javas/jmercury/bug402.java:100: error: cannot find symbol succeeded = builtin.false_0_p_0(); ^ symbol: variable builtin location: class bug402 Mercury/javas/jmercury/bug402.java:110: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug402.java:113: error: cannot find symbol switch (STATE_VARIABLE_Value_6_6.MR_value) { ^ symbol: variable MR_value location: variable STATE_VARIABLE_Value_6_6 of type Foo_0 Mercury/javas/jmercury/bug402.java:113: error: illegal start of type switch (STATE_VARIABLE_Value_6_6.MR_value) { ^ Mercury/javas/jmercury/bug402.java:116: error: cannot find symbol succeeded = builtin.false_0_p_0(); ^ symbol: variable builtin location: class bug402 Mercury/javas/jmercury/bug402.java:126: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug402.java:141: error: cannot find symbol switch (STATE_VARIABLE_Value_0_4.MR_value) { ^ symbol: variable MR_value location: variable STATE_VARIABLE_Value_0_4 of type Foo_0 Mercury/javas/jmercury/bug402.java:141: error: illegal start of type switch (STATE_VARIABLE_Value_0_4.MR_value) { ^ Mercury/javas/jmercury/bug402.java:150: error: cannot find symbol succeeded = builtin.false_0_p_0(); ^ symbol: variable builtin location: class bug402 Mercury/javas/jmercury/bug402.java:160: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug402.java:174: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug402.java:175: 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 Foo_0 Mercury/javas/jmercury/bug402.java:176: 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 Foo_0 Mercury/javas/jmercury/bug402.java:180: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug402.java:185: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug402.java:187: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug402.java:198: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug402.java:212: 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 Foo_0 Mercury/javas/jmercury/bug402.java:212: 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 Foo_0 Mercury/javas/jmercury/bug402.java:261: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 41 errors ** Error making `Mercury/classes/jmercury/bug402.class'. make[3]: *** [/tmp/mmake.orXW74:1500: bug402.class] Error 1 make[3]: Target 'bug402.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid'