MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { 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 - foreign_enum_rtti.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { 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 - foreign_enum_rtti Making Mercury/int3s/foreign_enum_rtti.int3 Making Mercury/ints/foreign_enum_rtti.int Making Mercury/javas/jmercury/foreign_enum_rtti.java Making Java class files Mercury/javas/jmercury/foreign_enum_rtti.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_rtti__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:100: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:101: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:105: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_7 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:814: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/foreign_enum_rtti.java:815: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_enum_rtti.java:291: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:553: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:645: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:709: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:751: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_enum_rtti"; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_rtti__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:100: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:101: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:105: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_7 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:110: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:110: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:111: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:114: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:118: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:123: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:128: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:133: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:138: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:143: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:150: error: cannot find symbol ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ symbol: variable type_desc location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:150: error: illegal start of type ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:152: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:152: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:161: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:161: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:162: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:162: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:171: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:172: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:173: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:174: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:175: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:176: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:192: error: package univ does not exist univ.Univ_0 Univ_8 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:193: error: package list does not exist list.List_1 Var_11 = (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:193: error: package list does not exist list.List_1 Var_11 = (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:196: error: cannot find symbol java.lang.Object [] result = construct.construct_4_p_0(TypeDesc_5, LexFunctorNum_6, Var_11); ^ symbol: variable construct location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:198: error: package univ does not exist Univ_8 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:206: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:208: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:208: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:210: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Univ_8))); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:218: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:230: error: package list does not exist list.List_1 Args_8 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:231: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:231: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:236: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_41 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:240: error: cannot find symbol java.lang.Object [] result = deconstruct.deconstruct_5_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Data_4)), Var_13); ^ symbol: variable deconstruct location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:243: error: package list does not exist Args_8 = (list.List_1) result[2]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:247: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:250: error: cannot find symbol io.write_string_3_p_0(Name_6); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:254: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:258: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class foreign_enum_rtti 100 errors make[3]: *** [/tmp/mmake.9zZKwk:2364: foreign_enum_rtti] Error 1 make[3]: Target 'foreign_enum_rtti.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'