[INFO] fetching crate anode 0.1.0... [INFO] checking anode-0.1.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate anode 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate anode 0.1.0 [INFO] finished tweaking crates.io crate anode 0.1.0 [INFO] tweaked toml for crates.io crate anode 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate anode 0.1.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 anode 0.1.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-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] 0d69792128d61f845f5e9f097d386a39bc9ba4a6ebde6a370db168811d76da9c [INFO] running `Command { std: "docker" "start" "-a" "0d69792128d61f845f5e9f097d386a39bc9ba4a6ebde6a370db168811d76da9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d69792128d61f845f5e9f097d386a39bc9ba4a6ebde6a370db168811d76da9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d69792128d61f845f5e9f097d386a39bc9ba4a6ebde6a370db168811d76da9c", kill_on_drop: false }` [INFO] [stdout] 0d69792128d61f845f5e9f097d386a39bc9ba4a6ebde6a370db168811d76da9c [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] 797075b26b9369744faf77cfc24f183510f9d57d533fa8855f9e0bc2dba80e2e [INFO] running `Command { std: "docker" "start" "-a" "797075b26b9369744faf77cfc24f183510f9d57d533fa8855f9e0bc2dba80e2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking anode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/chalice.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_poisoned(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | impl Deref for MutGuard<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 34 | 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/chalice.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn clear_poison(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | impl Deref for MutGuard<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 34 | 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/completable.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get(&self) -> Completed { [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] 107 | pub fn get(&self) -> Completed<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completable.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | fn __try_get(&self, duration: Duration) -> MutexGuard> { [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] 127 | fn __try_get(&self, duration: Duration) -> MutexGuard<'_, Option> { [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/multilock.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn upgrade(mut self) -> LockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | impl Deref for LockReadGuard<'_, T> { [INFO] [stdout] | ---------------------------------------------- trait implemented here [INFO] [stdout] 87 | 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/multilock.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn try_upgrade(mut self, duration: Duration) -> UpgradeOutcome<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | impl Deref for LockReadGuard<'_, T> { [INFO] [stdout] | ---------------------------------------------- trait implemented here [INFO] [stdout] 87 | 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/multilock.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn downgrade(mut self) -> LockReadGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | impl Deref for LockWriteGuard<'_, T> { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 120 | 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/spinlock.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lock(&self) -> SpinGuard { [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] 63 | pub fn lock(&self) -> SpinGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spinlock.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn try_lock(&self) -> Option> { [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] 83 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xlock.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn downgrade(&self) -> LockReadGuard { [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] 117 | pub fn downgrade(&self) -> LockReadGuard<'_, T, M> { [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/xlock.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn upgrade(mut self) -> LockWriteGuard<'a, T, M> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | impl Deref for LockReadGuard<'_, T, M> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 194 | 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/xlock.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_upgrade(mut self, duration: Duration) -> LockUpgradeOutcome<'a, T, M> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | impl Deref for LockReadGuard<'_, T, M> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 194 | 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/xlock.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn downgrade(mut self) -> LockReadGuard<'a, T, M> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for LockWriteGuard<'_, T, M> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 227 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anode` (lib) due to 8 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "797075b26b9369744faf77cfc24f183510f9d57d533fa8855f9e0bc2dba80e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797075b26b9369744faf77cfc24f183510f9d57d533fa8855f9e0bc2dba80e2e", kill_on_drop: false }` [INFO] [stdout] 797075b26b9369744faf77cfc24f183510f9d57d533fa8855f9e0bc2dba80e2e