[INFO] fetching crate tang-rs 0.2.0... [INFO] building tang-rs-0.2.0 against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] extracting crate tang-rs 0.2.0 into /workspace/builds/worker-84/source [INFO] validating manifest of crates.io crate tang-rs 0.2.0 on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tang-rs 0.2.0 [INFO] finished tweaking crates.io crate tang-rs 0.2.0 [INFO] tweaked toml for crates.io crate tang-rs 0.2.0 written to /workspace/builds/worker-84/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e32546aa4411f83e1b115f7f46921968e91f46c96ccde66ef8c078d77a8d2c64 [INFO] running `Command { std: "docker" "start" "-a" "e32546aa4411f83e1b115f7f46921968e91f46c96ccde66ef8c078d77a8d2c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e32546aa4411f83e1b115f7f46921968e91f46c96ccde66ef8c078d77a8d2c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32546aa4411f83e1b115f7f46921968e91f46c96ccde66ef8c078d77a8d2c64", kill_on_drop: false }` [INFO] [stdout] e32546aa4411f83e1b115f7f46921968e91f46c96ccde66ef8c078d77a8d2c64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6524985bca651fe760f4761f774793a065439753b74c76731bb239eaec91573 [INFO] running `Command { std: "docker" "start" "-a" "c6524985bca651fe760f4761f774793a065439753b74c76731bb239eaec91573", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tang-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | / pub async fn get(&self) -> Result, M::Error> { [INFO] [stdout] 284 | | let shared_pool = &self.pool; [INFO] [stdout] 285 | | [INFO] [stdout] 286 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 287 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | / pub async fn get_owned(&self) -> Result, M::Error> { [INFO] [stdout] 294 | | let shared_pool = &self.pool; [INFO] [stdout] 295 | | [INFO] [stdout] 296 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 309 | / pub async fn run<'a, T, E, F, FF>(&'a self, f: F) -> Result [INFO] [stdout] 310 | | where [INFO] [stdout] 311 | | F: FnOnce(PoolRef<'a, M>) -> FF, [INFO] [stdout] 312 | | FF: Future> + Send + 'a, [INFO] [stdout] ... | [INFO] [stdout] 317 | | f(pool_ref).await [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | / pub async fn init(&self) -> Result<(), M::Error> { [INFO] [stdout] 385 | | let shared_pool = &self.pool; [INFO] [stdout] 386 | | [INFO] [stdout] 387 | | let marker = shared_pool.pool_lock.marker(); [INFO] [stdout] ... | [INFO] [stdout] 395 | | Ok(()) [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use core::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/util/spin_pool.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | if self.state.compare_and_swap(FREE, LOCKED, Ordering::Acquire) == FREE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "c6524985bca651fe760f4761f774793a065439753b74c76731bb239eaec91573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6524985bca651fe760f4761f774793a065439753b74c76731bb239eaec91573", kill_on_drop: false }` [INFO] [stdout] c6524985bca651fe760f4761f774793a065439753b74c76731bb239eaec91573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b16872f9f77df88b48ae109865acc0d3b2e02d57c1efa84aa901e9036aed8a3 [INFO] running `Command { std: "docker" "start" "-a" "4b16872f9f77df88b48ae109865acc0d3b2e02d57c1efa84aa901e9036aed8a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | / pub async fn get(&self) -> Result, M::Error> { [INFO] [stdout] 284 | | let shared_pool = &self.pool; [INFO] [stdout] 285 | | [INFO] [stdout] 286 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 287 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | / pub async fn get_owned(&self) -> Result, M::Error> { [INFO] [stdout] 294 | | let shared_pool = &self.pool; [INFO] [stdout] 295 | | [INFO] [stdout] 296 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 309 | / pub async fn run<'a, T, E, F, FF>(&'a self, f: F) -> Result [INFO] [stdout] 310 | | where [INFO] [stdout] 311 | | F: FnOnce(PoolRef<'a, M>) -> FF, [INFO] [stdout] 312 | | FF: Future> + Send + 'a, [INFO] [stdout] ... | [INFO] [stdout] 317 | | f(pool_ref).await [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | / pub async fn init(&self) -> Result<(), M::Error> { [INFO] [stdout] 385 | | let shared_pool = &self.pool; [INFO] [stdout] 386 | | [INFO] [stdout] 387 | | let marker = shared_pool.pool_lock.marker(); [INFO] [stdout] ... | [INFO] [stdout] 395 | | Ok(()) [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use core::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/util/spin_pool.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | if self.state.compare_and_swap(FREE, LOCKED, Ordering::Acquire) == FREE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tang-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | / pub async fn get(&self) -> Result, M::Error> { [INFO] [stdout] 284 | | let shared_pool = &self.pool; [INFO] [stdout] 285 | | [INFO] [stdout] 286 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 287 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | / pub async fn get_owned(&self) -> Result, M::Error> { [INFO] [stdout] 294 | | let shared_pool = &self.pool; [INFO] [stdout] 295 | | [INFO] [stdout] 296 | | shared_pool.get_conn(shared_pool).await [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 309 | / pub async fn run<'a, T, E, F, FF>(&'a self, f: F) -> Result [INFO] [stdout] 310 | | where [INFO] [stdout] 311 | | F: FnOnce(PoolRef<'a, M>) -> FF, [INFO] [stdout] 312 | | FF: Future> + Send + 'a, [INFO] [stdout] ... | [INFO] [stdout] 317 | | f(pool_ref).await [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/pool.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | / pub async fn init(&self) -> Result<(), M::Error> { [INFO] [stdout] 385 | | let shared_pool = &self.pool; [INFO] [stdout] 386 | | [INFO] [stdout] 387 | | let marker = shared_pool.pool_lock.marker(); [INFO] [stdout] ... | [INFO] [stdout] 395 | | Ok(()) [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use core::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util/spin_pool.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/util/spin_pool.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | if self.state.compare_and_swap(FREE, LOCKED, Ordering::Acquire) == FREE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.14s [INFO] running `Command { std: "docker" "inspect" "4b16872f9f77df88b48ae109865acc0d3b2e02d57c1efa84aa901e9036aed8a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b16872f9f77df88b48ae109865acc0d3b2e02d57c1efa84aa901e9036aed8a3", kill_on_drop: false }` [INFO] [stdout] 4b16872f9f77df88b48ae109865acc0d3b2e02d57c1efa84aa901e9036aed8a3