[INFO] fetching crate playdate-scoreboards 0.1.7... [INFO] testing playdate-scoreboards-0.1.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate playdate-scoreboards 0.1.7 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate playdate-scoreboards 0.1.7 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6465e81b399ad5ba72e1d4bb55b9aecd4eb532254f1ee9dfd5fe52b096e45e34 [INFO] running `Command { std: "docker" "start" "-a" "6465e81b399ad5ba72e1d4bb55b9aecd4eb532254f1ee9dfd5fe52b096e45e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6465e81b399ad5ba72e1d4bb55b9aecd4eb532254f1ee9dfd5fe52b096e45e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6465e81b399ad5ba72e1d4bb55b9aecd4eb532254f1ee9dfd5fe52b096e45e34", kill_on_drop: false }` [INFO] [stdout] 6465e81b399ad5ba72e1d4bb55b9aecd4eb532254f1ee9dfd5fe52b096e45e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adfa6ee6a244221adcd95876fcebe09fbcd4c03afb182b60a29ec6dac997c5f5 [INFO] running `Command { std: "docker" "start" "-a" "adfa6ee6a244221adcd95876fcebe09fbcd4c03afb182b60a29ec6dac997c5f5", 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.10s [INFO] running `Command { std: "docker" "inspect" "adfa6ee6a244221adcd95876fcebe09fbcd4c03afb182b60a29ec6dac997c5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfa6ee6a244221adcd95876fcebe09fbcd4c03afb182b60a29ec6dac997c5f5", kill_on_drop: false }` [INFO] [stdout] adfa6ee6a244221adcd95876fcebe09fbcd4c03afb182b60a29ec6dac997c5f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa6413c5bfc8e8584168b7cd4afc71253b279bd34b2ca7830d37abaf351f50cc [INFO] running `Command { std: "docker" "start" "-a" "aa6413c5bfc8e8584168b7cd4afc71253b279bd34b2ca7830d37abaf351f50cc", 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.71s [INFO] running `Command { std: "docker" "inspect" "aa6413c5bfc8e8584168b7cd4afc71253b279bd34b2ca7830d37abaf351f50cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6413c5bfc8e8584168b7cd4afc71253b279bd34b2ca7830d37abaf351f50cc", kill_on_drop: false }` [INFO] [stdout] aa6413c5bfc8e8584168b7cd4afc71253b279bd34b2ca7830d37abaf351f50cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6c41a0a314aa10aabf9c9876101b6074f71b04cbfaa26d4d3e93d270ab32b4d [INFO] running `Command { std: "docker" "start" "-a" "a6c41a0a314aa10aabf9c9876101b6074f71b04cbfaa26d4d3e93d270ab32b4d", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:83:23 [INFO] [stderr] | [INFO] [stderr] 83 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:156:23 [INFO] [stderr] | [INFO] [stderr] 156 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:182:23 [INFO] [stderr] | [INFO] [stderr] 182 | let prev = unsafe { STORE.as_mut() }.expect("impossible") [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/storage.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | if unsafe { STORE.is_none() } { [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/storage.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | if let Some(true) = unsafe { STORE.as_mut() }.map(|store| store.is_empty()) { [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/storage.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/storage.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/storage.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | let f = unsafe { STORE.as_mut() }.map(|store| store.remove::()) [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: variable `boardId` should have a snake case name [INFO] [stderr] --> src/lib.rs:442:28 [INFO] [stderr] | [INFO] [stderr] 442 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `boardId` should have a snake case name [INFO] [stderr] --> src/lib.rs:448:28 [INFO] [stderr] | [INFO] [stderr] 448 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stderr] [INFO] [stderr] warning: variable `boardsList` should have a snake case name [INFO] [stderr] --> src/lib.rs:458:54 [INFO] [stderr] | [INFO] [stderr] 458 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stderr] [INFO] [stderr] warning: variable `boardId` should have a snake case name [INFO] [stderr] --> src/lib.rs:478:28 [INFO] [stderr] | [INFO] [stderr] 478 | -> unsafe extern "C" fn(boardId: *const c_char, value: u32, callback: AddScoreCallback) -> c_int { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stderr] [INFO] [stderr] warning: variable `boardId` should have a snake case name [INFO] [stderr] --> src/lib.rs:487:28 [INFO] [stderr] | [INFO] [stderr] 487 | -> unsafe extern "C" fn(boardId: *const c_char, callback: PersonalBestCallback) -> c_int { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `board_id` [INFO] [stderr] [INFO] [stderr] warning: variable `boardsList` should have a snake case name [INFO] [stderr] --> src/lib.rs:506:54 [INFO] [stderr] | [INFO] [stderr] 506 | fn free_boards_list(&self) -> unsafe extern "C" fn(boardsList: *mut PDBoardsList) { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `boards_list` [INFO] [stderr] [INFO] [stderr] warning: `playdate-scoreboards` (lib) generated 15 warnings [INFO] [stderr] warning: `playdate-scoreboards` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/playdate_scoreboards-1a98fbd8afb02789) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::score_ref_size ... ok [INFO] [stdout] test tests::score_size ... ok [INFO] [stdout] test tests::board_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests playdate_scoreboards [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a6c41a0a314aa10aabf9c9876101b6074f71b04cbfaa26d4d3e93d270ab32b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c41a0a314aa10aabf9c9876101b6074f71b04cbfaa26d4d3e93d270ab32b4d", kill_on_drop: false }` [INFO] [stdout] a6c41a0a314aa10aabf9c9876101b6074f71b04cbfaa26d4d3e93d270ab32b4d