[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] 82a5d9b0216af48b2481704df1b3a741289eda7c [INFO] testing Kezii/printer_bot_rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [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 ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded exoquant v0.2.0 [INFO] [stderr] Downloaded schemars v0.9.0 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded schemars v1.0.4 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded serde_with_macros v3.14.0 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded serde_with v3.14.0 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded teloxide-core v0.13.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1de37425b1a4b31935e3cfcd9397dea119205b6c576943c2c0f1ee60c591e411 [INFO] running `Command { std: "docker" "start" "-a" "1de37425b1a4b31935e3cfcd9397dea119205b6c576943c2c0f1ee60c591e411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1de37425b1a4b31935e3cfcd9397dea119205b6c576943c2c0f1ee60c591e411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de37425b1a4b31935e3cfcd9397dea119205b6c576943c2c0f1ee60c591e411", kill_on_drop: false }` [INFO] [stdout] 1de37425b1a4b31935e3cfcd9397dea119205b6c576943c2c0f1ee60c591e411 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c894f9d2d12a4436b94753c45d8e19a719ce84ddb5c3b39b2250c7fc9f96d38 [INFO] running `Command { std: "docker" "start" "-a" "1c894f9d2d12a4436b94753c45d8e19a719ce84ddb5c3b39b2250c7fc9f96d38", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling rc-box v1.3.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 tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling exoquant v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling maybe-rayon v0.1.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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 equator-macro v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project v1.1.10 [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_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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 tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling tower-http v0.6.6 [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: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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 17s [INFO] running `Command { std: "docker" "inspect" "1c894f9d2d12a4436b94753c45d8e19a719ce84ddb5c3b39b2250c7fc9f96d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c894f9d2d12a4436b94753c45d8e19a719ce84ddb5c3b39b2250c7fc9f96d38", kill_on_drop: false }` [INFO] [stdout] 1c894f9d2d12a4436b94753c45d8e19a719ce84ddb5c3b39b2250c7fc9f96d38 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869305f17fb44e2cf08f8bcc30030ac3ffa6a20f0028c5aadc5fcf4bbf4c0d95 [INFO] running `Command { std: "docker" "start" "-a" "869305f17fb44e2cf08f8bcc30030ac3ffa6a20f0028c5aadc5fcf4bbf4c0d95", kill_on_drop: false }` [INFO] [stderr] Compiling printer_bot_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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.09s [INFO] running `Command { std: "docker" "inspect" "869305f17fb44e2cf08f8bcc30030ac3ffa6a20f0028c5aadc5fcf4bbf4c0d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869305f17fb44e2cf08f8bcc30030ac3ffa6a20f0028c5aadc5fcf4bbf4c0d95", kill_on_drop: false }` [INFO] [stdout] 869305f17fb44e2cf08f8bcc30030ac3ffa6a20f0028c5aadc5fcf4bbf4c0d95 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4a0cb9e47d06579f2e518db486f854fd562fbe570d012b6ec4b9e0ef7122a94 [INFO] running `Command { std: "docker" "start" "-a" "f4a0cb9e47d06579f2e518db486f854fd562fbe570d012b6ec4b9e0ef7122a94", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `no_media_when_printing`, `end_of_media`, `tape_cutter_jam`, `main_unit_in_use`, and `fan_doesnt_work` are never read [INFO] [stderr] --> src/driver.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 41 | struct ErrorInformation1 { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 42 | no_media_when_printing: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | end_of_media: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 44 | tape_cutter_jam: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | main_unit_in_use: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | fan_doesnt_work: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorInformation1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `transmission_error`, `cover_opened_while_printing`, `cannot_feed`, and `system_error` are never read [INFO] [stderr] --> src/driver.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | struct ErrorInformation2 { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 68 | transmission_error: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 69 | cover_opened_while_printing: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 70 | cannot_feed: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 71 | system_error: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorInformation2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `error1`, `error2`, `status_type`, and `phase_state` are never read [INFO] [stderr] --> src/driver.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct PrinterStatus { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 116 | error1: ErrorInformation1, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 117 | error2: ErrorInformation2, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 118 | status_type: StatusType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 119 | phase_state: PhaseState, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PrinterStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `EscpNormal`, `EscpText`, and `PtouchTemplate` are never constructed [INFO] [stderr] --> src/driver.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub enum PrinterCommandMode { [INFO] [stderr] | ------------------ variants in this enum [INFO] [stderr] 124 | /// ESC/P mode (normal) [INFO] [stderr] 125 | EscpNormal = 0x00, // WARNING: THE PDF DOCUMENTATION IS BROKEN AND DOES NOT HAVE THIS VALUES [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | EscpText = 0x02, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 130 | /// P-touch Template mode for QL-580N/1050/1060N [INFO] [stderr] 131 | PtouchTemplate = 0x03, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PrinterCommandMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Invalid`, `SetCompressionMode`, `ZeroRasterGraphics`, `Print`, and `SetBaudRate` are never constructed [INFO] [stderr] --> src/driver.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 146 | pub enum PrinterCommand { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 150 | Invalid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | SetCompressionMode, // todo [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | ZeroRasterGraphics, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 176 | /// Print command [INFO] [stderr] 177 | Print, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | SetBaudRate(u16), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `printer_bot_rs` (bin "printer_bot_rs" test) generated 6 warnings (run `cargo fix --bin "printer_bot_rs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/printer_bot_rs-926310ada2ab70a7) [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" "f4a0cb9e47d06579f2e518db486f854fd562fbe570d012b6ec4b9e0ef7122a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a0cb9e47d06579f2e518db486f854fd562fbe570d012b6ec4b9e0ef7122a94", kill_on_drop: false }` [INFO] [stdout] f4a0cb9e47d06579f2e518db486f854fd562fbe570d012b6ec4b9e0ef7122a94