MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 - dense_lookup_switch.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 - dense_lookup_switch Making Mercury/int3s/dense_lookup_switch.int3 Making Mercury/ints/dense_lookup_switch.int Making Mercury/javas/jmercury/dense_lookup_switch.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:313: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch.java:314: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch.java:205: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch.java:269: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch"; ^ Mercury/javas/jmercury/dense_lookup_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/dense_lookup_switch.java:136: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch.java:139: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch.java:161: error: cannot find symbol switch (X_4.MR_value) { ^ symbol: variable MR_value location: variable X_4 of type Foo_0 Mercury/javas/jmercury/dense_lookup_switch.java:161: error: illegal start of type switch (X_4.MR_value) { ^ Mercury/javas/jmercury/dense_lookup_switch.java:182: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:190: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class dense_lookup_switch Mercury/javas/jmercury/dense_lookup_switch.java:211: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dense_lookup_switch.java:212: 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/dense_lookup_switch.java:213: 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/dense_lookup_switch.java:217: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/dense_lookup_switch.java:222: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/dense_lookup_switch.java:224: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/dense_lookup_switch.java:235: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dense_lookup_switch.java:249: 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/dense_lookup_switch.java:249: 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/dense_lookup_switch.java:298: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 54 errors make[3]: *** [/tmp/mmake.MGtSgg:2360: dense_lookup_switch] Error 1 make[3]: Target 'dense_lookup_switch.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'