[INFO] fetching crate status 0.0.10... [INFO] checking status-0.0.10 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate status 0.0.10 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate status 0.0.10 [INFO] finished tweaking crates.io crate status 0.0.10 [INFO] tweaked toml for crates.io crate status 0.0.10 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate status 0.0.10 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.1.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.13.0) [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] 2f55aa9a16df80044ae8a29208bf4bd8f3dd10586c3296dc317c7d67fd7e1fee [INFO] running `Command { std: "docker" "start" "-a" "2f55aa9a16df80044ae8a29208bf4bd8f3dd10586c3296dc317c7d67fd7e1fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f55aa9a16df80044ae8a29208bf4bd8f3dd10586c3296dc317c7d67fd7e1fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f55aa9a16df80044ae8a29208bf4bd8f3dd10586c3296dc317c7d67fd7e1fee", kill_on_drop: false }` [INFO] [stdout] 2f55aa9a16df80044ae8a29208bf4bd8f3dd10586c3296dc317c7d67fd7e1fee [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] 958775c9c1b379bba8d7c19f7946e1e8b0bf82ada2b00e0b255187ead6cc9558 [INFO] running `Command { std: "docker" "start" "-a" "958775c9c1b379bba8d7c19f7946e1e8b0bf82ada2b00e0b255187ead6cc9558", kill_on_drop: false }` [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking status v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/internal.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn sources(&self) -> Chain { [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] 35 | pub fn sources(&self) -> Chain<'_> { [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/status.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_source(mut self, error: E) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn with_internal(mut self, error: E) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn context_with(mut self, context: F) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn context(&self) -> &C { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn kind(&self) -> K { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn sources(&self) -> Chain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn sources(&self) -> Chain { [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] 185 | pub fn sources(&self) -> Chain<'_> { [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/status.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn root_source(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn into_internal(self) -> InternalStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [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/status.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn into_err(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | impl std::ops::Deref for Status { [INFO] [stdout] | ---------------------------------------------------------- trait implemented here [INFO] [stdout] 252 | type Target = C; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `status` (lib) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "958775c9c1b379bba8d7c19f7946e1e8b0bf82ada2b00e0b255187ead6cc9558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958775c9c1b379bba8d7c19f7946e1e8b0bf82ada2b00e0b255187ead6cc9558", kill_on_drop: false }` [INFO] [stdout] 958775c9c1b379bba8d7c19f7946e1e8b0bf82ada2b00e0b255187ead6cc9558