MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' { 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 - state_vars_typeclasses.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general' { 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 - state_vars_typeclasses Making Mercury/int3s/state_vars_typeclasses.int3 Making Mercury/ints/state_vars_typeclasses.int Making Mercury/javas/jmercury/state_vars_typeclasses.java Making Java class files Mercury/javas/jmercury/state_vars_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] state_vars_typeclasses__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId state_vars_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct state_vars_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:91: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:255: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/state_vars_typeclasses.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "state_vars_typeclasses"; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] state_vars_typeclasses__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId state_vars_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct state_vars_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:60: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:66: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:91: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:97: 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 state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/state_vars_typeclasses.java:100: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:103: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:104: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/state_vars_typeclasses.java:151: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_17)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_17)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:157: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:161: error: package jmercury.runtime does not exist conv1_A_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_17))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_8))))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:166: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_18)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:168: error: package jmercury.runtime does not exist conv3_B_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_18))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_9))))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:173: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:175: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) state_vars_typeclasses.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:177: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, A_4); ^ symbol: variable string__format location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:180: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:184: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:187: error: cannot find symbol Var_32 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, B_5); ^ symbol: variable string__format location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:190: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:194: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:207: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:245: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:245: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:248: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:284: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 54 errors make[3]: *** [/tmp/mmake.ZTu4YJ:1281: state_vars_typeclasses] Error 1 make[3]: Target 'state_vars_typeclasses.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/general'