[INFO] fetching crate tang-rs 0.2.0... [INFO] checking tang-rs-0.2.0 against master#0d56e340472882fa673d4b98d0802b9a799879d0 for pr-101692 [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 0d56e340472882fa673d4b98d0802b9a799879d0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "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" "+0d56e340472882fa673d4b98d0802b9a799879d0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking v1.0.6 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded smol v0.1.18 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded blocking v0.4.7 [INFO] [stderr] Downloaded futures-lite v0.1.11 [INFO] [stderr] Downloaded wepoll-sys-stjepang v1.0.8 [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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65d9060217053ebf22aa62aa7727a535b96f38159c40c21712647a1c080018cf [INFO] running `Command { std: "docker" "start" "-a" "65d9060217053ebf22aa62aa7727a535b96f38159c40c21712647a1c080018cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65d9060217053ebf22aa62aa7727a535b96f38159c40c21712647a1c080018cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d9060217053ebf22aa62aa7727a535b96f38159c40c21712647a1c080018cf", kill_on_drop: false }` [INFO] [stdout] 65d9060217053ebf22aa62aa7727a535b96f38159c40c21712647a1c080018cf [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=forbid" "-e" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 496fee37da6b5ecfed8c19b3d7c6c5a282cb1c7ea9035156f383d1c88c9a178c [INFO] running `Command { std: "docker" "start" "-a" "496fee37da6b5ecfed8c19b3d7c6c5a282cb1c7ea9035156f383d1c88c9a178c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking parking v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tang-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling async-process v1.5.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] Checking async-channel v1.7.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking futures-lite v0.1.11 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.2.0 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking async-global-executor v2.3.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking async-std v1.12.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 20.62s [INFO] running `Command { std: "docker" "inspect" "496fee37da6b5ecfed8c19b3d7c6c5a282cb1c7ea9035156f383d1c88c9a178c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496fee37da6b5ecfed8c19b3d7c6c5a282cb1c7ea9035156f383d1c88c9a178c", kill_on_drop: false }` [INFO] [stdout] 496fee37da6b5ecfed8c19b3d7c6c5a282cb1c7ea9035156f383d1c88c9a178c