[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#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F45gfg9%2FATPRsup" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/45gfg9/ATPRsup on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "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-7-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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded rusb v0.8.1 [INFO] [stderr] Downloaded clap_complete v3.0.6 [INFO] [stderr] Downloaded simple_logger v2.1.0 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded clap v3.0.14 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded libc v0.2.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf79a423c4da7a2290939876491f7c1724d631298d275dc548561bf087731f55 [INFO] running `Command { std: "docker" "start" "-a" "cf79a423c4da7a2290939876491f7c1724d631298d275dc548561bf087731f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf79a423c4da7a2290939876491f7c1724d631298d275dc548561bf087731f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf79a423c4da7a2290939876491f7c1724d631298d275dc548561bf087731f55", kill_on_drop: false }` [INFO] [stdout] cf79a423c4da7a2290939876491f7c1724d631298d275dc548561bf087731f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c04f2de2fb597bf5b58f913113e68703ede4d762a37909fe7337dc9ea5fe3e4c [INFO] running `Command { std: "docker" "start" "-a" "c04f2de2fb597bf5b58f913113e68703ede4d762a37909fe7337dc9ea5fe3e4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [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 clap v3.0.14 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [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: 10 warnings emitted [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: 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: 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: 11 warnings emitted [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 19.46s [INFO] running `Command { std: "docker" "inspect" "c04f2de2fb597bf5b58f913113e68703ede4d762a37909fe7337dc9ea5fe3e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04f2de2fb597bf5b58f913113e68703ede4d762a37909fe7337dc9ea5fe3e4c", kill_on_drop: false }` [INFO] [stdout] c04f2de2fb597bf5b58f913113e68703ede4d762a37909fe7337dc9ea5fe3e4c