[INFO] cloning repository https://github.com/nkxxll/kcodes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nkxxll/kcodes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkxxll%2Fkcodes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkxxll%2Fkcodes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff605ae9eeffd5d5fa5cf1c3c036103d097abe9a [INFO] checking nkxxll/kcodes against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkxxll%2Fkcodes" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nkxxll/kcodes [INFO] finished tweaking git repo https://github.com/nkxxll/kcodes [INFO] tweaked toml for git repo https://github.com/nkxxll/kcodes written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nkxxll/kcodes on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nkxxll/kcodes 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-fmt v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b4771d08b162cfdf82273ad65809ac97e3a84d32a2a57ff8c4e642b58775f1 [INFO] running `Command { std: "docker" "start" "-a" "d2b4771d08b162cfdf82273ad65809ac97e3a84d32a2a57ff8c4e642b58775f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b4771d08b162cfdf82273ad65809ac97e3a84d32a2a57ff8c4e642b58775f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b4771d08b162cfdf82273ad65809ac97e3a84d32a2a57ff8c4e642b58775f1", kill_on_drop: false }` [INFO] [stdout] d2b4771d08b162cfdf82273ad65809ac97e3a84d32a2a57ff8c4e642b58775f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fced8f54ea68b073dc0aec73bc6532d6643e848846a18cb5c492e0f1caec71a5 [INFO] running `Command { std: "docker" "start" "-a" "fced8f54ea68b073dc0aec73bc6532d6643e848846a18cb5c492e0f1caec71a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking dyn-fmt v0.4.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking kcodes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keycodes::Keycode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::keycodes::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keycodes::Layer` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::keycodes::Layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keycodes::Keycode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::keycodes::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keycodes::Layer` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::keycodes::Layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ergodox` is never constructed [INFO] [stdout] --> src/ergodox_ez.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ergodox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_layer` are never used [INFO] [stdout] --> src/ergodox_ez.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ergodox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(l: Layer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn create_layer(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/keycodes.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Layer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/keycodes.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl Keycode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 84 | pub(crate) fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keys_to_string_vec` is never used [INFO] [stdout] --> src/keycodes.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 233 | impl Layer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub(crate) fn keys_to_string_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ergodox` is never constructed [INFO] [stdout] --> src/ergodox_ez.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ergodox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_layer` are never used [INFO] [stdout] --> src/ergodox_ez.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ergodox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(l: Layer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn create_layer(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> src/keycodes.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keycode` is never used [INFO] [stdout] --> src/keycodes.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Keycode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringToKeycodeError` is never constructed [INFO] [stdout] --> src/keycodes.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct StringToKeycodeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/keycodes.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl Keycode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 84 | pub(crate) fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse_string_to_keycodes`, and `keys_to_string_vec` are never used [INFO] [stdout] --> src/keycodes.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 233 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 234 | /// create the first line with the name of the layer of keycodes [INFO] [stdout] 235 | pub(crate) fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub(crate) fn parse_string_to_keycodes(&mut self, s: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub(crate) fn keys_to_string_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.72s [INFO] running `Command { std: "docker" "inspect" "fced8f54ea68b073dc0aec73bc6532d6643e848846a18cb5c492e0f1caec71a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fced8f54ea68b073dc0aec73bc6532d6643e848846a18cb5c492e0f1caec71a5", kill_on_drop: false }` [INFO] [stdout] fced8f54ea68b073dc0aec73bc6532d6643e848846a18cb5c492e0f1caec71a5