D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-arrayvec-0.7.6-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HqEewD Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AaXP66 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + rm -rf arrayvec-0.7.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/arrayvec-0.7.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd arrayvec-0.7.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/arrayvec-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.A4IPvr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + cd arrayvec-0.7.6 + /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.wYJwib + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-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 arrayvec-0.7.6 + '[' 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 arrayvec v0.7.6 (/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6) Running `/usr/bin/rustc --crate-name arrayvec --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=21cf8a404f4b7e35 -C extra-filename=-3be68b52f518ec32 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `borsh` --> src/arrayvec.rs:1316:7 | 1316 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `borsh` --> src/arrayvec.rs:1327:7 | 1327 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `borsh` --> src/array_string.rs:640:7 | 640 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `borsh` --> src/array_string.rs:648:7 | 648 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/arrayvec.rs:605:21 | 605 | pub fn drain(&mut self, range: R) -> Drain | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 605 | pub fn drain(&mut self, range: R) -> Drain<'_, T, CAP> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/arrayvec.rs:632:20 | 632 | fn drain_range(&mut self, start: usize, end: usize) -> Drain | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 632 | fn drain_range(&mut self, start: usize, end: usize) -> Drain<'_, T, CAP> | +++ warning: `arrayvec` (lib) generated 6 warnings (run `cargo fix --lib -p arrayvec` to apply 2 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 5.31s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3z3E8w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-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 arrayvec-0.7.6 + '[' 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=arrayvec ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.6 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT/usr/share/cargo/registry/arrayvec-0.7.6 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT/usr/share/cargo/registry/arrayvec-0.7.6 + /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-arrayvec-0.7.6-build/BUILDROOT/usr/share/cargo/registry/arrayvec-0.7.6 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT/usr/share/cargo/registry/arrayvec-0.7.6/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT/usr/share/cargo/registry/arrayvec-0.7.6/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.Vu3Pwi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-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 arrayvec-0.7.6 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling serde_core v1.0.228 Compiling serde v1.0.228 Compiling matches v0.1.10 warning: unexpected `cfg` condition value: `borsh` --> src/arrayvec.rs:1316:7 | 1316 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `borsh` --> src/arrayvec.rs:1327:7 | 1327 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `borsh` --> src/array_string.rs:640:7 | 640 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `borsh` --> src/array_string.rs:648:7 | 648 | #[cfg(feature = "borsh")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `serde`, `std`, and `zeroize` = help: consider adding `borsh` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/arrayvec.rs:605:21 | 605 | pub fn drain(&mut self, range: R) -> Drain | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 605 | pub fn drain(&mut self, range: R) -> Drain<'_, T, CAP> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/arrayvec.rs:632:20 | 632 | fn drain_range(&mut self, start: usize, end: usize) -> Drain | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 632 | fn drain_range(&mut self, start: usize, end: usize) -> Drain<'_, T, CAP> | +++ Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=308b9d7726f3066f -C extra-filename=-2d14eb444e845067 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/build/serde_core-2d14eb444e845067 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/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=2021 /usr/share/cargo/registry/serde-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=6d149103527dcc26 -C extra-filename=-dd7c4e8a46954bcf --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/build/serde-dd7c4e8a46954bcf -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/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 matches --edition=2015 /usr/share/cargo/registry/matches-0.1.10/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=0e89e50e7a5c4931 -C extra-filename=-257613e5cf1883af --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `arrayvec` (lib) generated 6 warnings (run `cargo fix --lib -p arrayvec` to apply 2 suggestions) Running `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/build/serde-dd7c4e8a46954bcf/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/build/serde_core-2d14eb444e845067/build-script-build` Running `/usr/bin/rustc --crate-name serde_core --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=731d2b18cc4eb5f8 -C extra-filename=-f6a423b8b918e323 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name serde --edition=2021 /usr/share/cargo/registry/serde-1.0.228/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=7050738146f2930c -C extra-filename=-be3fcda3a005f5cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde_core-f6a423b8b918e323.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg if_docsrs_then_no_serde_core --check-cfg 'cfg(feature, values("result"))' --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling serde_test v1.0.177 Running `/usr/bin/rustc --crate-name serde_test --edition=2021 /usr/share/cargo/registry/serde_test-1.0.177/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=c115e3bcb1397e2c -C extra-filename=-ccfca02dfc36d8f8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde-be3fcda3a005f5cf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling arrayvec v0.7.6 (/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6) Running `/usr/bin/rustc --crate-name arrayvec --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=31a4673e70cf43c3 -C extra-filename=-8562db088c7e323a --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern matches=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libmatches-257613e5cf1883af.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde_test-ccfca02dfc36d8f8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde --edition=2018 tests/serde.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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=c8ec8ead117d7eda -C extra-filename=-bc1f74c3ea379075 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern arrayvec=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libarrayvec-3be68b52f518ec32.rlib --extern matches=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libmatches-257613e5cf1883af.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde_test-ccfca02dfc36d8f8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=9bfed6df4afc1d73 -C extra-filename=-7e6848979297fda5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern arrayvec=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libarrayvec-3be68b52f518ec32.rlib --extern matches=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libmatches-257613e5cf1883af.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde_test-ccfca02dfc36d8f8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `arrayvec` (lib test) generated 6 warnings (6 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.48s Running `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/arrayvec-8562db088c7e323a` running 2 tests test char::test_encode_utf8_oob ... ok test char::test_encode_utf8 ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/serde-bc1f74c3ea379075` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/tests-7e6848979297fda5` running 49 tests test deny_max_capacity_arrayvec_value_const - should panic ... ok test deny_max_capacity_arrayvec_value - should panic ... ok test test_arraystring_zero_filled_has_some_sanity_checks ... ok test test_arrayvec_const_constructible ... ok test allow_max_capacity_arrayvec_type ... ok test array_clone_from ... ok test test_capacity_left ... ok test test_arraystring_const_constructible ... ok test test_compact_size ... ok test test_default ... ok test test_drain ... ok test test_drain_oob - should panic ... ok test test_drain_range_inclusive ... ok test test_drain_range_inclusive_oob - should panic ... ok test test_drop ... ok test test_drop_in_insert ... ok test test_drop_panic - should panic ... ok test test_drop_panic_into_iter - should panic ... ok test test_drop_panics ... ok test test_extend ... ok test test_extend_capacity_panic_1 - should panic ... ok test test_extend_capacity_panic_2 - should panic ... ok test test_extend_from_slice ... ok test test_extend_from_slice_error ... ok test test_extend_zst ... ok test test_insert ... ok test test_insert_at_length ... ok test test_insert_out_of_bounds - should panic ... ok test test_into_inner_1 ... ok test test_into_inner_2 ... ok test test_into_inner_3 ... ok test test_is_send_sync ... ok test test_iter ... ok test test_pop_at ... ok test test_retain ... ok test test_simple ... ok test test_still_works_with_option_arrayvec ... ok test test_sizes ... ok test test_string ... ok test test_string_clone ... ok test test_string_from ... ok test test_string_from_bytes ... ok test test_string_parse_from_str ... ok test test_string_push ... ok test test_take ... ok test test_try_from_argument ... ok test test_try_from_slice_error ... ok test test_u16_index ... ok test test_write ... ok test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests arrayvec Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name arrayvec --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps --extern arrayvec=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libarrayvec-3be68b52f518ec32.rlib --extern matches=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libmatches-257613e5cf1883af.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/arrayvec-0.7.6/target/rpm/deps/libserde_test-ccfca02dfc36d8f8.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' --error-format human` running 42 tests test src/array_string.rs - array_string::ArrayString::remove (line 362) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::drain (line 597) ... ok test src/arrayvec.rs - arrayvec::ArrayVec (line 773) ... ok test src/array_string.rs - array_string::ArrayString::push (line 197) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::push_unchecked (line 216) ... ok test src/array_string.rs - array_string::ArrayString::zero_filled (line 138) ... ok test src/array_string.rs - array_string::ArrayString::from_byte_string (line 118) ... ok test src/array_string.rs - array_string::ArrayString::try_push (line 218) ... ok test src/array_string.rs - array_string::ArrayString::from (line 100) ... ok test src/array_string.rs - array_string::ArrayString::remaining_capacity (line 182) ... ok test src/arrayvec.rs - arrayvec::&'aArrayVec (line 800) ... ok test src/array_string.rs - array_string::ArrayString::new_const (line 76) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::is_full (line 141) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::try_extend_from_slice (line 553) ... ok test src/array_string.rs - array_string::ArrayString::truncate (line 332) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::len (line 106) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::try_insert (line 298) ... ok test src/array_string.rs - array_string::ArrayString::new (line 57) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::swap_remove (line 361) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::pop_at (line 432) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::new_const (line 94) ... ok test src/array_string.rs - array_string::ArrayString::is_full (line 170) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::capacity (line 130) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::remove (line 411) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::insert (line 274) ... ok test src/arrayvec.rs - arrayvec::ArrayVec (line 748) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::is_empty (line 118) ... ok test src/arrayvec.rs - arrayvec::ArrayVec (line 836) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::swap_pop (line 386) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::pop (line 339) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::truncate (line 240) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::push (line 168) ... ok test src/array_string.rs - array_string::ArrayString::capacity (line 159) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::retain (line 457) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::take (line 678) ... ok test src/array_string.rs - array_string::ArrayString::try_push_str (line 270) ... ok test src/array_string.rs - array_string::ArrayString::push_str (line 249) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::try_push (line 188) ... ok test src/array_string.rs - array_string::ArrayString::pop (line 302) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::new (line 72) ... ok test src/arrayvec.rs - arrayvec::ArrayVec::remaining_capacity (line 153) ... ok test src/arrayvec.rs - arrayvec::&'amutArrayVec (line 817) ... ok test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-arrayvec-devel-0.7.6-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/README.md Provides: crate(arrayvec) = 0.7.6 rust-arrayvec-devel = 0.7.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.51 Processing files: rust-arrayvec+default-devel-0.7.6-1.mga10.noarch Provides: crate(arrayvec/default) = 0.7.6 rust-arrayvec+default-devel = 0.7.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(arrayvec) = 0.7.6 crate(arrayvec/std) = 0.7.6 Processing files: rust-arrayvec+serde-devel-0.7.6-1.mga10.noarch Provides: crate(arrayvec/serde) = 0.7.6 rust-arrayvec+serde-devel = 0.7.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(arrayvec) = 0.7.6 crate(serde) >= 1.0.0 Processing files: rust-arrayvec+std-devel-0.7.6-1.mga10.noarch Provides: crate(arrayvec/std) = 0.7.6 rust-arrayvec+std-devel = 0.7.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(arrayvec) = 0.7.6 Processing files: rust-arrayvec+zeroize-devel-0.7.6-1.mga10.noarch Provides: crate(arrayvec/zeroize) = 0.7.6 rust-arrayvec+zeroize-devel = 0.7.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(arrayvec) = 0.7.6 crate(zeroize) >= 1.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-arrayvec+default-devel-0.7.6-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-arrayvec+std-devel-0.7.6-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-arrayvec+zeroize-devel-0.7.6-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-arrayvec+serde-devel-0.7.6-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-arrayvec-devel-0.7.6-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2RtYUB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + test -d /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-arrayvec-0.7.6-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/CHANGELOG.md File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/LICENSE-MIT File listed twice: /usr/share/cargo/registry/arrayvec-0.7.6/README.md D: [iurt_root_command] Success!