D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-chacha20-0.9.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oY7yru Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.69mC0j + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + rm -rf chacha20-0.9.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/chacha20-0.9.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd chacha20-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/chacha20-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.eLVMVM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + cd chacha20-0.9.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.lCv9uJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.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 chacha20-0.9.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 version_check v0.9.5 Compiling typenum v1.18.0 Compiling cpufeatures v0.2.17 Compiling cfg-if v1.0.4 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=c42316871400035a -C extra-filename=-e97594474166f7bd --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.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/typenum-1.18.0/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const-generics", "force_unix_path_separator", "i128", "no_std", "scale-info", "scale_info", "strict"))' -C metadata=2b007b96386412fc -C extra-filename=-38d1dfdc04250081 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/typenum-38d1dfdc04250081 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.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 cpufeatures --edition=2018 /usr/share/cargo/registry/cpufeatures-0.2.17/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=1888133045216d92 -C extra-filename=-2bee6da4abd572c6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.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 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=557655ab03dec7b9 -C extra-filename=-e398f09b4be48fa3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.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-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/typenum-38d1dfdc04250081/build-script-build` Running `/usr/bin/rustc --crate-name typenum --edition=2018 /usr/share/cargo/registry/typenum-1.18.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("const-generics", "force_unix_path_separator", "i128", "no_std", "scale-info", "scale_info", "strict"))' -C metadata=f40c0ecb0aea3c14 -C extra-filename=-db48a39b92e632bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling generic-array v0.14.7 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/generic-array-0.14.7/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="more_lengths"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=6772c648a12636f7 -C extra-filename=-30b4c9d64ffd3521 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/generic-array-30b4c9d64ffd3521 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern version_check=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libversion_check-e97594474166f7bd.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/generic-array-30b4c9d64ffd3521/build-script-build` Running `/usr/bin/rustc --crate-name generic_array --edition=2015 /usr/share/cargo/registry/generic-array-0.14.7/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="more_lengths"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=47f3f2047e9d2b86 -C extra-filename=-d853d9bbc02214d2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern typenum=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libtypenum-db48a39b92e632bc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg relaxed_coherence` Compiling crypto-common v0.1.6 Compiling inout v0.1.3 Running `/usr/bin/rustc --crate-name crypto_common --edition=2018 /usr/share/cargo/registry/crypto-common-0.1.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("getrandom", "rand_core", "std"))' -C metadata=d3217df513c63dd5 -C extra-filename=-b2a7eeaa448de2db --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern generic_array=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libgeneric_array-d853d9bbc02214d2.rmeta --extern typenum=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libtypenum-db48a39b92e632bc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name inout --edition=2021 /usr/share/cargo/registry/inout-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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("block-padding", "std"))' -C metadata=63457c83c1821207 -C extra-filename=-38eb947d7e395574 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern generic_array=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libgeneric_array-d853d9bbc02214d2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cipher v0.4.4 Running `/usr/bin/rustc --crate-name cipher --edition=2021 /usr/share/cargo/registry/cipher-0.4.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("alloc", "blobby", "block-padding", "dev", "rand_core", "std", "zeroize"))' -C metadata=d72201490a97a730 -C extra-filename=-8b665c969550aca4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern crypto_common=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcrypto_common-b2a7eeaa448de2db.rmeta --extern inout=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libinout-38eb947d7e395574.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling chacha20 v0.9.1 (/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1) Running `/usr/bin/rustc --crate-name chacha20 --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("std", "zeroize"))' -C metadata=4763464e1183eac0 -C extra-filename=-0ec9d0e4dcc4727f --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-8b665c969550aca4.rmeta --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-2bee6da4abd572c6.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:158:14 | 158 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:162:22 | 162 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:167:29 | 167 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/backends.rs:4:14 | 4 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/backends.rs:8:22 | 8 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/backends.rs:10:29 | 10 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_neon` --> src/backends.rs:18:25 | 18 | } else if #[cfg(all(chacha20_force_neon, target_arch = "aarch64", target_feature = "neon"))] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:221:22 | 221 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:225:30 | 225 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:227:37 | 227 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:255:22 | 255 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:259:30 | 259 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:263:37 | 263 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_neon` --> src/lib.rs:282:33 | 282 | } else if #[cfg(all(chacha20_force_neon, target_arch = "aarch64", target_feature = "neon"))] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `chacha20` (lib) generated 14 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.71s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.15qByW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.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 chacha20-0.9.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=chacha20 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.9.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT/usr/share/cargo/registry/chacha20-0.9.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT/usr/share/cargo/registry/chacha20-0.9.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-chacha20-0.9.1-build/BUILDROOT/usr/share/cargo/registry/chacha20-0.9.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT/usr/share/cargo/registry/chacha20-0.9.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT/usr/share/cargo/registry/chacha20-0.9.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.JwVIU2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.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 chacha20-0.9.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 version_check v0.9.5 Fresh typenum v1.18.0 Compiling blobby v0.3.1 Fresh cfg-if v1.0.4 Fresh cpufeatures v0.2.17 Compiling hex-literal v0.4.1 Running `/usr/bin/rustc --crate-name blobby --edition=2018 /usr/share/cargo/registry/blobby-0.3.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())' -C metadata=4952e03eb7dae6cc -C extra-filename=-0eae07ef99f4b1fd --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh generic-array v0.14.7 Fresh inout v0.1.3 Fresh crypto-common v0.1.6 Running `/usr/bin/rustc --crate-name hex_literal --edition=2021 /usr/share/cargo/registry/hex-literal-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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=87f192beb65ee644 -C extra-filename=-5780fe3fef5a2ef7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cipher v0.4.4 Running `/usr/bin/rustc --crate-name cipher --edition=2021 /usr/share/cargo/registry/cipher-0.4.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 --cfg 'feature="blobby"' --cfg 'feature="dev"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "blobby", "block-padding", "dev", "rand_core", "std", "zeroize"))' -C metadata=7b240716f586478a -C extra-filename=-f73aaadc2961f6c7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern blobby=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libblobby-0eae07ef99f4b1fd.rmeta --extern crypto_common=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcrypto_common-b2a7eeaa448de2db.rmeta --extern inout=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libinout-38eb947d7e395574.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling chacha20 v0.9.1 (/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1) Running `/usr/bin/rustc --crate-name chacha20 --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("std", "zeroize"))' -C metadata=60936d6203788100 -C extra-filename=-9746c1766c153ec1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-f73aaadc2961f6c7.rmeta --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-2bee6da4abd572c6.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name chacha20 --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("std", "zeroize"))' -C metadata=49e9621ca7a471ab -C extra-filename=-ecc6ecc075878243 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-f73aaadc2961f6c7.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-2bee6da4abd572c6.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-5780fe3fef5a2ef7.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:158:14 | 158 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:162:22 | 162 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:167:29 | 167 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/backends.rs:4:14 | 4 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/backends.rs:8:22 | 8 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/backends.rs:10:29 | 10 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_neon` --> src/backends.rs:18:25 | 18 | } else if #[cfg(all(chacha20_force_neon, target_arch = "aarch64", target_feature = "neon"))] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:221:22 | 221 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:225:30 | 225 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:227:37 | 227 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_soft` --> src/lib.rs:255:22 | 255 | if #[cfg(chacha20_force_soft)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_soft)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_soft)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_avx2` --> src/lib.rs:259:30 | 259 | if #[cfg(chacha20_force_avx2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_avx2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_avx2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_sse2` --> src/lib.rs:263:37 | 263 | } else if #[cfg(chacha20_force_sse2)] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_sse2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_sse2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `chacha20_force_neon` --> src/lib.rs:282:33 | 282 | } else if #[cfg(all(chacha20_force_neon, target_arch = "aarch64", target_feature = "neon"))] { | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chacha20_force_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(chacha20_force_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `chacha20` (lib) generated 14 warnings Running `/usr/bin/rustc --crate-name mod --edition=2021 tests/mod.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("std", "zeroize"))' -C metadata=7b803c6d9e9d1470 -C extra-filename=-b4b9c9eac132e59d --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rlib --extern chacha20=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libchacha20-9746c1766c153ec1.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-f73aaadc2961f6c7.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-2bee6da4abd572c6.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-5780fe3fef5a2ef7.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `legacy` --> tests/mod.rs:175:7 | 175 | #[cfg(feature = "legacy")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `std` and `zeroize` = help: consider adding `legacy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `chacha20` (lib test) generated 14 warnings (14 duplicates) warning: `chacha20` (test "mod") generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 2.16s Running `/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/chacha20-ecc6ecc075878243` running 1 test test xchacha::hchacha20_tests::test_vector ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/mod-b4b9c9eac132e59d` running 9 tests test chacha20_core ... ok test chacha20legacy_seek ... ok test chacha20_seek ... ok test xchacha20::xchacha20_encryption ... ok test xchacha20::xchacha20_seek ... ok test xchacha20_seek ... ok test xchacha20::xchacha20_keystream ... ok test chacha20test::chacha20_keystream ... ok test chacha20test::chacha20_encryption ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chacha20 Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name chacha20 --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rlib --extern chacha20=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libchacha20-9746c1766c153ec1.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-f73aaadc2961f6c7.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-2bee6da4abd572c6.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-5780fe3fef5a2ef7.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "zeroize"))' --error-format human` running 1 test test src/lib.rs - (line 44) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-chacha20-devel-0.9.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/README.md Provides: crate(chacha20) = 0.9.1 rust-chacha20-devel = 0.9.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(cfg-if/default) >= 1.0.0 crate(cipher/default) >= 0.4.4 crate(cpufeatures/default) >= 0.2.0 rust >= 1.56 Processing files: rust-chacha20+default-devel-0.9.1-1.mga10.noarch Provides: crate(chacha20/default) = 0.9.1 rust-chacha20+default-devel = 0.9.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(chacha20) = 0.9.1 Processing files: rust-chacha20+std-devel-0.9.1-1.mga10.noarch Provides: crate(chacha20/std) = 0.9.1 rust-chacha20+std-devel = 0.9.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(chacha20) = 0.9.1 crate(cipher/std) >= 0.4.4 Processing files: rust-chacha20+zeroize-devel-0.9.1-1.mga10.noarch Provides: crate(chacha20/zeroize) = 0.9.1 rust-chacha20+zeroize-devel = 0.9.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(chacha20) = 0.9.1 crate(cipher/zeroize) >= 0.4.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-chacha20+default-devel-0.9.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-chacha20+zeroize-devel-0.9.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-chacha20+std-devel-0.9.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-chacha20-devel-0.9.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HIrKFY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/chacha20-0.9.1/README.md D: [iurt_root_command] Success!