D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-winnow0.6-0.6.26-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DpKYit Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WMslSw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + rm -rf winnow-0.6.26 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/winnow-0.6.26.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd winnow-0.6.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/winnow-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OjiAOD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + cd winnow-0.6.26 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pnOvCw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd winnow-0.6.26 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling winnow v0.6.26 (/home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/winnow-0.6.26) Running `/usr/bin/rustc --crate-name winnow --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--allow=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "debug", "default", "simd", "std", "unstable-doc", "unstable-recover"))' -C metadata=7f935c5e4040800a -C extra-filename=-4f1d1a1f5eb08a28 --out-dir /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/winnow-0.6.26/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/winnow-0.6.26/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated type alias `error::IResult`: Replaced with `ModalResult` --> src/lib.rs:158:16 | 158 | pub use error::IResult; | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/lib.rs:160:16 | 160 | pub use error::PResult; | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:368:15 | 368 | pub kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:894:15 | 894 | pub kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1181:6 | 1181 | impl ErrorKind { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1201:36 | 1201 | impl ParserError for ErrorKind { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1218:41 | 1218 | impl AddContext for ErrorKind {} | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1220:40 | 1220 | impl FromExternalError for ErrorKind { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1229:23 | 1229 | impl fmt::Display for ErrorKind { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1236:28 | 1236 | impl std::error::Error for ErrorKind {} | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:270:41 | 270 | fn from_error_kind(input: &I, kind: ErrorKind) -> Self; | ^^^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Fail` --> src/error.rs:275:49 | 275 | Self::from_error_kind(input, ErrorKind::Fail) | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Assert` --> src/error.rs:287:49 | 287 | Self::from_error_kind(input, ErrorKind::Assert) | ^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:294:79 | 294 | fn append(self, input: &I, token_start: &::Checkpoint, kind: ErrorKind) -> Self; | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:343:45 | 343 | fn from_external_error(input: &I, kind: ErrorKind, e: E) -> Self; | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:181:41 | 181 | fn from_error_kind(input: &I, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:194:79 | 194 | fn append(self, input: &I, token_start: &::Checkpoint, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:215:45 | 215 | fn from_external_error(input: &I, kind: ErrorKind, e: EXT) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:375:32 | 375 | pub fn new(input: I, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Fail` --> src/error.rs:384:30 | 384 | kind: ErrorKind::Fail, | ^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:411:41 | 411 | fn from_error_kind(input: &I, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:423:16 | 423 | _kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:448:45 | 448 | fn from_external_error(input: &I, kind: ErrorKind, _e: E) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:500:34 | 500 | fn from_error_kind(_: &I, _: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:509:16 | 509 | _kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:533:47 | 533 | fn from_external_error(_input: &I, _kind: ErrorKind, _e: E) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:553:34 | 553 | fn from_error_kind(_: &I, _: ErrorKind) -> Self {} | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:560:16 | 560 | _kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:582:47 | 582 | fn from_external_error(_input: &I, _kind: ErrorKind, _e: E) -> Self {} | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:646:43 | 646 | fn from_error_kind(_input: &I, _kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:655:16 | 655 | _kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:699:47 | 699 | fn from_external_error(_input: &I, _kind: ErrorKind, e: E) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:979:41 | 979 | fn from_error_kind(input: &I, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:987:79 | 987 | fn append(self, input: &I, token_start: &::Checkpoint, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1049:45 | 1049 | fn from_external_error(input: &I, kind: ErrorKind, e: E) -> Self { | ^^^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Assert` --> src/error.rs:1186:18 | 1186 | ErrorKind::Assert => "assert", | ^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Token` --> src/error.rs:1187:18 | 1187 | ErrorKind::Token => "token", | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Tag` --> src/error.rs:1188:18 | 1188 | ErrorKind::Tag => "tag", | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Alt` --> src/error.rs:1189:18 | 1189 | ErrorKind::Alt => "alternative", | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/error.rs:1190:18 | 1190 | ErrorKind::Many => "many", | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Eof` --> src/error.rs:1191:18 | 1191 | ErrorKind::Eof => "end of file", | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/error.rs:1192:18 | 1192 | ErrorKind::Slice => "slice", | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Complete` --> src/error.rs:1193:18 | 1193 | ErrorKind::Complete => "complete", | ^^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Not` --> src/error.rs:1194:18 | 1194 | ErrorKind::Not => "negation", | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/error.rs:1195:18 | 1195 | ErrorKind::Verify => "predicate verification", | ^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Fail` --> src/error.rs:1196:18 | 1196 | ErrorKind::Fail => "fail", | ^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1203:42 | 1203 | fn from_error_kind(_input: &I, kind: ErrorKind) -> Self { | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1212:16 | 1212 | _kind: ErrorKind, | ^^^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/error.rs:1223:46 | 1223 | fn from_external_error(_input: &I, kind: ErrorKind, _e: E) -> Self { | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:8:51 | 8 | use crate::error::{AddContext, FromExternalError, PResult, ParseError, ParserError}; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:875:25 | 875 | F: FnMut(&mut I) -> PResult, | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:81:48 | 81 | fn parse_next(&mut self, input: &mut I) -> PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:98:47 | 98 | fn parse_peek(&mut self, mut input: I) -> PResult<(I, O), E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:879:44 | 879 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:907:44 | 907 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:935:44 | 935 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:964:44 | 964 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:996:44 | 996 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1025:44 | 1025 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1058:44 | 1058 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1087:44 | 1087 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1119:44 | 1119 | fn parse_next(&mut self, i: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1126:45 | 1126 | fn parse_next(&mut self, _i: &mut I) -> PResult<(), E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1139:46 | 1139 | fn parse_next(&mut self, i: &mut I) -> PResult<($($output),+,), E> { | ^^^^^^^ ... 1234 | / impl_parser_for_tuples!( 1235 | | P1 O1, 1236 | | P2 O2, 1237 | | P3 O3, ... | 1255 | | P21 O21 1256 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `impl_parser_for_tuple` which comes from the expansion of the macro `impl_parser_for_tuples` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/parser.rs:1264:44 | 1264 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/ascii/mod.rs:18:29 | 18 | use crate::error::{ErrMode, ErrorKind, Needed}; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:26:12 | 26 | use crate::PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:100:49 | 100 | pub fn crlf(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:155:61 | 155 | pub fn till_line_ending(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:173:6 | 173 | ) -> PResult<::Slice, E> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Tag` --> src/ascii/mod.rs:196:47 | 196 | let e: ErrorKind = ErrorKind::Tag; | ^^^ warning: use of deprecated enum `error::ErrorKind` --> src/ascii/mod.rs:196:24 | 196 | let e: ErrorKind = ErrorKind::Tag; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:246:56 | 246 | pub fn line_ending(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:296:60 | 296 | pub fn newline>(input: &mut I) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:347:48 | 347 | pub fn tab(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:399:51 | 399 | pub fn alpha0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:452:51 | 452 | pub fn alpha1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:506:51 | 506 | pub fn digit0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:576:51 | 576 | pub fn digit1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:629:55 | 629 | pub fn hex_digit0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:683:55 | 683 | pub fn hex_digit1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:736:55 | 736 | pub fn oct_digit0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:790:55 | 790 | pub fn oct_digit1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:843:58 | 843 | pub fn alphanumeric0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:896:58 | 896 | pub fn alphanumeric1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:936:51 | 936 | pub fn space0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:989:51 | 989 | pub fn space1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1042:56 | 1042 | pub fn multispace0(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1095:56 | 1095 | pub fn multispace1(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1125:61 | 1125 | pub fn dec_uint(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1210:60 | 1210 | pub fn dec_int(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1329:61 | 1329 | pub fn hex_uint(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/ascii/mod.rs:1350:75 | 1350 | return Err(ErrMode::from_error_kind(input, ErrorKind::Verify)); | ^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/ascii/mod.rs:1369:67 | 1369 | return Err(ErrMode::from_error_kind(input, ErrorKind::Slice)); | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1485:58 | 1485 | pub fn float(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/ascii/mod.rs:1496:71 | 1496 | .ok_or_else(|| ErrMode::from_error_kind(input, ErrorKind::Verify)) | ^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1502:69 | 1502 | fn take_float_or_exceptions>(input: &mut I) -> PResult<::Slice, E> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1530:55 | 1530 | fn take_float>(input: &mut I) -> PResult<::Slice, E> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1643:6 | 1643 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1685:6 | 1685 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1819:6 | 1819 | ) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/ascii/mod.rs:1858:6 | 1858 | ) -> PResult | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/binary/mod.rs:13:19 | 13 | use crate::error::ErrorKind; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:20:12 | 20 | use crate::PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:70:50 | 70 | pub fn be_u8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:114:51 | 114 | pub fn be_u16(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:158:51 | 158 | pub fn be_u24(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:202:51 | 202 | pub fn be_u32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:246:51 | 246 | pub fn be_u64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:290:52 | 290 | pub fn be_u128(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:299:68 | 299 | fn be_uint(input: &mut Input, bound: usize) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/binary/mod.rs:315:72 | 315 | Err(_needed) => Err(ErrMode::from_error_kind(input, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:372:50 | 372 | pub fn be_i8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:416:51 | 416 | pub fn be_i16(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:463:51 | 463 | pub fn be_i24(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:518:51 | 518 | pub fn be_i32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:565:51 | 565 | pub fn be_i64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:612:52 | 612 | pub fn be_i128(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:659:50 | 659 | pub fn le_u8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:703:51 | 703 | pub fn le_u16(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:747:51 | 747 | pub fn le_u24(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:791:51 | 791 | pub fn le_u32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:835:51 | 835 | pub fn le_u64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:879:52 | 879 | pub fn le_u128(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:888:68 | 888 | fn le_uint(input: &mut Input, bound: usize) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/binary/mod.rs:903:72 | 903 | Err(_needed) => Err(ErrMode::from_error_kind(input, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:960:50 | 960 | pub fn le_i8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1004:51 | 1004 | pub fn le_i16(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1051:51 | 1051 | pub fn le_i24(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1106:51 | 1106 | pub fn le_i32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1153:51 | 1153 | pub fn le_i64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1200:52 | 1200 | pub fn le_i128(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1254:47 | 1254 | pub fn u8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1269:65 | 1269 | fn u8_(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Token` --> src/binary/mod.rs:1278:73 | 1278 | ErrMode::Backtrack(Error::from_error_kind(input, ErrorKind::Token)) | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:1681:47 | 1681 | pub fn i8(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:2089:51 | 2089 | pub fn be_f32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:2136:51 | 2136 | pub fn be_f64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:2183:51 | 2183 | pub fn le_f32(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/mod.rs:2230:51 | 2230 | pub fn le_f64(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/binary/bits/mod.rs:8:43 | 8 | use crate::error::{ErrMode, ErrorConvert, ErrorKind, Needed, ParserError}; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/bits/mod.rs:11:13 | 11 | use crate::{PResult, Parser}; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/bits/mod.rs:212:6 | 212 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Eof` --> src/binary/bits/mod.rs:228:32 | 228 | ErrorKind::Eof, | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Tag` --> src/binary/bits/mod.rs:358:32 | 358 | ErrorKind::Tag, | ^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/binary/bits/mod.rs:403:6 | 403 | ) -> PResult | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/combinator/branch.rs:2:29 | 2 | use crate::error::{ErrMode, ErrorKind, ParserError}; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:14:44 | 14 | fn choice(&mut self, input: &mut I) -> PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:67:49 | 67 | fn permutation(&mut self, input: &mut I) -> PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:130:44 | 130 | fn choice(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Alt` --> src/combinator/branch.rs:148:82 | 148 | Some(e) => Err(ErrMode::Backtrack(e.append(input, &start, ErrorKind::Alt))), | ^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:155:44 | 155 | fn choice(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Alt` --> src/combinator/branch.rs:173:82 | 173 | Some(e) => Err(ErrMode::Backtrack(e.append(input, &start, ErrorKind::Alt))), | ^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:201:46 | 201 | fn choice(&mut self, input: &mut I) -> PResult { | ^^^^^^^ ... 252 | alt_trait!(Alt2 Alt3 Alt4 Alt5 Alt6 Alt7 Alt8 Alt9 Alt10 Alt11 Alt12 Alt13 Alt14 Alt15 Alt16 Alt17 Alt18 Alt19 Alt20 Alt21 Alt22); | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `alt_trait_impl` which comes from the expansion of the macro `alt_trait` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated unit variant `error::ErrorKind::Alt` --> src/combinator/branch.rs:248:68 | 248 | Err(ErrMode::Backtrack($err.append($input, &$start, ErrorKind::Alt))) | ^^^ ... 252 | alt_trait!(Alt2 Alt3 Alt4 Alt5 Alt6 Alt7 Alt8 Alt9 Alt10 Alt11 Alt12 Alt13 Alt14 Alt15 Alt16 Alt17 Alt18 Alt19 Alt20 Alt21 Alt22); | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `alt_trait_inner` which comes from the expansion of the macro `alt_trait` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:256:44 | 256 | fn choice(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/branch.rs:288:51 | 288 | fn permutation(&mut self, input: &mut I) -> PResult<( $($ty),+ ), Error> { | ^^^^^^^ ... 338 | / permutation_trait!( 339 | | P1 O1 o1 340 | | P2 O2 o2 341 | | P3 O3 o3 ... | 359 | | P21 O21 o21 360 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `permutation_trait_impl` which comes from the expansion of the macro `permutation_trait` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated unit variant `error::ErrorKind::Alt` --> src/combinator/branch.rs:301:80 | 301 | return Err(ErrMode::Backtrack(err.append(input, &start, ErrorKind::Alt))); | ^^^ ... 338 | / permutation_trait!( 339 | | P1 O1 o1 340 | | P2 O2 o2 341 | | P3 O3 o3 ... | 359 | | P21 O21 o21 360 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `permutation_trait_impl` which comes from the expansion of the macro `permutation_trait` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated enum `error::ErrorKind` --> src/combinator/core.rs:2:29 | 2 | use crate::error::{ErrMode, ErrorKind, Needed, ParserError}; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:9:49 | 9 | pub fn rest(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:20:53 | 20 | pub fn rest_len(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:174:48 | 174 | pub fn eof(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Eof` --> src/combinator/core.rs:183:60 | 183 | Err(ErrMode::from_error_kind(input, ErrorKind::Eof)) | ^^^ warning: use of deprecated unit variant `error::ErrorKind::Not` --> src/combinator/core.rs:223:69 | 223 | Ok(_) => Err(ErrMode::from_error_kind(input, ErrorKind::Not)), | ^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:336:57 | 336 | pub fn todo(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:494:51 | 494 | pub fn empty(_input: &mut Input) -> PResult<(), Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:519:53 | 519 | pub fn fail(i: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Fail` --> src/combinator/core.rs:525:52 | 525 | Err(ErrMode::from_error_kind(i, ErrorKind::Fail)) | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/core.rs:404:32 | 404 | pub fn finish(mut self) -> PResult<(I, ()), E> { | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/combinator/multi.rs:5:19 | 5 | use crate::error::ErrorKind; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:11:12 | 11 | use crate::PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:464:53 | 464 | fn repeat0_(f: &mut F, i: &mut I) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:493:53 | 493 | fn repeat1_(f: &mut F, i: &mut I) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:502:54 | 502 | Err(e) => Err(e.append(i, &start, ErrorKind::Many)), | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:530:68 | 530 | fn repeat_n_(count: usize, f: &mut F, i: &mut I) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:552:59 | 552 | return Err(e.append(i, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:560:88 | 560 | fn repeat_m_n_(min: usize, max: usize, parse: &mut F, input: &mut I) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:592:86 | 592 | return Err(ErrMode::Backtrack(e.append(input, &start, ErrorKind::Many))); | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:672:75 | 672 | fn repeat_till0_(f: &mut F, g: &mut G, i: &mut I) -> PResult<(C, P), E> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:689:73 | 689 | Err(e) => return Err(e.append(i, &start, ErrorKind::Many)), | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:711:6 | 711 | ) -> PResult<(C, P), E> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:735:59 | 735 | return Err(e.append(i, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:751:67 | 751 | return Err(e.append(i, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:907:6 | 907 | ) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:966:6 | 966 | ) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1022:6 | 1022 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1039:59 | 1039 | return Err(e.append(input, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1051:63 | 1051 | return Err(e.append(input, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1064:71 | 1064 | return Err(e.append(input, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1083:6 | 1083 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1107:82 | 1107 | return Err(ErrMode::Backtrack(e.append(input, &start, ErrorKind::Many))); | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1122:86 | 1122 | return Err(ErrMode::Backtrack(e.append(input, &start, ErrorKind::Many))); | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1146:44 | 1146 | ... ErrorKind::Many, | ^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1326:63 | 1326 | return Err(e.append(i, &start, ErrorKind::Many)); | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1340:6 | 1340 | ) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1381:6 | 1381 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1392:58 | 1392 | Err(e) => Err(e.append(input, &start, ErrorKind::Many)), | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1431:6 | 1431 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1468:36 | 1468 | ErrorKind::Many, | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1490:6 | 1490 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/multi.rs:1521:78 | 1521 | let res = Err(ErrMode::from_error_kind(input, ErrorKind::Verify)); | ^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1533:36 | 1533 | ErrorKind::Many, | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:1555:6 | 1555 | ) -> PResult | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/multi.rs:1588:86 | 1588 | let res = Err(ErrMode::from_external_error(input, ErrorKind::Verify, e)); | ^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Many` --> src/combinator/multi.rs:1600:36 | 1600 | ErrorKind::Many, | ^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/multi.rs:447:44 | 447 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/combinator/impls.rs:9:41 | 9 | use crate::error::{AddContext, ErrMode, ErrorKind, FromExternalError, ParserError}; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:29:44 | 29 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:54:44 | 54 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:87:48 | 87 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/impls.rs:92:60 | 92 | ErrMode::from_external_error(input, ErrorKind::Verify, err) | ^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:123:48 | 123 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/impls.rs:128:56 | 128 | ErrMode::from_error_kind(input, ErrorKind::Verify) | ^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:159:44 | 159 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:194:44 | 194 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/impls.rs:199:52 | 199 | ErrMode::from_error_kind(i, ErrorKind::Verify) | ^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:229:44 | 229 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:247:48 | 247 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Complete` --> src/combinator/impls.rs:251:68 | 251 | Err(ErrMode::from_error_kind(input, ErrorKind::Complete)) | ^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:288:48 | 288 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Verify` --> src/combinator/impls.rs:293:56 | 293 | ErrMode::from_error_kind(input, ErrorKind::Verify) | ^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:319:48 | 319 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:343:48 | 343 | fn parse_next(&mut self, input: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:364:48 | 364 | fn parse_next(&mut self, input: &mut I) -> PResult<(), E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:391:48 | 391 | fn parse_next(&mut self, input: &mut I) -> PResult<::Slice, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:427:48 | 427 | fn parse_next(&mut self, input: &mut I) -> PResult<(O, ::Slice), E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:459:48 | 459 | fn parse_next(&mut self, input: &mut I) -> PResult, E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:486:48 | 486 | fn parse_next(&mut self, input: &mut I) -> PResult<(O, Range), E> { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:514:44 | 514 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:538:44 | 538 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/combinator/impls.rs:568:44 | 568 | fn parse_next(&mut self, i: &mut I) -> PResult { | ^^^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/token/mod.rs:9:19 | 9 | use crate::error::ErrorKind; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:16:12 | 16 | use crate::PResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:58:48 | 58 | pub fn any(input: &mut Input) -> PResult<::Token, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:75:6 | 75 | ) -> PResult<::Token, E> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Token` --> src/token/mod.rs:84:56 | 84 | ErrMode::from_error_kind(input, ErrorKind::Token) | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:185:6 | 185 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Tag` --> src/token/mod.rs:198:43 | 198 | let e: ErrorKind = ErrorKind::Tag; | ^^^ warning: use of deprecated enum `error::ErrorKind` --> src/token/mod.rs:198:20 | 198 | let e: ErrorKind = ErrorKind::Tag; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:530:6 | 530 | ) -> PResult<::Slice, E> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:547:6 | 547 | ) -> PResult<::Slice, E> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:551:35 | 551 | let e: ErrorKind = ErrorKind::Slice; | ^^^^^ warning: use of deprecated enum `error::ErrorKind` --> src/token/mod.rs:551:12 | 551 | let e: ErrorKind = ErrorKind::Slice; | ^^^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:571:6 | 571 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:588:71 | 588 | return Err(ErrMode::from_error_kind(input, ErrorKind::Slice)); | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:614:60 | 614 | Err(ErrMode::from_error_kind(input, ErrorKind::Slice)) | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:811:6 | 811 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:819:68 | 819 | Err(_needed) => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:962:6 | 962 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:970:60 | 970 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:977:6 | 977 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:984:60 | 984 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:987:60 | 987 | Err(ErrMode::from_error_kind(i, ErrorKind::Slice)) | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:1000:6 | 1000 | ) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:1020:71 | 1020 | return Err(ErrMode::from_error_kind(i, ErrorKind::Slice)); | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:1024:67 | 1024 | return Err(ErrMode::from_error_kind(i, ErrorKind::Slice)); | ^^^^^ warning: use of deprecated unit variant `error::ErrorKind::Slice` --> src/token/mod.rs:1029:60 | 1029 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:1057:49 | 1057 | pub fn rest(input: &mut Input) -> PResult<::Slice, Error> | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/token/mod.rs:1095:53 | 1095 | pub fn rest_len(input: &mut Input) -> PResult | ^^^^^^^ warning: use of deprecated type alias `error::IResult`: Replaced with `ModalResult` --> src/lib.rs:148:20 | 148 | pub use crate::IResult; | ^^^^^^^ warning: use of deprecated type alias `error::PResult`: Replaced with ModalResult --> src/lib.rs:151:20 | 151 | pub use crate::PResult; | ^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/binary/bits/mod.rs:356:47 | 356 | Err(ErrMode::Backtrack(Error::from_error_kind( | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/core.rs:223:35 | 223 | Ok(_) => Err(ErrMode::from_error_kind(input, ErrorKind::Not)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/error.rs:182:31 | 182 | ErrMode::Backtrack(E::from_error_kind(input, kind)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/error.rs:275:15 | 275 | Self::from_error_kind(input, ErrorKind::Fail) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/error.rs:287:15 | 287 | Self::from_error_kind(input, ErrorKind::Assert) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/ascii/mod.rs:197:37 | 197 | return Err(ErrMode::from_error_kind(input, e)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/ascii/mod.rs:1350:41 | 1350 | return Err(ErrMode::from_error_kind(input, ErrorKind::Verify)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/ascii/mod.rs:1369:33 | 1369 | return Err(ErrMode::from_error_kind(input, ErrorKind::Slice)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/ascii/mod.rs:1496:37 | 1496 | .ok_or_else(|| ErrMode::from_error_kind(input, ErrorKind::Verify)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/binary/bits/mod.rs:226:30 | 226 | Err(ErrMode::from_error_kind( | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/binary/mod.rs:315:38 | 315 | Err(_needed) => Err(ErrMode::from_error_kind(input, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/binary/mod.rs:903:38 | 903 | Err(_needed) => Err(ErrMode::from_error_kind(input, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/binary/mod.rs:1278:39 | 1278 | ErrMode::Backtrack(Error::from_error_kind(input, ErrorKind::Token)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/core.rs:183:26 | 183 | Err(ErrMode::from_error_kind(input, ErrorKind::Eof)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/core.rs:525:22 | 525 | Err(ErrMode::from_error_kind(i, ErrorKind::Fail)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/multi.rs:1521:44 | 1521 | let res = Err(ErrMode::from_error_kind(input, ErrorKind::Verify)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/impls.rs:128:22 | 128 | ErrMode::from_error_kind(input, ErrorKind::Verify) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/impls.rs:199:22 | 199 | ErrMode::from_error_kind(i, ErrorKind::Verify) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/impls.rs:251:34 | 251 | Err(ErrMode::from_error_kind(input, ErrorKind::Complete)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/combinator/impls.rs:293:22 | 293 | ErrMode::from_error_kind(input, ErrorKind::Verify) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:84:22 | 84 | ErrMode::from_error_kind(input, ErrorKind::Token) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:199:26 | 199 | Err(ErrMode::from_error_kind(i, e)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:560:22 | 560 | Err(ErrMode::from_error_kind(input, e)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:588:37 | 588 | return Err(ErrMode::from_error_kind(input, ErrorKind::Slice)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:614:26 | 614 | Err(ErrMode::from_error_kind(input, ErrorKind::Slice)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:819:38 | 819 | Err(_needed) => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:970:30 | 970 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:984:30 | 984 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:987:30 | 987 | Err(ErrMode::from_error_kind(i, ErrorKind::Slice)) | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:1020:41 | 1020 | return Err(ErrMode::from_error_kind(i, ErrorKind::Slice)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:1024:37 | 1024 | return Err(ErrMode::from_error_kind(i, ErrorKind::Slice)); | ^^^^^^^^^^^^^^^ warning: use of deprecated associated function `error::ParserError::from_error_kind`: replaced with `ParserError::from_input` --> src/token/mod.rs:1029:30 | 1029 | None => Err(ErrMode::from_error_kind(i, ErrorKind::Slice)), | ^^^^^^^^^^^^^^^ warning: `winnow` (lib) generated 389 warnings (96 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.69s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xcQCag + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd winnow-0.6.26 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=winnow ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.26 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT/usr/share/cargo/registry/winnow-0.6.26 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT/usr/share/cargo/registry/winnow-0.6.26 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT/usr/share/cargo/registry/winnow-0.6.26 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/winnow-0.6.26` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT/usr/share/cargo/registry/winnow-0.6.26/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/BUILDROOT/usr/share/cargo/registry/winnow-0.6.26/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uqnjo0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd winnow-0.6.26 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast error: failed to select a version for the requirement `annotate-snippets = "^0.11.3"` candidate versions found which didn't match: 0.12.8 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `winnow v0.6.26 (/home/pterjan/rpmbuild/BUILD/rust-winnow0.6-0.6.26-build/winnow-0.6.26)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uqnjo0 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uqnjo0 (%check) I: [iurt_root_command] ERROR: chroot