Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98241-60198/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-pkcs5_0.3-0.3.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98241-60198/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o55K4d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pkcs5-0.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pkcs5-0.3.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pkcs5-0.3.2 + /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 /var/tmp/rpm-tmp.rAmHB8 + umask 022 + cd /builddir/build/BUILD + cd pkcs5-0.3.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pkcs5_0.3-0.3.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98241-60198/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CmK5US + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pkcs5-0.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pkcs5-0.3.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pkcs5-0.3.2 + /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 /var/tmp/rpm-tmp.eHIH0J + umask 022 + cd /builddir/build/BUILD + cd pkcs5-0.3.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pkcs5_0.3-0.3.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98241-60198/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pkcs5_0.3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7CbM8R + umask 022 + cd /builddir/build/BUILD + cd pkcs5-0.3.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CWOpdj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pkcs5-0.3.2 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling const-oid v0.6.2 Running `/usr/bin/rustc --crate-name const_oid --edition=2018 /usr/share/cargo/registry/const-oid-0.6.2/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 -C metadata=8cb5da4abd8c09d2 -C extra-filename=-8cb5da4abd8c09d2 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling der v0.4.5 Running `/usr/bin/rustc --crate-name der --edition=2018 /usr/share/cargo/registry/der-0.4.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="const-oid"' --cfg 'feature="oid"' -C metadata=157fe29b51c7a8b2 -C extra-filename=-157fe29b51c7a8b2 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern const_oid=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libconst_oid-8cb5da4abd8c09d2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling spki v0.4.1 Running `/usr/bin/rustc --crate-name spki --edition=2018 /usr/share/cargo/registry/spki-0.4.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 -C metadata=592c10178e0b9191 -C extra-filename=-592c10178e0b9191 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkcs5 v0.3.2 (/builddir/build/BUILD/pkcs5-0.3.2) Running `/usr/bin/rustc --crate-name pkcs5 --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 -C metadata=e7e24f7f8cc781f0 -C extra-filename=-e7e24f7f8cc781f0 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rmeta --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary qualification --> src/pbes1.rs:84:26 | 84 | .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:26:41 | 26 | #![warn(missing_docs, rust_2018_idioms, unused_qualifications)] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 84 - .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; 84 + .map_err(|_| Tag::ObjectIdentifier.value_error())?; | warning: unnecessary qualification --> src/pbes1.rs:91:30 | 91 | .map_err(|_| der::Tag::OctetString.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 91 - .map_err(|_| der::Tag::OctetString.value_error())?; 91 + .map_err(|_| Tag::OctetString.value_error())?; | warning: `pkcs5` (lib) generated 2 warnings (run `cargo fix --lib -p pkcs5` to apply 2 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.52s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bOfZLe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64 + cd pkcs5-0.3.2 + 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.3.2 + REG_DIR=/builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64/usr/share/cargo/registry/pkcs5-0.3.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64/usr/share/cargo/registry/pkcs5-0.3.2 + gawk -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 + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64/usr/share/cargo/registry/pkcs5-0.3.2 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: no (git) VCS found for `/builddir/build/BUILD/pkcs5-0.3.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64/usr/share/cargo/registry/pkcs5-0.3.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64/usr/share/cargo/registry/pkcs5-0.3.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/pkcs5-0.3.2/tests/examples/re-gen.sh from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Sum0ON + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pkcs5-0.3.2 + /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 -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh const-oid v0.6.2 Fresh der v0.4.5 Fresh spki v0.4.1 Compiling hex-literal v0.3.4 warning: unnecessary qualification --> src/pbes1.rs:84:26 | 84 | .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:26:41 | 26 | #![warn(missing_docs, rust_2018_idioms, unused_qualifications)] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 84 - .map_err(|_| der::Tag::ObjectIdentifier.value_error())?; 84 + .map_err(|_| Tag::ObjectIdentifier.value_error())?; | warning: unnecessary qualification --> src/pbes1.rs:91:30 | 91 | .map_err(|_| der::Tag::OctetString.value_error())?; | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 91 - .map_err(|_| der::Tag::OctetString.value_error())?; 91 + .map_err(|_| Tag::OctetString.value_error())?; | 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 -C metadata=04ab7c53acdfd554 -C extra-filename=-04ab7c53acdfd554 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/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 2 warnings (run `cargo fix --lib -p pkcs5` to apply 2 suggestions) Compiling pkcs5 v0.3.2 (/builddir/build/BUILD/pkcs5-0.3.2) Running `/usr/bin/rustc --crate-name pkcs5 --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 -C metadata=225b86359d7035e1 -C extra-filename=-225b86359d7035e1 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rlib --extern hex_literal=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libhex_literal-04ab7c53acdfd554.so --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name encryption --edition=2018 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 -C metadata=6fa7aad056e4e231 -C extra-filename=-6fa7aad056e4e231 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rlib --extern hex_literal=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libhex_literal-04ab7c53acdfd554.so --extern pkcs5=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libpkcs5-e7e24f7f8cc781f0.rlib --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pbes2 --edition=2018 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 -C metadata=dc53603a74db2bdc -C extra-filename=-dc53603a74db2bdc --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rlib --extern hex_literal=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libhex_literal-04ab7c53acdfd554.so --extern pkcs5=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libpkcs5-e7e24f7f8cc781f0.rlib --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pbes2_pbkdf2_decrypt --edition=2018 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 -C metadata=f54d9563fa8cccc3 -C extra-filename=-f54d9563fa8cccc3 --out-dir /builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rlib --extern hex_literal=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libhex_literal-04ab7c53acdfd554.so --extern pkcs5=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libpkcs5-e7e24f7f8cc781f0.rlib --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `pkcs5` (lib test) generated 2 warnings (2 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.14s Running `/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/pkcs5-225b86359d7035e1` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/encryption-6fa7aad056e4e231` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/pbes2-dc53603a74db2bdc` running 6 tests test decode_pbes2_pbkdf2_sha1_aes128cbc ... ok test decode_pbes2_pbkdf2_sha256_aes256cbc ... ok test decode_pbes2_scrypt_aes256cbc ... ok test encode_pbes2_pbkdf2_sha1_aes128cbc ... ok test encode_pbes2_scrypt_aes256cbc ... ok test encode_pbes2_pbkdf2_sha256_aes256cbc ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/pbes2_pbkdf2_decrypt-f54d9563fa8cccc3` 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=2018 --crate-type lib --crate-name pkcs5 --test src/lib.rs --test-run-directory /builddir/build/BUILD/pkcs5-0.3.2 -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps -L dependency=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps --extern der=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libder-157fe29b51c7a8b2.rlib --extern hex_literal=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libhex_literal-04ab7c53acdfd554.so --extern pkcs5=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libpkcs5-e7e24f7f8cc781f0.rlib --extern spki=/builddir/build/BUILD/pkcs5-0.3.2/target/rpm/deps/libspki-592c10178e0b9191.rlib -C embed-bitcode=no --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_0.3-devel-0.3.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/README.md Provides: crate(pkcs5) = 0.3.2 rust-pkcs5_0.3-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(der/default) >= 0.4.0 with crate(der/default) < 0.5.0~) (crate(der/oid) >= 0.4.0 with crate(der/oid) < 0.5.0~) (crate(spki/default) >= 0.4.0 with crate(spki/default) < 0.5.0~) /usr/bin/bash cargo Processing files: rust-pkcs5_0.3+default-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/default) = 0.3.2 rust-pkcs5_0.3+default-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+3des-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/3des) = 0.3.2 rust-pkcs5_0.3+3des-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 crate(pkcs5/des) = 0.3.2 crate(pkcs5/pbes2) = 0.3.2 Processing files: rust-pkcs5_0.3+aes-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/aes) = 0.3.2 rust-pkcs5_0.3+aes-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(aes/default) >= 0.7.0 with crate(aes/default) < 0.8.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+alloc-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/alloc) = 0.3.2 rust-pkcs5_0.3+alloc-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+block-modes-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/block-modes) = 0.3.2 rust-pkcs5_0.3+block-modes-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(block-modes) >= 0.8.0 with crate(block-modes) < 0.9.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+des-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/des) = 0.3.2 rust-pkcs5_0.3+des-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(des) >= 0.7.0 with crate(des) < 0.8.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+des-insecure-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/des-insecure) = 0.3.2 rust-pkcs5_0.3+des-insecure-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 crate(pkcs5/des) = 0.3.2 crate(pkcs5/pbes2) = 0.3.2 Processing files: rust-pkcs5_0.3+hmac-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/hmac) = 0.3.2 rust-pkcs5_0.3+hmac-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(hmac) >= 0.11.0 with crate(hmac) < 0.12.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+pbes2-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/pbes2) = 0.3.2 rust-pkcs5_0.3+pbes2-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 crate(pkcs5/aes) = 0.3.2 crate(pkcs5/block-modes) = 0.3.2 crate(pkcs5/hmac) = 0.3.2 crate(pkcs5/pbkdf2) = 0.3.2 crate(pkcs5/scrypt) = 0.3.2 crate(pkcs5/sha2) = 0.3.2 Processing files: rust-pkcs5_0.3+pbkdf2-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/pbkdf2) = 0.3.2 rust-pkcs5_0.3+pbkdf2-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(pbkdf2) >= 0.9.0 with crate(pbkdf2) < 0.10.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+scrypt-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/scrypt) = 0.3.2 rust-pkcs5_0.3+scrypt-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(scrypt) >= 0.8.0 with crate(scrypt) < 0.9.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+sha-1-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/sha-1) = 0.3.2 rust-pkcs5_0.3+sha-1-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(sha-1) >= 0.9.8 with crate(sha-1) < 0.10.0~) cargo crate(pkcs5) = 0.3.2 Processing files: rust-pkcs5_0.3+sha1-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/sha1) = 0.3.2 rust-pkcs5_0.3+sha1-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pkcs5) = 0.3.2 crate(pkcs5/pbes2) = 0.3.2 crate(pkcs5/sha-1) = 0.3.2 Processing files: rust-pkcs5_0.3+sha2-devel-0.3.2-1.oc9.noarch Provides: crate(pkcs5/sha2) = 0.3.2 rust-pkcs5_0.3+sha2-devel = 0.3.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(sha2) >= 0.9.0 with crate(sha2) < 0.10.0~) cargo crate(pkcs5) = 0.3.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-pkcs5_0.3-0.3.2-1.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-pkcs5_0.3-0.3.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+default-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+block-modes-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+alloc-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+pbkdf2-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+scrypt-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+des-insecure-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+hmac-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+des-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+aes-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+3des-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+sha1-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+sha2-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+pbes2-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3+sha-1-devel-0.3.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-pkcs5_0.3-devel-0.3.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/CHANGELOG.md File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/pkcs5-0.3.2/README.md Child return code was: 0