Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/epel9-next-build-55063518-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5863fe0cfd844dbcbccb1d225d5300ee', '-D', '/var/lib/mock/epel9-next-build-55063518-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-7.el9.next.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/epel9-next-build-55063518-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '575cf389f9ce40a0a06bfdbccceabc4e', '-D', '/var/lib/mock/epel9-next-build-55063518-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NooQCK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ansi_term-0.12.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ansi_term-0.12.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ansi_term-0.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ansi_term-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + 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 /var/tmp/rpm-tmp.6rrYVa + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-7.el9.next.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/epel9-next-build-55063518-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'caf4351597fc4bd4aa026025f2a19c73', '-D', '/var/lib/mock/epel9-next-build-55063518-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JHIFPg + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-7.el9.next.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/epel9-next-build-55063518-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '175c03b39d6e48589fd959f660ad7156', '-D', '/var/lib/mock/epel9-next-build-55063518-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._j0377yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-ansi_term.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jZHvaf + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ou8myh + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.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 -j6 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling ansi_term v0.12.1 (/builddir/build/BUILD/ansi_term-0.12.1) 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)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' -C metadata=de63dcee8bfd4f9a -C extra-filename=-de63dcee8bfd4f9a --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/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:266:9 | 266 | 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 an object-safe 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, 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 an object-safe 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, T: io::Write + 'a> AnyWrite for T { | +++++++++++++++++++ ~ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:279:21 | 279 | 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 an object-safe trait, use `dyn` | 279 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:291:29 | 291 | 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 an object-safe trait, use `dyn` | 291 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:295:29 | 295 | 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 an object-safe trait, use `dyn` | 295 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:308:21 | 308 | 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 an object-safe trait, use `dyn` | 308 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:201:21 | 201 | 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 an object-safe trait, use `dyn` | 201 | let w: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:210:21 | 210 | 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 an object-safe trait, use `dyn` | 210 | let w: &mut dyn io::Write = w; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:229:21 | 229 | 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 an object-safe trait, use `dyn` | 229 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:239:21 | 239 | 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 an object-safe trait, use `dyn` | 239 | 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 0.70s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HAY7H3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64 + cd ansi_term-0.12.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.12.1 + REG_DIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/cargo/registry/ansi_term-0.12.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/cargo/registry/ansi_term-0.12.1 + gawk -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 /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/cargo/registry/ansi_term-0.12.1 warning: no (git) VCS found for `/builddir/build/BUILD/ansi_term-0.12.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/cargo/registry/ansi_term-0.12.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/cargo/registry/ansi_term-0.12.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VdsYL4 + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.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 -j6 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling memchr v2.7.4 Compiling serde v1.0.214 Compiling doc-comment v0.3.3 Compiling regex-syntax v0.8.5 Compiling serde_json v1.0.132 Compiling ryu v1.0.18 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.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="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=c4da43eac9a73dc9 -C extra-filename=-c4da43eac9a73dc9 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.214/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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=e8c281fc18d5eafe -C extra-filename=-e8c281fc18d5eafe --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/serde-e8c281fc18d5eafe -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.3/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)' --check-cfg 'cfg(feature, values("no_core", "old_macros"))' -C metadata=9b4307e730266594 -C extra-filename=-9b4307e730266594 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/doc-comment-9b4307e730266594 -L dependency=/builddir/build/BUILD/ansi_term-0.12.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 regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.5/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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=5821b00bec291f03 -C extra-filename=-5821b00bec291f03 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.132/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)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=ecd558222f59fa0e -C extra-filename=-ecd558222f59fa0e --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/serde_json-ecd558222f59fa0e -L dependency=/builddir/build/BUILD/ansi_term-0.12.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 ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.18/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)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=f6511a21121bbefc -C extra-filename=-f6511a21121bbefc --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/serde_json-ecd558222f59fa0e/build-script-build` Compiling itoa v1.0.11 Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.11/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)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=d3a43a2a14cd829c -C extra-filename=-d3a43a2a14cd829c --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -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:266:9 | 266 | 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 an object-safe 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, 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 an object-safe 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, T: io::Write + 'a> AnyWrite for T { | +++++++++++++++++++ ~ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:279:21 | 279 | 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 an object-safe trait, use `dyn` | 279 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:291:29 | 291 | 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 an object-safe trait, use `dyn` | 291 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:295:29 | 295 | 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 an object-safe trait, use `dyn` | 295 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:308:21 | 308 | 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 an object-safe trait, use `dyn` | 308 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:201:21 | 201 | 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 an object-safe trait, use `dyn` | 201 | let w: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:210:21 | 210 | 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 an object-safe trait, use `dyn` | 210 | let w: &mut dyn io::Write = w; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:229:21 | 229 | 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 an object-safe trait, use `dyn` | 229 | let f: &mut dyn fmt::Write = f; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:239:21 | 239 | 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 an object-safe trait, use `dyn` | 239 | 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 aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.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 --cfg 'feature="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=431bfbdfce6c1fa1 -C extra-filename=-431bfbdfce6c1fa1 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libmemchr-c4da43eac9a73dc9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/serde-e8c281fc18d5eafe/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.214/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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=82408f8482a98ef2 -C extra-filename=-82408f8482a98ef2 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --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_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/build/doc-comment-9b4307e730266594/build-script-build` Running `/usr/bin/rustc --crate-name doc_comment --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.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)' --check-cfg 'cfg(feature, values("no_core", "old_macros"))' -C metadata=dc115197735ea5e2 -C extra-filename=-dc115197735ea5e2 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex-automata v0.4.8 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.8/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="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=e91e44809a866800 -C extra-filename=-e91e44809a866800 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libaho_corasick-431bfbdfce6c1fa1.rmeta --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libmemchr-c4da43eac9a73dc9.rmeta --extern regex_syntax=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex_syntax-5821b00bec291f03.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.132/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)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=a9ab113faa13e909 -C extra-filename=-a9ab113faa13e909 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern itoa=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libitoa-d3a43a2a14cd829c.rmeta --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libmemchr-c4da43eac9a73dc9.rmeta --extern ryu=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libryu-f6511a21121bbefc.rmeta --extern serde=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde-82408f8482a98ef2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg 'fast_arithmetic="64"' --check-cfg 'cfg(fast_arithmetic, values("32", "64"))'` Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.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 --cfg 'feature="default"' --cfg 'feature="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=d9cc6b50639798b2 -C extra-filename=-d9cc6b50639798b2 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libaho_corasick-431bfbdfce6c1fa1.rmeta --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libmemchr-c4da43eac9a73dc9.rmeta --extern regex_automata=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex_automata-e91e44809a866800.rmeta --extern regex_syntax=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex_syntax-5821b00bec291f03.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ansi_term v0.12.1 (/builddir/build/BUILD/ansi_term-0.12.1) Running `/usr/bin/rustc --crate-name basic_colours --edition=2015 examples/basic_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)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' -C metadata=7d21deaa5a29dbbe -C extra-filename=-7d21deaa5a29dbbe --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libansi_term-de63dcee8bfd4f9a.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libdoc_comment-dc115197735ea5e2.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex-d9cc6b50639798b2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde_json-a9ab113faa13e909.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rgb_colours --edition=2015 examples/rgb_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)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' -C metadata=a03b7e5d8b84ffa5 -C extra-filename=-a03b7e5d8b84ffa5 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libansi_term-de63dcee8bfd4f9a.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libdoc_comment-dc115197735ea5e2.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex-d9cc6b50639798b2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde_json-a9ab113faa13e909.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' -C metadata=398824be864821b5 -C extra-filename=-398824be864821b5 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libdoc_comment-dc115197735ea5e2.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex-d9cc6b50639798b2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde_json-a9ab113faa13e909.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name 256_colours --edition=2015 examples/256_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)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' -C metadata=b62b783eb6a8c58f -C extra-filename=-b62b783eb6a8c58f --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/rpm/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libansi_term-de63dcee8bfd4f9a.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libdoc_comment-dc115197735ea5e2.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex-d9cc6b50639798b2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde_json-a9ab113faa13e909.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unused import: `style::Colour::*` --> src/display.rs:287:13 | 287 | pub use style::Colour::*; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `windows::*` --> src/lib.rs:266:9 | 266 | 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 30.98s Running `/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/ansi_term-398824be864821b5` running 58 tests test ansi::test::black ... ok test ansi::test::blink ... ok test ansi::test::blue_on_rgb ... ok test ansi::test::blue_underline ... ok test ansi::test::bold ... ok test ansi::test::cyan_bold_on_white ... ok test ansi::test::bunderline ... 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_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::green_bold_ul ... ok test ansi::test::red ... ok test ansi::test::purple_on_white_2 ... ok test ansi::test::reverse ... ok test ansi::test::rgb ... ok test ansi::test::rgb_on_blue ... ok test ansi::test::rgb_on_rgb ... ok test ansi::test::test_infix ... 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 ansi::test::yellow_on_blue_2 ... ok test debug::test::bold ... ok test debug::test::both ... ok test debug::test::empty ... ok test debug::test::everything ... ok test debug::test::italic ... 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::nothing2 ... ok test difference::test::removal_of_blink ... ok test difference::test::removal_of_dimmed ... ok test difference::test::removal_of_hidden ... ok test difference::test::removal_of_reverse ... ok test difference::test::removal_of_strikethrough ... ok test debug::test::long_and_detailed ... ok test display::tests::no_control_codes_for_plain ... ok test util::test::test ... ok test difference::test::uppercase ... ok test result: ok. 58 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 /builddir/build/BUILD/ansi_term-0.12.1 -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libansi_term-de63dcee8bfd4f9a.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libdoc_comment-dc115197735ea5e2.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libregex-d9cc6b50639798b2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/rpm/deps/libserde_json-a9ab113faa13e909.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("derive_serde_style", "serde"))' --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 47 tests test src/ansi.rs - ansi::Style::suffix (line 200) ... ok test src/ansi.rs - ansi::Colour::prefix (line 230) ... ok test src/ansi.rs - ansi::Style::prefix (line 151) ... ok test src/ansi.rs - ansi::Style::infix (line 176) ... ok test src/ansi.rs - ansi::Colour::suffix (line 265) ... ok test src/ansi.rs - ansi::Colour::infix (line 248) ... ok test src/display.rs - display::ANSIString (line 75) ... ok test src/display.rs - display::ANSIString (line 83) ... ok test src/debug.rs - debug::Style (line 11) ... ok test src/display.rs - display::Colour::paint (line 181) ... ok test src/display.rs - display::ANSIGenericString<'a,S> (line 27) ... ok test src/lib.rs - (line 127) ... ok test src/lib.rs - (line 112) ... ok test src/lib.rs - (line 152) ... ok test src/lib.rs - (line 184) ... ok test src/lib.rs - (line 21) ... ok test src/lib.rs - (line 193) ... ok test src/lib.rs - (line 51) ... ok test src/lib.rs - (line 36) ... ok test src/lib.rs - (line 81) ... ok test src/lib.rs - (line 63) ... ok test src/style.rs - style::Colour::blink (line 392) ... ok test src/lib.rs - (line 97) ... ok test src/style.rs - style::Colour::bold (line 332) ... ok test src/style.rs - style::Colour::dimmed (line 347) ... ok test src/style.rs - style::Colour::hidden (line 422) ... ok test src/style.rs - style::Colour::italic (line 362) ... ok test src/style.rs - style::Colour::normal (line 317) ... ok test src/style.rs - style::Colour::on (line 452) ... ok test src/style.rs - style::Colour::reverse (line 407) ... ok test src/style.rs - style::Colour::underline (line 377) ... ok test src/style.rs - style::Colour::strikethrough (line 437) ... ok test src/style.rs - style::Style (line 6) ... ok test src/style.rs - style::Style::bold (line 67) ... ok test src/style.rs - style::Style::blink (line 122) ... ok test src/style.rs - style::Style::fg (line 178) ... ok test src/style.rs - style::Style::dimmed (line 81) ... ok test src/style.rs - style::Style::default (line 223) ... ok test src/style.rs - style::Style::from (line 468) ... ok test src/style.rs - style::Style::is_plain (line 207) ... ok test src/style.rs - style::Style::hidden (line 150) ... ok test src/style.rs - style::Style::italic (line 95) ... ok test src/style.rs - style::Style::new (line 53) ... ok test src/style.rs - style::Style::on (line 192) ... ok test src/style.rs - style::Style::reverse (line 136) ... ok test src/style.rs - style::Style::strikethrough (line 164) ... ok test src/style.rs - style::Style::underline (line 109) ... ok test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.59s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-ansi_term-devel-0.12.1-7.el9.next.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KaFeiT + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/doc/rust-ansi_term-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/doc/rust-ansi_term-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/doc/rust-ansi_term-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xFrdkC + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/licenses/rust-ansi_term-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/licenses/rust-ansi_term-devel + cp -pr LICENCE /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64/usr/share/licenses/rust-ansi_term-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(ansi_term) = 0.12.1 rust-ansi_term-devel = 0.12.1-7.el9.next 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_term+default-devel-0.12.1-7.el9.next.noarch Provides: crate(ansi_term/default) = 0.12.1 rust-ansi_term+default-devel = 0.12.1-7.el9.next 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.12.1 Processing files: rust-ansi_term+derive_serde_style-devel-0.12.1-7.el9.next.noarch Provides: crate(ansi_term/derive_serde_style) = 0.12.1 rust-ansi_term+derive_serde_style-devel = 0.12.1-7.el9.next 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.12.1 crate(ansi_term/serde) = 0.12.1 Processing files: rust-ansi_term+serde-devel-0.12.1-7.el9.next.noarch Provides: crate(ansi_term/serde) = 0.12.1 rust-ansi_term+serde-devel = 0.12.1-7.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde/default) >= 1.0.90 with crate(serde/default) < 2.0.0~) (crate(serde/derive) >= 1.0.90 with crate(serde/derive) < 2.0.0~) cargo crate(ansi_term) = 0.12.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-7.el9.next.x86_64 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-7.el9.next.src.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+default-devel-0.12.1-7.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+serde-devel-0.12.1-7.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+derive_serde_style-devel-0.12.1-7.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term-devel-0.12.1-7.el9.next.noarch.rpm Child return code was: 0