[INFO] fetching crate pointer-identity 0.1.1... [INFO] testing pointer-identity-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate pointer-identity 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pointer-identity 0.1.1 [INFO] finished tweaking crates.io crate pointer-identity 0.1.1 [INFO] tweaked toml for crates.io crate pointer-identity 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pointer-identity 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding test-strategy v0.3.1 (available: v0.4.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3383995a913281f6829cf5bbe5b7864dee0a40617cace04712f37d78e82fbf8 [INFO] running `Command { std: "docker" "start" "-a" "c3383995a913281f6829cf5bbe5b7864dee0a40617cace04712f37d78e82fbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3383995a913281f6829cf5bbe5b7864dee0a40617cace04712f37d78e82fbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3383995a913281f6829cf5bbe5b7864dee0a40617cace04712f37d78e82fbf8", kill_on_drop: false }` [INFO] [stdout] c3383995a913281f6829cf5bbe5b7864dee0a40617cace04712f37d78e82fbf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6b060822e2461a10368b94fff369d86730c058b037243436d6c894da09ca1d5 [INFO] running `Command { std: "docker" "start" "-a" "b6b060822e2461a10368b94fff369d86730c058b037243436d6c894da09ca1d5", kill_on_drop: false }` [INFO] [stderr] Compiling pointer-identity v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/identity.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.get() == other.0.get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::addr_eq(self.0.get(), other.0.get()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::eq(self.0.get(), other.0.get()) [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/identity.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cmp(&other.0.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) }) [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/identity.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cmp(&other.0.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 56 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "b6b060822e2461a10368b94fff369d86730c058b037243436d6c894da09ca1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b060822e2461a10368b94fff369d86730c058b037243436d6c894da09ca1d5", kill_on_drop: false }` [INFO] [stdout] b6b060822e2461a10368b94fff369d86730c058b037243436d6c894da09ca1d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2da62fc4cca01a30e1b8fe1dcbba51eac88731af44a054dcda4f9235c9f1efaf [INFO] running `Command { std: "docker" "start" "-a" "2da62fc4cca01a30e1b8fe1dcbba51eac88731af44a054dcda4f9235c9f1efaf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/identity.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.get() == other.0.get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::addr_eq(self.0.get(), other.0.get()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::eq(self.0.get(), other.0.get()) [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/identity.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cmp(&other.0.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) }) [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/identity.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cmp(&other.0.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 56 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling test-strategy v0.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling pointer-identity v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/identity.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.get() == other.0.get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::addr_eq(self.0.get(), other.0.get()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 42 - self.0.get() == other.0.get() [INFO] [stdout] 42 + std::ptr::eq(self.0.get(), other.0.get()) [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/identity.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cmp(&other.0.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some(self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 50 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) }) [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/identity.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cmp(&other.0.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 56 | self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 56 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.87s [INFO] running `Command { std: "docker" "inspect" "2da62fc4cca01a30e1b8fe1dcbba51eac88731af44a054dcda4f9235c9f1efaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da62fc4cca01a30e1b8fe1dcbba51eac88731af44a054dcda4f9235c9f1efaf", kill_on_drop: false }` [INFO] [stdout] 2da62fc4cca01a30e1b8fe1dcbba51eac88731af44a054dcda4f9235c9f1efaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 978f6477db6ee49076469c5f417ea4b1801ff698918480079f4b70ebc449bfc9 [INFO] running `Command { std: "docker" "start" "-a" "978f6477db6ee49076469c5f417ea4b1801ff698918480079f4b70ebc449bfc9", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/identity.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | self.0.get() == other.0.get() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stderr] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 42 - self.0.get() == other.0.get() [INFO] [stderr] 42 + std::ptr::addr_eq(self.0.get(), other.0.get()) [INFO] [stderr] | [INFO] [stderr] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stderr] | [INFO] [stderr] 42 - self.0.get() == other.0.get() [INFO] [stderr] 42 + std::ptr::eq(self.0.get(), other.0.get()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/identity.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | Some(self.0.get().cmp(&other.0.get())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 50 | Some(self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>())) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 50 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) }) [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/identity.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | self.0.get().cmp(&other.0.get()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 56 | self.0.get().cast::<()>().cmp(&other.0.get().cast::<()>()) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 56 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] self.0.get().cmp(&other.0.get()) } [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: `pointer-identity` (lib) generated 3 warnings [INFO] [stderr] warning: `pointer-identity` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pointer_identity-9e7fbde265a47d9c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/identity.rs (/opt/rustwide/target/debug/deps/identity-15c418d5ad1633dd) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test can_compare_cloned_identity ... ok [INFO] [stdout] test can_compare_identity ... ok [INFO] [stdout] test can_compare_methods ... ok [INFO] [stdout] test can_use_unsized_targets ... ok [INFO] [stdout] test can_compare_different ... ok [INFO] [stdout] test can_store ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests pointer_identity [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "978f6477db6ee49076469c5f417ea4b1801ff698918480079f4b70ebc449bfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978f6477db6ee49076469c5f417ea4b1801ff698918480079f4b70ebc449bfc9", kill_on_drop: false }` [INFO] [stdout] 978f6477db6ee49076469c5f417ea4b1801ff698918480079f4b70ebc449bfc9