[INFO] fetching crate manual_rwlock 0.5.0... [INFO] checking manual_rwlock-0.5.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate manual_rwlock 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate manual_rwlock 0.5.0 [INFO] finished tweaking crates.io crate manual_rwlock 0.5.0 [INFO] tweaked toml for crates.io crate manual_rwlock 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate manual_rwlock 0.5.0 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] crate crates.io crate manual_rwlock 0.5.0 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3e265111ebb69c02e050b2be961da605530daaf3d5e747c3fa371b9af2110a47 [INFO] running `Command { std: "docker" "start" "-a" "3e265111ebb69c02e050b2be961da605530daaf3d5e747c3fa371b9af2110a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e265111ebb69c02e050b2be961da605530daaf3d5e747c3fa371b9af2110a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e265111ebb69c02e050b2be961da605530daaf3d5e747c3fa371b9af2110a47", kill_on_drop: false }` [INFO] [stdout] 3e265111ebb69c02e050b2be961da605530daaf3d5e747c3fa371b9af2110a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 605cfea10b9187236c5497b635466420195d6ae5bf17534b4a7ef510f781c26d [INFO] running `Command { std: "docker" "start" "-a" "605cfea10b9187236c5497b635466420195d6ae5bf17534b4a7ef510f781c26d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking atomic-wait v1.1.0 [INFO] [stderr] Checking manual_rwlock v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn try_read(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn try_read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn read(&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] 246 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn try_write(&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] 254 | pub fn try_write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn write(&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] 262 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:273:30 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn try_read_slice(&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] 273 | pub fn try_read_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn read_slice(&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] 284 | pub fn read_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn try_write_slice(&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] 295 | pub fn try_write_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn write_slice(&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] 306 | pub fn write_slice(&self) -> 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/read_guard.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn try_to_write(self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn to_write(self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub unsafe fn early_release(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn reobtain(&self) -> Result<(), LockError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn try_reobtain(&self) -> Result<(), LockError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/write_guard.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_read(self) -> ReadGuard<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn early_release(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn reobtain(&self) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn try_reobtain(&self) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn try_read(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn try_read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn read(&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] 246 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn try_write(&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] 254 | pub fn try_write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `manual_rwlock` (lib) due to 9 previous errors; 8 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn write(&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] 262 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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/lib.rs:273:30 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn try_read_slice(&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] 273 | pub fn try_read_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn read_slice(&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] 284 | pub fn read_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn try_write_slice(&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] 295 | pub fn try_write_slice(&self) -> LockResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn write_slice(&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] 306 | pub fn write_slice(&self) -> 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/read_guard.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn try_to_write(self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn to_write(self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub unsafe fn early_release(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn reobtain(&self) -> Result<(), LockError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/read_guard.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn try_reobtain(&self) -> Result<(), LockError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl<'a, T> Deref for ReadGuard<'a, T> { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 84 | 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/write_guard.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_read(self) -> ReadGuard<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn early_release(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn reobtain(&self) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | 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/write_guard.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn try_reobtain(&self) -> LockResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | impl<'a, T> Deref for WriteGuard<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 68 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `manual_rwlock` (lib test) due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "605cfea10b9187236c5497b635466420195d6ae5bf17534b4a7ef510f781c26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605cfea10b9187236c5497b635466420195d6ae5bf17534b4a7ef510f781c26d", kill_on_drop: false }` [INFO] [stdout] 605cfea10b9187236c5497b635466420195d6ae5bf17534b4a7ef510f781c26d