[INFO] cloning repository https://github.com/utcs-scea/user-learned-pager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/utcs-scea/user-learned-pager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futcs-scea%2Fuser-learned-pager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futcs-scea%2Fuser-learned-pager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9119605978be999396444fb6e28f83ece57bc4c
[INFO] testing utcs-scea/user-learned-pager against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futcs-scea%2Fuser-learned-pager" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/utcs-scea/user-learned-pager
[INFO] finished tweaking git repo https://github.com/utcs-scea/user-learned-pager
[INFO] tweaked toml for git repo https://github.com/utcs-scea/user-learned-pager written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/utcs-scea/user-learned-pager on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/utcs-scea/user-learned-pager 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded build_cfg v1.1.0
[INFO] [stderr]   Downloaded build_cfg_macros v1.1.0
[INFO] [stderr]   Downloaded bitvector v0.1.5
[INFO] [stderr]   Downloaded build_cfg_shared v1.1.0
[INFO] [stderr]   Downloaded syn v2.0.81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21
[INFO] running `Command { std: "docker" "start" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitvector v0.1.5
[INFO] [stderr]    Compiling syn v2.0.81
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling errno v0.3.9
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling build_cfg_shared v1.1.0
[INFO] [stderr]    Compiling build_cfg_macros v1.1.0
[INFO] [stderr]    Compiling build_cfg v1.1.0
[INFO] [stderr]    Compiling mmap-shim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     if !HANDLER_ALLOWED.load(Ordering::Relaxed) {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 -     static mut HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout] 28 +     static HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                         SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &raw mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib.rs:99:50
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]    |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:124:50
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]     |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:153:20
[INFO] [stdout]     |
[INFO] [stdout] 153 |             while !HANDLER_FINALIZED.load(Ordering::Relaxed) {}
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  29 -     static mut HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]  29 +     static HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:273:41
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &raw mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &raw mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |                         afa, SIGSEGV_HANDLER.pointer, size,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:310:23
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &raw mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:351:46
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as sighandler_t,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as *const () as sighandler_t,
[INFO] [stdout]     |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.88s
[INFO] running `Command { std: "docker" "inspect" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling syn v2.0.81
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling clap_builder v4.5.20
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling clap v4.5.20
[INFO] [stderr]    Compiling build_cfg_shared v1.1.0
[INFO] [stderr]    Compiling build_cfg_macros v1.1.0
[INFO] [stderr]    Compiling build_cfg v1.1.0
[INFO] [stderr]    Compiling mmap-shim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     if !HANDLER_ALLOWED.load(Ordering::Relaxed) {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 -     static mut HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout] 28 +     static HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                         SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &raw mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib.rs:99:50
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]    |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:124:50
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]     |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:153:20
[INFO] [stdout]     |
[INFO] [stdout] 153 |             while !HANDLER_FINALIZED.load(Ordering::Relaxed) {}
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  29 -     static mut HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]  29 +     static HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:273:41
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &raw mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &raw mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |                         afa, SIGSEGV_HANDLER.pointer, size,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:310:23
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &raw mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:351:46
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as sighandler_t,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as *const () as sighandler_t,
[INFO] [stdout]     |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     if !HANDLER_ALLOWED.load(Ordering::Relaxed) {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 -     static mut HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout] 28 +     static HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                         SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     match &raw mut SINGLE_ALARM_HANDLER.func {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib.rs:99:50
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 99 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]    |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:124:50
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stdout]     |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:153:20
[INFO] [stdout]     |
[INFO] [stdout] 153 |             while !HANDLER_FINALIZED.load(Ordering::Relaxed) {}
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  29 -     static mut HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]  29 +     static HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:273:41
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 if let Some(out_file) = &raw mut SIGSEGV_HANDLER.output_file {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 let map_huge = match &raw mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |                         afa, SIGSEGV_HANDLER.pointer, size,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:310:23
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 match &raw mut SIGSEGV_HANDLER.map {
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:351:46
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as sighandler_t,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 sa_sigaction: signal_handler as *const () as sighandler_t,
[INFO] [stdout]     |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.32s
[INFO] running `Command { std: "docker" "inspect" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/lib.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |                     if !HANDLER_ALLOWED.load(Ordering::Relaxed) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stderr]    |
[INFO] [stderr] 28 -     static mut HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr] 28 +     static HANDLER_ALLOWED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/lib.rs:65:25
[INFO] [stderr]    |
[INFO] [stderr] 65 |                         SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/lib.rs:67:27
[INFO] [stderr]    |
[INFO] [stderr] 67 |                     match &mut SINGLE_ALARM_HANDLER.func {
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 67 |                     match &raw mut SINGLE_ALARM_HANDLER.func {
[INFO] [stderr]    |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]   --> src/lib.rs:99:50
[INFO] [stderr]    |
[INFO] [stderr] 99 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stderr]    |                                                  ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]    |
[INFO] [stderr] 99 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stderr]    |                                                  ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/lib.rs:124:50
[INFO] [stderr]     |
[INFO] [stderr] 124 |             libc::signal(SIGPROF, signal_handler as usize);
[INFO] [stderr]     |                                                  ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 124 |             libc::signal(SIGPROF, signal_handler as *const () as usize);
[INFO] [stderr]     |                                                  ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:153:20
[INFO] [stderr]     |
[INFO] [stderr] 153 |             while !HANDLER_FINALIZED.load(Ordering::Relaxed) {}
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stderr]     |
[INFO] [stderr]  29 -     static mut HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]  29 +     static HANDLER_FINALIZED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:158:17
[INFO] [stderr]     |
[INFO] [stderr] 158 |                 SINGLE_ALARM_HANDLER.buffer.as_mut_ptr(),
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:273:41
[INFO] [stderr]     |
[INFO] [stderr] 273 |                 if let Some(out_file) = &mut SIGSEGV_HANDLER.output_file {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 273 |                 if let Some(out_file) = &raw mut SIGSEGV_HANDLER.output_file {
[INFO] [stderr]     |                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:283:38
[INFO] [stderr]     |
[INFO] [stderr] 283 |                 let map_huge = match &mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 283 |                 let map_huge = match &raw mut SIGSEGV_HANDLER.pick_huge {
[INFO] [stderr]     |                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:301:30
[INFO] [stderr]     |
[INFO] [stderr] 301 |                         afa, SIGSEGV_HANDLER.pointer, size,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:310:23
[INFO] [stderr]     |
[INFO] [stderr] 310 |                 match &mut SIGSEGV_HANDLER.map {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 310 |                 match &raw mut SIGSEGV_HANDLER.map {
[INFO] [stderr]     |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/lib.rs:351:46
[INFO] [stderr]     |
[INFO] [stderr] 351 |                 sa_sigaction: signal_handler as sighandler_t,
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 351 |                 sa_sigaction: signal_handler as *const () as sighandler_t,
[INFO] [stderr]     |                                              ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `mmap-shim` (lib) generated 12 warnings (run `cargo fix --lib -p mmap-shim` to apply 3 suggestions)
[INFO] [stderr] warning: `mmap-shim` (lib test) generated 12 warnings (12 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mmap_shim-e77a6d811ef40637)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/mmap_shim-e77a6d811ef40637` (exit status: 255)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21", kill_on_drop: false }`
[INFO] [stdout] c08c95baeb9f960ba17a032b4754f49d1a585d8c5094924987b090266b3d2a21
