[INFO] fetching crate observe 1.2.0... [INFO] checking observe-1.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate observe 1.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate observe 1.2.0 [INFO] finished tweaking crates.io crate observe 1.2.0 [INFO] tweaked toml for crates.io crate observe 1.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate observe 1.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 44 packages to latest compatible versions [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enclose v1.2.1 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc9c5784d7c34588ed51d10e92739ef93866cc42b466d7255e64758a39221c0 [INFO] running `Command { std: "docker" "start" "-a" "ccc9c5784d7c34588ed51d10e92739ef93866cc42b466d7255e64758a39221c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc9c5784d7c34588ed51d10e92739ef93866cc42b466d7255e64758a39221c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc9c5784d7c34588ed51d10e92739ef93866cc42b466d7255e64758a39221c0", kill_on_drop: false }` [INFO] [stdout] ccc9c5784d7c34588ed51d10e92739ef93866cc42b466d7255e64758a39221c0 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c0d1586cce24509cbacc91cab7f112adce300b8581e4050c8bc2cedd3f9a1c3 [INFO] running `Command { std: "docker" "start" "-a" "1c0d1586cce24509cbacc91cab7f112adce300b8581e4050c8bc2cedd3f9a1c3", kill_on_drop: false }` [INFO] [stderr] Checking enclose v1.2.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking observe v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/addr.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [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] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] 24 + std::ptr::addr_eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] 24 + std::ptr::eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [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/addr.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 32 | Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 32 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) } [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/addr.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Some(Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 38 | Some(Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 38 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) }) [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/addr.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] 61 + std::ptr::addr_eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] 61 + std::ptr::eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [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/addr.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 69 | Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 69 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) } [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/addr.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | Some(Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 75 | Some(Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 75 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) }) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { STARTED.get() } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | if !STARTED.get() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | STARTED.set(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | if !MICROTASK.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | MICROTASK.set(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { MICROTASK.get() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | STARTED.set(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let mut borrow = unsafe { CHANGED.borrow_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/reaction.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / CHANGED [INFO] [stdout] 139 | | .borrow_mut() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/addr.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [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] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] 24 + std::ptr::addr_eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] 24 + std::ptr::eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [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/addr.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 32 | Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 32 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) } [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/addr.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Some(Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 38 | Some(Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 38 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) }) [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/addr.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] 61 + std::ptr::addr_eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] 61 + std::ptr::eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [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/addr.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 69 | Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 69 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) } [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/addr.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | Some(Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 75 | Some(Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>())) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 75 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) }) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { STARTED.get() } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | if !STARTED.get() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | STARTED.set(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | if !MICROTASK.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | MICROTASK.set(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { MICROTASK.get() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | STARTED.set(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/batch.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let mut borrow = unsafe { CHANGED.borrow_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/reaction.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / CHANGED [INFO] [stdout] 139 | | .borrow_mut() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.97s [INFO] running `Command { std: "docker" "inspect" "1c0d1586cce24509cbacc91cab7f112adce300b8581e4050c8bc2cedd3f9a1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0d1586cce24509cbacc91cab7f112adce300b8581e4050c8bc2cedd3f9a1c3", kill_on_drop: false }` [INFO] [stdout] 1c0d1586cce24509cbacc91cab7f112adce300b8581e4050c8bc2cedd3f9a1c3