Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '748d22c137354171b2796a9d0f32651a', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1642723200 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '306d6d87e9154ca4a615a4988eecabe9', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HN097q + 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 -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ELWoVg + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-6.el9.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '4491060c48544cd78c4a9dbe805e423f', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6kGTIs + 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 -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fW70JR + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-6.el9.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-ansi_term.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'ae121af25bd94fb1ab1b7bb59bcb880c', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655724034.183466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ao6wwkya:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1642723200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Eaxeym + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wZnJbq + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling ansi_term v0.12.1 (/builddir/build/BUILD/ansi_term-0.12.1) Running `/usr/bin/rustc --crate-name ansi_term src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c249e98f0b89a9a7 -C extra-filename=-c249e98f0b89a9a7 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:279:21 | 279 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:291:29 | 291 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:295:29 | 295 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:308:21 | 308 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:201:21 | 201 | let w: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:210:21 | 210 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:229:21 | 229 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:239:21 | 239 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see 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: trait objects without an explicit `dyn` are deprecated --> src/write.rs:15:23 | 15 | impl<'a> AnyWrite for fmt::Write + 'a { | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn 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 warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:29:23 | 29 | impl<'a> AnyWrite for io::Write + 'a { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn 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 warning: unused attribute --> src/lib.rs:234:1 | 234 | #![crate_type = "dylib"] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | = note: `#[warn(unused_attributes)]` on by default note: attribute also specified here --> src/lib.rs:233:1 | 233 | #![crate_type = "rlib"] | ^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! warning: `ansi_term` (lib) generated 12 warnings Finished release [optimized] target(s) in 0.75s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q5sKyA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64 + cd ansi_term-0.12.1 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=ansi_term ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.12.1 + REG_DIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64/usr/share/cargo/registry/ansi_term-0.12.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64/usr/share/cargo/registry/ansi_term-0.12.1 + grep -w -E -v 'Cargo.(lock|toml.orig)' 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-6.el9.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-6.el9.x86_64/usr/share/cargo/registry/ansi_term-0.12.1/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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.hZsgdP + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast Compiling memchr v2.4.1 Compiling ryu v1.0.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/memchr-2.4.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8e4edbf96b06bdf7 -C extra-filename=-8e4edbf96b06bdf7 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/build/memchr-8e4edbf96b06bdf7 -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/ryu-1.0.5/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=446acd5c2c4ae7d3 -C extra-filename=-446acd5c2c4ae7d3 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/build/ryu-446acd5c2c4ae7d3 -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling serde v1.0.130 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/serde-1.0.130/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=a9e9bd9772590fea -C extra-filename=-a9e9bd9772590fea --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/build/serde-a9e9bd9772590fea -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling serde_json v1.0.72 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde_json-1.0.72/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=9128273b8d810b92 -C extra-filename=-9128273b8d810b92 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/build/serde_json-9128273b8d810b92 -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling doc-comment v0.3.3 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/doc-comment-0.3.3/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=4cd496a40f865226 -C extra-filename=-4cd496a40f865226 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/build/doc-comment-4cd496a40f865226 -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling regex-syntax v0.6.25 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2018 /usr/share/cargo/registry/regex-syntax-0.6.25/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --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"' -C metadata=4e68e4de2ca37ea6 -C extra-filename=-4e68e4de2ca37ea6 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling itoa v0.4.8 Running `/usr/bin/rustc --crate-name itoa /usr/share/cargo/registry/itoa-0.4.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=f145520be3b4a693 -C extra-filename=-f145520be3b4a693 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:279:21 | 279 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:291:29 | 291 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:295:29 | 295 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/ansi.rs:308:21 | 308 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:201:21 | 201 | let w: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:210:21 | 210 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:229:21 | 229 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/display.rs:239:21 | 239 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see 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: trait objects without an explicit `dyn` are deprecated --> src/write.rs:15:23 | 15 | impl<'a> AnyWrite for fmt::Write + 'a { | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn 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 warning: trait objects without an explicit `dyn` are deprecated --> src/write.rs:29:23 | 29 | impl<'a> AnyWrite for io::Write + 'a { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn 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 warning: unused attribute --> src/lib.rs:234:1 | 234 | #![crate_type = "dylib"] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | = note: `#[warn(unused_attributes)]` on by default note: attribute also specified here --> src/lib.rs:233:1 | 233 | #![crate_type = "rlib"] | ^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! warning: `ansi_term` (lib) generated 12 warnings Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/build/memchr-8e4edbf96b06bdf7/build-script-build` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/build/ryu-446acd5c2c4ae7d3/build-script-build` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/build/serde-a9e9bd9772590fea/build-script-build` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/build/serde_json-9128273b8d810b92/build-script-build` Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/build/doc-comment-4cd496a40f865226/build-script-build` Running `/usr/bin/rustc --crate-name memchr --edition=2018 /usr/share/cargo/registry/memchr-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a44945648ebcac0c -C extra-filename=-a44945648ebcac0c --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx` Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c764386ac8fc7a57 -C extra-filename=-c764386ac8fc7a57 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg integer128 --cfg maybe_uninit` Running `/usr/bin/rustc --crate-name serde /usr/share/cargo/registry/serde-1.0.130/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=013308e1039e8bf6 -C extra-filename=-013308e1039e8bf6 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg ops_bound --cfg core_reverse --cfg de_boxed_c_str --cfg de_boxed_path --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg range_inclusive --cfg iterator_try_fold --cfg num_nonzero --cfg serde_derive --cfg core_try_from --cfg num_nonzero_signed --cfg systemtime_checked_add --cfg std_atomic64 --cfg std_atomic` Running `/usr/bin/rustc --crate-name doc_comment /usr/share/cargo/registry/doc-comment-0.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=414cc3d7f7b642c8 -C extra-filename=-414cc3d7f7b642c8 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling aho-corasick v0.7.18 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2018 /usr/share/cargo/registry/aho-corasick-0.7.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=514cebab49f0bd92 -C extra-filename=-514cebab49f0bd92 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libmemchr-a44945648ebcac0c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_json --edition=2018 /usr/share/cargo/registry/serde_json-1.0.72/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3bff73188614be98 -C extra-filename=-3bff73188614be98 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern itoa=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libitoa-f145520be3b4a693.rmeta --extern ryu=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libryu-c764386ac8fc7a57.rmeta --extern serde=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde-013308e1039e8bf6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg limb_width_64` Compiling regex v1.5.4 Running `/usr/bin/rustc --crate-name regex --edition=2018 /usr/share/cargo/registry/regex-1.5.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="aho-corasick"' --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="perf"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --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"' -C metadata=10e4776eeb3b70c2 -C extra-filename=-10e4776eeb3b70c2 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern aho_corasick=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libaho_corasick-514cebab49f0bd92.rmeta --extern memchr=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libmemchr-a44945648ebcac0c.rmeta --extern regex_syntax=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex_syntax-4e68e4de2ca37ea6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling ansi_term v0.12.1 (/builddir/build/BUILD/ansi_term-0.12.1) Running `/usr/bin/rustc --crate-name rgb_colours examples/rgb_colours.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=4b2ebab7f12d1bf4 -C extra-filename=-4b2ebab7f12d1bf4 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libansi_term-c249e98f0b89a9a7.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libdoc_comment-414cc3d7f7b642c8.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex-10e4776eeb3b70c2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde_json-3bff73188614be98.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name 256_colours examples/256_colours.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=9f5b8c4e35030371 -C extra-filename=-9f5b8c4e35030371 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libansi_term-c249e98f0b89a9a7.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libdoc_comment-414cc3d7f7b642c8.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex-10e4776eeb3b70c2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde_json-3bff73188614be98.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name basic_colours examples/basic_colours.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=40db57c31ff856f8 -C extra-filename=-40db57c31ff856f8 --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/examples -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libansi_term-c249e98f0b89a9a7.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libdoc_comment-414cc3d7f7b642c8.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex-10e4776eeb3b70c2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde_json-3bff73188614be98.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name ansi_term src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=3171165a0c071e7c -C extra-filename=-3171165a0c071e7c --out-dir /builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libdoc_comment-414cc3d7f7b642c8.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex-10e4776eeb3b70c2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde_json-3bff73188614be98.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `ansi_term` (lib test) generated 12 warnings (12 duplicates) Finished release [optimized] target(s) in 34.59s Running `/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/ansi_term-3171165a0c071e7c` running 58 tests test ansi::test::blink ... ok test ansi::test::black ... ok test ansi::test::blue_underline ... ok test ansi::test::blue_on_rgb ... 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 ... ok test ansi::test::rgb_on_blue ... ok test ansi::test::rgb_on_rgb ... ok test ansi::test::stricken ... ok test ansi::test::test_infix ... 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::long_and_detailed ... ok test difference::test::addition_of_blink ... ok test debug::test::redblue ... 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 difference::test::uppercase ... ok test display::tests::no_control_codes_for_plain ... ok test util::test::test ... 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 --crate-type lib --crate-name ansi_term --test /builddir/build/BUILD/ansi_term-0.12.1/src/lib.rs -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps -L dependency=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps --extern ansi_term=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libansi_term-c249e98f0b89a9a7.rlib --extern doc_comment=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libdoc_comment-414cc3d7f7b642c8.rlib --extern regex=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libregex-10e4776eeb3b70c2.rlib --extern serde_json=/builddir/build/BUILD/ansi_term-0.12.1/target/release/deps/libserde_json-3bff73188614be98.rlib -C embed-bitcode=no --error-format human` warning: associated type `wstr` should have an upper camel case name --> /builddir/build/BUILD/ansi_term-0.12.1/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::Colour::infix (line 248) ... ok test src/ansi.rs - ansi::Colour::prefix (line 230) ... ok test src/ansi.rs - ansi::Colour::suffix (line 265) ... ok test src/ansi.rs - ansi::Style::infix (line 176) ... ok test src/ansi.rs - ansi::Style::prefix (line 151) ... ok test src/ansi.rs - ansi::Style::suffix (line 200) ... ok test src/debug.rs - debug::Style (line 11) ... ok test src/display.rs - display::ANSIGenericString (line 27) ... ok test src/display.rs - display::ANSIString (line 75) ... ok test src/display.rs - display::ANSIString (line 83) ... ok test src/display.rs - display::Colour::paint (line 181) ... ok test src/lib.rs - (line 112) ... ok test src/lib.rs - (line 127) ... ok test src/lib.rs - (line 152) ... ok test src/lib.rs - (line 184) ... ok test src/lib.rs - (line 193) ... ok test src/lib.rs - (line 21) ... ok test src/lib.rs - (line 51) ... ok test src/lib.rs - (line 36) ... ok test src/lib.rs - (line 63) ... ok test src/lib.rs - (line 81) ... ok test src/lib.rs - (line 97) ... ok test src/style.rs - style::Colour::blink (line 392) ... 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::strikethrough (line 437) ... ok test src/style.rs - style::Colour::underline (line 377) ... ok test src/style.rs - style::Style (line 6) ... ok test src/style.rs - style::Style::blink (line 122) ... ok test src/style.rs - style::Style::bold (line 67) ... 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::fg (line 178) ... ok test src/style.rs - style::Style::from (line 468) ... ok test src/style.rs - style::Style::hidden (line 150) ... ok test src/style.rs - style::Style::is_plain (line 207) ... 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 3.02s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-ansi_term-devel-0.12.1-6.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MfARSc + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.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-6.el9.x86_64/usr/share/doc/rust-ansi_term-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.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.1h0fBU + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.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-6.el9.x86_64/usr/share/licenses/rust-ansi_term-devel + cp -pr LICENCE /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.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-6.el9 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-6.el9.noarch Provides: crate(ansi_term/default) = 0.12.1 rust-ansi_term+default-devel = 0.12.1-6.el9 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-6.el9.noarch Provides: crate(ansi_term/derive_serde_style) = 0.12.1 rust-ansi_term+derive_serde_style-devel = 0.12.1-6.el9 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 Processing files: rust-ansi_term+serde-devel-0.12.1-6.el9.noarch Provides: crate(ansi_term/serde) = 0.12.1 rust-ansi_term+serde-devel = 0.12.1-6.el9 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-6.el9.x86_64 Wrote: /builddir/build/SRPMS/rust-ansi_term-0.12.1-6.el9.src.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+default-devel-0.12.1-6.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+derive_serde_style-devel-0.12.1-6.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term-devel-0.12.1-6.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-ansi_term+serde-devel-0.12.1-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SP7whG + umask 022 + cd /builddir/build/BUILD + cd ansi_term-0.12.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-ansi_term-0.12.1-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0