[INFO] fetching crate playdate-scoreboards 0.1.7... [INFO] building playdate-scoreboards-0.1.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate playdate-scoreboards 0.1.7 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate playdate-scoreboards 0.1.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded playdate-build-utils v0.3.10 [INFO] [stderr] Downloaded playdate-bindgen-cfg v0.3.0 [INFO] [stderr] Downloaded libloading v0.8.6 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded playdate-sys v0.5.5 [INFO] [stderr] Downloaded playdate-bindgen v0.3.0 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded playdate-system v0.3.16 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 758ff6ec6d700363f6d25d8930ee57c6a416f0bf8baadb897c309ff264afa5ff [INFO] running `Command { std: "docker" "start" "-a" "758ff6ec6d700363f6d25d8930ee57c6a416f0bf8baadb897c309ff264afa5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "758ff6ec6d700363f6d25d8930ee57c6a416f0bf8baadb897c309ff264afa5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758ff6ec6d700363f6d25d8930ee57c6a416f0bf8baadb897c309ff264afa5ff", kill_on_drop: false }` [INFO] [stdout] 758ff6ec6d700363f6d25d8930ee57c6a416f0bf8baadb897c309ff264afa5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50c3e2cde60f94b74298102f2bdc49602ed25f22790c4408229695ae839756f3 [INFO] running `Command { std: "docker" "start" "-a" "50c3e2cde60f94b74298102f2bdc49602ed25f22790c4408229695ae839756f3", 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 2.05s [INFO] running `Command { std: "docker" "inspect" "50c3e2cde60f94b74298102f2bdc49602ed25f22790c4408229695ae839756f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c3e2cde60f94b74298102f2bdc49602ed25f22790c4408229695ae839756f3", kill_on_drop: false }` [INFO] [stdout] 50c3e2cde60f94b74298102f2bdc49602ed25f22790c4408229695ae839756f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58b514b9f161c7eabb522d4bf6373a8d117c161256c8013942407f503be466b4 [INFO] running `Command { std: "docker" "start" "-a" "58b514b9f161c7eabb522d4bf6373a8d117c161256c8013942407f503be466b4", 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.58s [INFO] running `Command { std: "docker" "inspect" "58b514b9f161c7eabb522d4bf6373a8d117c161256c8013942407f503be466b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b514b9f161c7eabb522d4bf6373a8d117c161256c8013942407f503be466b4", kill_on_drop: false }` [INFO] [stdout] 58b514b9f161c7eabb522d4bf6373a8d117c161256c8013942407f503be466b4