Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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.xu3x7crm:/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', '80a88464281a41c5a0c4d03431551139', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Wrote: /builddir/build/SRPMS/rust-tokio-sync-0.1.8-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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.xu3x7crm:/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', '7850bdf0786140c694eff14d439e6a89', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.axhrRr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tokio-sync-0.1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/tokio-sync-0.1.8.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tokio-sync-0.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.xxI5Cf + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-tokio-sync-0.1.8-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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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.xu3x7crm:/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', '75229a5030cd47c7811e792bc11cdda9', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SlSGQ0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tokio-sync-0.1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/tokio-sync-0.1.8.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tokio-sync-0.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.5a22wh + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-tokio-sync-0.1.8-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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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.xu3x7crm:/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', 'ac223bafa2374a688cd9b951a3dc72cc', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655640879.912611/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xu3x7crm:/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 aarch64 --nodeps /builddir/build/SPECS/rust-tokio-sync.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0KUszI + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gRcduv + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + /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 -j4 -Z avoid-dev-deps --release Compiling fnv v1.0.7 Compiling futures v0.1.29 Running `/usr/bin/rustc --crate-name fnv /usr/share/cargo/registry/fnv-1.0.7/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=2a3956a105a4edcc -C extra-filename=-2a3956a105a4edcc --out-dir /builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps -L dependency=/builddir/build/BUILD/tokio-sync-0.1.8/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 futures /usr/share/cargo/registry/futures-0.1.29/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="use_std"' --cfg 'feature="with-deprecated"' -C metadata=a95aa45a85ba0c74 -C extra-filename=-a95aa45a85ba0c74 --out-dir /builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps -L dependency=/builddir/build/BUILD/tokio-sync-0.1.8/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 tokio-sync v0.1.8 (/builddir/build/BUILD/tokio-sync-0.1.8) Running `/usr/bin/rustc --crate-name tokio_sync 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=bb62b8c875a7b3b1 -C extra-filename=-bb62b8c875a7b3b1 --out-dir /builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps -L dependency=/builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps --extern fnv=/builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps/libfnv-2a3956a105a4edcc.rmeta --extern futures=/builddir/build/BUILD/tokio-sync-0.1.8/target/release/deps/libfutures-a95aa45a85ba0c74.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> src/loom.rs:36:26 | 36 | ::std::sync::atomic::spin_loop_hint(); | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/oneshot.rs:133:66 | 133 | tx_task: CausalCell::new(ManuallyDrop::new(unsafe { mem::uninitialized() })), | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/oneshot.rs:134:66 | 134 | rx_task: CausalCell::new(ManuallyDrop::new(unsafe { mem::uninitialized() })), | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mpsc/block.rs:366:29 | 366 | let mut vals = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/mpsc/block.rs:269:14 | 269 | .compare_and_swap(ptr::null_mut(), block.as_ptr(), ordering); | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/mpsc/block.rs:311:43 | 311 | let next = NonNull::new(self.next.compare_and_swap( | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/bounded.rs:223:32 | 223 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/bounded.rs:263:32 | 263 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/bounded.rs:293:32 | 293 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/mpsc/list.rs:148:26 | 148 | .compare_and_swap(block_ptr, next_block.as_ptr(), Release); | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/unbounded.rs:145:32 | 145 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/unbounded.rs:167:32 | 167 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/mpsc/unbounded.rs:189:32 | 189 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/oneshot.rs:50:36 | 50 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/oneshot.rs:65:36 | 65 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/semaphore.rs:688:32 | 688 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/semaphore.rs:734:32 | 734 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/atomic_task.rs:179:26 | 179 | match self.state.compare_and_swap(WAITING, REGISTERING, Acquire) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/watch.rs:126:36 | 126 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/watch.rs:141:36 | 141 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: field is never read: `inner` --> src/watch.rs:118:9 | 118 | pub(crate) inner: T, | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `tokio-sync` (lib) generated 21 warnings Finished release [optimized] target(s) in 6.59s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XiA9Ii + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 + cd tokio-sync-0.1.8 + 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=tokio-sync ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.1.8 + REG_DIR=/builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/cargo/registry/tokio-sync-0.1.8 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/cargo/registry/tokio-sync-0.1.8 + 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 + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/cargo/registry/tokio-sync-0.1.8 warning: No (git) VCS found for `/builddir/build/BUILD/tokio-sync-0.1.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/cargo/registry/tokio-sync-0.1.8/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/cargo/registry/tokio-sync-0.1.8/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 Processing files: rust-tokio-sync-devel-0.1.8-6.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MzFf4a + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + DOCDIR=/builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/doc/rust-tokio-sync-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/doc/rust-tokio-sync-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/doc/rust-tokio-sync-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/doc/rust-tokio-sync-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Y3Ge7T + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + LICENSEDIR=/builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/licenses/rust-tokio-sync-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/licenses/rust-tokio-sync-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64/usr/share/licenses/rust-tokio-sync-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(tokio-sync) = 0.1.8 rust-tokio-sync-devel = 0.1.8-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(fnv/default) >= 1.0.6 with crate(fnv/default) < 2.0.0~) (crate(futures/default) >= 0.1.19 with crate(futures/default) < 0.2.0~) cargo Processing files: rust-tokio-sync+default-devel-0.1.8-6.el9.noarch Provides: crate(tokio-sync/default) = 0.1.8 rust-tokio-sync+default-devel = 0.1.8-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(tokio-sync) = 0.1.8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 Wrote: /builddir/build/SRPMS/rust-tokio-sync-0.1.8-6.el9.src.rpm Wrote: /builddir/build/RPMS/rust-tokio-sync+default-devel-0.1.8-6.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-tokio-sync-devel-0.1.8-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RVeFjN + umask 022 + cd /builddir/build/BUILD + cd tokio-sync-0.1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-tokio-sync-0.1.8-6.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0