[INFO] fetching crate priomutex 0.3.1... [INFO] checking priomutex-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate priomutex 0.3.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate priomutex 0.3.1 [INFO] finished tweaking crates.io crate priomutex 0.3.1 [INFO] tweaked toml for crates.io crate priomutex 0.3.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate priomutex 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3329fe36e8fde817f69e0a4c68134a40aca663dcaba77a78a86dc690aba2018 [INFO] running `Command { std: "docker" "start" "-a" "a3329fe36e8fde817f69e0a4c68134a40aca663dcaba77a78a86dc690aba2018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3329fe36e8fde817f69e0a4c68134a40aca663dcaba77a78a86dc690aba2018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3329fe36e8fde817f69e0a4c68134a40aca663dcaba77a78a86dc690aba2018", kill_on_drop: false }` [INFO] [stdout] a3329fe36e8fde817f69e0a4c68134a40aca663dcaba77a78a86dc690aba2018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 267460c05c9db9b7da6f9a1dd8729ccea02b7a436c87d04c0da338d105980b1e [INFO] running `Command { std: "docker" "start" "-a" "267460c05c9db9b7da6f9a1dd8729ccea02b7a436c87d04c0da338d105980b1e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking priomutex v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/token.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | let already_woken = self.0.is_woken.compare_and_swap(false, true, atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn try_lock(&self) -> sync::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] 57 | pub fn try_lock(&self) -> sync::TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | fn spin_lock_data(&self) -> sync::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] 71 | fn spin_lock_data(&self) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spin_one.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [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] 53 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spin_one.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn try_lock(&self) -> sync::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] 99 | pub fn try_lock(&self) -> sync::TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/token.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | let already_woken = self.0.is_woken.compare_and_swap(false, true, atomic::Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn try_lock(&self) -> sync::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] 57 | pub fn try_lock(&self) -> sync::TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | fn spin_lock_data(&self) -> sync::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] 71 | fn spin_lock_data(&self) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spin_one.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [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] 53 | pub fn lock(&self, prio: usize) -> sync::LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spin_one.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn try_lock(&self) -> sync::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] 99 | pub fn try_lock(&self) -> sync::TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/order_test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | thread::sleep_ms(100); // wait for the threads to spawn [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "267460c05c9db9b7da6f9a1dd8729ccea02b7a436c87d04c0da338d105980b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267460c05c9db9b7da6f9a1dd8729ccea02b7a436c87d04c0da338d105980b1e", kill_on_drop: false }` [INFO] [stdout] 267460c05c9db9b7da6f9a1dd8729ccea02b7a436c87d04c0da338d105980b1e