[INFO] fetching crate substrate-wasmtime-runtime 0.16.0-threadsafe.4...
[INFO] checking substrate-wasmtime-runtime-0.16.0-threadsafe.4 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] finished tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] tweaked toml for crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmparser v0.51.4
[INFO] [stderr]   Downloaded gimli v0.20.0
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.63.0
[INFO] [stderr]   Downloaded cranelift-wasm v0.63.0
[INFO] [stderr]   Downloaded wasmtime-environ v0.16.0
[INFO] [stderr]   Downloaded cranelift-frontend v0.63.0
[INFO] [stderr]   Downloaded cranelift-entity v0.63.0
[INFO] [stderr]   Downloaded cranelift-bforest v0.63.0
[INFO] [stderr]   Downloaded regalloc v0.0.21
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.63.0
[INFO] [stderr]   Downloaded cranelift-codegen v0.63.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57efbd5ef67ddf4bcefe89032c53e0eb02f3757e8363fb8086b3dde1a1d58687
[INFO] running `Command { std: "docker" "start" "-a" "57efbd5ef67ddf4bcefe89032c53e0eb02f3757e8363fb8086b3dde1a1d58687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57efbd5ef67ddf4bcefe89032c53e0eb02f3757e8363fb8086b3dde1a1d58687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57efbd5ef67ddf4bcefe89032c53e0eb02f3757e8363fb8086b3dde1a1d58687", kill_on_drop: false }`
[INFO] [stdout] 57efbd5ef67ddf4bcefe89032c53e0eb02f3757e8363fb8086b3dde1a1d58687
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da7caca5f3f6ab1098367cf8af385e0fa489f050fdbfe3a3151887127de5be32
[INFO] running `Command { std: "docker" "start" "-a" "da7caca5f3f6ab1098367cf8af385e0fa489f050fdbfe3a3151887127de5be32", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.63.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]     Checking regalloc v0.0.21
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling wasmtime-environ v0.16.0
[INFO] [stderr]     Checking wasmparser v0.51.4
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking more-asserts v0.2.2
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking gimli v0.20.0
[INFO] [stderr]     Checking is-terminal v0.4.10
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking errno v0.2.8
[INFO] [stderr]     Checking region v2.2.0
[INFO] [stderr]     Checking directories v2.0.2
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking cranelift-entity v0.63.0
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking cranelift-bforest v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen v0.63.0
[INFO] [stderr]     Checking cranelift-frontend v0.63.0
[INFO] [stderr]     Checking cranelift-wasm v0.63.0
[INFO] [stderr]     Checking zstd v0.5.4+zstd.1.4.7
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(addr_of_mut!(PREV_SIGSEGV), libc::SIGSEGV);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(addr_of_mut!(PREV_SIGSEGV), libc::SIGSEGV);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(addr_of_mut!(PREV_SIGILL), libc::SIGILL);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(addr_of_mut!(PREV_SIGFPE), libc::SIGFPE);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(addr_of_mut!(PREV_SIGILL), libc::SIGILL);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(addr_of_mut!(PREV_SIGBUS), libc::SIGBUS);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(addr_of_mut!(PREV_SIGFPE), libc::SIGFPE);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(addr_of_mut!(PREV_SIGBUS), libc::SIGBUS);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 88 |                 libc::SIGSEGV => addr_of!(PREV_SIGSEGV),
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 89 |                 libc::SIGBUS => addr_of!(PREV_SIGBUS),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 90 |                 libc::SIGFPE => addr_of!(PREV_SIGFPE),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 88 |                 libc::SIGSEGV => addr_of!(PREV_SIGSEGV),
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 91 |                 libc::SIGILL => addr_of!(PREV_SIGILL),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 89 |                 libc::SIGBUS => addr_of!(PREV_SIGBUS),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 90 |                 libc::SIGFPE => addr_of!(PREV_SIGFPE),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 91 |                 libc::SIGILL => addr_of!(PREV_SIGILL),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.42s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.63.0, wasmtime-environ v0.16.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "da7caca5f3f6ab1098367cf8af385e0fa489f050fdbfe3a3151887127de5be32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da7caca5f3f6ab1098367cf8af385e0fa489f050fdbfe3a3151887127de5be32", kill_on_drop: false }`
[INFO] [stdout] da7caca5f3f6ab1098367cf8af385e0fa489f050fdbfe3a3151887127de5be32
[INFO] checking substrate-wasmtime-runtime-0.16.0-threadsafe.4 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] finished tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] tweaked toml for crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8feacd0b9eeec49ff6c58c76decbdba5dd4e54fc89968fa89e3736c11ba15a4
[INFO] running `Command { std: "docker" "start" "-a" "f8feacd0b9eeec49ff6c58c76decbdba5dd4e54fc89968fa89e3736c11ba15a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8feacd0b9eeec49ff6c58c76decbdba5dd4e54fc89968fa89e3736c11ba15a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8feacd0b9eeec49ff6c58c76decbdba5dd4e54fc89968fa89e3736c11ba15a4", kill_on_drop: false }`
[INFO] [stdout] f8feacd0b9eeec49ff6c58c76decbdba5dd4e54fc89968fa89e3736c11ba15a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 3d9b6025da6ecec7d0dcbc9ad88b0a647da8c630349ee647e6be098d2966b9cc
[INFO] running `Command { std: "docker" "start" "-a" "3d9b6025da6ecec7d0dcbc9ad88b0a647da8c630349ee647e6be098d2966b9cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.63.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking regalloc v0.0.21
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling wasmtime-environ v0.16.0
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking wasmparser v0.51.4
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking gimli v0.20.0
[INFO] [stderr]     Checking more-asserts v0.2.2
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking is-terminal v0.4.10
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking errno v0.2.8
[INFO] [stderr]     Checking region v2.2.0
[INFO] [stderr]     Checking directories v2.0.2
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking file-per-thread-logger v0.1.6
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking cranelift-entity v0.63.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking cranelift-bforest v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen v0.63.0
[INFO] [stderr]     Checking cranelift-frontend v0.63.0
[INFO] [stderr]     Checking cranelift-wasm v0.63.0
[INFO] [stderr]     Checking zstd v0.5.4+zstd.1.4.7
[INFO] [stdout] error: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(addr_of_mut!(PREV_SIGSEGV), libc::SIGSEGV);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(addr_of_mut!(PREV_SIGILL), libc::SIGILL);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(addr_of_mut!(PREV_SIGFPE), libc::SIGFPE);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(addr_of_mut!(PREV_SIGBUS), libc::SIGBUS);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 88 |                 libc::SIGSEGV => addr_of!(PREV_SIGSEGV),
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 89 |                 libc::SIGBUS => addr_of!(PREV_SIGBUS),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 90 |                 libc::SIGFPE => addr_of!(PREV_SIGFPE),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 91 |                 libc::SIGILL => addr_of!(PREV_SIGILL),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(addr_of_mut!(PREV_SIGSEGV), libc::SIGSEGV);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(addr_of_mut!(PREV_SIGILL), libc::SIGILL);
[INFO] [stdout]    |                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(addr_of_mut!(PREV_SIGFPE), libc::SIGFPE);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(addr_of_mut!(PREV_SIGBUS), libc::SIGBUS);
[INFO] [stdout]    |                          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 88 |                 libc::SIGSEGV => addr_of!(PREV_SIGSEGV),
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 89 |                 libc::SIGBUS => addr_of!(PREV_SIGBUS),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 90 |                 libc::SIGFPE => addr_of!(PREV_SIGFPE),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/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] 91 |                 libc::SIGILL => addr_of!(PREV_SIGILL),
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substrate-wasmtime-runtime` (lib) due to 4 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substrate-wasmtime-runtime` (lib test) due to 4 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3d9b6025da6ecec7d0dcbc9ad88b0a647da8c630349ee647e6be098d2966b9cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d9b6025da6ecec7d0dcbc9ad88b0a647da8c630349ee647e6be098d2966b9cc", kill_on_drop: false }`
[INFO] [stdout] 3d9b6025da6ecec7d0dcbc9ad88b0a647da8c630349ee647e6be098d2966b9cc
