D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-itertools0.8-0.8.2-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5WF8tl Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V6DaBw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + rm -rf itertools-0.8.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/itertools-0.8.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd itertools-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bEoBK1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + cd itertools-0.8.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RTeK0Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-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 itertools-0.8.2 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling either v1.15.0 Running `/usr/bin/rustc --crate-name either --edition=2021 /usr/share/cargo/registry/either-1.15.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("default", "serde", "std", "use_std"))' -C metadata=54146316eebbce73 -C extra-filename=-9b4b8a257a19be3f --out-dir /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling itertools v0.8.2 (/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2) Running `/usr/bin/rustc --crate-name itertools --edition=2015 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="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=4729b92291505f47 -C extra-filename=-b1656763eeb156b2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2/target/rpm/deps/libeither-9b4b8a257a19be3f.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:60:13 | 60 | try!(format(fst, &mut |disp: &fmt::Display| disp.fmt(f))); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:66:17 | 66 | try!(format(elt, &mut |disp: &fmt::Display| disp.fmt(f))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:64:21 | 64 | try!(f.write_str(self.sep)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:85:13 | 85 | try!(cb(&fst, f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:90:17 | 90 | try!(cb(&elt, f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/format.rs:88:21 | 88 | try!(f.write_str(self.sep)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:1847:25 | 1847 | let mut x = try!(inner0(it, f)); | ^^^ warning: `#[must_use]` has no effect when applied to a type alias --> src/adaptors/mod.rs:485:1 | 485 | #[must_use = "iterator adaptors are lazy and do nothing unless consumed"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_attributes)]` on by default warning: `#[must_use]` has no effect when applied to a type alias --> src/kmerge_impl.rs:114:1 | 114 | #[must_use = "iterator adaptors are lazy and do nothing unless consumed"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1659:41 | 1659 | F: FnMut(Self::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 1659 | F: FnMut(Self::Item, &mut dyn FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1659:48 | 1659 | F: FnMut(Self::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 1659 | F: FnMut(Self::Item, &mut FnMut(&dyn fmt::Display) -> fmt::Result) -> fmt::Result, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:32:34 | 32 | F: FnMut(I::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 32 | F: FnMut(I::Item, &mut dyn FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:32:41 | 32 | F: FnMut(I::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 32 | F: FnMut(I::Item, &mut FnMut(&dyn fmt::Display) -> fmt::Result) -> fmt::Result | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:51:34 | 51 | F: FnMut(I::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 51 | F: FnMut(I::Item, &mut dyn FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:51:41 | 51 | F: FnMut(I::Item, &mut FnMut(&fmt::Display) -> fmt::Result) -> fmt::Result | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 51 | F: FnMut(I::Item, &mut FnMut(&dyn fmt::Display) -> fmt::Result) -> fmt::Result | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:60:43 | 60 | try!(format(fst, &mut |disp: &fmt::Display| disp.fmt(f))); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 60 | try!(format(fst, &mut |disp: &dyn fmt::Display| disp.fmt(f))); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/format.rs:66:47 | 66 | try!(format(elt, &mut |disp: &fmt::Display| disp.fmt(f))); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 66 | try!(format(elt, &mut |disp: &dyn fmt::Display| disp.fmt(f))); | +++ warning: `itertools` (lib) generated 17 warnings (run `cargo fix --lib -p itertools` to apply 8 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.15s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SKWxDC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-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 itertools-0.8.2 + '[' 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=itertools ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.8.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT/usr/share/cargo/registry/itertools-0.8.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT/usr/share/cargo/registry/itertools-0.8.2 + /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-itertools0.8-0.8.2-build/BUILDROOT/usr/share/cargo/registry/itertools-0.8.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/itertools-0.8.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT/usr/share/cargo/registry/itertools-0.8.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT/usr/share/cargo/registry/itertools-0.8.2/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 Processing files: rust-itertools0.8-devel-0.8.2-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/itertools-0.8.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/itertools-0.8.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/itertools-0.8.2/README.rst Provides: crate(itertools) = 0.8.2 rust-itertools0.8-devel = 0.8.2-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(either) >= 1.0.0 Processing files: rust-itertools0.8+default-devel-0.8.2-0.1.mga10.noarch Provides: crate(itertools/default) = 0.8.2 rust-itertools0.8+default-devel = 0.8.2-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(itertools) = 0.8.2 crate(itertools/use_std) = 0.8.2 Processing files: rust-itertools0.8+use_std-devel-0.8.2-0.1.mga10.noarch Provides: crate(itertools/use_std) = 0.8.2 rust-itertools0.8+use_std-devel = 0.8.2-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(itertools) = 0.8.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-itertools0.8+use_std-devel-0.8.2-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-itertools0.8+default-devel-0.8.2-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-itertools0.8-devel-0.8.2-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u78Ml7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-itertools0.8-0.8.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/itertools-0.8.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/itertools-0.8.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/itertools-0.8.2/README.rst D: [iurt_root_command] Success!