MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - string_foldr_substring.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - string_foldr_substring Making Mercury/int3s/string_foldr_substring.int3 Making Mercury/ints/string_foldr_substring.int Making Mercury/javas/jmercury/string_foldr_substring.java Making Java class files Mercury/javas/jmercury/string_foldr_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldr_substring.java:49: 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_foldr_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:309: error: package list does not exist list.List_1 LambdaHeadVar__2_13) ^ Mercury/javas/jmercury/string_foldr_substring.java:306: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_foldr_substring.java:364: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_foldr_substring.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_foldr_substring"; ^ Mercury/javas/jmercury/string_foldr_substring.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_foldr_substring.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_foldr_substring.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_foldr_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_foldr_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldr_substring.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_foldr_substring.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:49: 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_foldr_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_foldr_substring.java:58: 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 string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:58: 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/string_foldr_substring.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_foldr_substring.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_foldr_substring.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_foldr_substring.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:81: error: package list does not exist (list.List_1) string_foldr_substring.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_foldr_substring.java:94: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:96: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:101: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:103: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:108: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:110: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:115: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:117: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:122: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:124: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:129: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:131: error: package list does not exist list.List_1 Var_44 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:136: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:138: error: package list does not exist list.List_1 Var_51 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:143: error: package list does not exist list.List_1 Var_56 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:145: error: package list does not exist list.List_1 Var_58 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:150: error: package list does not exist list.List_1 Var_63 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:204: error: package list does not exist Var_63 = (list.List_1) string_foldr_substring.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:206: error: package list.List_1 does not exist Var_58 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:212: error: package list.List_1 does not exist Var_56 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:218: error: package list.List_1 does not exist Var_51 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:224: error: package list.List_1 does not exist Var_49 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:230: error: package list.List_1 does not exist Var_44 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:236: error: package list.List_1 does not exist Var_42 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:242: error: package list.List_1 does not exist Var_37 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:248: error: package list.List_1 does not exist Var_35 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:254: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:260: error: package list.List_1 does not exist Var_28 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:266: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:272: error: package list.List_1 does not exist Var_21 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:278: error: package list.List_1 does not exist Var_16 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:284: error: package list.List_1 does not exist Var_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:290: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:296: error: package list.List_1 does not exist Var_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:302: error: cannot find symbol io.write_strings_3_p_0(Var_6); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:311: error: package list does not exist list.List_1 LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:314: error: package list.List_1 does not exist LambdaHeadVar__3_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldr_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldr_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldr_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldr_substring.java:330: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldr_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldr_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:336: error: cannot find symbol conv1_Var_10 = string.foldr_between_5_f_0(TypeInfo_18_18, Var_11, S_5, I_6, N_7, ((java.lang.Object) (Var_15))); ^ symbol: variable string location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:338: error: package list does not exist Var_10 = ((list.List_1) conv1_Var_10); ^ Mercury/javas/jmercury/string_foldr_substring.java:340: error: cannot find symbol HeadVar__4_4 = string.from_char_list_1_f_0(Var_10); ^ symbol: variable string location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:353: error: package list does not exist list.List_1 conv0_LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:356: error: package list does not exist conv0_LambdaHeadVar__3_14 = string_foldr_substring.IntroducedFrom__func__sub__53__1_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_2)); ^ 82 errors make[3]: *** [/tmp/mmake.4PYjdv:1282: string_foldr_substring] Error 1 make[3]: Target 'string_foldr_substring.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general'