[INFO] fetching crate observe 1.2.0... [INFO] testing observe-1.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate observe 1.2.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate observe 1.2.0 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 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a484676e6d04dfc86a0ad2c0f1aa8326f48b8e1a29bd587d0736ac878ae55fab [INFO] running `Command { std: "docker" "start" "-a" "a484676e6d04dfc86a0ad2c0f1aa8326f48b8e1a29bd587d0736ac878ae55fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a484676e6d04dfc86a0ad2c0f1aa8326f48b8e1a29bd587d0736ac878ae55fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a484676e6d04dfc86a0ad2c0f1aa8326f48b8e1a29bd587d0736ac878ae55fab", kill_on_drop: false }` [INFO] [stdout] a484676e6d04dfc86a0ad2c0f1aa8326f48b8e1a29bd587d0736ac878ae55fab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a2feb02e2b104110cf15cd1e488f60deedfc9ade53ac4ba525a8332ac2b19f49 [INFO] running `Command { std: "docker" "start" "-a" "a2feb02e2b104110cf15cd1e488f60deedfc9ade53ac4ba525a8332ac2b19f49", kill_on_drop: false }` [INFO] [stderr] Compiling enclose v1.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 0.58s [INFO] running `Command { std: "docker" "inspect" "a2feb02e2b104110cf15cd1e488f60deedfc9ade53ac4ba525a8332ac2b19f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2feb02e2b104110cf15cd1e488f60deedfc9ade53ac4ba525a8332ac2b19f49", kill_on_drop: false }` [INFO] [stdout] a2feb02e2b104110cf15cd1e488f60deedfc9ade53ac4ba525a8332ac2b19f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eb4af6689c431bd80feed3d0f976d608e60485dcd0bd73fc37eef8a934197a37 [INFO] running `Command { std: "docker" "start" "-a" "eb4af6689c431bd80feed3d0f976d608e60485dcd0bd73fc37eef8a934197a37", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling mockall_derive 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "eb4af6689c431bd80feed3d0f976d608e60485dcd0bd73fc37eef8a934197a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4af6689c431bd80feed3d0f976d608e60485dcd0bd73fc37eef8a934197a37", kill_on_drop: false }` [INFO] [stdout] eb4af6689c431bd80feed3d0f976d608e60485dcd0bd73fc37eef8a934197a37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 05d48fee49023919ee36ee24a45793b87267594bf76b3a763925414ff2721927 [INFO] running `Command { std: "docker" "start" "-a" "05d48fee49023919ee36ee24a45793b87267594bf76b3a763925414ff2721927", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:24:3 [INFO] [stderr] | [INFO] [stderr] 24 | Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [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] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stderr] 24 + std::ptr::addr_eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [INFO] [stderr] | [INFO] [stderr] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stderr] | [INFO] [stderr] 24 - Rc::as_ptr(&self.ptr).eq(&Rc::as_ptr(&other.ptr)) [INFO] [stderr] 24 + std::ptr::eq(Rc::as_ptr(&self.ptr), Rc::as_ptr(&other.ptr)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:32:3 [INFO] [stderr] | [INFO] [stderr] 32 | Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 32 | Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>()) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 32 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) } [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | Some(Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 38 | Some(Rc::as_ptr(&self.ptr).cast::<()>().cmp(&Rc::as_ptr(&other.ptr).cast::<()>())) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 38 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Rc::as_ptr(&self.ptr).cmp(&Rc::as_ptr(&other.ptr)) }) [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stderr] 61 + std::ptr::addr_eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [INFO] [stderr] | [INFO] [stderr] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stderr] | [INFO] [stderr] 61 - Weak::as_ptr(&self.ptr).eq(&Weak::as_ptr(&other.ptr)) [INFO] [stderr] 61 + std::ptr::eq(Weak::as_ptr(&self.ptr), Weak::as_ptr(&other.ptr)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 69 | Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>()) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 69 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) } [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/addr.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | Some(Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 75 | Some(Weak::as_ptr(&self.ptr).cast::<()>().cmp(&Weak::as_ptr(&other.ptr).cast::<()>())) [INFO] [stderr] | +++++++++++++ +++++++++++++ [INFO] [stderr] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stderr] | [INFO] [stderr] 75 | Some({ #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Weak::as_ptr(&self.ptr).cmp(&Weak::as_ptr(&other.ptr)) }) [INFO] [stderr] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | unsafe { STARTED.get() } [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | if !STARTED.get() { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | STARTED.set(true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | if !MICROTASK.get() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | MICROTASK.set(true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe { MICROTASK.get() } [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:54:3 [INFO] [stderr] | [INFO] [stderr] 54 | STARTED.set(false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/batch.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | let mut borrow = unsafe { CHANGED.borrow_mut() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/reaction.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | / CHANGED [INFO] [stderr] 139 | | .borrow_mut() [INFO] [stderr] | |_________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] running 0 tests [INFO] [stderr] = 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] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: `observe` (lib) generated 15 warnings [INFO] [stdout] [INFO] [stderr] warning: `observe` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/observe-947ef27204f99e4b) [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-fb67d29a32acb064) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test check_invalidation ... ok [INFO] [stdout] test computed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mock.rs (/opt/rustwide/target/debug/deps/mock-80382dcc2204851a) [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] [stderr] Doc-tests observe [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" "05d48fee49023919ee36ee24a45793b87267594bf76b3a763925414ff2721927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d48fee49023919ee36ee24a45793b87267594bf76b3a763925414ff2721927", kill_on_drop: false }` [INFO] [stdout] 05d48fee49023919ee36ee24a45793b87267594bf76b3a763925414ff2721927