[INFO] fetching crate gix-error 0.0.0... [INFO] checking gix-error-0.0.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate gix-error 0.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate gix-error 0.0.0 [INFO] finished tweaking crates.io crate gix-error 0.0.0 [INFO] tweaked toml for crates.io crate gix-error 0.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gix-error 0.0.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 gix-error 0.0.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] ceeef61301b377c282f68cbba70d7d1d50c0e2a226415419cd51b7efdebd0757 [INFO] running `Command { std: "docker" "start" "-a" "ceeef61301b377c282f68cbba70d7d1d50c0e2a226415419cd51b7efdebd0757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceeef61301b377c282f68cbba70d7d1d50c0e2a226415419cd51b7efdebd0757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceeef61301b377c282f68cbba70d7d1d50c0e2a226415419cd51b7efdebd0757", kill_on_drop: false }` [INFO] [stdout] ceeef61301b377c282f68cbba70d7d1d50c0e2a226415419cd51b7efdebd0757 [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] 0a935060ee77cc0707d5b8c37474aa6b41f137a1d9cf4650a47d6866066592d9 [INFO] running `Command { std: "docker" "start" "-a" "0a935060ee77cc0707d5b8c37474aa6b41f137a1d9cf4650a47d6866066592d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking gix-error v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/exn/impls.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn raise(self, err: T) -> Exn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn chain(mut self, err: impl Into>) -> Exn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn chain_all(mut self, errors: I) -> Exn [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn drain_children(&mut self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn erased(self) -> Exn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn error(&self) -> &E { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn into_box(self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn into_inner(self) -> E { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn into_error(self) -> crate::Error { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn into_chain(self) -> crate::ChainedError { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn frame(&self) -> &Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [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/exn/impls.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn downcast_any_ref(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / impl Deref for Exn [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | E: Error + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- trait implemented here [INFO] [stdout] 211 | { [INFO] [stdout] 212 | type Target = E; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gix-error` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0a935060ee77cc0707d5b8c37474aa6b41f137a1d9cf4650a47d6866066592d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a935060ee77cc0707d5b8c37474aa6b41f137a1d9cf4650a47d6866066592d9", kill_on_drop: false }` [INFO] [stdout] 0a935060ee77cc0707d5b8c37474aa6b41f137a1d9cf4650a47d6866066592d9