[INFO] cloning repository https://github.com/windingtheropes/keeb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/windingtheropes/keeb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindingtheropes%2Fkeeb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindingtheropes%2Fkeeb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb9aa5cbb29348e7fd4beedc81b02b68ca5b83c1 [INFO] checking windingtheropes/keeb against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindingtheropes%2Fkeeb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/windingtheropes/keeb [INFO] finished tweaking git repo https://github.com/windingtheropes/keeb [INFO] tweaked toml for git repo https://github.com/windingtheropes/keeb written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/windingtheropes/keeb on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/windingtheropes/keeb 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hidapi v1.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0104bebee80f947cbc8b20c470b6851048409ffc57ee5fe6632a84bad93ffc2 [INFO] running `Command { std: "docker" "start" "-a" "c0104bebee80f947cbc8b20c470b6851048409ffc57ee5fe6632a84bad93ffc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0104bebee80f947cbc8b20c470b6851048409ffc57ee5fe6632a84bad93ffc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0104bebee80f947cbc8b20c470b6851048409ffc57ee5fe6632a84bad93ffc2", kill_on_drop: false }` [INFO] [stdout] c0104bebee80f947cbc8b20c470b6851048409ffc57ee5fe6632a84bad93ffc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 408f2353b3ab8010fdb95169d458b80accac2f50b6b44003a0a89a29c0171eb7 [INFO] running `Command { std: "docker" "start" "-a" "408f2353b3ab8010fdb95169d458b80accac2f50b6b44003a0a89a29c0171eb7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling hidapi v1.4.1 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Checking keebLib v0.1.0 (/opt/rustwide/workdir/keebLib) [INFO] [stdout] warning: type `extras` should have an upper camel case name [INFO] [stdout] --> keebLib/src/lib.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | pub enum extras { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Extras` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `keebLib` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `keeb_lib` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gmmk v0.1.0 (/opt/rustwide/workdir/gmmk) [INFO] [stderr] Checking keeb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `keebLib::codes::extras::________` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use keebLib::codes::extras::________; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keebLib::codes::extras::________` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use keebLib::codes::extras::________; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | if(main_mapped_keycode > 255) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - if(main_mapped_keycode > 255) { [INFO] [stdout] 230 + if main_mapped_keycode > 255 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | if(main_mapped_keycode > 255) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - if(main_mapped_keycode > 255) { [INFO] [stdout] 268 + if main_mapped_keycode > 255 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | if(main_mapped_keycode > 255) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - if(main_mapped_keycode > 255) { [INFO] [stdout] 230 + if main_mapped_keycode > 255 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | if(main_mapped_keycode > 255) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - if(main_mapped_keycode > 255) { [INFO] [stdout] 268 + if main_mapped_keycode > 255 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymap` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let keymap = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let set_color = |led: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color_all` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let set_color_all = |r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color_side` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let set_color_side = |side: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditional_set_color` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let conditional_set_color = |led: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditional_set_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_string` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let type_string = |s: String| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercepts` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercepts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_function` [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let layer_function = |f: fn(kc: u32, down: bool)| -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_key_down` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let is_key_down = |kc:u32| -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_key_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kc` [INFO] [stdout] --> src/main.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kc` [INFO] [stdout] --> src/main.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | let run_layer_keys = |kc:u32, down:bool| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `down` [INFO] [stdout] --> src/main.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | let run_layer_keys = |kc:u32, down:bool| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let (index, key) = get_keycode_from_map(kc, &km[0]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let layer = &km[layer_index as usize].to_owned(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let (index, key) = get_keycode_from_map(kc, &km[0]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let layer = &km[layer_index as usize].to_owned(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymap` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let keymap = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let set_color = |led: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color_all` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let set_color_all = |r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_color_side` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let set_color_side = |side: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_color_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditional_set_color` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let conditional_set_color = |led: u8, r: u8, g: u8, b: u8| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditional_set_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_string` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let type_string = |s: String| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercepts` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercepts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_function` [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let layer_function = |f: fn(kc: u32, down: bool)| -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_key_down` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let is_key_down = |kc:u32| -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_key_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kc` [INFO] [stdout] --> src/main.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let intercepts = |kc: u8, e: u8| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kc` [INFO] [stdout] --> src/main.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | let run_layer_keys = |kc:u32, down:bool| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `down` [INFO] [stdout] --> src/main.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | let run_layer_keys = |kc:u32, down:bool| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let (index, key) = get_keycode_from_map(kc, &km[0]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let layer = &km[layer_index as usize].to_owned(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let (index, key) = get_keycode_from_map(kc, &km[0]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let layer = &km[layer_index as usize].to_owned(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut exit = RefCell::new(false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut latestf = RefCell::new(0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut on_key_down = |kc: u32| -> () { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keycode_as_int` is never used [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn keycode_as_int(e: T) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut exit = RefCell::new(false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut latestf = RefCell::new(0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut on_key_down = |kc: u32| -> () { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keycode_as_int` is never used [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn keycode_as_int(e: T) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.11s [INFO] running `Command { std: "docker" "inspect" "408f2353b3ab8010fdb95169d458b80accac2f50b6b44003a0a89a29c0171eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "408f2353b3ab8010fdb95169d458b80accac2f50b6b44003a0a89a29c0171eb7", kill_on_drop: false }` [INFO] [stdout] 408f2353b3ab8010fdb95169d458b80accac2f50b6b44003a0a89a29c0171eb7