[INFO] cloning repository https://github.com/45gfg9/ATPRsup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/45gfg9/ATPRsup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F45gfg9%2FATPRsup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F45gfg9%2FATPRsup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 737e2d28b35974e9793820face8491c514b2650e [INFO] checking 45gfg9/ATPRsup/737e2d28b35974e9793820face8491c514b2650e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F45gfg9%2FATPRsup" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/45gfg9/ATPRsup on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/45gfg9/ATPRsup [INFO] finished tweaking git repo https://github.com/45gfg9/ATPRsup [INFO] tweaked toml for git repo https://github.com/45gfg9/ATPRsup written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/45gfg9/ATPRsup 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_complete v3.0.6 [INFO] [stderr] Downloaded rusb v0.8.1 [INFO] [stderr] Downloaded clap v3.0.14 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4fc240329753ec0b48dba7c178be2f5ab120f72ea8b17ec991df8b754571f04 [INFO] running `Command { std: "docker" "start" "-a" "d4fc240329753ec0b48dba7c178be2f5ab120f72ea8b17ec991df8b754571f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4fc240329753ec0b48dba7c178be2f5ab120f72ea8b17ec991df8b754571f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fc240329753ec0b48dba7c178be2f5ab120f72ea8b17ec991df8b754571f04", kill_on_drop: false }` [INFO] [stdout] d4fc240329753ec0b48dba7c178be2f5ab120f72ea8b17ec991df8b754571f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de2b90e772e36708e7a4ad9feb5b2d8396d3a6d1365eeae4886cc7044dd42daf [INFO] running `Command { std: "docker" "start" "-a" "de2b90e772e36708e7a4ad9feb5b2d8396d3a6d1365eeae4886cc7044dd42daf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Checking clap_complete v3.0.6 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking atprsup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn read_flash(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_eeprom(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn read_flash(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_eeprom(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `program` and `close` are never used [INFO] [stdout] --> src/avr/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl AVR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 66 | fn program(&self, device: Rc, int: Interface) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn close(&self, _: Box) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ll/comm.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Version(u8, u8, u8); [INFO] [stdout] | ------- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `program` and `close` are never used [INFO] [stdout] --> src/avr/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl AVR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 66 | fn program(&self, device: Rc, int: Interface) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn close(&self, _: Box) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ll/comm.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Version(u8, u8, u8); [INFO] [stdout] | ------- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn read_flash(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_eeprom(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/avr/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Program { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 37 | /// Setup transaction [INFO] [stdout] 38 | fn connect(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn begin(&self, isp_speed: u8) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn end(self) -> Result<()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | fn chip_erase(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | fn is_ready(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | fn latch_data(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn read_flash(&self, address: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | fn write_flash(&self, address: usize, data: u8) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn load_flash_page(&self, address: usize, data: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn flush_flash_page(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn read_eeprom(&self, address: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | fn write_eeprom(&self, address: usize, data: u8) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `program` and `close` are never used [INFO] [stdout] --> src/avr/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl AVR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 66 | fn program(&self, device: Rc, int: Interface) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn close(&self, _: Box) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ll/comm.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Version(u8, u8, u8); [INFO] [stdout] | ------- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn read_flash(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_flash(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | fn load_flash_page(&self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_eeprom(&self, address: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/avr/isp.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/avr/isp.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_eeprom(&self, address: usize, data: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/avr/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Program { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 37 | /// Setup transaction [INFO] [stdout] 38 | fn connect(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn begin(&self, isp_speed: u8) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn end(self) -> Result<()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | fn chip_erase(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | fn is_ready(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | fn latch_data(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn read_flash(&self, address: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | fn write_flash(&self, address: usize, data: u8) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn load_flash_page(&self, address: usize, data: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn flush_flash_page(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn read_eeprom(&self, address: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | fn write_eeprom(&self, address: usize, data: u8) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `program` and `close` are never used [INFO] [stdout] --> src/avr/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl AVR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 66 | fn program(&self, device: Rc, int: Interface) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn close(&self, _: Box) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ll/comm.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Version(u8, u8, u8); [INFO] [stdout] | ------- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.49s [INFO] running `Command { std: "docker" "inspect" "de2b90e772e36708e7a4ad9feb5b2d8396d3a6d1365eeae4886cc7044dd42daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2b90e772e36708e7a4ad9feb5b2d8396d3a6d1365eeae4886cc7044dd42daf", kill_on_drop: false }` [INFO] [stdout] de2b90e772e36708e7a4ad9feb5b2d8396d3a6d1365eeae4886cc7044dd42daf