[INFO] fetching crate tang-rs 0.2.0... [INFO] checking tang-rs-0.2.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate tang-rs 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tang-rs 0.2.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 170cdfee4252e98ede628cbad12e21fd57266761acd1f9131f94c8769d172c10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "170cdfee4252e98ede628cbad12e21fd57266761acd1f9131f94c8769d172c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "170cdfee4252e98ede628cbad12e21fd57266761acd1f9131f94c8769d172c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170cdfee4252e98ede628cbad12e21fd57266761acd1f9131f94c8769d172c10", kill_on_drop: false }` [INFO] [stdout] 170cdfee4252e98ede628cbad12e21fd57266761acd1f9131f94c8769d172c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d13b8f76df25d0f1a17a55c95ef3f7f0a3e845e8503f694c47fc3e97f6b7b41d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d13b8f76df25d0f1a17a55c95ef3f7f0a3e845e8503f694c47fc3e97f6b7b41d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking tang-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking futures-lite v0.1.11 [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] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [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 quote v1.0.10 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking 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] Checking polling v2.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking async-std v1.10.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] Finished dev [unoptimized + debuginfo] target(s) in 52.40s [INFO] running `Command { std: "docker" "inspect" "d13b8f76df25d0f1a17a55c95ef3f7f0a3e845e8503f694c47fc3e97f6b7b41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d13b8f76df25d0f1a17a55c95ef3f7f0a3e845e8503f694c47fc3e97f6b7b41d", kill_on_drop: false }` [INFO] [stdout] d13b8f76df25d0f1a17a55c95ef3f7f0a3e845e8503f694c47fc3e97f6b7b41d