MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-19/stage2/scripts/mmc --make --options-file - lambda_instmap_bug_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-19/stage2/scripts/mmc --make --options-file - lambda_instmap_bug_2.class Making Mercury/int3s/lambda_instmap_bug_2.int3 Making Mercury/ints/lambda_instmap_bug_2.int Making Mercury/javas/jmercury/lambda_instmap_bug_2.java Making Mercury/classes/jmercury/lambda_instmap_bug_2.class Mercury/javas/jmercury/lambda_instmap_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lambda_instmap_bug_2__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lambda_instmap_bug_2__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lambda_instmap_bug_2__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lambda_instmap_bug_2__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_instmap_bug_2__type_class_id_tc2_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_instmap_bug_2__type_class_decl_tc2_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_instmap_bug_2__type_class_id_tc1_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_instmap_bug_2__type_class_decl_tc1_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:305: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:351: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:404: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:405: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lambda_instmap_bug_2"; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lambda_instmap_bug_2__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lambda_instmap_bug_2__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lambda_instmap_bug_2__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lambda_instmap_bug_2__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_instmap_bug_2__type_class_id_tc2_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_instmap_bug_2__type_class_decl_tc2_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId lambda_instmap_bug_2__type_class_id_tc1_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct lambda_instmap_bug_2__type_class_decl_tc1_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:62: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:147: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(lambda_instmap_bug_2.lambda_instmap_bug_2__type_ctor_info_thing_0))) ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:152: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(lambda_instmap_bug_2.lambda_instmap_bug_2__type_ctor_info_thing_0))) ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:164: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:164: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:165: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:165: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:166: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:166: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:201: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_5)[1]); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:201: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_5)[1]); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:205: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_5))), ((java.lang.Object) (STATE_VARIABLE_T_0_8)))); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:246: error: cannot find symbol TypeInfo_23_23 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_tc1_20, PolyConst1_22); ^ symbol: variable private_builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:253: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:253: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:255: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_24_24, java.lang.Integer.valueOf(R_6)); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:258: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:295: error: cannot find symbol ExistQHeadVar__1_6 = ((java.lang.Object) (private_builtin.dummy_var)); ^ symbol: variable private_builtin location: class lambda_instmap_bug_2 Mercury/javas/jmercury/lambda_instmap_bug_2.java:295: error: illegal start of type ExistQHeadVar__1_6 = ((java.lang.Object) (private_builtin.dummy_var)); ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:308: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:308: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:319: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lambda_instmap_bug_2.java:389: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 59 errors ** Error making `Mercury/classes/jmercury/lambda_instmap_bug_2.class'. make[3]: *** [/tmp/mmake.femxNu:1500: lambda_instmap_bug_2.class] Error 1 make[3]: Target 'lambda_instmap_bug_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/valid'