[INFO] fetching crate tang-rs 0.2.0... [INFO] testing tang-rs-0.2.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate tang-rs 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tang-rs 0.2.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-lite v0.1.11 [INFO] [stderr] Downloaded parking v1.0.6 [INFO] [stderr] Downloaded blocking v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53193b57ef92579f06fd05726935c9333f01eb31521931d0c2439ff67138fcd5 [INFO] running `Command { std: "docker" "start" "-a" "53193b57ef92579f06fd05726935c9333f01eb31521931d0c2439ff67138fcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53193b57ef92579f06fd05726935c9333f01eb31521931d0c2439ff67138fcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53193b57ef92579f06fd05726935c9333f01eb31521931d0c2439ff67138fcd5", kill_on_drop: false }` [INFO] [stdout] 53193b57ef92579f06fd05726935c9333f01eb31521931d0c2439ff67138fcd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ae00eef4eb0efac06385bdc1e282684bb2b28f36934a2cd56bd19ab8c40a4a2 [INFO] running `Command { std: "docker" "start" "-a" "3ae00eef4eb0efac06385bdc1e282684bb2b28f36934a2cd56bd19ab8c40a4a2", 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 0.41s [INFO] running `Command { std: "docker" "inspect" "3ae00eef4eb0efac06385bdc1e282684bb2b28f36934a2cd56bd19ab8c40a4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae00eef4eb0efac06385bdc1e282684bb2b28f36934a2cd56bd19ab8c40a4a2", kill_on_drop: false }` [INFO] [stdout] 3ae00eef4eb0efac06385bdc1e282684bb2b28f36934a2cd56bd19ab8c40a4a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b265fe7997469f3ae82dc0423ee43e545e717d53ade02860afc0479e0065fde2 [INFO] running `Command { std: "docker" "start" "-a" "b265fe7997469f3ae82dc0423ee43e545e717d53ade02860afc0479e0065fde2", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking v1.0.6 [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 socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling smol v0.1.18 [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 7.62s [INFO] running `Command { std: "docker" "inspect" "b265fe7997469f3ae82dc0423ee43e545e717d53ade02860afc0479e0065fde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b265fe7997469f3ae82dc0423ee43e545e717d53ade02860afc0479e0065fde2", kill_on_drop: false }` [INFO] [stdout] b265fe7997469f3ae82dc0423ee43e545e717d53ade02860afc0479e0065fde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e40dc42062b40f1feefe4afc140a54706db7129361361a3fafa453f89b070aa3 [INFO] running `Command { std: "docker" "start" "-a" "e40dc42062b40f1feefe4afc140a54706db7129361361a3fafa453f89b070aa3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tang_rs-e677b7cd6e01a573) [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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e40dc42062b40f1feefe4afc140a54706db7129361361a3fafa453f89b070aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40dc42062b40f1feefe4afc140a54706db7129361361a3fafa453f89b070aa3", kill_on_drop: false }` [INFO] [stdout] e40dc42062b40f1feefe4afc140a54706db7129361361a3fafa453f89b070aa3