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 - impure_lambda_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 - impure_lambda_bug.class Making Mercury/int3s/impure_lambda_bug.int3 Making Mercury/ints/impure_lambda_bug.int Making Mercury/javas/jmercury/impure_lambda_bug.java Making Mercury/classes/jmercury/impure_lambda_bug.class Mercury/javas/jmercury/impure_lambda_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_alpha_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_alpha_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_alpha_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_alpha_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_beta_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_beta_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_beta_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_beta_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_unit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_unit_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_unit_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_unit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:314: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/impure_lambda_bug.java:337: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/impure_lambda_bug.java:360: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/impure_lambda_bug.java:448: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/impure_lambda_bug.java:564: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/impure_lambda_bug.java:565: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/impure_lambda_bug.java:575: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/impure_lambda_bug.java:576: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/impure_lambda_bug.java:586: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/impure_lambda_bug.java:587: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/impure_lambda_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_alpha_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_alpha_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_alpha_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_alpha_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_beta_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_beta_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_beta_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_beta_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc impure_lambda_bug__enum_functor_desc_unit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_ordinal_ordered_unit_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] impure_lambda_bug__enum_name_ordered_unit_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/impure_lambda_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct impure_lambda_bug__type_ctor_info_unit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/impure_lambda_bug.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/impure_lambda_bug.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/impure_lambda_bug.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/impure_lambda_bug.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/impure_lambda_bug.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/impure_lambda_bug.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/impure_lambda_bug.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/impure_lambda_bug.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/impure_lambda_bug.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/impure_lambda_bug.java:202: error: cannot find symbol private_builtin.imp_0_p_0(); ^ symbol: variable private_builtin location: class impure_lambda_bug Mercury/javas/jmercury/impure_lambda_bug.java:210: error: cannot find symbol private_builtin.imp_0_p_0(); ^ symbol: variable private_builtin location: class impure_lambda_bug Mercury/javas/jmercury/impure_lambda_bug.java:310: error: cannot find symbol private_builtin.imp_0_p_0(); ^ symbol: variable private_builtin location: class impure_lambda_bug Mercury/javas/jmercury/impure_lambda_bug.java:317: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:317: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:328: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/impure_lambda_bug.java:340: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:340: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:351: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/impure_lambda_bug.java:363: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:363: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/impure_lambda_bug.java:374: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/impure_lambda_bug.java:549: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 56 errors ** Error making `Mercury/classes/jmercury/impure_lambda_bug.class'. make[3]: *** [/tmp/mmake.DxpJwb:1500: impure_lambda_bug.class] Error 1 make[3]: Target 'impure_lambda_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'