[INFO] cloning repository https://github.com/Curt-White/virtual-printer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Curt-White/virtual-printer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fvirtual-printer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fvirtual-printer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cffc2e688e3c1fbed4686bc496af544fd08e2e [INFO] testing Curt-White/virtual-printer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fvirtual-printer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Curt-White/virtual-printer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Curt-White/virtual-printer [INFO] finished tweaking git repo https://github.com/Curt-White/virtual-printer [INFO] tweaked toml for git repo https://github.com/Curt-White/virtual-printer written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Curt-White/virtual-printer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba89b97324b474858a66e5614ee93b20dc96db597304f8622a2efa306d7c94f3 [INFO] running `Command { std: "docker" "start" "-a" "ba89b97324b474858a66e5614ee93b20dc96db597304f8622a2efa306d7c94f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba89b97324b474858a66e5614ee93b20dc96db597304f8622a2efa306d7c94f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba89b97324b474858a66e5614ee93b20dc96db597304f8622a2efa306d7c94f3", kill_on_drop: false }` [INFO] [stdout] ba89b97324b474858a66e5614ee93b20dc96db597304f8622a2efa306d7c94f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 426db85f6925ffe49e9e031a47c60c2e8b6a8af3a0b774aa81667e6d4961735b [INFO] running `Command { std: "docker" "start" "-a" "426db85f6925ffe49e9e031a47c60c2e8b6a8af3a0b774aa81667e6d4961735b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling parse_macro v0.1.0 (/opt/rustwide/workdir/parse_macro) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> parse_macro/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> parse_macro/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub value: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> parse_macro/src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling printer v0.1.0 (/opt/rustwide/workdir/printer) [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> printer/src/content.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::{from_utf8, Utf8Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> printer/src/error.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | message: String::from(error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> printer/src/formatter.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn format_image(&mut self, data: Image) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = function(printer, bytes)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let res = function(printer, bytes)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `func_id` is never read [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut func_id: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `batch` is never read [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut batch = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | fn de_multiplex_command(header: BitImageHeaders, printer: &mut Printer, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | ... bytes: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let a = parse_store_raster_image_args(bytes)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | fn store_raster_image(printer: &mut Printer, bytes: &mut Vec) -> Result<(), PrinterError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> printer/src/esc_pos/print.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | for i in 0..args.n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | 0x28 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_2_arg))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | 0x38 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_4_arg))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> printer/src/formatter.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | fn format_text(&mut self, mut data: Text) { [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: variant is never constructed: `DeprecatedCommand` [INFO] [stdout] --> printer/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | DeprecatedCommand = 21, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> printer/src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | UnknownError = 100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_image` [INFO] [stdout] --> printer/src/printer.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn buffer_image(&mut self, image: Image) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> printer/src/content.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> printer/src/content.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | height: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> printer/src/content.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> printer/src/content.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn from(data: Vec, width: u16, height: u16) -> Image { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> printer/src/content.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&mut self, data: Vec) -> Result<(), Utf8Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Command` [INFO] [stdout] --> printer/src/command.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Command = fn(bytes: &mut Vec) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub pl: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ph` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub ph: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub m: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p1` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub p1: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p2` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub p2: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p3` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub p3: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p4` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub p4: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub m: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tone` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | tone: u8, // 'a' the tone of the graphics [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bx` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | bx: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `by` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | by: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | color: u8, // 'c' the color depending on printer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | xl: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xh` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | xh: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | yl: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yh` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | yh: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TopLevelCommands` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum TopLevelCommands { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | val(&mut printer, &mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/main.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | file.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/esc_pos/print_position.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | printer.set_justification(justification); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.57s [INFO] running `Command { std: "docker" "inspect" "426db85f6925ffe49e9e031a47c60c2e8b6a8af3a0b774aa81667e6d4961735b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426db85f6925ffe49e9e031a47c60c2e8b6a8af3a0b774aa81667e6d4961735b", kill_on_drop: false }` [INFO] [stdout] 426db85f6925ffe49e9e031a47c60c2e8b6a8af3a0b774aa81667e6d4961735b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed1c3e18d5697b1bf5d39ae062ac10b28a0df086dc22e1bd2c269ec03f552cb1 [INFO] running `Command { std: "docker" "start" "-a" "ed1c3e18d5697b1bf5d39ae062ac10b28a0df086dc22e1bd2c269ec03f552cb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> parse_macro/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> parse_macro/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub value: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> parse_macro/src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parse_macro v0.1.0 (/opt/rustwide/workdir/parse_macro) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling printer v0.1.0 (/opt/rustwide/workdir/printer) [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> printer/src/content.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::{from_utf8, Utf8Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> parse_macro/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> printer/src/error.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | message: String::from(error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> parse_macro/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub value: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> parse_macro/src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> printer/src/formatter.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn format_image(&mut self, data: Image) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = function(printer, bytes)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let res = function(printer, bytes)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `func_id` is never read [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut func_id: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `batch` is never read [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut batch = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | fn de_multiplex_command(header: BitImageHeaders, printer: &mut Printer, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | ... bytes: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let a = parse_store_raster_image_args(bytes)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | fn store_raster_image(printer: &mut Printer, bytes: &mut Vec) -> Result<(), PrinterError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> printer/src/esc_pos/print.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | for i in 0..args.n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | 0x28 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_2_arg))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | 0x38 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_4_arg))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> printer/src/formatter.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | fn format_text(&mut self, mut data: Text) { [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: variant is never constructed: `DeprecatedCommand` [INFO] [stdout] --> printer/src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | DeprecatedCommand = 21, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> printer/src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | UnknownError = 100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_image` [INFO] [stdout] --> printer/src/printer.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn buffer_image(&mut self, image: Image) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> printer/src/content.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> printer/src/content.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | height: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> printer/src/content.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> printer/src/content.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn from(data: Vec, width: u16, height: u16) -> Image { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> printer/src/content.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&mut self, data: Vec) -> Result<(), Utf8Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Command` [INFO] [stdout] --> printer/src/command.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Command = fn(bytes: &mut Vec) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub pl: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ph` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub ph: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub m: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p1` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub p1: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p2` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub p2: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p3` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub p3: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p4` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub p4: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub m: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tone` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | tone: u8, // 'a' the tone of the graphics [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bx` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | bx: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `by` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | by: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | color: u8, // 'c' the color depending on printer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | xl: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xh` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | xh: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yl` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | yl: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yh` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | yh: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TopLevelCommands` [INFO] [stdout] --> printer/src/esc_pos/tree.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum TopLevelCommands { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | val(&mut printer, &mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/main.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | file.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> printer/src/esc_pos/print_position.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | printer.set_justification(justification); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/parse_macro-a47e5c02d321b7d3) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/printer-5c720fd160633dfc) [INFO] running `Command { std: "docker" "inspect" "ed1c3e18d5697b1bf5d39ae062ac10b28a0df086dc22e1bd2c269ec03f552cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1c3e18d5697b1bf5d39ae062ac10b28a0df086dc22e1bd2c269ec03f552cb1", kill_on_drop: false }` [INFO] [stdout] ed1c3e18d5697b1bf5d39ae062ac10b28a0df086dc22e1bd2c269ec03f552cb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 230df4df807b5e0af643a4c355a8e99a3832afdf4d6103208e8fd5a1372deaba [INFO] running `Command { std: "docker" "start" "-a" "230df4df807b5e0af643a4c355a8e99a3832afdf4d6103208e8fd5a1372deaba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> parse_macro/src/lib.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | _ => panic!( [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> parse_macro/src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub value: T, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> parse_macro/src/lib.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `parse_macro` (lib) generated 2 warnings [INFO] [stderr] warning: `parse_macro` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused import: `from_utf8` [INFO] [stderr] --> printer/src/content.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::{from_utf8, Utf8Error}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> printer/src/error.rs:28:40 [INFO] [stderr] | [INFO] [stderr] 28 | message: String::from(error.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> printer/src/formatter.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | fn format_image(&mut self, data: Image) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let res = function(printer, bytes)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let res = function(printer, bytes)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `func_id` is never read [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let mut func_id: u8 = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `batch` is never read [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut batch = false; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `printer` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:51:50 [INFO] [stderr] | [INFO] [stderr] 51 | fn de_multiplex_command(header: BitImageHeaders, printer: &mut Printer, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:52:33 [INFO] [stderr] | [INFO] [stderr] 52 | ... bytes: &mut Vec) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | let a = parse_store_raster_image_args(bytes)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `printer` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | fn store_raster_image(printer: &mut Printer, bytes: &mut Vec) -> Result<(), PrinterError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> printer/src/esc_pos/print.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | for i in 0..args.n { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte` [INFO] [stderr] --> printer/src/esc_pos/tree.rs:55:34 [INFO] [stderr] | [INFO] [stderr] 55 | 0x28 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_2_arg))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte` [INFO] [stderr] --> printer/src/esc_pos/tree.rs:56:34 [INFO] [stderr] | [INFO] [stderr] 56 | 0x38 => Query::SubQuery(|byte: u8| Ok(Query::Resource(bit_image::command_4_arg))), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> printer/src/formatter.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | fn format_text(&mut self, mut data: Text) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DeprecatedCommand` [INFO] [stderr] --> printer/src/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | DeprecatedCommand = 21, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnknownError` [INFO] [stderr] --> printer/src/error.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | UnknownError = 100, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `buffer_image` [INFO] [stderr] --> printer/src/printer.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn buffer_image(&mut self, image: Image) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> printer/src/content.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | width: u16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> printer/src/content.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | height: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data` [INFO] [stderr] --> printer/src/content.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | data: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from` [INFO] [stderr] --> printer/src/content.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn from(data: Vec, width: u16, height: u16) -> Image { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `append` [INFO] [stderr] --> printer/src/content.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn append(&mut self, data: Vec) -> Result<(), Utf8Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Command` [INFO] [stderr] --> printer/src/command.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub type Command = fn(bytes: &mut Vec) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pl` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub pl: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ph` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub ph: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `m` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub m: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[gen_lex(1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `p1` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub p1: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `p2` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub p2: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `p3` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub p3: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `p4` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub p4: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `m` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub m: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BatchTransferHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[gen_lex(1, 1, 1, 1, 1, 1)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tone` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | tone: u8, // 'a' the tone of the graphics [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bx` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | bx: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `by` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | by: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | color: u8, // 'c' the color depending on printer [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `xl` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | xl: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `xh` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | xh: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `yl` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | yl: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `yh` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | yh: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data` [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | data: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreRasterImageArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> printer/src/esc_pos/bit_image.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | / #[gen_lex(1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stderr] 80 | | ((((xl as u16 + xh as u16 * 256) + 7)/8) * (yl as u16 + yh as u16 * 256)))] [INFO] [stderr] | |_______________________________________________________________________________^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `TopLevelCommands` [INFO] [stderr] --> printer/src/esc_pos/tree.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | enum TopLevelCommands { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> printer/src/main.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | val(&mut printer, &mut contents); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> printer/src/main.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | file.write_all(data.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> printer/src/esc_pos/print_position.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | printer.set_justification(justification); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `printer` (bin "printer" test) generated 45 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parse_macro-a47e5c02d321b7d3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/printer-5c720fd160633dfc) [INFO] [stderr] Doc-tests parse_macro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "230df4df807b5e0af643a4c355a8e99a3832afdf4d6103208e8fd5a1372deaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230df4df807b5e0af643a4c355a8e99a3832afdf4d6103208e8fd5a1372deaba", kill_on_drop: false }` [INFO] [stdout] 230df4df807b5e0af643a4c355a8e99a3832afdf4d6103208e8fd5a1372deaba