[INFO] fetching crate playdate-scoreboards 0.1.7... [INFO] testing playdate-scoreboards-0.1.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate playdate-scoreboards 0.1.7 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate playdate-scoreboards 0.1.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded playdate-build-utils v0.3.10 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded playdate-bindgen v0.3.0 [INFO] [stderr] Downloaded playdate-system v0.3.16 [INFO] [stderr] Downloaded playdate-bindgen-cfg v0.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded playdate-sys v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ba816edffc510689c7775651cb2271c9f1e47fbd120ded8d307a03644eb4a85 [INFO] running `Command { std: "docker" "start" "-a" "4ba816edffc510689c7775651cb2271c9f1e47fbd120ded8d307a03644eb4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ba816edffc510689c7775651cb2271c9f1e47fbd120ded8d307a03644eb4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba816edffc510689c7775651cb2271c9f1e47fbd120ded8d307a03644eb4a85", kill_on_drop: false }` [INFO] [stdout] 4ba816edffc510689c7775651cb2271c9f1e47fbd120ded8d307a03644eb4a85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d913970cee734737fd3c4800ce912cb4a8cbd689adab1b546bcdf3bf574a8d39 [INFO] running `Command { std: "docker" "start" "-a" "d913970cee734737fd3c4800ce912cb4a8cbd689adab1b546bcdf3bf574a8d39", 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)]` 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)]` 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.21s [INFO] running `Command { std: "docker" "inspect" "d913970cee734737fd3c4800ce912cb4a8cbd689adab1b546bcdf3bf574a8d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d913970cee734737fd3c4800ce912cb4a8cbd689adab1b546bcdf3bf574a8d39", kill_on_drop: false }` [INFO] [stdout] d913970cee734737fd3c4800ce912cb4a8cbd689adab1b546bcdf3bf574a8d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f22c486ff0b038831dd05d4d66ff7abd62fa11ec7ce54ae8b14743053cbe0570 [INFO] running `Command { std: "docker" "start" "-a" "f22c486ff0b038831dd05d4d66ff7abd62fa11ec7ce54ae8b14743053cbe0570", 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)]` 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)]` 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)]` 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)]` 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.75s [INFO] running `Command { std: "docker" "inspect" "f22c486ff0b038831dd05d4d66ff7abd62fa11ec7ce54ae8b14743053cbe0570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22c486ff0b038831dd05d4d66ff7abd62fa11ec7ce54ae8b14743053cbe0570", kill_on_drop: false }` [INFO] [stdout] f22c486ff0b038831dd05d4d66ff7abd62fa11ec7ce54ae8b14743053cbe0570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfb554938bc963624f4424f67bac042ba29306b9746f5f60dd01e93ad4da1c52 [INFO] running `Command { std: "docker" "start" "-a" "bfb554938bc963624f4424f67bac042ba29306b9746f5f60dd01e93ad4da1c52", 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)]` 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)]` 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/playdate_scoreboards-1a98fbd8afb02789) [INFO] [stdout] [INFO] [stderr] Doc-tests playdate_scoreboards [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.00s [INFO] [stdout] [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" "bfb554938bc963624f4424f67bac042ba29306b9746f5f60dd01e93ad4da1c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb554938bc963624f4424f67bac042ba29306b9746f5f60dd01e93ad4da1c52", kill_on_drop: false }` [INFO] [stdout] bfb554938bc963624f4424f67bac042ba29306b9746f5f60dd01e93ad4da1c52