[INFO] fetching crate ownref 0.3.1... [INFO] checking ownref-0.3.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate ownref 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ownref 0.3.1 [INFO] finished tweaking crates.io crate ownref 0.3.1 [INFO] tweaked toml for crates.io crate ownref 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ownref 0.3.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.13.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 517eb202d32e0c442ac01674014e9576c967cbbb0261764823579a10ab1bd118 [INFO] running `Command { std: "docker" "start" "-a" "517eb202d32e0c442ac01674014e9576c967cbbb0261764823579a10ab1bd118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517eb202d32e0c442ac01674014e9576c967cbbb0261764823579a10ab1bd118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517eb202d32e0c442ac01674014e9576c967cbbb0261764823579a10ab1bd118", kill_on_drop: false }` [INFO] [stdout] 517eb202d32e0c442ac01674014e9576c967cbbb0261764823579a10ab1bd118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 58f6316b30469100e163613c5d9f52c7af06a2fd220092adde8ffdc5d5b5d22f [INFO] running `Command { std: "docker" "start" "-a" "58f6316b30469100e163613c5d9f52c7af06a2fd220092adde8ffdc5d5b5d22f", kill_on_drop: false }` [INFO] [stderr] Checking ownref v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/arc_owned.rs:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn into_owner_ref(this: ArcOwned<'a, O, I, E>) -> ArcOwned<'a, O, &O, E> { [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] 61 | pub fn into_owner_ref(this: ArcOwned<'a, O, I, E>) -> ArcOwned<'a, O, &'a O, E> { [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/arc_owned.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map(self, f: F) -> ArcOwned<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn flatten(self) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn flat_map(self, f: F) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_owned.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 402 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 402 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_owned.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 412 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 412 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [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/arc_ref.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn map(self, f: F) -> ArcRef<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn flatten(self) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn flat_map(self, f: F) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_ref.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 386 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 386 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_ref.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 396 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 396 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/box_owned.rs:77:75 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_owner_ref(this: BoxOwned<'a, O, I, E>) -> BoxOwned<'a, O, &mut O, E> { [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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_owner_ref(this: BoxOwned<'a, O, I, E>) -> BoxOwned<'a, O, &'a mut O, E> { [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/box_owned.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn map(self, f: F) -> BoxOwned<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn into_box_ref(self) -> BoxRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:170:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/box_owned.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn into_arc_ref(self) -> ArcRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:170:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/box_owned.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn into_arc_ref(self) -> ArcRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 421 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 421 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 431 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 431 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 471 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 471 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 481 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 481 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/box_ref.rs:78:73 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn into_box_owned(from: BoxRef<'a, O, I, E>) -> BoxOwned<'a, O, &mut I, E> { [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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn into_box_owned(from: BoxRef<'a, O, I, E>) -> BoxOwned<'a, O, &'a mut I, E> { [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/box_ref.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn map(self, f: F) -> BoxRef<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [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/box_ref.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [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/box_ref.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_ref.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 368 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 368 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_ref.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 378 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 378 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ownref` (lib test) due to 19 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/arc_owned.rs:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn into_owner_ref(this: ArcOwned<'a, O, I, E>) -> ArcOwned<'a, O, &O, E> { [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] 61 | pub fn into_owner_ref(this: ArcOwned<'a, O, I, E>) -> ArcOwned<'a, O, &'a O, E> { [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/arc_owned.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map(self, f: F) -> ArcOwned<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn flatten(self) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [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/arc_owned.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn flat_map(self, f: F) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | / impl<'a, O, I, E> Deref for ArcOwned<'a, O, I, E> [INFO] [stdout] 449 | | where [INFO] [stdout] 450 | | O: ?Sized, [INFO] [stdout] 451 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 452 | { [INFO] [stdout] 453 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_owned.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 402 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 402 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_owned.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 412 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 412 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [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/arc_ref.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn map(self, f: F) -> ArcRef<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn flatten(self) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [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/arc_ref.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn flat_map(self, f: F) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | / impl<'a, O, I, E> Deref for ArcRef<'a, O, I, E> [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | O: ?Sized, [INFO] [stdout] 438 | | I: ?Sized, [INFO] [stdout] 439 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 440 | { [INFO] [stdout] 441 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_ref.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 386 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 386 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc_ref.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 396 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 396 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/box_owned.rs:77:75 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_owner_ref(this: BoxOwned<'a, O, I, E>) -> BoxOwned<'a, O, &mut O, E> { [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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_owner_ref(this: BoxOwned<'a, O, I, E>) -> BoxOwned<'a, O, &'a mut O, E> { [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/box_owned.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn map(self, f: F) -> BoxOwned<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [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/box_owned.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn into_box_ref(self) -> BoxRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:170:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/box_owned.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn into_arc_ref(self) -> ArcRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:170:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/box_owned.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn into_arc_ref(self) -> ArcRef<'a, O, I, E> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | / impl<'a, O, I, E> Deref for BoxOwned<'a, O, I, E> [INFO] [stdout] 529 | | where [INFO] [stdout] 530 | | O: ?Sized, [INFO] [stdout] 531 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 532 | { [INFO] [stdout] 533 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 421 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 421 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 431 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 431 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 471 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 471 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_owned.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 481 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 481 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/box_ref.rs:78:73 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn into_box_owned(from: BoxRef<'a, O, I, E>) -> BoxOwned<'a, O, &mut I, E> { [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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn into_box_owned(from: BoxRef<'a, O, I, E>) -> BoxOwned<'a, O, &'a mut I, E> { [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/box_ref.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn map(self, f: F) -> BoxRef<'a, O, T, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [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/box_ref.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn try_map(self, f: F) -> Result, Err> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [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/box_ref.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn filter_map(self, f: F) -> Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | / impl<'a, O, I, E> Deref for BoxRef<'a, O, I, E> [INFO] [stdout] 429 | | where [INFO] [stdout] 430 | | O: ?Sized, [INFO] [stdout] 431 | | I: ?Sized, [INFO] [stdout] 432 | | E: EqKind, [INFO] [stdout] | |______________- trait implemented here [INFO] [stdout] 433 | { [INFO] [stdout] 434 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_ref.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | (self.inner as *const I).partial_cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 368 | (self.inner as *const I).cast::<()>().partial_cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 368 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).partial_cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/box_ref.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | (self.inner as *const I).cmp(&(other.inner as *const I)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 378 | (self.inner as *const I).cast::<()>().cmp(&(other.inner as *const I).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 378 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.inner as *const I).cmp(&(other.inner as *const I)) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ownref` (lib) due to 19 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "58f6316b30469100e163613c5d9f52c7af06a2fd220092adde8ffdc5d5b5d22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f6316b30469100e163613c5d9f52c7af06a2fd220092adde8ffdc5d5b5d22f", kill_on_drop: false }` [INFO] [stdout] 58f6316b30469100e163613c5d9f52c7af06a2fd220092adde8ffdc5d5b5d22f