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.M1KRwL Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oYzeNh + 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.mxKEtM + 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.b5ZDM3 + 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 Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b0547059fbd0fdc5 -C extra-filename=-2f5fba78a5d5b6fd --out-dir /home/pterjan/rpmbuild/BUILD/rust-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 cpufeatures v0.2.17 Compiling cfg-if v1.0.4 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=096ab3af7384a88e -C extra-filename=-b71b4b768f84de94 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/typenum-b71b4b768f84de94 -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=e35a7449e998a9b1 -C extra-filename=-21e89470d728c943 --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=08b529e5e0e8f31d -C extra-filename=-882b1cd97dcfd39c --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-b71b4b768f84de94/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=5857dc27b56a9705 -C extra-filename=-c40c23ce53c9a384 --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=3015fefa5c3a7b32 -C extra-filename=-ecc605d56ac91875 --out-dir /home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/build/generic-array-ecc605d56ac91875 -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-2f5fba78a5d5b6fd.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-ecc605d56ac91875/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=13ceaafab349f7c8 -C extra-filename=-372550244e36bde9 --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-c40c23ce53c9a384.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=36dcfb2443f195aa -C extra-filename=-e8f614e14450dd39 --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-372550244e36bde9.rmeta --extern typenum=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libtypenum-c40c23ce53c9a384.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=c6bdeee8c1ce8c23 -C extra-filename=-9dd5f21f0f8c0c2d --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-372550244e36bde9.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=e256aeab373470ae -C extra-filename=-a6fdc8a1538b75be --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-e8f614e14450dd39.rmeta --extern inout=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libinout-9dd5f21f0f8c0c2d.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=d3d55239d05ca0b2 -C extra-filename=-33e2cc53d39552d3 --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-882b1cd97dcfd39c.rmeta --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-a6fdc8a1538b75be.rmeta --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-21e89470d728c943.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.72s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IQOK8m + 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.VGscHo + 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 Fresh generic-array v0.14.7 Compiling blobby v0.3.1 Fresh cpufeatures v0.2.17 Fresh cfg-if v1.0.4 Compiling hex-literal v0.4.1 Fresh inout v0.1.3 Fresh crypto-common v0.1.6 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=ebebf78227300193 -C extra-filename=-35454d104b971af0 --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 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=88532776ad26b23b -C extra-filename=-bd304199fa1c4427 --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=bf5acd69fa728500 -C extra-filename=-dd4496f4970b8ed3 --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-35454d104b971af0.rmeta --extern crypto_common=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcrypto_common-e8f614e14450dd39.rmeta --extern inout=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libinout-9dd5f21f0f8c0c2d.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=7c19002cd7db8b30 -C extra-filename=-466ef42da0e77214 --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-882b1cd97dcfd39c.rmeta --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-dd4496f4970b8ed3.rmeta --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-21e89470d728c943.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=0df220ef3843a95f -C extra-filename=-a855ab5fe8b1eb7b --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-882b1cd97dcfd39c.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-dd4496f4970b8ed3.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-21e89470d728c943.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-bd304199fa1c4427.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=d5c1bfa2606eaa6c -C extra-filename=-6bdab8389be59bf1 --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-882b1cd97dcfd39c.rlib --extern chacha20=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libchacha20-466ef42da0e77214.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-dd4496f4970b8ed3.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-21e89470d728c943.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-bd304199fa1c4427.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 1.92s Running `/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/chacha20-a855ab5fe8b1eb7b` 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-6bdab8389be59bf1` running 9 tests test chacha20test::chacha20_encryption ... ok test chacha20_core ... ok test chacha20test::chacha20_keystream ... ok test xchacha20::xchacha20_encryption ... ok test xchacha20::xchacha20_keystream ... ok test chacha20_seek ... ok test chacha20legacy_seek ... ok test xchacha20::xchacha20_seek ... ok test xchacha20_seek ... 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-882b1cd97dcfd39c.rlib --extern chacha20=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libchacha20-466ef42da0e77214.rlib --extern cipher=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcipher-dd4496f4970b8ed3.rlib --extern cpufeatures=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libcpufeatures-21e89470d728c943.rlib --extern hex_literal=/home/pterjan/rpmbuild/BUILD/rust-chacha20-0.9.1-build/chacha20-0.9.1/target/rpm/deps/libhex_literal-bd304199fa1c4427.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.36s + 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+zeroize-devel-0.9.1-1.mga10.noarch.rpm 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+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.1TOJrf + 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!