[INFO] fetching crate playdate-scoreboards 0.1.7... [INFO] building playdate-scoreboards-0.1.7 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate playdate-scoreboards 0.1.7 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate playdate-scoreboards 0.1.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate playdate-scoreboards 0.1.7 [INFO] tweaked toml for crates.io crate playdate-scoreboards 0.1.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate playdate-scoreboards 0.1.7 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate playdate-scoreboards 0.1.7 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded erased_set v0.8.0 [INFO] [stderr] Downloaded playdate-bindgen-cfg v0.3.0 [INFO] [stderr] Downloaded playdate-build-utils v0.3.10 [INFO] [stderr] Downloaded playdate-system v0.3.16 [INFO] [stderr] Downloaded playdate-bindgen v0.3.0 [INFO] [stderr] Downloaded playdate-sys v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225c3f9fc10ed5ea86791426edfb6918ca81947f3838450bf7cf1412e0bb090d [INFO] running `Command { std: "docker" "start" "-a" "225c3f9fc10ed5ea86791426edfb6918ca81947f3838450bf7cf1412e0bb090d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225c3f9fc10ed5ea86791426edfb6918ca81947f3838450bf7cf1412e0bb090d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225c3f9fc10ed5ea86791426edfb6918ca81947f3838450bf7cf1412e0bb090d", kill_on_drop: false }` [INFO] [stdout] 225c3f9fc10ed5ea86791426edfb6918ca81947f3838450bf7cf1412e0bb090d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3479f70e1d0ebaea4d74672d65e7d830b9e9f4b4e7db0bc152e9ce6226551ea [INFO] running `Command { std: "docker" "start" "-a" "d3479f70e1d0ebaea4d74672d65e7d830b9e9f4b4e7db0bc152e9ce6226551ea", kill_on_drop: false }` [INFO] [stderr] Compiling playdate-bindgen-cfg v0.3.0 [INFO] [stderr] Compiling erased_set v0.8.0 [INFO] [stderr] Compiling playdate-sys v0.5.5 [INFO] [stderr] Compiling playdate-scoreboards v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/storage.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | if unsafe { STORE.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(true) = unsafe { STORE.as_mut() }.map(|store| store.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:448:28 [INFO] [stdout] | [INFO] [stdout] 448 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:478:28 [INFO] [stdout] | [INFO] [stdout] 478 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "d3479f70e1d0ebaea4d74672d65e7d830b9e9f4b4e7db0bc152e9ce6226551ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3479f70e1d0ebaea4d74672d65e7d830b9e9f4b4e7db0bc152e9ce6226551ea", kill_on_drop: false }` [INFO] [stdout] d3479f70e1d0ebaea4d74672d65e7d830b9e9f4b4e7db0bc152e9ce6226551ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51e7e06828cbbdb58090b6273b57392adc558062a4bc54b510b1e281ebfa5180 [INFO] running `Command { std: "docker" "start" "-a" "51e7e06828cbbdb58090b6273b57392adc558062a4bc54b510b1e281ebfa5180", kill_on_drop: false }` [INFO] [stderr] Compiling playdate-sys v0.5.5 [INFO] [stderr] Compiling playdate-system v0.3.16 [INFO] [stderr] Compiling playdate-scoreboards v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/storage.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | if unsafe { STORE.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(true) = unsafe { STORE.as_mut() }.map(|store| store.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:448:28 [INFO] [stdout] | [INFO] [stdout] 448 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:478:28 [INFO] [stdout] | [INFO] [stdout] 478 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/storage.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | if unsafe { STORE.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(true) = unsafe { STORE.as_mut() }.map(|store| store.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/storage.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:448:28 [INFO] [stdout] | [INFO] [stdout] 448 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:478:28 [INFO] [stdout] | [INFO] [stdout] 478 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardId` should have a snake case name [INFO] [stdout] --> src/lib.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardsList` should have a snake case name [INFO] [stdout] --> src/lib.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "51e7e06828cbbdb58090b6273b57392adc558062a4bc54b510b1e281ebfa5180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e7e06828cbbdb58090b6273b57392adc558062a4bc54b510b1e281ebfa5180", kill_on_drop: false }` [INFO] [stdout] 51e7e06828cbbdb58090b6273b57392adc558062a4bc54b510b1e281ebfa5180