[INFO] fetching crate glock 0.1.2... [INFO] testing glock-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate glock 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate glock 0.1.2 [INFO] finished tweaking crates.io crate glock 0.1.2 [INFO] tweaked toml for crates.io crate glock 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate glock 0.1.2 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] 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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ccf7bf1a67a65c221b8a3d4a360633c0fc2fe056c0d1b4062507c3bcb46c3c [INFO] running `Command { std: "docker" "start" "-a" "37ccf7bf1a67a65c221b8a3d4a360633c0fc2fe056c0d1b4062507c3bcb46c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ccf7bf1a67a65c221b8a3d4a360633c0fc2fe056c0d1b4062507c3bcb46c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ccf7bf1a67a65c221b8a3d4a360633c0fc2fe056c0d1b4062507c3bcb46c3c", kill_on_drop: false }` [INFO] [stdout] 37ccf7bf1a67a65c221b8a3d4a360633c0fc2fe056c0d1b4062507c3bcb46c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c16e37533ec71df04fc730502c718a87501a752a1a734ed58c4c4abfa7f24fc6 [INFO] running `Command { std: "docker" "start" "-a" "c16e37533ec71df04fc730502c718a87501a752a1a734ed58c4c4abfa7f24fc6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling glock v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> 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] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> 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] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&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] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&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] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> 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] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> 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] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "c16e37533ec71df04fc730502c718a87501a752a1a734ed58c4c4abfa7f24fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16e37533ec71df04fc730502c718a87501a752a1a734ed58c4c4abfa7f24fc6", kill_on_drop: false }` [INFO] [stdout] c16e37533ec71df04fc730502c718a87501a752a1a734ed58c4c4abfa7f24fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e8810b3975632d5242219e7fd3bc98a3c084dfe8dac1573f5bdb23912c93ff [INFO] running `Command { std: "docker" "start" "-a" "14e8810b3975632d5242219e7fd3bc98a3c084dfe8dac1573f5bdb23912c93ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> 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] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> 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] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&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] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&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] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> 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] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> 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] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glock v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lock.rs:333:10 [INFO] [stdout] | [INFO] [stdout] 333 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> 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] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> 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] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> 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] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&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] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&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] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> 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] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> 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] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> 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] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "14e8810b3975632d5242219e7fd3bc98a3c084dfe8dac1573f5bdb23912c93ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e8810b3975632d5242219e7fd3bc98a3c084dfe8dac1573f5bdb23912c93ff", kill_on_drop: false }` [INFO] [stdout] 14e8810b3975632d5242219e7fd3bc98a3c084dfe8dac1573f5bdb23912c93ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b5157d7caa641dc65dc4cbb8470e06622f58dfc43bfc8058bcac384ecfbb634 [INFO] running `Command { std: "docker" "start" "-a" "8b5157d7caa641dc65dc4cbb8470e06622f58dfc43bfc8058bcac384ecfbb634", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [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] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:136:34 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [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] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [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] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:156:27 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn lock_exclusive(&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] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn try_lock_exclusive(&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] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [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] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:182:48 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [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] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:186:20 [INFO] [stderr] | [INFO] [stderr] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [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] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lock.rs:192:30 [INFO] [stderr] | [INFO] [stderr] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [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] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `glock` (lib) generated 10 warnings (run `cargo fix --lib -p glock` to apply 10 suggestions) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lock.rs:333:10 [INFO] [stderr] | [INFO] [stderr] 333 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `glock` (lib test) generated 11 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/glock-091ec8ff7a6ef6d6) [INFO] [stdout] test kernel::test::acquire_release ... ok [INFO] [stdout] test kernel::test::clone_clone_weak ... ok [INFO] [stdout] test kernel::test::upgrade_implicit_parent ... ok [INFO] [stdout] test locktype::test::compatible_with ... ok [INFO] [stdout] test lock::test::nested_locks ... ok [INFO] [stdout] test kernel::test::acquire_release_implicit_parent ... ok [INFO] [stdout] test lock::test::upgrade_to_exclusive ... ok [INFO] [stdout] test kernel::test::upgrade ... ok [INFO] [stdout] test locktype::test::upgradable_to ... ok [INFO] [stdout] test locktype::test::implicit_parent_type ... ok [INFO] [stdout] test locktype::test::min_upgradable ... ok [INFO] [stdout] test locktype::test::supports_children ... ok [INFO] [stdout] test kernel::test::acquire_release_shared_parent ... ok [INFO] [stdout] test lock::test::non_nested_locks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests glock [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lock.rs - lock::GLockBuilder (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b5157d7caa641dc65dc4cbb8470e06622f58dfc43bfc8058bcac384ecfbb634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5157d7caa641dc65dc4cbb8470e06622f58dfc43bfc8058bcac384ecfbb634", kill_on_drop: false }` [INFO] [stdout] 8b5157d7caa641dc65dc4cbb8470e06622f58dfc43bfc8058bcac384ecfbb634