[INFO] fetching crate petgraph 0.8.3... [INFO] checking petgraph-0.8.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate petgraph 0.8.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate petgraph 0.8.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate petgraph 0.8.3 [INFO] tweaked toml for crates.io crate petgraph 0.8.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate petgraph 0.8.3 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 petgraph 0.8.3 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1dae91a20c846589d26e2349e68a2174fe72645f01d2987278727591de98f527 [INFO] running `Command { std: "docker" "start" "-a" "1dae91a20c846589d26e2349e68a2174fe72645f01d2987278727591de98f527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dae91a20c846589d26e2349e68a2174fe72645f01d2987278727591de98f527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dae91a20c846589d26e2349e68a2174fe72645f01d2987278727591de98f527", kill_on_drop: false }` [INFO] [stdout] 1dae91a20c846589d26e2349e68a2174fe72645f01d2987278727591de98f527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a71c3b55bdfedea524d0871e859e2de24bce0b6092ede6bf9a5bf452830f5df2 [INFO] running `Command { std: "docker" "start" "-a" "a71c3b55bdfedea524d0871e859e2de24bce0b6092ede6bf9a5bf452830f5df2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking defmac v0.2.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking petgraph v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/acyclic.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn nodes_iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | &'r self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn inner(&self) -> &G { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn into_inner(self) -> G { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn is_valid_edge(&self, a: G::NodeId, b: G::NodeId) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic/order_map.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_position<'a>(&'a self, id: G::NodeId) -> TopologicalPosition [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/acyclic.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [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/acyclic/order_map.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn at_position(&self, pos: TopologicalPosition) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/acyclic.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl Deref for Acyclic { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 485 | type Target = G; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a71c3b55bdfedea524d0871e859e2de24bce0b6092ede6bf9a5bf452830f5df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71c3b55bdfedea524d0871e859e2de24bce0b6092ede6bf9a5bf452830f5df2", kill_on_drop: false }` [INFO] [stdout] a71c3b55bdfedea524d0871e859e2de24bce0b6092ede6bf9a5bf452830f5df2