[INFO] fetching crate dashcache 0.2.2...
[INFO] checking dashcache-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1
[INFO] extracting crate dashcache 0.2.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate dashcache 0.2.2
[INFO] finished tweaking crates.io crate dashcache 0.2.2
[INFO] tweaked toml for crates.io crate dashcache 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dashcache 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 101 packages to latest compatible versions
[INFO] [stderr] Adding ahash v0.4.8 (available: v0.8.12)
[INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0)
[INFO] [stderr] Adding dashmap v3.11.10 (available: v6.1.0)
[INFO] [stderr] Adding elysees v0.2.4 (available: v0.3.2)
[INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0)
[INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f5b0bc8cd61a63a22efd1622845a0e1c2919cb354390fc1b7638a2c9636aacb0
[INFO] running `Command { std: "docker" "start" "-a" "f5b0bc8cd61a63a22efd1622845a0e1c2919cb354390fc1b7638a2c9636aacb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5b0bc8cd61a63a22efd1622845a0e1c2919cb354390fc1b7638a2c9636aacb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5b0bc8cd61a63a22efd1622845a0e1c2919cb354390fc1b7638a2c9636aacb0", kill_on_drop: false }`
[INFO] [stdout] f5b0bc8cd61a63a22efd1622845a0e1c2919cb354390fc1b7638a2c9636aacb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7628e0ddb6ec63ba2dbabcae8d0751d2aa5afe5ef928582e0fb95d81b3335a6e
[INFO] running `Command { std: "docker" "start" "-a" "7628e0ddb6ec63ba2dbabcae8d0751d2aa5afe5ef928582e0fb95d81b3335a6e", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.175
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Compiling crunchy v0.2.4
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling cfg-if v1.0.3
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Checking either v1.15.0
[INFO] [stderr] Compiling proc-macro2 v1.0.101
[INFO] [stderr] Compiling zerocopy v0.8.26
[INFO] [stderr] Checking memchr v2.7.5
[INFO] [stderr] Compiling getrandom v0.1.16
[INFO] [stderr] Compiling paste v1.0.15
[INFO] [stderr] Compiling erasable v1.3.0
[INFO] [stderr] Checking scopeguard v1.2.0
[INFO] [stderr] Compiling unicode-ident v1.0.18
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking crossbeam-epoch v0.9.18
[INFO] [stderr] Compiling slice-dst v1.6.0
[INFO] [stderr] Compiling ptr-union v2.3.0
[INFO] [stderr] Compiling rayon-core v1.13.0
[INFO] [stderr] Checking itoa v1.0.15
[INFO] [stderr] Compiling serde_json v1.0.143
[INFO] [stderr] Checking ryu v1.0.20
[INFO] [stderr] Checking crossbeam-deque v0.8.6
[INFO] [stderr] Checking regex-syntax v0.8.6
[INFO] [stderr] Checking plotters-backend v0.3.7
[INFO] [stderr] Compiling getrandom v0.2.16
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Checking unicode-width v0.1.14
[INFO] [stderr] Compiling const-random-macro v0.1.16
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Checking plotters-svg v0.3.7
[INFO] [stderr] Checking const-random v0.1.18
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking ahash v0.3.8
[INFO] [stderr] Checking num_cpus v1.17.0
[INFO] [stderr] Checking csv-core v0.1.12
[INFO] [stderr] Checking regex-automata v0.4.10
[INFO] [stderr] Checking itertools v0.10.5
[INFO] [stderr] Checking cfg-if v0.1.10
[INFO] [stderr] Checking bitflags v1.3.2
[INFO] [stderr] Checking same-file v1.0.6
[INFO] [stderr] Checking half v1.8.3
[INFO] [stderr] Checking stable_deref_trait v1.2.0
[INFO] [stderr] Checking cast v0.3.0
[INFO] [stderr] Checking elysees v0.2.4
[INFO] [stderr] Checking walkdir v2.5.0
[INFO] [stderr] Checking clap v2.34.0
[INFO] [stderr] Checking dashmap v3.11.10
[INFO] [stderr] Checking plotters v0.3.7
[INFO] [stderr] Checking rayon v1.11.0
[INFO] [stderr] Checking ppv-lite86 v0.2.21
[INFO] [stderr] Checking rand_chacha v0.2.2
[INFO] [stderr] Checking criterion-plot v0.4.5
[INFO] [stderr] Checking regex v1.11.2
[INFO] [stderr] Checking csv v1.3.1
[INFO] [stderr] Checking serde_cbor v0.11.2
[INFO] [stderr] Checking ahash v0.4.8
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking tinytemplate v1.2.1
[INFO] [stderr] Checking itertools v0.9.0
[INFO] [stderr] Checking lazy_static v1.5.0
[INFO] [stderr] Checking oorandom v11.1.5
[INFO] [stderr] Checking rand v0.7.3
[INFO] [stderr] Checking dashcache v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout] --> src/arr.rs:75:16
[INFO] [stdout] |
[INFO] [stdout] 75 | if l.deref() as *const A::Target != r.deref() as *const A::Target {
[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] 75 - if l.deref() as *const A::Target != r.deref() as *const A::Target {
[INFO] [stdout] 75 + if !std::ptr::addr_eq(l.deref() as *const A::Target, r.deref() as *const A::Target) {
[INFO] [stdout] |
[INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 75 - if l.deref() as *const A::Target != r.deref() as *const A::Target {
[INFO] [stdout] 75 + if !std::ptr::eq(l.deref() as *const A::Target, r.deref() as *const A::Target) {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/arr.rs:101:17
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn iter(&self) -> std::slice::Iter {
[INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn iter(&self) -> std::slice::Iter<'_, A> {
[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/arr.rs:258:22
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| w[0].deref() as *const _ <= w[1].deref() as *const _)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| w[0].deref() as *const _.cast::<()>() <= w[1].deref() as *const _.cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (w[0].deref() as *const _ <= w[1].deref() as *const _) })
[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/arr.rs:264:22
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| w[0].deref() as *const _ < w[1].deref() as *const _)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| w[0].deref() as *const _.cast::<()>() < w[1].deref() as *const _.cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (w[0].deref() as *const _ < w[1].deref() as *const _) })
[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/arr.rs:367:17
[INFO] [stdout] |
[INFO] [stdout] 367 | (*l).deref() as *const A::Target <= (*r).deref() as *const A::Target
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 367 | (*l).deref() as *const A::Target.cast::<()>() <= (*r).deref() as *const A::Target.cast::<()>()
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 367 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target <= (*r).deref() as *const A::Target) }
[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/arr.rs:384:17
[INFO] [stdout] |
[INFO] [stdout] 384 | ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 384 | ((*l).deref() as *const A::Target).cast::<()>().cmp(&((*r).deref() as *const A::Target).cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 384 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target)) }
[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/arr.rs:433:17
[INFO] [stdout] |
[INFO] [stdout] 433 | ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 433 | ((*l).deref() as *const A::Target).cast::<()>().cmp(&((*r).deref() as *const A::Target).cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 433 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target)) }
[INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Checking criterion v0.3.6
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout] --> src/arr.rs:75:16
[INFO] [stdout] |
[INFO] [stdout] 75 | if l.deref() as *const A::Target != r.deref() as *const A::Target {
[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] 75 - if l.deref() as *const A::Target != r.deref() as *const A::Target {
[INFO] [stdout] 75 + if !std::ptr::addr_eq(l.deref() as *const A::Target, r.deref() as *const A::Target) {
[INFO] [stdout] |
[INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 75 - if l.deref() as *const A::Target != r.deref() as *const A::Target {
[INFO] [stdout] 75 + if !std::ptr::eq(l.deref() as *const A::Target, r.deref() as *const A::Target) {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/arr.rs:101:17
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn iter(&self) -> std::slice::Iter {
[INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn iter(&self) -> std::slice::Iter<'_, A> {
[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/arr.rs:258:22
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| w[0].deref() as *const _ <= w[1].deref() as *const _)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| w[0].deref() as *const _.cast::<()>() <= w[1].deref() as *const _.cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 258 | .all(|w| { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (w[0].deref() as *const _ <= w[1].deref() as *const _) })
[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/arr.rs:264:22
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| w[0].deref() as *const _ < w[1].deref() as *const _)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| w[0].deref() as *const _.cast::<()>() < w[1].deref() as *const _.cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 264 | .all(|w| { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (w[0].deref() as *const _ < w[1].deref() as *const _) })
[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/arr.rs:367:17
[INFO] [stdout] |
[INFO] [stdout] 367 | (*l).deref() as *const A::Target <= (*r).deref() as *const A::Target
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 367 | (*l).deref() as *const A::Target.cast::<()>() <= (*r).deref() as *const A::Target.cast::<()>()
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 367 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target <= (*r).deref() as *const A::Target) }
[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/arr.rs:384:17
[INFO] [stdout] |
[INFO] [stdout] 384 | ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 384 | ((*l).deref() as *const A::Target).cast::<()>().cmp(&((*r).deref() as *const A::Target).cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 384 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target)) }
[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/arr.rs:433:17
[INFO] [stdout] |
[INFO] [stdout] 433 | ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: use untyped pointers to only compare their addresses
[INFO] [stdout] |
[INFO] [stdout] 433 | ((*l).deref() as *const A::Target).cast::<()>().cmp(&((*r).deref() as *const A::Target).cast::<()>())
[INFO] [stdout] | +++++++++++++ +++++++++++++
[INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses
[INFO] [stdout] |
[INFO] [stdout] 433 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] ((*l).deref() as *const A::Target).cmp(&((*r).deref() as *const A::Target)) }
[INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.06s
[INFO] running `Command { std: "docker" "inspect" "7628e0ddb6ec63ba2dbabcae8d0751d2aa5afe5ef928582e0fb95d81b3335a6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7628e0ddb6ec63ba2dbabcae8d0751d2aa5afe5ef928582e0fb95d81b3335a6e", kill_on_drop: false }`
[INFO] [stdout] 7628e0ddb6ec63ba2dbabcae8d0751d2aa5afe5ef928582e0fb95d81b3335a6e