D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-mailparse-0.16.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GKc725 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6oqU8W + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + rm -rf mailparse-0.16.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mailparse-0.16.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mailparse-0.16.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mailparse-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.NcWwBi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + cd mailparse-0.16.1 + /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.2db2cl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-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 mailparse-0.16.1 + '[' 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 cfg-if v1.0.4 Compiling base64 v0.22.1 Compiling data-encoding v2.6.0 Compiling quoted_printable v0.5.1 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=08b529e5e0e8f31d -C extra-filename=-882b1cd97dcfd39c --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name data_encoding --edition=2018 /usr/share/cargo/registry/data-encoding-2.6.0/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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=bf7e8dba37f311a9 -C extra-filename=-8ef17aa3d47cb495 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name base64 --edition=2018 /usr/share/cargo/registry/base64-0.22.1/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=86cc6d76f84248e9 -C extra-filename=-cf60fcffd5b65cc3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name quoted_printable --edition=2018 /usr/share/cargo/registry/quoted_printable-0.5.1/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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=5f2117167b72fe28 -C extra-filename=-abc8dc9e0ec30668 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling encoding_rs v0.8.35 Running `/usr/bin/rustc --crate-name encoding_rs --edition=2018 /usr/share/cargo/registry/encoding_rs-0.8.35/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 --cfg 'feature="alloc"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "any_all_workaround", "default", "fast-big5-hanzi-encode", "fast-gb-hanzi-encode", "fast-hangul-encode", "fast-hanja-encode", "fast-kanji-encode", "fast-legacy-encode", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "less-slow-kanji-encode", "serde", "simd-accel"))' -C metadata=612b6411eb4e6d4d -C extra-filename=-e99e333b4bb98828 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling charset v0.1.5 Running `/usr/bin/rustc --crate-name charset --edition=2018 /usr/share/cargo/registry/charset-0.1.5/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=d6c150e3c178fb7a -C extra-filename=-eb8632248cb14da7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern base64=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libbase64-cf60fcffd5b65cc3.rmeta --extern encoding_rs=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libencoding_rs-e99e333b4bb98828.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mailparse v0.16.1 (/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1) Running `/usr/bin/rustc --crate-name mailparse --edition=2018 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=5ddd64a99551f8ba -C extra-filename=-9c34ad714ef67df9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern charset=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libcharset-eb8632248cb14da7.rmeta --extern data_encoding=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libdata_encoding-8ef17aa3d47cb495.rmeta --extern quoted_printable=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquoted_printable-abc8dc9e0ec30668.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:195:24 | 195 | pub fn get_key_ref(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:335:31 | 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:454:25 | 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:476:24 | 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:489:25 | 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:504:24 | 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:538:32 | 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:936:29 | 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:955:15 | 955 | raw_data: &[u8], | ^^^^^ the lifetime is elided here 956 | in_multipart_digest: bool, 957 | ) -> Result { | ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 957 | ) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:75:31 | 75 | fn tokenize_header_line(line: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | fn tokenize_header_line(line: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:76:31 | 76 | fn maybe_whitespace(text: &str) -> HeaderToken { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:137:27 | 137 | fn tokenize_header(value: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 137 | fn tokenize_header(value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:219:37 | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:99:25 | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:117:24 | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: `mailparse` (lib) generated 15 warnings (run `cargo fix --lib -p mailparse` to apply 15 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.38s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aROc0w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-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 mailparse-0.16.1 + '[' 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=mailparse ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.16.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.16.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.16.1 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.16.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.16.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.16.1/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.KDuOV5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-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 mailparse-0.16.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling proc-macro2 v1.0.105 Compiling quote v1.0.41 Compiling unicode-ident v1.0.22 Compiling version_check v0.9.5 Fresh cfg-if v1.0.4 Compiling yansi v1.0.1 Compiling heck v0.5.0 Fresh base64 v0.22.1 Fresh data-encoding v2.6.0 Fresh quoted_printable v0.5.1 Compiling static_assertions v1.1.0 Compiling aliasable v0.1.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=d4ded8db3929421f -C extra-filename=-0f1d4608a38c49a2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/proc-macro2-0f1d4608a38c49a2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/quote-1.0.41/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=53ef3d98672135af -C extra-filename=-0454ff53fc80ddd6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/quote-0454ff53fc80ddd6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e10476e151b089a0 -C extra-filename=-79a01b0086603322 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b0547059fbd0fdc5 -C extra-filename=-2f5fba78a5d5b6fd --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name yansi --edition=2021 /usr/share/cargo/registry/yansi-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_nightly", "alloc", "default", "detect-env", "detect-tty", "hyperlink", "is-terminal", "std"))' -C metadata=9d2b31c4ba047309 -C extra-filename=-23e49fb296083a9c --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh encoding_rs v0.8.35 Running `/usr/bin/rustc --crate-name heck --edition=2021 /usr/share/cargo/registry/heck-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f5a7c9f48d547701 -C extra-filename=-de1d338078f34eb6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name static_assertions --edition=2015 /usr/share/cargo/registry/static_assertions-1.1.0/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=0b1ab8601d1d3bef -C extra-filename=-073a313b0d73f65c --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh charset v0.1.5 warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:195:24 | 195 | pub fn get_key_ref(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:335:31 | 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:454:25 | 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:476:24 | 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:489:25 | 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:504:24 | 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:538:32 | 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:936:29 | 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:955:15 | 955 | raw_data: &[u8], | ^^^^^ the lifetime is elided here 956 | in_multipart_digest: bool, 957 | ) -> Result { | ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 957 | ) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:75:31 | 75 | fn tokenize_header_line(line: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | fn tokenize_header_line(line: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:76:31 | 76 | fn maybe_whitespace(text: &str) -> HeaderToken { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:137:27 | 137 | fn tokenize_header(value: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 137 | fn tokenize_header(value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:219:37 | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:99:25 | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:117:24 | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ^^^^^^^^^^^ | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: `mailparse` (lib) generated 15 warnings (run `cargo fix --lib -p mailparse` to apply 15 suggestions) Running `/usr/bin/rustc --crate-name aliasable --edition=2018 /usr/share/cargo/registry/aliasable-0.1.3/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 --cfg 'feature="alloc"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "stable_deref_trait", "traits"))' -C metadata=783e01cd7edcfd8a -C extra-filename=-aa57e984ddc9bc98 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/quote-0454ff53fc80ddd6/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/proc-macro2-0f1d4608a38c49a2/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=72ef6644dce39025 -C extra-filename=-df69b5d327200e14 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --cfg proc_macro_span_location --cfg proc_macro_span_file --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling proc-macro2-diagnostics v0.10.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=86e28913517e6baa -C extra-filename=-734beb0d6cedd2cd --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/proc-macro2-diagnostics-734beb0d6cedd2cd -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern version_check=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libversion_check-2f5fba78a5d5b6fd.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=9bbabf23ce03ffa3 -C extra-filename=-0814cf5a4fbfd5da --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_diagnostic_namespace)'` Running `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/build/proc-macro2-diagnostics-734beb0d6cedd2cd/build-script-build` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=5503d41b00ede928 -C extra-filename=-5c315eebebeb12ac --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquote-0814cf5a4fbfd5da.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2_diagnostics --edition=2018 /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=1abf43cb1b300c82 -C extra-filename=-f33043a37022af6b --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquote-0814cf5a4fbfd5da.rmeta --extern syn=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libsyn-5c315eebebeb12ac.rmeta --extern yansi=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libyansi-23e49fb296083a9c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ouroboros_macro v0.18.5 Running `/usr/bin/rustc --crate-name ouroboros_macro --edition=2018 /usr/share/cargo/registry/ouroboros_macro-0.18.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std"))' -C metadata=248c431c2b0e9a02 -C extra-filename=-43a33810503a2917 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern heck=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libheck-de1d338078f34eb6.rlib --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libproc_macro2-df69b5d327200e14.rlib --extern proc_macro2_diagnostics=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libproc_macro2_diagnostics-f33043a37022af6b.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquote-0814cf5a4fbfd5da.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libsyn-5c315eebebeb12ac.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ouroboros v0.18.5 Running `/usr/bin/rustc --crate-name ouroboros --edition=2018 /usr/share/cargo/registry/ouroboros-0.18.5/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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=27bc37c653f04bd8 -C extra-filename=-1a71ac3ff365de09 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern aliasable=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libaliasable-aa57e984ddc9bc98.rmeta --extern ouroboros_macro=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libouroboros_macro-43a33810503a2917.so --extern static_assertions=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libstatic_assertions-073a313b0d73f65c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mailparse v0.16.1 (/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1) Running `/usr/bin/rustc --crate-name mailparse --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9949969a2cbd0279 -C extra-filename=-d1cfc0f047a227b4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern charset=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libcharset-eb8632248cb14da7.rlib --extern data_encoding=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libdata_encoding-8ef17aa3d47cb495.rlib --extern ouroboros=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libouroboros-1a71ac3ff365de09.rlib --extern quoted_printable=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquoted_printable-abc8dc9e0ec30668.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `mailparse` (lib test) generated 15 warnings (15 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 54.31s Running `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/mailparse-d1cfc0f047a227b4` running 50 tests test addrparse::tests::parse_backslashes ... ok test addrparse::tests::count_addrs ... ok test addrparse::tests::parse_empty_group ... ok test addrparse::tests::parse_invalid ... ok test addrparse::tests::parse_mixed ... ok test addrparse::tests::parse_multi ... ok test addrparse::tests::parse_basic ... ok test addrparse::tests::parse_second_encoded ... ok test addrparse::tests::parse_quoted_encoded ... ok test addrparse::tests::parse_simple_group ... ok test addrparse::tests::parse_with_encoded ... ok test addrparse::tests::real_world_examples ... ok test addrparse::tests::stringify_group ... ok test addrparse::tests::stringify_list ... ok test dateparse::tests::parse_dates ... ok test header::tests::test_is_boundary_multibyte ... ok test msgidparse::tests::parse_message_ids ... ok test test_find_from_u8 ... ok test test_find_from_u8_line_prefix ... ok test tests::boundary_is_suffix_of_another_boundary ... ok test tests::parse_basic_header ... ok test tests::parse_encoded_headers ... ok test tests::encoded_words_and_spaces ... ok test tests::parse_multiple_headers ... ok test tests::test_7bit_content_encoding ... ok test tests::test_8bit_content_encoding ... ok test tests::test_base64_content_encoding ... ok test tests::test_binary_content_encoding ... ok test tests::test_base64_content_encoding_multiple_strings ... ok test addrparse::tests::stringify_single ... ok test tests::test_default_content_encoding ... ok test tests::test_dont_panic_for_value_with_new_lines ... ok test tests::test_body_content_encoding_with_multipart ... ok test tests::test_default_content_type_in_multipart_digest ... ok test tests::test_empty ... ok test tests::test_fuzzer_testcase ... ok test tests::test_fuzzer_testcase_2 ... ok test tests::test_header_split ... ok test tests::test_missing_body ... ok test tests::test_missing_terminating_boundary ... ok test tests::test_no_headers_in_subpart ... ok test tests::test_no_parts ... ok test tests::test_parameter_encodings ... ok test tests::test_parameter_value_continuations ... ok test tests::test_parse_content_disposition ... ok test tests::test_parse_content_type ... ok test tests::test_parts_iterator ... ok test tests::test_parse_mail ... ok test tests::test_percent_decoder ... ok test tests::test_quoted_printable_content_encoding ... ok test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests mailparse Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name mailparse --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps --extern charset=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libcharset-eb8632248cb14da7.rlib --extern data_encoding=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libdata_encoding-8ef17aa3d47cb495.rlib --extern mailparse=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libmailparse-9c34ad714ef67df9.rlib --extern ouroboros=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libouroboros-1a71ac3ff365de09.rlib --extern quoted_printable=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/mailparse-0.16.1/target/rpm/deps/libquoted_printable-abc8dc9e0ec30668.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 25 tests test src/lib.rs - MailHeader<'a>::get_value_utf8 (line 267) ... ok test src/headers.rs - headers::Headers<'a> (line 63) ... ok test src/lib.rs - MailHeader<'a>::get_key_raw (line 283) ... ok test src/msgidparse.rs - msgidparse::msgidparse (line 48) ... ok test src/lib.rs - parse_content_disposition (line 707) ... ok test src/headers.rs - headers::Headers<'a>::get_all_values (line 104) ... ok test src/lib.rs - ParsedMail<'a>::get_body_encoded (line 806) ... ok test src/headers.rs - headers::Headers<'a>::get_raw_bytes (line 22) ... ok test src/lib.rs - ParsedMail<'a>::get_body_raw (line 782) ... ok test src/lib.rs - parse_header (line 325) ... ok test src/lib.rs - MailHeaderMap::get_first_value (line 441) ... ok test src/lib.rs - MailHeader<'a>::get_value_raw (line 295) ... ok test src/lib.rs - parse_headers (line 528) ... ok test src/addrparse.rs - addrparse::addrparse (line 255) ... ok test src/lib.rs - MailHeader<'a>::get_value (line 222) ... ok test src/headers.rs - headers::Headers<'a> (line 39) ... ok test src/dateparse.rs - dateparse::dateparse (line 74) ... ok test src/lib.rs - parse_mail (line 905) ... ok test src/headers.rs - headers::Headers<'a>::get_first_value (line 86) ... ok test src/lib.rs - parse_content_type (line 619) ... ok test src/lib.rs - ParsedMail<'a>::get_body (line 760) ... ok test src/lib.rs - parse_content_type (line 628) ... ok test src/addrparse.rs - addrparse::addrparse_header (line 275) ... ok test src/lib.rs - MailHeaderMap::get_all_values (line 463) ... ok test src/lib.rs - parse_content_type (line 608) ... ok test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-mailparse-devel-0.16.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/mailparse-0.16.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/mailparse-0.16.1/README.md Provides: crate(mailparse) = 0.16.1 rust-mailparse-devel = 0.16.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(charset/default) >= 0.1.3 crate(data-encoding/default) >= 2.6.0 crate(quoted_printable/default) >= 0.5.0 Processing files: rust-mailparse+default-devel-0.16.1-1.mga10.noarch Provides: crate(mailparse/default) = 0.16.1 rust-mailparse+default-devel = 0.16.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mailparse) = 0.16.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mailparse+default-devel-0.16.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mailparse-devel-0.16.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jA5yzq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.16.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/mailparse-0.16.1/LICENSE File listed twice: /usr/share/cargo/registry/mailparse-0.16.1/README.md D: [iurt_root_command] Success!