[INFO] fetching crate sledgehammer 0.2.0... [INFO] checking sledgehammer-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate sledgehammer 0.2.0 into /workspace/builds/worker-0-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-0-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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bumpalo v3.11.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.83 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded js-sys v0.3.60 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded wasm-bindgen v0.2.83 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12b88a30d65865e772cb92e5658730eebd4317b7fd3e6ea05a501ed9b6c665b2 [INFO] running `Command { std: "docker" "start" "-a" "12b88a30d65865e772cb92e5658730eebd4317b7fd3e6ea05a501ed9b6c665b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12b88a30d65865e772cb92e5658730eebd4317b7fd3e6ea05a501ed9b6c665b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b88a30d65865e772cb92e5658730eebd4317b7fd3e6ea05a501ed9b6c665b2", kill_on_drop: false }` [INFO] [stdout] 12b88a30d65865e772cb92e5658730eebd4317b7fd3e6ea05a501ed9b6c665b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d13bed19ea2188111f89d8aad0ff014cb8d2d2a61de909d4e4fe4d34d6cf5d0d [INFO] running `Command { std: "docker" "start" "-a" "d13bed19ea2188111f89d8aad0ff014cb8d2d2a61de909d4e4fe4d34d6cf5d0d", 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 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] 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 6.74s [INFO] running `Command { std: "docker" "inspect" "d13bed19ea2188111f89d8aad0ff014cb8d2d2a61de909d4e4fe4d34d6cf5d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d13bed19ea2188111f89d8aad0ff014cb8d2d2a61de909d4e4fe4d34d6cf5d0d", kill_on_drop: false }` [INFO] [stdout] d13bed19ea2188111f89d8aad0ff014cb8d2d2a61de909d4e4fe4d34d6cf5d0d