[INFO] fetching crate playdate-scoreboards 0.1.7... [INFO] testing playdate-scoreboards-0.1.7 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b993c8f4da174c34323615e912f6d46995d495d9c1dc848aab97c22d07ac97e5 [INFO] running `Command { std: "docker" "start" "-a" "b993c8f4da174c34323615e912f6d46995d495d9c1dc848aab97c22d07ac97e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b993c8f4da174c34323615e912f6d46995d495d9c1dc848aab97c22d07ac97e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b993c8f4da174c34323615e912f6d46995d495d9c1dc848aab97c22d07ac97e5", kill_on_drop: false }` [INFO] [stdout] b993c8f4da174c34323615e912f6d46995d495d9c1dc848aab97c22d07ac97e5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c3ea11acbae5ba3a4c2b6c5c929e4bfbd089d6dfa8d4d9dd6889e79cd0343ce [INFO] running `Command { std: "docker" "start" "-a" "8c3ea11acbae5ba3a4c2b6c5c929e4bfbd089d6dfa8d4d9dd6889e79cd0343ce", 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.17s [INFO] running `Command { std: "docker" "inspect" "8c3ea11acbae5ba3a4c2b6c5c929e4bfbd089d6dfa8d4d9dd6889e79cd0343ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3ea11acbae5ba3a4c2b6c5c929e4bfbd089d6dfa8d4d9dd6889e79cd0343ce", kill_on_drop: false }` [INFO] [stdout] 8c3ea11acbae5ba3a4c2b6c5c929e4bfbd089d6dfa8d4d9dd6889e79cd0343ce [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 928d07d93031ed9b6205eca639c1210d97a8ae7c047ece5136457ec6cf2733bb [INFO] running `Command { std: "docker" "start" "-a" "928d07d93031ed9b6205eca639c1210d97a8ae7c047ece5136457ec6cf2733bb", 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 2.66s [INFO] running `Command { std: "docker" "inspect" "928d07d93031ed9b6205eca639c1210d97a8ae7c047ece5136457ec6cf2733bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928d07d93031ed9b6205eca639c1210d97a8ae7c047ece5136457ec6cf2733bb", kill_on_drop: false }` [INFO] [stdout] 928d07d93031ed9b6205eca639c1210d97a8ae7c047ece5136457ec6cf2733bb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c140f18e2c86544dae45b1ba8741cfad5e9488f3090efb9c6535400bec0b0e17 [INFO] running `Command { std: "docker" "start" "-a" "c140f18e2c86544dae45b1ba8741cfad5e9488f3090efb9c6535400bec0b0e17", 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.04s [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_size ... ok [INFO] [stdout] test tests::board_size ... ok [INFO] [stdout] test tests::score_ref_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "c140f18e2c86544dae45b1ba8741cfad5e9488f3090efb9c6535400bec0b0e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c140f18e2c86544dae45b1ba8741cfad5e9488f3090efb9c6535400bec0b0e17", kill_on_drop: false }` [INFO] [stdout] c140f18e2c86544dae45b1ba8741cfad5e9488f3090efb9c6535400bec0b0e17