[INFO] fetching crate sledgehammer 0.2.0... [INFO] checking sledgehammer-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate sledgehammer 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate sledgehammer 0.2.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sledgehammer 0.2.0 [INFO] finished tweaking crates.io crate sledgehammer 0.2.0 [INFO] tweaked toml for crates.io crate sledgehammer 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate sledgehammer 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 706ea3d8f1415dd446f64ddb599a933ccae9983472562535479580262cae8978 [INFO] running `Command { std: "docker" "start" "-a" "706ea3d8f1415dd446f64ddb599a933ccae9983472562535479580262cae8978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "706ea3d8f1415dd446f64ddb599a933ccae9983472562535479580262cae8978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "706ea3d8f1415dd446f64ddb599a933ccae9983472562535479580262cae8978", kill_on_drop: false }` [INFO] [stdout] 706ea3d8f1415dd446f64ddb599a933ccae9983472562535479580262cae8978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 406b02ac81ce1624123f6bf4b34bc051804a763e210fbaa7e86d5a48a6acf827 [INFO] running `Command { std: "docker" "start" "-a" "406b02ac81ce1624123f6bf4b34bc051804a763e210fbaa7e86d5a48a6acf827", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking sledgehammer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { &MSG_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { addr_of!(MSG_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { &MSG_POS_UPDATED } as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { addr_of!(MSG_POS_UPDATED) } as *const u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { &STR_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { addr_of!(STR_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { &STR_LEN } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { addr_of!(STR_LEN) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { &MSG_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { addr_of!(MSG_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { &MSG_POS_UPDATED } as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { addr_of!(MSG_POS_UPDATED) } as *const u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { &STR_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { addr_of!(STR_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { &STR_LEN } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { addr_of!(STR_LEN) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.94s [INFO] running `Command { std: "docker" "inspect" "406b02ac81ce1624123f6bf4b34bc051804a763e210fbaa7e86d5a48a6acf827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406b02ac81ce1624123f6bf4b34bc051804a763e210fbaa7e86d5a48a6acf827", kill_on_drop: false }` [INFO] [stdout] 406b02ac81ce1624123f6bf4b34bc051804a763e210fbaa7e86d5a48a6acf827 [INFO] checking sledgehammer-0.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate sledgehammer 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sledgehammer 0.2.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sledgehammer 0.2.0 [INFO] finished tweaking crates.io crate sledgehammer 0.2.0 [INFO] tweaked toml for crates.io crate sledgehammer 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate sledgehammer 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cbc92e6136f55b4e3f268e07fbf92e31913f55cf07cbe9308e997afe758e19b [INFO] running `Command { std: "docker" "start" "-a" "0cbc92e6136f55b4e3f268e07fbf92e31913f55cf07cbe9308e997afe758e19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cbc92e6136f55b4e3f268e07fbf92e31913f55cf07cbe9308e997afe758e19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbc92e6136f55b4e3f268e07fbf92e31913f55cf07cbe9308e997afe758e19b", kill_on_drop: false }` [INFO] [stdout] 0cbc92e6136f55b4e3f268e07fbf92e31913f55cf07cbe9308e997afe758e19b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f85a71b6dccc292d47e138214bb3b6a629bec24c8d93bf7e0c9cc35425de51e [INFO] running `Command { std: "docker" "start" "-a" "3f85a71b6dccc292d47e138214bb3b6a629bec24c8d93bf7e0c9cc35425de51e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking sledgehammer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { &MSG_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { addr_of!(MSG_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { &MSG_POS_UPDATED } as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { addr_of!(MSG_POS_UPDATED) } as *const u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { &STR_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { addr_of!(STR_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { &STR_LEN } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { addr_of!(STR_LEN) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { &MSG_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | static mut MSG_PTR_PTR: *const usize = unsafe { addr_of!(MSG_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { &MSG_POS_UPDATED } as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | static mut MSG_METADATA_PTR: *const u8 = unsafe { addr_of!(MSG_POS_UPDATED) } as *const u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { &STR_PTR } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | static mut STR_PTR_PTR: *const usize = unsafe { addr_of!(STR_PTR) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { &STR_LEN } as *const usize; [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 104 | static mut STR_LEN_PTR: *const usize = unsafe { addr_of!(STR_LEN) } as *const usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | #[wasm_bindgen(module = "/interpreter_opt.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_JsInterpreter` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sledgehammer` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | #[wasm_bindgen(module = "/interpreter_opt.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_JsInterpreter` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sledgehammer` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3f85a71b6dccc292d47e138214bb3b6a629bec24c8d93bf7e0c9cc35425de51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f85a71b6dccc292d47e138214bb3b6a629bec24c8d93bf7e0c9cc35425de51e", kill_on_drop: false }` [INFO] [stdout] 3f85a71b6dccc292d47e138214bb3b6a629bec24c8d93bf7e0c9cc35425de51e