[INFO] fetching crate sorted 0.2.0... [INFO] checking sorted-0.2.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate sorted 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate sorted 0.2.0 [INFO] finished tweaking crates.io crate sorted 0.2.0 [INFO] tweaked toml for crates.io crate sorted 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sorted 0.2.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] 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 03e11377a4026d6016d1ea7137303f9c2cd79f60dd51afde8260661afba1c724 [INFO] running `Command { std: "docker" "start" "-a" "03e11377a4026d6016d1ea7137303f9c2cd79f60dd51afde8260661afba1c724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03e11377a4026d6016d1ea7137303f9c2cd79f60dd51afde8260661afba1c724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e11377a4026d6016d1ea7137303f9c2cd79f60dd51afde8260661afba1c724", kill_on_drop: false }` [INFO] [stdout] 03e11377a4026d6016d1ea7137303f9c2cd79f60dd51afde8260661afba1c724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 96e59a60f3bed8a53a931da30bbdb79381437ad5dec0efb76d2f22a9a107a7a2 [INFO] running `Command { std: "docker" "start" "-a" "96e59a60f3bed8a53a931da30bbdb79381437ad5dec0efb76d2f22a9a107a7a2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking sorted v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_intersection.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn intersection(self, J) -> Intersection [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_union.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn union(self, J) -> Union [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn key(&T) -> Self::Key; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sorted_insert.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn insert(&mut self, Self::Item); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_intersection.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn intersection(self, J) -> Intersection [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_union.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn union(self, J) -> Union [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn key(&T) -> Self::Key; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sorted_insert.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn insert(&mut self, Self::Item); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/type_sorted.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn as_inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [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/type_sorted.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [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/type_sorted.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn search(&self, a: &T::Item) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert(&mut self, x: T::Item) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn as_ref(&self) -> Sorted<'a, &U, O> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sorted` (lib test) due to 6 previous errors; 9 warnings emitted [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/type_sorted.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn as_inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [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/type_sorted.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [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/type_sorted.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn search(&self, a: &T::Item) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert(&mut self, x: T::Item) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | 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/type_sorted.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn as_ref(&self) -> Sorted<'a, &U, O> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | impl<'a, T, O> Deref for Sorted<'a, T, O> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 132 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sorted` (lib) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96e59a60f3bed8a53a931da30bbdb79381437ad5dec0efb76d2f22a9a107a7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e59a60f3bed8a53a931da30bbdb79381437ad5dec0efb76d2f22a9a107a7a2", kill_on_drop: false }` [INFO] [stdout] 96e59a60f3bed8a53a931da30bbdb79381437ad5dec0efb76d2f22a9a107a7a2