[INFO] cloning repository https://github.com/DWCarrot/RPiTextShowSSD1306 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DWCarrot/RPiTextShowSSD1306" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDWCarrot%2FRPiTextShowSSD1306", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDWCarrot%2FRPiTextShowSSD1306'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb6374f96cda21c63aba7fa1bb9a408536841e7b [INFO] checking DWCarrot/RPiTextShowSSD1306/cb6374f96cda21c63aba7fa1bb9a408536841e7b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDWCarrot%2FRPiTextShowSSD1306" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DWCarrot/RPiTextShowSSD1306 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] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/DWCarrot/RPiTextShowSSD1306 [INFO] finished tweaking git repo https://github.com/DWCarrot/RPiTextShowSSD1306 [INFO] tweaked toml for git repo https://github.com/DWCarrot/RPiTextShowSSD1306 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DWCarrot/RPiTextShowSSD1306 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded display-interface v0.4.0 [INFO] [stderr] Downloaded display-interface-i2c v0.4.0 [INFO] [stderr] Downloaded display-interface-spi v0.4.0 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.0 [INFO] [stderr] Downloaded i2cdev v0.4.4 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded ssd1306 v0.5.0 [INFO] [stderr] Downloaded spidev v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c449d1609574011fdf9a64a3c159eddc810cde034145c4bc691821f745399597 [INFO] running `Command { std: "docker" "start" "-a" "c449d1609574011fdf9a64a3c159eddc810cde034145c4bc691821f745399597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c449d1609574011fdf9a64a3c159eddc810cde034145c4bc691821f745399597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c449d1609574011fdf9a64a3c159eddc810cde034145c4bc691821f745399597", kill_on_drop: false }` [INFO] [stdout] c449d1609574011fdf9a64a3c159eddc810cde034145c4bc691821f745399597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0b586374bfe103c83e874af0b59b9991a8a58213fef5015034558b1ec85bb443 [INFO] running `Command { std: "docker" "start" "-a" "0b586374bfe103c83e874af0b59b9991a8a58213fef5015034558b1ec85bb443", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking display-interface v0.4.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling ssd1306 v0.5.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking display-interface-spi v0.4.0 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking linux-embedded-hal v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking rpi_text_show_ssd1306 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_graphics::prelude` [INFO] [stdout] --> src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_graphics::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/contents.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | data: (0 .. ((w + 7) / 8) * h).map(|i| 0u8).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | ... i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | ... i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::prelude` [INFO] [stdout] --> src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_graphics::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/operation.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/operation.rs:242:40 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `width: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/operation.rs:242:47 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(page) = content.remove(page) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:252:30 [INFO] [stdout] | [INFO] [stdout] 252 | Self::QueryPage{ page } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/contents.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | data: (0 .. ((w + 7) / 8) * h).map(|i| 0u8).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/operation.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | Self::InvalidBase64(i, e) => write!(f, "InvalidBase64({})", i), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | ... i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | ... i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/operation.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/operation.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/operation.rs:242:40 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `width: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/operation.rs:242:47 [INFO] [stdout] | [INFO] [stdout] 242 | Self::SetPage{ page, data, width, height } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(page) = content.remove(page) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/display.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/operation.rs:252:30 [INFO] [stdout] | [INFO] [stdout] 252 | Self::QueryPage{ page } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/display.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^ help: try ignoring the field: `w: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/display.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^ help: try ignoring the field: `h: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/operation.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | Self::InvalidBase64(i, e) => write!(f, "InvalidBase64({})", i), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `BImage` are never constructed [INFO] [stdout] --> src/contents.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Page { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 3 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Text { lines: Vec }, [INFO] [stdout] 5 | BImage { data: Box<[u8]>, w: u32, h: u32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_image` is never used [INFO] [stdout] --> src/contents.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_image(w: u32, h: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_capacity` and `set` are never used [INFO] [stdout] --> src/contents.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Content { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new_with_capacity(line_limit: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set(&mut self, i: usize, page: Page) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `QueryPage` is never constructed [INFO] [stdout] --> src/operation.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | QueryPage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedEnd` is never constructed [INFO] [stdout] --> src/operation.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 315 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 316 | InvalidLine, [INFO] [stdout] 317 | UnexpectedEnd(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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 `writeable`, `read_to_writer`, and `reset` are never used [INFO] [stdout] --> src/server.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Buf { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn writeable(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn read_to_writer<'a, W: AWrite + Unpin>(&mut self, tgt: &'a mut W) -> aio::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/manager.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Canvas { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn clear(&mut self) -> aio::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/display.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/display.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^ help: try ignoring the field: `w: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/display.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | Page::BImage{ data, w, h } => { [INFO] [stdout] | ^ help: try ignoring the field: `h: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `BImage` are never constructed [INFO] [stdout] --> src/contents.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Page { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 3 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Text { lines: Vec }, [INFO] [stdout] 5 | BImage { data: Box<[u8]>, w: u32, h: u32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_image` is never used [INFO] [stdout] --> src/contents.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_image(w: u32, h: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_capacity` and `set` are never used [INFO] [stdout] --> src/contents.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Content { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new_with_capacity(line_limit: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set(&mut self, i: usize, page: Page) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `QueryPage` is never constructed [INFO] [stdout] --> src/operation.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | QueryPage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedEnd` is never constructed [INFO] [stdout] --> src/operation.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 315 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 316 | InvalidLine, [INFO] [stdout] 317 | UnexpectedEnd(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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 `writeable`, `read_to_writer`, and `reset` are never used [INFO] [stdout] --> src/server.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Buf { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn writeable(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn read_to_writer<'a, W: AWrite + Unpin>(&mut self, tgt: &'a mut W) -> aio::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/manager.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Canvas { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn clear(&mut self) -> aio::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.38s [INFO] running `Command { std: "docker" "inspect" "0b586374bfe103c83e874af0b59b9991a8a58213fef5015034558b1ec85bb443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b586374bfe103c83e874af0b59b9991a8a58213fef5015034558b1ec85bb443", kill_on_drop: false }` [INFO] [stdout] 0b586374bfe103c83e874af0b59b9991a8a58213fef5015034558b1ec85bb443