[INFO] fetching crate spin-sync 0.3.2... [INFO] testing spin-sync-0.3.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate spin-sync 0.3.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate spin-sync 0.3.2 [INFO] finished tweaking crates.io crate spin-sync 0.3.2 [INFO] tweaked toml for crates.io crate spin-sync 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spin-sync 0.3.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6b14d5448547d62a488d00a65ddfc6d2281fbfb077e540ef9c669defc58aff3 [INFO] running `Command { std: "docker" "start" "-a" "b6b14d5448547d62a488d00a65ddfc6d2281fbfb077e540ef9c669defc58aff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6b14d5448547d62a488d00a65ddfc6d2281fbfb077e540ef9c669defc58aff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b14d5448547d62a488d00a65ddfc6d2281fbfb077e540ef9c669defc58aff3", kill_on_drop: false }` [INFO] [stdout] b6b14d5448547d62a488d00a65ddfc6d2281fbfb077e540ef9c669defc58aff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0b070114d7d91e368fae7b6947d2b34062d7c39b5b81df99244d7c958d02c7 [INFO] running `Command { std: "docker" "start" "-a" "4e0b070114d7d91e368fae7b6947d2b34062d7c39b5b81df99244d7c958d02c7", kill_on_drop: false }` [INFO] [stderr] Compiling spin-sync v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/barrier.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | .compare_and_swap(expected, desired, Ordering::Acquire) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | .compare_and_swap(expected, unlocked, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/once.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | let current = OnceState::new(self.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 606 | .compare_and_swap(expected, desired, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/barrier.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/once.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard, OnceState) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard<'_>, OnceState) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "4e0b070114d7d91e368fae7b6947d2b34062d7c39b5b81df99244d7c958d02c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0b070114d7d91e368fae7b6947d2b34062d7c39b5b81df99244d7c958d02c7", kill_on_drop: false }` [INFO] [stdout] 4e0b070114d7d91e368fae7b6947d2b34062d7c39b5b81df99244d7c958d02c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b2ebf0bcb2471c4f61c1faddc16d344f8219434e68c01c32d9662fae037fb8 [INFO] running `Command { std: "docker" "start" "-a" "c0b2ebf0bcb2471c4f61c1faddc16d344f8219434e68c01c32d9662fae037fb8", kill_on_drop: false }` [INFO] [stderr] Compiling spin-sync v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/barrier.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | .compare_and_swap(expected, desired, Ordering::Acquire) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | .compare_and_swap(expected, unlocked, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/once.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | let current = OnceState::new(self.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 606 | .compare_and_swap(expected, desired, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/barrier.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/once.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard, OnceState) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard<'_>, OnceState) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/barrier.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | .compare_and_swap(expected, desired, Ordering::Acquire) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex8.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | .compare_and_swap(expected, unlocked, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/once.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | let current = OnceState::new(self.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/rwlock.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 606 | .compare_and_swap(expected, desired, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/barrier.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 263 | fn lock(&self) -> (BarrierLockGuard<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mutex8.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/once.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard, OnceState) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | fn lock(&self) -> (OnceGuard<'_>, OnceState) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rwlock.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "c0b2ebf0bcb2471c4f61c1faddc16d344f8219434e68c01c32d9662fae037fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b2ebf0bcb2471c4f61c1faddc16d344f8219434e68c01c32d9662fae037fb8", kill_on_drop: false }` [INFO] [stdout] c0b2ebf0bcb2471c4f61c1faddc16d344f8219434e68c01c32d9662fae037fb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57c6e59986389ed853d3812d8984883c312073ffd94fff6dff2ec2fc16d65dbe [INFO] running `Command { std: "docker" "start" "-a" "57c6e59986389ed853d3812d8984883c312073ffd94fff6dff2ec2fc16d65dbe", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test once::tests::call_once_invoke_task_only_once ... ok [INFO] [stdout] test rwlock::lock_state_tests::flag_duplication ... ok [INFO] [stdout] test rwlock::rwlock_tests::try_many_times ... ok [INFO] [stdout] test rwlock::lock_state_tests::flag_uses_all_bits ... ok [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/barrier.rs:271:18 [INFO] [stderr] | [INFO] [stderr] 271 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/mutex.rs:350:18 [INFO] [stderr] | [INFO] [stderr] 350 | .compare_and_swap(expected, desired, Ordering::Acquire) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/mutex8.rs:152:34 [INFO] [stderr] | [INFO] [stderr] 152 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/mutex8.rs:232:34 [INFO] [stderr] | [INFO] [stderr] 232 | let current = self.0.compare_and_swap(expected, locked, Ordering::Acquire); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/mutex8.rs:389:18 [INFO] [stderr] | [INFO] [stderr] 389 | .compare_and_swap(expected, unlocked, Ordering::Release); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/once.rs:270:53 [INFO] [stderr] | [INFO] [stderr] 270 | let current = OnceState::new(self.state.compare_and_swap( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/rwlock.rs:436:18 [INFO] [stderr] | [INFO] [stderr] 436 | .compare_and_swap(expected, desired, Ordering::Acquire); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/rwlock.rs:606:18 [INFO] [stderr] | [INFO] [stderr] 606 | .compare_and_swap(expected, desired, Ordering::Release); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/barrier.rs:263:13 [INFO] [stderr] | [INFO] [stderr] 263 | fn lock(&self) -> (BarrierLockGuard, usize) { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 263 | fn lock(&self) -> (BarrierLockGuard<'_>, usize) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mutex.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 268 | pub fn lock(&self) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mutex.rs:331:21 [INFO] [stderr] | [INFO] [stderr] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 331 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mutex8.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 147 | pub fn lock(&self, lock_bits: u8) -> Mutex8Guard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mutex8.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 227 | pub fn try_lock(&self, lock_bits: u8) -> TryLockResult> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/once.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 265 | fn lock(&self) -> (OnceGuard, OnceState) { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 265 | fn lock(&self) -> (OnceGuard<'_>, OnceState) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rwlock.rs:308:21 [INFO] [stderr] | [INFO] [stderr] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 308 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rwlock.rs:366:22 [INFO] [stderr] | [INFO] [stdout] test once::tests::call_once_force_do_nothing_after_call_once_succeeded ... ok [INFO] [stderr] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] | | [INFO] [stdout] [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 366 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `spin-sync` (lib) generated 16 warnings (run `cargo fix --lib -p spin-sync` to apply 8 suggestions) [INFO] [stderr] warning: `spin-sync` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spin_sync-846be494d6f2ea03) [INFO] [stderr] Doc-tests spin_sync [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test src/mutex.rs - mutex::Mutex::new (line 191) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::into_inner (line 216) ... ok [INFO] [stdout] test src/barrier.rs - barrier::BarrierWaitResult::is_leader (line 319) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier::new (line 164) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::get_mut (line 412) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::lock (line 255) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier (line 131) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier::wait (line 201) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex (line 135) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier::new (line 172) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::new (line 183) ... ok [INFO] [stdout] test src/lib.rs - (line 74) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier (line 97) ... ok [INFO] [stdout] test src/barrier.rs - barrier::Barrier (line 71) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::is_poisoned (line 371) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::try_lock (line 309) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex (line 102) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8::locked_bits (line 258) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8::lock (line 130) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8Guard<'_>::lock_bits (line 408) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8Guard<'_>::release (line 347) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8::try_lock (line 198) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::get_mut (line 503) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8::new (line 86) ... ok [INFO] [stdout] test src/once.rs - once::Once (line 65) ... ok [INFO] [stdout] test src/mutex8.rs - mutex8::Mutex8::new (line 94) ... ok [INFO] [stdout] test src/once.rs - once::Once::is_completed (line 246) ... ok [INFO] [stdout] test src/once.rs - once::Once::call_once (line 113) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::into_inner (line 188) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock (line 96) ... ok [INFO] [stdout] test src/once.rs - once::Once::is_completed (line 232) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::new (line 155) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::read (line 238) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::try_write (line 352) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::try_read (line 297) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::is_poisoned (line 465) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::new (line 163) ... ok [INFO] [stdout] test src/once.rs - once::Once::call_once_force (line 173) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::write (line 398) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "57c6e59986389ed853d3812d8984883c312073ffd94fff6dff2ec2fc16d65dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c6e59986389ed853d3812d8984883c312073ffd94fff6dff2ec2fc16d65dbe", kill_on_drop: false }` [INFO] [stdout] 57c6e59986389ed853d3812d8984883c312073ffd94fff6dff2ec2fc16d65dbe