[INFO] fetching crate linked-tail-list 0.0.1... [INFO] checking linked-tail-list-0.0.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate linked-tail-list 0.0.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate linked-tail-list 0.0.1 [INFO] finished tweaking crates.io crate linked-tail-list 0.0.1 [INFO] tweaked toml for crates.io crate linked-tail-list 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linked-tail-list 0.0.1 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] 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] e3b23f8154353d15d4b1b55565179385c1d4961c193a5a40b75c2eaeba02ab55 [INFO] running `Command { std: "docker" "start" "-a" "e3b23f8154353d15d4b1b55565179385c1d4961c193a5a40b75c2eaeba02ab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b23f8154353d15d4b1b55565179385c1d4961c193a5a40b75c2eaeba02ab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b23f8154353d15d4b1b55565179385c1d4961c193a5a40b75c2eaeba02ab55", kill_on_drop: false }` [INFO] [stdout] e3b23f8154353d15d4b1b55565179385c1d4961c193a5a40b75c2eaeba02ab55 [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] 821cbd19580d3c241297cbc0c52b5d56c7f2b560fe34a3829a74f871d3bf35a0 [INFO] running `Command { std: "docker" "start" "-a" "821cbd19580d3c241297cbc0c52b5d56c7f2b560fe34a3829a74f871d3bf35a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking linked-tail-list v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn insert_before(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn insert_after(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn tail<'slf>(&'slf mut self) -> (&'slf ValRef<'node, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn into_tail(self) -> (ValRef<'node, T>, Cursor<'tail, T>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn into_passive(self) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn insert_before(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn insert_after(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linked-tail-list` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn insert_before(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn insert_after(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | impl<'node, T: 'node> Deref for ValRef<'node, T> { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 434 | 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/lib.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn tail<'slf>(&'slf mut self) -> (&'slf ValRef<'node, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn into_tail(self) -> (ValRef<'node, T>, Cursor<'tail, T>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn into_passive(self) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn insert_before(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn insert_after(&mut self, val: T) -> ValRef<'node, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | 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/lib.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T> { [INFO] [stdout] | -------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 456 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linked-tail-list` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "821cbd19580d3c241297cbc0c52b5d56c7f2b560fe34a3829a74f871d3bf35a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821cbd19580d3c241297cbc0c52b5d56c7f2b560fe34a3829a74f871d3bf35a0", kill_on_drop: false }` [INFO] [stdout] 821cbd19580d3c241297cbc0c52b5d56c7f2b560fe34a3829a74f871d3bf35a0