[INFO] fetching crate glock 0.1.2... [INFO] checking glock-0.1.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate glock 0.1.2 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glock 0.1.2 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fbd9f33a645d6bbfa8d86a60b578f0ada2e35b942ba83316535deea302ee4aa [INFO] running `Command { std: "docker" "start" "-a" "0fbd9f33a645d6bbfa8d86a60b578f0ada2e35b942ba83316535deea302ee4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fbd9f33a645d6bbfa8d86a60b578f0ada2e35b942ba83316535deea302ee4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbd9f33a645d6bbfa8d86a60b578f0ada2e35b942ba83316535deea302ee4aa", kill_on_drop: false }` [INFO] [stdout] 0fbd9f33a645d6bbfa8d86a60b578f0ada2e35b942ba83316535deea302ee4aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1665796075c8b6ec87e1aa832bfb7283f1741ed05be5f2d7660c47ca78b5c459 [INFO] running `Command { std: "docker" "start" "-a" "1665796075c8b6ec87e1aa832bfb7283f1741ed05be5f2d7660c47ca78b5c459", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn lock_type(&self) -> LockResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn upgrade(&self, to_type: LockType) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn try_upgrade(&self, to_type: LockType) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn upgrade_to_exclusive(self) -> Result, (LockError, GLockGuard<'lck, T>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn try_upgrade_to_exclusive(self) -> Result, (LockError, GLockGuard<'lck, T>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glock` (lib) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: could not compile `glock` (lib test) due to 5 previous errors; 11 warnings emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn lock_type(&self) -> LockResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn upgrade(&self, to_type: LockType) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn try_upgrade(&self, to_type: LockType) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn upgrade_to_exclusive(self) -> Result, (LockError, GLockGuard<'lck, T>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lock.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn try_upgrade_to_exclusive(self) -> Result, (LockError, GLockGuard<'lck, T>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | impl<'lck, T: 'lck> Deref for GLockGuard<'lck, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 269 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1665796075c8b6ec87e1aa832bfb7283f1741ed05be5f2d7660c47ca78b5c459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1665796075c8b6ec87e1aa832bfb7283f1741ed05be5f2d7660c47ca78b5c459", kill_on_drop: false }` [INFO] [stdout] 1665796075c8b6ec87e1aa832bfb7283f1741ed05be5f2d7660c47ca78b5c459