[INFO] fetching crate observe 1.2.0... [INFO] testing observe-1.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate observe 1.2.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate observe 1.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d271fd18acde33dab8afbbf1d2df6b99f06c8d43d3739e0d8790658f16fbc5f0 [INFO] running `Command { std: "docker" "start" "-a" "d271fd18acde33dab8afbbf1d2df6b99f06c8d43d3739e0d8790658f16fbc5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d271fd18acde33dab8afbbf1d2df6b99f06c8d43d3739e0d8790658f16fbc5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d271fd18acde33dab8afbbf1d2df6b99f06c8d43d3739e0d8790658f16fbc5f0", kill_on_drop: false }` [INFO] [stdout] d271fd18acde33dab8afbbf1d2df6b99f06c8d43d3739e0d8790658f16fbc5f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ecd8d5a71e02328db5349410f336acf16a63a7d91619497f68c3c9631af6926a [INFO] running `Command { std: "docker" "start" "-a" "ecd8d5a71e02328db5349410f336acf16a63a7d91619497f68c3c9631af6926a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling enclose v1.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [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)]` 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 12.65s [INFO] running `Command { std: "docker" "inspect" "ecd8d5a71e02328db5349410f336acf16a63a7d91619497f68c3c9631af6926a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd8d5a71e02328db5349410f336acf16a63a7d91619497f68c3c9631af6926a", kill_on_drop: false }` [INFO] [stdout] ecd8d5a71e02328db5349410f336acf16a63a7d91619497f68c3c9631af6926a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f602aad087ca16f2c4149cd3ac89e554abd2e24a25ac8b1e324e6ffea465099c [INFO] running `Command { std: "docker" "start" "-a" "f602aad087ca16f2c4149cd3ac89e554abd2e24a25ac8b1e324e6ffea465099c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fragile v2.0.1 [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] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [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)]` 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 30.73s [INFO] running `Command { std: "docker" "inspect" "f602aad087ca16f2c4149cd3ac89e554abd2e24a25ac8b1e324e6ffea465099c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f602aad087ca16f2c4149cd3ac89e554abd2e24a25ac8b1e324e6ffea465099c", kill_on_drop: false }` [INFO] [stdout] f602aad087ca16f2c4149cd3ac89e554abd2e24a25ac8b1e324e6ffea465099c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 407649269cc77b6f4ca114f720364015d54b9041f6bff28cf08fc7d183075916 [INFO] running `Command { std: "docker" "start" "-a" "407649269cc77b6f4ca114f720364015d54b9041f6bff28cf08fc7d183075916", 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)]` 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] [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: `observe` (lib) generated 15 warnings [INFO] [stderr] warning: `observe` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/observe-86108e6996d8c9f0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/main-384bbd38e15c5516) [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/x86_64-unknown-linux-musl/debug/deps/mock-201a6883e00bd9b4) [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" "407649269cc77b6f4ca114f720364015d54b9041f6bff28cf08fc7d183075916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407649269cc77b6f4ca114f720364015d54b9041f6bff28cf08fc7d183075916", kill_on_drop: false }` [INFO] [stdout] 407649269cc77b6f4ca114f720364015d54b9041f6bff28cf08fc7d183075916