[INFO] fetching crate depends 0.11.0... [INFO] checking depends-0.11.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate depends 0.11.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate depends 0.11.0 [INFO] finished tweaking crates.io crate depends 0.11.0 [INFO] tweaked toml for crates.io crate depends 0.11.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate depends 0.11.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 depends 0.11.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 65a67ba15720a85e56462b6f0acc13169d0365b63635fcf614545808d68c8837 [INFO] running `Command { std: "docker" "start" "-a" "65a67ba15720a85e56462b6f0acc13169d0365b63635fcf614545808d68c8837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a67ba15720a85e56462b6f0acc13169d0365b63635fcf614545808d68c8837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a67ba15720a85e56462b6f0acc13169d0365b63635fcf614545808d68c8837", kill_on_drop: false }` [INFO] [stdout] 65a67ba15720a85e56462b6f0acc13169d0365b63635fcf614545808d68c8837 [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] c8c7d88a75b3ac7655d1825ed79f80732ea6cfa1bfcc2354c485ee7834f4d4cf [INFO] running `Command { std: "docker" "start" "-a" "c8c7d88a75b3ac7655d1825ed79f80732ea6cfa1bfcc2354c485ee7834f4d4cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling serial_test_derive v3.0.0 [INFO] [stderr] Checking serial_test v3.0.0 [INFO] [stderr] Compiling depends_core v0.11.0 [INFO] [stderr] Compiling depends_derives v0.11.0 [INFO] [stderr] Checking depends v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/execution/dependency/dependency_edge.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn data(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | impl Deref for DependencyEdge<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 36 | 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/execution/node/node_state.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn node_hash(&self) -> NodeHash { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn node_hash_mut(&mut self) -> &mut NodeHash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn update_node_hash(&mut self, hasher: &mut impl Hasher) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `depends` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/execution/dependency/dependency_edge.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn data(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | impl Deref for DependencyEdge<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 36 | 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/execution/node/node_state.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn node_hash(&self) -> NodeHash { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn node_hash_mut(&mut self) -> &mut NodeHash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn update_node_hash(&mut self, hasher: &mut impl Hasher) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | 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/execution/node/node_state.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl Deref for NodeState { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 72 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `depends` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c8c7d88a75b3ac7655d1825ed79f80732ea6cfa1bfcc2354c485ee7834f4d4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c7d88a75b3ac7655d1825ed79f80732ea6cfa1bfcc2354c485ee7834f4d4cf", kill_on_drop: false }` [INFO] [stdout] c8c7d88a75b3ac7655d1825ed79f80732ea6cfa1bfcc2354c485ee7834f4d4cf