D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-pkcs5-0.7.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9WmMGa Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gRyZRc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + rm -rf pkcs5-0.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pkcs5-0.7.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pkcs5-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.dreWI8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + cd pkcs5-0.7.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.qOOQJ9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.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 pkcs5-0.7.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 const-oid v0.9.6 Running `/usr/bin/rustc --crate-name const_oid --edition=2021 /usr/share/cargo/registry/const-oid-0.9.6/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("arbitrary", "db", "std"))' -C metadata=7f0fe5996485e521 -C extra-filename=-48918a069b563881 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling der v0.7.9 Running `/usr/bin/rustc --crate-name der --edition=2021 /usr/share/cargo/registry/der-0.7.9/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="oid"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "bytes", "derive", "flagset", "oid", "pem", "real", "std", "time", "zeroize"))' -C metadata=bc1208ff43ef1532 -C extra-filename=-931841c25984729f --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern const_oid=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libconst_oid-48918a069b563881.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling spki v0.7.3 Running `/usr/bin/rustc --crate-name spki --edition=2021 /usr/share/cargo/registry/spki-0.7.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "base64", "fingerprint", "pem", "sha2", "std"))' -C metadata=17f0be28090bdce5 -C extra-filename=-2a077bd783215edb --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkcs5 v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1) Running `/usr/bin/rustc --crate-name pkcs5 --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' -C metadata=4ed820fc869127f0 -C extra-filename=-4cc99354b9fabd44 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rmeta --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary qualification --> src/pbes1.rs:95:26 | 95 | .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:15:5 | 15 | unused_qualifications | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 95 - .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; 95 + .map_err(|_| Tag::ObjectIdentifier.value_error())?; | warning: unnecessary qualification --> src/pbes1.rs:156:34 | 156 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 156 - .map_err(|_| der::Tag::OctetString.value_error())?, 156 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:323:34 | 323 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 323 - .map_err(|_| der::Tag::OctetString.value_error())?, 323 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:328:34 | 328 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 328 - .map_err(|_| der::Tag::OctetString.value_error())?, 328 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:333:34 | 333 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 333 - .map_err(|_| der::Tag::OctetString.value_error())?, 333 + .map_err(|_| Tag::OctetString.value_error())?, | warning: eliding a lifetime that's named elsewhere is confusing --> src/lib.rs:190:82 | 190 | fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { | -- the lifetime is named here ^^ the same 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: consistently use `'a` | 190 - fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { 190 + fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { | warning: `pkcs5` (lib) generated 6 warnings (run `cargo fix --lib -p pkcs5` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.78s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.atqx7L + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.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 pkcs5-0.7.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=pkcs5 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT/usr/share/cargo/registry/pkcs5-0.7.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT/usr/share/cargo/registry/pkcs5-0.7.1 + /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-pkcs5-0.7.1-build/BUILDROOT/usr/share/cargo/registry/pkcs5-0.7.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT/usr/share/cargo/registry/pkcs5-0.7.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT/usr/share/cargo/registry/pkcs5-0.7.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 mangling shebang in /usr/share/cargo/registry/pkcs5-0.7.1/tests/examples/re-gen.sh from /usr/bin/env bash to #!/usr/bin/bash + 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.feD2Kj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.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 pkcs5-0.7.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 Fresh const-oid v0.9.6 Fresh der v0.7.9 Fresh spki v0.7.3 Compiling hex-literal v0.3.4 warning: unnecessary qualification --> src/pbes1.rs:95:26 | 95 | .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:15:5 | 15 | unused_qualifications | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 95 - .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; 95 + .map_err(|_| Tag::ObjectIdentifier.value_error())?; | warning: unnecessary qualification --> src/pbes1.rs:156:34 | 156 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 156 - .map_err(|_| der::Tag::OctetString.value_error())?, 156 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:323:34 | 323 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 323 - .map_err(|_| der::Tag::OctetString.value_error())?, 323 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:328:34 | 328 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 328 - .map_err(|_| der::Tag::OctetString.value_error())?, 328 + .map_err(|_| Tag::OctetString.value_error())?, | warning: unnecessary qualification --> src/pbes2.rs:333:34 | 333 | .map_err(|_| der::Tag::OctetString.value_error())?, | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 333 - .map_err(|_| der::Tag::OctetString.value_error())?, 333 + .map_err(|_| Tag::OctetString.value_error())?, | warning: eliding a lifetime that's named elsewhere is confusing --> src/lib.rs:190:82 | 190 | fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { | -- the lifetime is named here ^^ the same 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: consistently use `'a` | 190 - fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { 190 + fn try_from(alg: AlgorithmIdentifierRef<'a>) -> der::Result> { | Running `/usr/bin/rustc --crate-name hex_literal --edition=2018 /usr/share/cargo/registry/hex-literal-0.3.4/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=84e8315bf45a4574 -C extra-filename=-1210a8e2e2059e96 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `pkcs5` (lib) generated 6 warnings (run `cargo fix --lib -p pkcs5` to apply 6 suggestions) Compiling pkcs5 v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1) Running `/usr/bin/rustc --crate-name pkcs5 --edition=2021 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("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' -C metadata=f01c6ea8ef90a805 -C extra-filename=-8cc781e3b3d2fad7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libhex_literal-1210a8e2e2059e96.so --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pbes2_pbkdf2_decrypt --edition=2021 tests/pbes2_pbkdf2_decrypt.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("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' -C metadata=2f229c1026fe2ca3 -C extra-filename=-f39093dcfd2d55c3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libhex_literal-1210a8e2e2059e96.so --extern pkcs5=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libpkcs5-4cc99354b9fabd44.rlib --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name encryption --edition=2021 tests/encryption.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("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' -C metadata=46214e6959d26ee3 -C extra-filename=-89a607c0c12a7d03 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libhex_literal-1210a8e2e2059e96.so --extern pkcs5=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libpkcs5-4cc99354b9fabd44.rlib --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pbes2 --edition=2021 tests/pbes2.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("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' -C metadata=639b521670513883 -C extra-filename=-33c07911745f5fb0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libhex_literal-1210a8e2e2059e96.so --extern pkcs5=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libpkcs5-4cc99354b9fabd44.rlib --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `pkcs5` (lib test) generated 6 warnings (6 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.84s Running `/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/pkcs5-8cc781e3b3d2fad7` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/encryption-89a607c0c12a7d03` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/pbes2-33c07911745f5fb0` running 6 tests test decode_pbes2_pbkdf2_sha1_aes128cbc ... ok test encode_pbes2_pbkdf2_sha1_aes128cbc ... ok test encode_pbes2_scrypt_aes256cbc ... ok test encode_pbes2_pbkdf2_sha256_aes256cbc ... ok test decode_pbes2_pbkdf2_sha256_aes256cbc ... ok test decode_pbes2_scrypt_aes256cbc ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/pbes2_pbkdf2_decrypt-f39093dcfd2d55c3` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests pkcs5 Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name pkcs5 --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps --extern der=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libder-931841c25984729f.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libhex_literal-1210a8e2e2059e96.so --extern pkcs5=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libpkcs5-4cc99354b9fabd44.rlib --extern spki=/home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/pkcs5-0.7.1/target/rpm/deps/libspki-2a077bd783215edb.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("3des", "alloc", "des-insecure", "pbes2", "sha1-insecure"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-pkcs5-devel-0.7.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/README.md Provides: crate(pkcs5) = 0.7.1 rust-pkcs5-devel = 0.7.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(der/default) >= 0.7.0 crate(der/oid) >= 0.7.0 crate(spki/default) >= 0.7.0 rust >= 1.65 Processing files: rust-pkcs5+default-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/default) = 0.7.1 rust-pkcs5+default-devel = 0.7.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(pkcs5) = 0.7.1 Processing files: rust-pkcs5+3des-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/3des) = 0.7.1 rust-pkcs5+3des-devel = 0.7.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(des) >= 0.8.1 crate(pkcs5) = 0.7.1 crate(pkcs5/pbes2) = 0.7.1 Processing files: rust-pkcs5+alloc-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/alloc) = 0.7.1 rust-pkcs5+alloc-devel = 0.7.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(pkcs5) = 0.7.1 Processing files: rust-pkcs5+des-insecure-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/des-insecure) = 0.7.1 rust-pkcs5+des-insecure-devel = 0.7.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(des) >= 0.8.1 crate(pkcs5) = 0.7.1 crate(pkcs5/pbes2) = 0.7.1 Processing files: rust-pkcs5+pbes2-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/pbes2) = 0.7.1 rust-pkcs5+pbes2-devel = 0.7.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(aes) >= 0.8.2 crate(cbc/default) >= 0.1.2 crate(pbkdf2) >= 0.12.1 crate(pkcs5) = 0.7.1 crate(scrypt) >= 0.11.0 crate(sha2) >= 0.10.2 Processing files: rust-pkcs5+sha1-insecure-devel-0.7.1-1.mga10.noarch Provides: crate(pkcs5/sha1-insecure) = 0.7.1 rust-pkcs5+sha1-insecure-devel = 0.7.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(pkcs5) = 0.7.1 crate(pkcs5/pbes2) = 0.7.1 crate(sha1) >= 0.10.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+default-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+alloc-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+des-insecure-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+pbes2-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+3des-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5+sha1-insecure-devel-0.7.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pkcs5-devel-0.7.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c5IpbN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pkcs5-0.7.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/pkcs5-0.7.1/README.md D: [iurt_root_command] Success!