[INFO] cloning repository https://github.com/Kezii/printer_bot_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kezii/printer_bot_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKezii%2Fprinter_bot_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKezii%2Fprinter_bot_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e4cedd8f0283ea2bc5556153e8edda5e69501f [INFO] building Kezii/printer_bot_rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKezii%2Fprinter_bot_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kezii/printer_bot_rs [INFO] finished tweaking git repo https://github.com/Kezii/printer_bot_rs [INFO] tweaked toml for git repo https://github.com/Kezii/printer_bot_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kezii/printer_bot_rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kezii/printer_bot_rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded exoquant v0.2.0 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded teloxide-core v0.13.0 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63c321fe5ea3b8eeab92339c19e3a00b35a25c935df5f84a02ea27f26f37ee22 [INFO] running `Command { std: "docker" "start" "-a" "63c321fe5ea3b8eeab92339c19e3a00b35a25c935df5f84a02ea27f26f37ee22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63c321fe5ea3b8eeab92339c19e3a00b35a25c935df5f84a02ea27f26f37ee22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c321fe5ea3b8eeab92339c19e3a00b35a25c935df5f84a02ea27f26f37ee22", kill_on_drop: false }` [INFO] [stdout] 63c321fe5ea3b8eeab92339c19e3a00b35a25c935df5f84a02ea27f26f37ee22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72b854099b374c8f9b25440f1ed4d7faa4bc6f8a2365408d8baf9191cec1e09e [INFO] running `Command { std: "docker" "start" "-a" "72b854099b374c8f9b25440f1ed4d7faa4bc6f8a2365408d8baf9191cec1e09e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling exoquant v0.2.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling teloxide-core v0.13.0 [INFO] [stderr] Compiling printer_bot_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `no_media_when_printing`, `end_of_media`, `tape_cutter_jam`, `main_unit_in_use`, and `fan_doesnt_work` are never read [INFO] [stdout] --> src/driver.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ErrorInformation1 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | no_media_when_printing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | end_of_media: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | tape_cutter_jam: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | main_unit_in_use: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | fan_doesnt_work: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorInformation1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transmission_error`, `cover_opened_while_printing`, `cannot_feed`, and `system_error` are never read [INFO] [stdout] --> src/driver.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct ErrorInformation2 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 68 | transmission_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | cover_opened_while_printing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | cannot_feed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | system_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorInformation2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error1`, `error2`, `status_type`, and `phase_state` are never read [INFO] [stdout] --> src/driver.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct PrinterStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | error1: ErrorInformation1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | error2: ErrorInformation2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | status_type: StatusType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 119 | phase_state: PhaseState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrinterStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EscpNormal`, `EscpText`, and `PtouchTemplate` are never constructed [INFO] [stdout] --> src/driver.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum PrinterCommandMode { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 124 | /// ESC/P mode (normal) [INFO] [stdout] 125 | EscpNormal = 0x00, // WARNING: THE PDF DOCUMENTATION IS BROKEN AND DOES NOT HAVE THIS VALUES [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | EscpText = 0x02, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | /// P-touch Template mode for QL-580N/1050/1060N [INFO] [stdout] 131 | PtouchTemplate = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrinterCommandMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Invalid`, `SetCompressionMode`, `ZeroRasterGraphics`, `Print`, and `SetBaudRate` are never constructed [INFO] [stdout] --> src/driver.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum PrinterCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 150 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | SetCompressionMode, // todo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | ZeroRasterGraphics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | /// Print command [INFO] [stdout] 177 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | SetBaudRate(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "72b854099b374c8f9b25440f1ed4d7faa4bc6f8a2365408d8baf9191cec1e09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b854099b374c8f9b25440f1ed4d7faa4bc6f8a2365408d8baf9191cec1e09e", kill_on_drop: false }` [INFO] [stdout] 72b854099b374c8f9b25440f1ed4d7faa4bc6f8a2365408d8baf9191cec1e09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a96409fb0418545455d4eb9d776e52bfa26573be92fd67789b0ccaa22ebf5045 [INFO] running `Command { std: "docker" "start" "-a" "a96409fb0418545455d4eb9d776e52bfa26573be92fd67789b0ccaa22ebf5045", kill_on_drop: false }` [INFO] [stderr] Compiling printer_bot_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `no_media_when_printing`, `end_of_media`, `tape_cutter_jam`, `main_unit_in_use`, and `fan_doesnt_work` are never read [INFO] [stdout] --> src/driver.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ErrorInformation1 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | no_media_when_printing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | end_of_media: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | tape_cutter_jam: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | main_unit_in_use: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | fan_doesnt_work: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorInformation1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transmission_error`, `cover_opened_while_printing`, `cannot_feed`, and `system_error` are never read [INFO] [stdout] --> src/driver.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct ErrorInformation2 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 68 | transmission_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | cover_opened_while_printing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | cannot_feed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | system_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorInformation2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error1`, `error2`, `status_type`, and `phase_state` are never read [INFO] [stdout] --> src/driver.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct PrinterStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | error1: ErrorInformation1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | error2: ErrorInformation2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | status_type: StatusType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 119 | phase_state: PhaseState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrinterStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EscpNormal`, `EscpText`, and `PtouchTemplate` are never constructed [INFO] [stdout] --> src/driver.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum PrinterCommandMode { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 124 | /// ESC/P mode (normal) [INFO] [stdout] 125 | EscpNormal = 0x00, // WARNING: THE PDF DOCUMENTATION IS BROKEN AND DOES NOT HAVE THIS VALUES [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | EscpText = 0x02, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | /// P-touch Template mode for QL-580N/1050/1060N [INFO] [stdout] 131 | PtouchTemplate = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrinterCommandMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Invalid`, `SetCompressionMode`, `ZeroRasterGraphics`, `Print`, and `SetBaudRate` are never constructed [INFO] [stdout] --> src/driver.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub enum PrinterCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 150 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | SetCompressionMode, // todo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | ZeroRasterGraphics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | /// Print command [INFO] [stdout] 177 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | SetBaudRate(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "a96409fb0418545455d4eb9d776e52bfa26573be92fd67789b0ccaa22ebf5045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96409fb0418545455d4eb9d776e52bfa26573be92fd67789b0ccaa22ebf5045", kill_on_drop: false }` [INFO] [stdout] a96409fb0418545455d4eb9d776e52bfa26573be92fd67789b0ccaa22ebf5045