[INFO] fetching crate tang-rs 0.2.0... [INFO] testing tang-rs-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate tang-rs 0.2.0 into /workspace/builds/worker-85/source [INFO] validating manifest of crates.io crate tang-rs 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-85/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6881cba230f875c5c3a9ab3d7ed54504618a176cd8825e302ea9db11f04b5a0 [INFO] running `Command { std: "docker" "start" "-a" "e6881cba230f875c5c3a9ab3d7ed54504618a176cd8825e302ea9db11f04b5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6881cba230f875c5c3a9ab3d7ed54504618a176cd8825e302ea9db11f04b5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6881cba230f875c5c3a9ab3d7ed54504618a176cd8825e302ea9db11f04b5a0", kill_on_drop: false }` [INFO] [stdout] e6881cba230f875c5c3a9ab3d7ed54504618a176cd8825e302ea9db11f04b5a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f893c251713606030e20448497c0e42476b7449f14fc9e90b13521695db5b01 [INFO] running `Command { std: "docker" "start" "-a" "5f893c251713606030e20448497c0e42476b7449f14fc9e90b13521695db5b01", kill_on_drop: false }` [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 1.33s [INFO] running `Command { std: "docker" "inspect" "5f893c251713606030e20448497c0e42476b7449f14fc9e90b13521695db5b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f893c251713606030e20448497c0e42476b7449f14fc9e90b13521695db5b01", kill_on_drop: false }` [INFO] [stdout] 5f893c251713606030e20448497c0e42476b7449f14fc9e90b13521695db5b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 115fbf41e71c12480d0610ed64d3b378fc5ba6a2bf7d5d8d098a099c4b5b44ca [INFO] running `Command { std: "docker" "start" "-a" "115fbf41e71c12480d0610ed64d3b378fc5ba6a2bf7d5d8d098a099c4b5b44ca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling async-task v3.0.0 [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] [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 futures-lite v0.1.11 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling log v0.4.16 [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 mio-uds v0.6.8 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.11.0 [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 22.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tang_rs-7fb91b249f3d4004) [INFO] running `Command { std: "docker" "inspect" "115fbf41e71c12480d0610ed64d3b378fc5ba6a2bf7d5d8d098a099c4b5b44ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115fbf41e71c12480d0610ed64d3b378fc5ba6a2bf7d5d8d098a099c4b5b44ca", kill_on_drop: false }` [INFO] [stdout] 115fbf41e71c12480d0610ed64d3b378fc5ba6a2bf7d5d8d098a099c4b5b44ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28dd2b2403041bf31ca2a954cfcad60263b60bf569d49514040d3d5f9101531c [INFO] running `Command { std: "docker" "start" "-a" "28dd2b2403041bf31ca2a954cfcad60263b60bf569d49514040d3d5f9101531c", kill_on_drop: false }` [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/pool.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 283 | / pub async fn get(&self) -> Result, M::Error> { [INFO] [stderr] 284 | | let shared_pool = &self.pool; [INFO] [stderr] 285 | | [INFO] [stderr] 286 | | shared_pool.get_conn(shared_pool).await [INFO] [stderr] 287 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/pool.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 293 | / pub async fn get_owned(&self) -> Result, M::Error> { [INFO] [stderr] 294 | | let shared_pool = &self.pool; [INFO] [stderr] 295 | | [INFO] [stderr] 296 | | shared_pool.get_conn(shared_pool).await [INFO] [stderr] 297 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/pool.rs:308:5 [INFO] [stderr] | [INFO] [stderr] 308 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 309 | / pub async fn run<'a, T, E, F, FF>(&'a self, f: F) -> Result [INFO] [stderr] 310 | | where [INFO] [stderr] 311 | | F: FnOnce(PoolRef<'a, M>) -> FF, [INFO] [stderr] 312 | | FF: Future> + Send + 'a, [INFO] [stderr] ... | [INFO] [stderr] 317 | | f(pool_ref).await [INFO] [stderr] 318 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/pool.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | #[must_use = "futures do nothing unless you `.await` or poll them"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 384 | / pub async fn init(&self) -> Result<(), M::Error> { [INFO] [stderr] 385 | | let shared_pool = &self.pool; [INFO] [stderr] 386 | | [INFO] [stderr] 387 | | let marker = shared_pool.pool_lock.marker(); [INFO] [stderr] ... | [INFO] [stderr] 395 | | Ok(()) [INFO] [stderr] 396 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/util/spin_pool.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use core::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/util/spin_pool.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/util/spin_pool.rs:90:23 [INFO] [stderr] | [INFO] [stderr] 90 | if self.state.compare_and_swap(FREE, LOCKED, Ordering::Acquire) == FREE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tang-rs` (lib) generated 7 warnings [INFO] [stderr] warning: `tang-rs` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tang_rs-7fb91b249f3d4004) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tang_rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/pool.rs - pool::Pool::init (line 357) ... ignored [INFO] [stdout] test src/pool.rs - pool::Pool::run (line 302) ... ignored [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `channel` in module `async_std::sync` [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 99 | let (tx, rx) = async_std::sync::channel(100); [INFO] [stdout] | ^^^^^^^ not found in `async_std::sync` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::broadcast::channel; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::oneshot::channel; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "28dd2b2403041bf31ca2a954cfcad60263b60bf569d49514040d3d5f9101531c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28dd2b2403041bf31ca2a954cfcad60263b60bf569d49514040d3d5f9101531c", kill_on_drop: false }` [INFO] [stdout] 28dd2b2403041bf31ca2a954cfcad60263b60bf569d49514040d3d5f9101531c