[INFO] fetching crate pointer-identity 0.1.1... [INFO] testing pointer-identity-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pointer-identity 0.1.1 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pointer-identity 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 111 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a45042ff8c90a43119c0419340bbe50be62e13c224cff9bb4a2958326c3879c [INFO] running `Command { std: "docker" "start" "-a" "5a45042ff8c90a43119c0419340bbe50be62e13c224cff9bb4a2958326c3879c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a45042ff8c90a43119c0419340bbe50be62e13c224cff9bb4a2958326c3879c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a45042ff8c90a43119c0419340bbe50be62e13c224cff9bb4a2958326c3879c", kill_on_drop: false }` [INFO] [stdout] 5a45042ff8c90a43119c0419340bbe50be62e13c224cff9bb4a2958326c3879c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07462e09db2ff7dbc511443216d9240d71bb87f35824b828af38a67b3cf889bc [INFO] running `Command { std: "docker" "start" "-a" "07462e09db2ff7dbc511443216d9240d71bb87f35824b828af38a67b3cf889bc", 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.39s [INFO] running `Command { std: "docker" "inspect" "07462e09db2ff7dbc511443216d9240d71bb87f35824b828af38a67b3cf889bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07462e09db2ff7dbc511443216d9240d71bb87f35824b828af38a67b3cf889bc", kill_on_drop: false }` [INFO] [stdout] 07462e09db2ff7dbc511443216d9240d71bb87f35824b828af38a67b3cf889bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3144ac8fc5ac1d5c14e4e373a6b04f2b2af405e17954c6e7afb8f8c416470b31 [INFO] running `Command { std: "docker" "start" "-a" "3144ac8fc5ac1d5c14e4e373a6b04f2b2af405e17954c6e7afb8f8c416470b31", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [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 proptest v1.7.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 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 58.15s [INFO] running `Command { std: "docker" "inspect" "3144ac8fc5ac1d5c14e4e373a6b04f2b2af405e17954c6e7afb8f8c416470b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3144ac8fc5ac1d5c14e4e373a6b04f2b2af405e17954c6e7afb8f8c416470b31", kill_on_drop: false }` [INFO] [stdout] 3144ac8fc5ac1d5c14e4e373a6b04f2b2af405e17954c6e7afb8f8c416470b31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 532308ad9af20ce345fb18c7f0e467dd0161064dc265aae5c50fc5a9bbfc1744 [INFO] running `Command { std: "docker" "start" "-a" "532308ad9af20ce345fb18c7f0e467dd0161064dc265aae5c50fc5a9bbfc1744", 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.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pointer_identity-bf6984b02154efd4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/identity.rs (/opt/rustwide/target/debug/deps/identity-e4db0aa104fecc14) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test can_compare_cloned_identity ... ok [INFO] [stdout] test can_compare_methods ... ok [INFO] [stdout] test can_compare_identity ... ok [INFO] [stdout] test can_use_unsized_targets ... ok [INFO] [stdout] test can_compare_different ... ok [INFO] [stderr] Doc-tests pointer_identity [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] [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" "532308ad9af20ce345fb18c7f0e467dd0161064dc265aae5c50fc5a9bbfc1744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532308ad9af20ce345fb18c7f0e467dd0161064dc265aae5c50fc5a9bbfc1744", kill_on_drop: false }` [INFO] [stdout] 532308ad9af20ce345fb18c7f0e467dd0161064dc265aae5c50fc5a9bbfc1744