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 --allow-stubs --no-warn-stubs '; 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 - bug271.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 --allow-stubs --no-warn-stubs '; 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 - bug271.class Making Mercury/int3s/bug271.int3 Making Mercury/ints/bug271.int Making Mercury/javas/jmercury/bug271.java Making Mercury/classes/jmercury/bug271.class Mercury/javas/jmercury/bug271.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_a_or_b_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_a_or_b_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_a_or_b_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug271.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_a_or_b_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug271.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_a_or_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_literal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_literal_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_literal_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_literal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_literal_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_literal_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_literal_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_literal_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug271__field_types_object_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug271.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug271__du_functor_desc_object_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug271__du_stag_ordered_object_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug271__du_ptag_ordered_object_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug271.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug271__du_name_ordered_object_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_object_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] bug271__type_class_id_method_ids_num_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/bug271.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug271__type_class_id_num_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug271.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug271__type_class_decl_num_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug271.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] bug271__type_class_id_method_ids_literal_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/bug271.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug271__type_class_id_literal_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug271.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug271__type_class_decl_literal_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug271.java:796: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug271.java:797: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug271.java:405: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug271.java:444: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug271.java:467: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug271.java:492: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_8, ^ Mercury/javas/jmercury/bug271.java:777: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug271.java:490: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug271.java:599: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_7, ^ Mercury/javas/jmercury/bug271.java:638: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug271.java:734: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug271.java:808: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug271.java:809: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug271.java:819: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug271.java:820: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug271.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug271"; ^ Mercury/javas/jmercury/bug271.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug271.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug271.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug271 Mercury/javas/jmercury/bug271.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug271 Mercury/javas/jmercury/bug271.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug271.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug271 Mercury/javas/jmercury/bug271.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug271 Mercury/javas/jmercury/bug271.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug271 Mercury/javas/jmercury/bug271.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug271 Mercury/javas/jmercury/bug271.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug271.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_a_or_b_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_a_or_b_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_a_or_b_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug271.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_a_or_b_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug271.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_a_or_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_literal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_literal_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_literal_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_literal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug271__enum_functor_desc_literal_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_ordinal_ordered_literal_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug271__enum_name_ordered_literal_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_literal_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug271__field_types_object_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug271.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug271__du_functor_desc_object_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug271.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug271__du_stag_ordered_object_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug271__du_ptag_ordered_object_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug271.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug271__du_name_ordered_object_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug271.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug271__type_ctor_info_object_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug271.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] bug271__type_class_id_method_ids_num_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/bug271.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug271__type_class_id_num_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug271.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug271__type_class_decl_num_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug271.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] bug271__type_class_id_method_ids_literal_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/bug271.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId bug271__type_class_id_literal_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/bug271.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct bug271__type_class_decl_literal_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/bug271.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug271.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug271.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug271.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/bug271.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug271.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug271.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/bug271.java:157: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug271.java:160: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug271.java:169: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/bug271.java:174: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug271 Mercury/javas/jmercury/bug271.java:182: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug271 Mercury/javas/jmercury/bug271.java:188: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug271.java:190: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug271 Mercury/javas/jmercury/bug271.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug271.java:209: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug271.java:212: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug271.java:247: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/bug271.java:250: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class bug271 Mercury/javas/jmercury/bug271.java:270: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/bug271.java:273: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class bug271 Mercury/javas/jmercury/bug271.java:303: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bug271.bug271__type_ctor_info_literal_0))) ^ Mercury/javas/jmercury/bug271.java:308: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bug271 Mercury/javas/jmercury/bug271.java:308: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ 100 errors ** Error making `Mercury/classes/jmercury/bug271.class'. make[3]: *** [/tmp/mmake.Qui9H3:1500: bug271.class] Error 1 make[3]: Target 'bug271.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'