D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-ansi_term0.11-0.11.0-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.63c9Mm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fb4DTD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + rm -rf ansi_term-0.11.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ansi_term-0.11.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd ansi_term-0.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + grep -IUlr $'\r' + xargs sed -i 's/\r$//' + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ansi_term-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-failing-test.patch + /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.QrV48y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + cd ansi_term-0.11.0 + /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.r8FfTz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-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 ansi_term-0.11.0 + '[' 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 ansi_term v0.11.0 (/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0) Running `/usr/bin/rustc --crate-name ansi_term --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=502b980c75d157c3 -C extra-filename=-905f5714a6c40ac2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: associated type `wstr` should have an upper camel case name --> src/write.rs:6:10 | 6 | type wstr: ?Sized; | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wstr` | = note: `#[warn(non_camel_case_types)]` on by default warning: unused import: `windows::*` --> src/lib.rs:203:9 | 203 | pub use windows::*; | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:15:23 | 15 | impl<'a> AnyWrite for fmt::Write + 'a { | ^^^^^^^^^^^^^^^ | = 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` | 15 | impl<'a> AnyWrite for dyn fmt::Write + 'a { | +++ help: alternatively use a blanket implementation to implement `AnyWrite` for all types that also implement `fmt::Write + 'a` | 15 - impl<'a> AnyWrite for fmt::Write + 'a { 15 + impl<'a, T: fmt::Write + 'a> AnyWrite for T { | warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:29:23 | 29 | impl<'a> AnyWrite for io::Write + 'a { | ^^^^^^^^^^^^^^ | = 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` | 29 | impl<'a> AnyWrite for dyn io::Write + 'a { | +++ help: alternatively use a blanket implementation to implement `AnyWrite` for all types that also implement `io::Write + 'a` | 29 - impl<'a> AnyWrite for io::Write + 'a { 29 + impl<'a, T: io::Write + 'a> AnyWrite for T { | warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:171:21 | 171 | let f: &mut fmt::Write = 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` | 171 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:183:29 | 183 | let f: &mut fmt::Write = 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` | 183 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:187:29 | 187 | let f: &mut fmt::Write = 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` | 187 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:200:21 | 200 | let f: &mut fmt::Write = 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` | 200 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:184:21 | 184 | let w: &mut fmt::Write = 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` | 184 | let w: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:193:21 | 193 | let w: &mut io::Write = w; | ^^^^^^^^^ | = 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` | 193 | let w: &mut dyn io::Write = w; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:212:21 | 212 | let f: &mut fmt::Write = 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` | 212 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:222:21 | 222 | let w: &mut io::Write = w; | ^^^^^^^^^ | = 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` | 222 | let w: &mut dyn io::Write = w; | +++ warning: `ansi_term` (lib) generated 12 warnings (run `cargo fix --lib -p ansi_term` to apply 11 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.37s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aNNL6Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-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 ansi_term-0.11.0 + '[' 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=ansi_term ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.11.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT/usr/share/cargo/registry/ansi_term-0.11.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT/usr/share/cargo/registry/ansi_term-0.11.0 + /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-ansi_term0.11-0.11.0-build/BUILDROOT/usr/share/cargo/registry/ansi_term-0.11.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT/usr/share/cargo/registry/ansi_term-0.11.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT/usr/share/cargo/registry/ansi_term-0.11.0/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.GkX4yE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-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 ansi_term-0.11.0 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 warning: associated type `wstr` should have an upper camel case name --> src/write.rs:6:10 | 6 | type wstr: ?Sized; | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wstr` | = note: `#[warn(non_camel_case_types)]` on by default warning: unused import: `windows::*` --> src/lib.rs:203:9 | 203 | pub use windows::*; | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:15:23 | 15 | impl<'a> AnyWrite for fmt::Write + 'a { | ^^^^^^^^^^^^^^^ | = 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` | 15 | impl<'a> AnyWrite for dyn fmt::Write + 'a { | +++ help: alternatively use a blanket implementation to implement `AnyWrite` for all types that also implement `fmt::Write + 'a` | 15 - impl<'a> AnyWrite for fmt::Write + 'a { 15 + impl<'a, T: fmt::Write + 'a> AnyWrite for T { | warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:29:23 | 29 | impl<'a> AnyWrite for io::Write + 'a { | ^^^^^^^^^^^^^^ | = 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` | 29 | impl<'a> AnyWrite for dyn io::Write + 'a { | +++ help: alternatively use a blanket implementation to implement `AnyWrite` for all types that also implement `io::Write + 'a` | 29 - impl<'a> AnyWrite for io::Write + 'a { 29 + impl<'a, T: io::Write + 'a> AnyWrite for T { | warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:171:21 | 171 | let f: &mut fmt::Write = 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` | 171 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:183:29 | 183 | let f: &mut fmt::Write = 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` | 183 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:187:29 | 187 | let f: &mut fmt::Write = 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` | 187 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:200:21 | 200 | let f: &mut fmt::Write = 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` | 200 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:184:21 | 184 | let w: &mut fmt::Write = 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` | 184 | let w: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:193:21 | 193 | let w: &mut io::Write = w; | ^^^^^^^^^ | = 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` | 193 | let w: &mut dyn io::Write = w; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:212:21 | 212 | let f: &mut fmt::Write = 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` | 212 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:222:21 | 222 | let w: &mut io::Write = w; | ^^^^^^^^^ | = 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` | 222 | let w: &mut dyn io::Write = w; | +++ warning: `ansi_term` (lib) generated 12 warnings (run `cargo fix --lib -p ansi_term` to apply 11 suggestions) Compiling ansi_term v0.11.0 (/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0) Running `/usr/bin/rustc --crate-name ansi_term --edition=2015 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())' -C metadata=2afa8f03d2d28d15 -C extra-filename=-9b778fbc56b621aa --out-dir /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name colours --edition=2015 examples/colours.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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=e614896fbabd2cda -C extra-filename=-cdf8aa512d75ad81 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps --extern ansi_term=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps/libansi_term-905f5714a6c40ac2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unused import: `style::Colour::*` --> src/display.rs:270:13 | 270 | pub use style::Colour::*; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `windows::*` --> src/lib.rs:203:9 | 203 | pub use windows::*; | ^^^^^^^^^^ warning: `ansi_term` (lib test) generated 13 warnings (11 duplicates) (run `cargo fix --lib -p ansi_term --tests` to apply 2 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.68s Running `/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps/ansi_term-9b778fbc56b621aa` running 56 tests test ansi::test::black ... ok test ansi::test::blue_on_rgb ... ok test ansi::test::blink ... ok test ansi::test::blue_underline ... ok test ansi::test::bold ... ok test ansi::test::bunderline ... ok test ansi::test::cyan_bold_on_white ... ok test ansi::test::cyan_bold_ul_on_white ... ok test ansi::test::cyan_ul_bold_on_white ... ok test ansi::test::cyan_ul_on_white ... ok test ansi::test::dimmed ... ok test ansi::test::fixed ... ok test ansi::test::fixed_on_fixed ... ok test ansi::test::fixed_on_purple ... ok test ansi::test::green_bold_ul ... ok test ansi::test::green_bold_ul_2 ... ok test ansi::test::hidden ... ok test ansi::test::italic ... ok test ansi::test::plain ... ok test ansi::test::purple_on_white ... ok test ansi::test::purple_on_white_2 ... ok test ansi::test::red ... ok test ansi::test::reverse ... ok test ansi::test::rgb_on_blue ... ok test ansi::test::rgb ... ok test ansi::test::rgb_on_rgb ... ok test ansi::test::stricken ... ok test ansi::test::underline ... ok test ansi::test::yellow_bold ... ok test ansi::test::yellow_bold_2 ... ok test ansi::test::yellow_on_blue ... ok test debug::test::bold ... ok test ansi::test::yellow_on_blue_2 ... ok test debug::test::both ... ok test debug::test::empty ... ok test debug::test::everything ... ok test debug::test::italic ... ok test debug::test::long_and_detailed ... ok test debug::test::red ... ok test debug::test::redblue ... ok test difference::test::addition_of_blink ... ok test difference::test::addition_of_dimmed ... ok test difference::test::addition_of_hidden ... ok test difference::test::addition_of_reverse ... ok test difference::test::addition_of_strikethrough ... ok test difference::test::colour_change ... ok test difference::test::lowercase ... ok test difference::test::nothing ... ok test difference::test::removal_of_blink ... ok test difference::test::removal_of_dimmed ... ok test difference::test::nothing2 ... ok test difference::test::removal_of_hidden ... ok test difference::test::removal_of_strikethrough ... ok test display::tests::no_control_codes_for_plain ... ok test difference::test::removal_of_reverse ... ok test difference::test::uppercase ... ok test result: ok. 56 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ansi_term Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name ansi_term --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps --extern ansi_term=/home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/ansi_term-0.11.0/target/rpm/deps/libansi_term-905f5714a6c40ac2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` warning: associated type `wstr` should have an upper camel case name --> src/write.rs:6:10 | 6 | type wstr: ?Sized; | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wstr` | = note: `#[warn(non_camel_case_types)]` on by default warning: 1 warning emitted running 18 tests test src/display.rs - display::ANSIString (line 75) - compile ... ok test src/lib.rs - (line 20) ... ok test src/lib.rs - (line 105) ... ok test src/lib.rs - (line 68) ... ok test src/lib.rs - (line 54) ... ok test src/style.rs - style::Style::default (line 105) ... ok test src/display.rs - display::Colour::paint (line 165) ... ok test src/lib.rs - (line 93) ... ok test src/lib.rs - (line 81) ... ok test src/display.rs - display::ANSIGenericString<'a,S> (line 27) ... ok test src/style.rs - style::Style::from (line 249) ... ok test src/lib.rs - (line 127) ... ok test src/debug.rs - debug::Style (line 12) ... ok test src/lib.rs - (line 32) ... ok test src/display.rs - display::ANSIString (line 83) ... ok test src/lib.rs - (line 155) ... ok test src/lib.rs - (line 45) ... ok test src/lib.rs - (line 161) ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-ansi_term0.11-devel-0.11.0-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/ansi_term-0.11.0/LICENCE warning: File listed twice: /usr/share/cargo/registry/ansi_term-0.11.0/README.md Provides: crate(ansi_term) = 0.11.0 rust-ansi_term0.11-devel = 0.11.0-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-ansi_term0.11+default-devel-0.11.0-0.1.mga10.noarch Provides: crate(ansi_term/default) = 0.11.0 rust-ansi_term0.11+default-devel = 0.11.0-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(ansi_term) = 0.11.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-ansi_term0.11+default-devel-0.11.0-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-ansi_term0.11-devel-0.11.0-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QV4bl6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-ansi_term0.11-0.11.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/ansi_term-0.11.0/LICENCE File listed twice: /usr/share/cargo/registry/ansi_term-0.11.0/README.md D: [iurt_root_command] Success!