[INFO] fetching crate maomi-tree 0.5.0... [INFO] checking maomi-tree-0.5.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate maomi-tree 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate maomi-tree 0.5.0 [INFO] finished tweaking crates.io crate maomi-tree 0.5.0 [INFO] tweaked toml for crates.io crate maomi-tree 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate maomi-tree 0.5.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] 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 1 package to latest compatible version [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c65f61fb2087b7c6348f6ae3c4bfab0d14c0f4de85dbe4decf0112f8c98e2e75 [INFO] running `Command { std: "docker" "start" "-a" "c65f61fb2087b7c6348f6ae3c4bfab0d14c0f4de85dbe4decf0112f8c98e2e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65f61fb2087b7c6348f6ae3c4bfab0d14c0f4de85dbe4decf0112f8c98e2e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65f61fb2087b7c6348f6ae3c4bfab0d14c0f4de85dbe4decf0112f8c98e2e75", kill_on_drop: false }` [INFO] [stdout] c65f61fb2087b7c6348f6ae3c4bfab0d14c0f4de85dbe4decf0112f8c98e2e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8a19bd114e973e77e9edf0c09dddd1b8f47337b56f65ae9db89c8072080f5de9 [INFO] running `Command { std: "docker" "start" "-a" "8a19bd114e973e77e9edf0c09dddd1b8f47337b56f65ae9db89c8072080f5de9", kill_on_drop: false }` [INFO] [stderr] Checking maomi-tree v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn borrow<'b>(&self, target: &'b ForestNodeRc) -> ForestNode<'b, T> { [INFO] [stdout] | ^^^^^ [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:282:15 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn rc(&self) -> ForestNodeRc { [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/lib.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn ptr_eq(&self, rhs: &Self) -> bool { [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/lib.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn parent_rc(&self) -> Option> { [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/lib.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn first_child_rc(&self) -> Option> { [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/lib.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn first_child(&self) -> Option> { [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/lib.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn last_child_rc(&self) -> Option> { [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/lib.rs:334:28 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn prev_sibling_rc(&self) -> Option> { [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/lib.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn next_sibling_rc(&self) -> Option> { [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/lib.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn next_sibling(&self) -> Option> { [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/lib.rs:411:27 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn borrow_mut<'b>(&'b mut self, target: &'b ForestNodeRc) -> ForestNodeMut<'b, T> { [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/lib.rs:427:30 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn resolve_token<'b>(&'b mut self, target: &ForestToken) -> Option> { [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/lib.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 439 | &'b mut self, [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/lib.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn as_ref<'b>(&'b self) -> ForestNode<'b, T> { [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/lib.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 459 | &'b mut self, [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/lib.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn rc(&self) -> ForestNodeRc { [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/lib.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn parent_rc(&self) -> Option> { [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/lib.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn first_child_rc(&mut self) -> Option> { [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/lib.rs:494:32 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn first_child_mut<'b>(&'b mut self) -> Option> { [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/lib.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn last_child_rc(&self) -> Option> { [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/lib.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn prev_sibling_rc(&self) -> Option> { [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/lib.rs:523:28 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 523 | pub fn next_sibling_rc(&mut self) -> Option> { [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/lib.rs:532:33 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn next_sibling_mut<'b>(&'b mut self) -> Option> { [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/lib.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn new_tree(&mut self, content: T) -> ForestNodeRc { [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/lib.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn append(&mut self, target: &ForestNodeRc) { [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/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 585 | pub fn insert(&mut self, target: &ForestNodeRc) { [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/lib.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn detach(self) -> ForestNodeRc { [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/lib.rs:670:19 [INFO] [stdout] | [INFO] [stdout] 660 | impl<'a, T> Deref for ForestValue<'a, T> { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 661 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn map(&'a self, f: impl FnOnce(&'a T) -> &'a U) -> ForestValue<'a, U> { [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/lib.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 679 | impl<'a, T> Deref for ForestValueMut<'a, T> { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 680 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 695 | pub fn as_ref<'b>(&'b self) -> ForestValue<'b, T> { [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/lib.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 679 | impl<'a, T> Deref for ForestValueMut<'a, T> { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 680 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 701 | &'b mut self, [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/lib.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn borrow<'b>(&self, target: &'b ForestNodeRc) -> ForestNode<'b, T> { [INFO] [stdout] | ^^^^^ [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:282:15 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn rc(&self) -> ForestNodeRc { [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/lib.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn ptr_eq(&self, rhs: &Self) -> bool { [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/lib.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn parent_rc(&self) -> Option> { [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/lib.rs:306:27 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn first_child_rc(&self) -> Option> { [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/lib.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn first_child(&self) -> Option> { [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/lib.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn last_child_rc(&self) -> Option> { [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/lib.rs:334:28 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn prev_sibling_rc(&self) -> Option> { [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/lib.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn next_sibling_rc(&self) -> Option> { [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/lib.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, T> Deref for ForestNode<'a, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn next_sibling(&self) -> Option> { [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/lib.rs:411:27 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn borrow_mut<'b>(&'b mut self, target: &'b ForestNodeRc) -> ForestNodeMut<'b, T> { [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/lib.rs:427:30 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn resolve_token<'b>(&'b mut self, target: &ForestToken) -> Option> { [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/lib.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 439 | &'b mut self, [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/lib.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn as_ref<'b>(&'b self) -> ForestNode<'b, T> { [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/lib.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 459 | &'b mut self, [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/lib.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn rc(&self) -> ForestNodeRc { [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/lib.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn parent_rc(&self) -> Option> { [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/lib.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn first_child_rc(&mut self) -> Option> { [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/lib.rs:494:32 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn first_child_mut<'b>(&'b mut self) -> Option> { [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/lib.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn last_child_rc(&self) -> Option> { [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/lib.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn prev_sibling_rc(&self) -> Option> { [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/lib.rs:523:28 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 523 | pub fn next_sibling_rc(&mut self) -> Option> { [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/lib.rs:532:33 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn next_sibling_mut<'b>(&'b mut self) -> Option> { [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/lib.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn new_tree(&mut self, content: T) -> ForestNodeRc { [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/lib.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn append(&mut self, target: &ForestNodeRc) { [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/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 585 | pub fn insert(&mut self, target: &ForestNodeRc) { [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/lib.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a, T> Deref for ForestNodeMut<'a, T> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn detach(self) -> ForestNodeRc { [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/lib.rs:670:19 [INFO] [stdout] | [INFO] [stdout] 660 | impl<'a, T> Deref for ForestValue<'a, T> { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 661 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn map(&'a self, f: impl FnOnce(&'a T) -> &'a U) -> ForestValue<'a, U> { [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/lib.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 679 | impl<'a, T> Deref for ForestValueMut<'a, T> { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 680 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 695 | pub fn as_ref<'b>(&'b self) -> ForestValue<'b, T> { [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/lib.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 679 | impl<'a, T> Deref for ForestValueMut<'a, T> { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 680 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 701 | &'b mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maomi-tree` (lib test) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `maomi-tree` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "8a19bd114e973e77e9edf0c09dddd1b8f47337b56f65ae9db89c8072080f5de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a19bd114e973e77e9edf0c09dddd1b8f47337b56f65ae9db89c8072080f5de9", kill_on_drop: false }` [INFO] [stdout] 8a19bd114e973e77e9edf0c09dddd1b8f47337b56f65ae9db89c8072080f5de9