MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/scripts/mmc --make --options-file - string_replace.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/scripts/mmc --make --options-file - string_replace Making Mercury/int3s/string_replace.int3 Making Mercury/ints/string_replace.int Making Mercury/javas/jmercury/string_replace.java Making Java class files Mercury/javas/jmercury/string_replace.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_replace.java:51: 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/string_replace.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_replace.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/string_replace.java:56: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_replace.java:529: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_replace.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_replace"; ^ Mercury/javas/jmercury/string_replace.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_replace.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_replace.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_replace Mercury/javas/jmercury/string_replace.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_replace Mercury/javas/jmercury/string_replace.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_replace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_replace.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_replace.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_replace.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_replace.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_replace.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:51: 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/string_replace.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_replace.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/string_replace.java:56: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_replace.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_replace.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/string_replace.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_replace.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_replace.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_replace.java:132: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:132: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_replace.java:133: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:133: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_replace.java:148: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_replace.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:152: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_replace.java:155: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:157: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_replace.java:160: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:162: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/string_replace.java:165: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:167: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/string_replace.java:170: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:172: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/string_replace.java:175: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_replace.java:176: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_replace.java:177: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_replace.java:178: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_replace.java:179: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_replace.java:180: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_replace.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/string_replace.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = null; ^ Mercury/javas/jmercury/string_replace.java:197: error: package list does not exist list.List_1 Tests_8 = null; ^ Mercury/javas/jmercury/string_replace.java:203: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/string_replace.java:206: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/string_replace.java:208: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/string_replace.java:210: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/string_replace.java:212: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/string_replace.java:214: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/string_replace.java:221: error: cannot find symbol Var_13 = string.length_1_f_0(Smiley_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:224: error: cannot find symbol Var_11 = string.between_3_f_0(Smiley_6, Var_12, Var_13); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:227: error: cannot find symbol Str3_7 = string.f_43_43_2_f_0(Var_11, Smiley_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:243: error: package list does not exist Var_38 = (list.List_1) string_replace.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/string_replace.java:245: error: package list.List_1 does not exist Var_34 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:251: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:257: error: package list.List_1 does not exist Var_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:263: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:269: error: package list.List_1 does not exist Var_18 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:275: error: package list.List_1 does not exist Tests_8 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:281: error: package jmercury.runtime does not exist TypeInfo_65_65 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_replace.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_replace.java:282: error: cannot find symbol TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:282: error: package jmercury.runtime does not exist TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_replace.java:284: error: cannot find symbol conv0_STATE_VARIABLE_IO_60_60 = list.foldl_4_p_2(TypeInfo_65_65, TypeCtorInfo_66_66, Var_59, Tests_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_replace Mercury/javas/jmercury/string_replace.java:288: error: cannot find symbol conv1_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeInfo_65_65, TypeCtorInfo_66_66, Var_61, Tests_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_replace Mercury/javas/jmercury/string_replace.java:338: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:346: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:349: error: cannot find symbol io.write_string_3_p_0(Pat_5); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:353: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:356: error: cannot find symbol io.write_string_3_p_0(Subst_6); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:360: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:363: error: cannot find symbol java.lang.Object [] result = string.replace_4_p_0(Str_4, Pat_5, Subst_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:374: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:382: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:390: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:413: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:421: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:424: error: cannot find symbol io.write_string_3_p_0(Pat_5); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:428: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:431: error: cannot find symbol io.write_string_3_p_0(Subst_6); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:435: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:439: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_replace 100 errors make[3]: *** [/tmp/mmake.mWC1iu:1282: string_replace] Error 1 make[3]: Target 'string_replace.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general'