[INFO] cloning repository https://github.com/kyasu1/rust-ptouch-usb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyasu1/rust-ptouch-usb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyasu1%2Frust-ptouch-usb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyasu1%2Frust-ptouch-usb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 574fbf3ee24007ea9e907a017dd17a775aae7df1 [INFO] testing kyasu1/rust-ptouch-usb 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%2Fkyasu1%2Frust-ptouch-usb" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyasu1/rust-ptouch-usb 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/kyasu1/rust-ptouch-usb [INFO] finished tweaking git repo https://github.com/kyasu1/rust-ptouch-usb [INFO] tweaked toml for git repo https://github.com/kyasu1/rust-ptouch-usb written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/kyasu1/rust-ptouch-usb 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-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] 950d640cc16afff949100e65099d7547beb7f072e2bc18ea45dda188a8c9b4a6 [INFO] running `Command { std: "docker" "start" "-a" "950d640cc16afff949100e65099d7547beb7f072e2bc18ea45dda188a8c9b4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "950d640cc16afff949100e65099d7547beb7f072e2bc18ea45dda188a8c9b4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950d640cc16afff949100e65099d7547beb7f072e2bc18ea45dda188a8c9b4a6", kill_on_drop: false }` [INFO] [stdout] 950d640cc16afff949100e65099d7547beb7f072e2bc18ea45dda188a8c9b4a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] 2e5d0c25e327700a151c603bf9367bfd12ab88389601bc242bb32457acd94024 [INFO] running `Command { std: "docker" "start" "-a" "2e5d0c25e327700a151c603bf9367bfd12ab88389601bc242bb32457acd94024", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling libflate v1.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libusb1-sys v0.4.2 [INFO] [stderr] Compiling rusb v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling ptouch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::media::Media` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::media::Media; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/printer.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mm` [INFO] [stdout] --> src/media.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | mm: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/media.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | left: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `effective` [INFO] [stdout] --> src/media.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | effective: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/media.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | right: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/media.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `margin` [INFO] [stdout] --> src/media.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | margin: MediaSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/media.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/printer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `iface` [INFO] [stdout] --> src/printer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | iface: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `setting` [INFO] [stdout] --> src/printer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | setting: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `model` [INFO] [stdout] --> src/printer.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | model: Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `error` [INFO] [stdout] --> src/printer.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | error: PrinterError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `mode` [INFO] [stdout] --> src/printer.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | mode: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `status_type` [INFO] [stdout] --> src/printer.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | status_type: StatusType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `notification` [INFO] [stdout] --> src/printer.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | notification: Notification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `id` [INFO] [stdout] --> src/printer.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.08s [INFO] running `Command { std: "docker" "inspect" "2e5d0c25e327700a151c603bf9367bfd12ab88389601bc242bb32457acd94024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5d0c25e327700a151c603bf9367bfd12ab88389601bc242bb32457acd94024", kill_on_drop: false }` [INFO] [stdout] 2e5d0c25e327700a151c603bf9367bfd12ab88389601bc242bb32457acd94024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] 72803d4e3a786338531ad814a048b043fed6c7b011c7421f438de3a8c7d7a058 [INFO] running `Command { std: "docker" "start" "-a" "72803d4e3a786338531ad814a048b043fed6c7b011c7421f438de3a8c7d7a058", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling weezl v0.1.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stdout] warning: unused import: `crate::media::Media` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::media::Media; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/printer.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mm` [INFO] [stdout] --> src/media.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | mm: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/media.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | left: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `effective` [INFO] [stdout] --> src/media.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | effective: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/media.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | right: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/media.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `margin` [INFO] [stdout] --> src/media.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | margin: MediaSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/media.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/printer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `iface` [INFO] [stdout] --> src/printer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | iface: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `setting` [INFO] [stdout] --> src/printer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | setting: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `model` [INFO] [stdout] --> src/printer.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | model: Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `error` [INFO] [stdout] --> src/printer.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | error: PrinterError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `mode` [INFO] [stdout] --> src/printer.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | mode: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `status_type` [INFO] [stdout] --> src/printer.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | status_type: StatusType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `notification` [INFO] [stdout] --> src/printer.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | notification: Notification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `id` [INFO] [stdout] --> src/printer.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling image v0.23.11 [INFO] [stderr] Compiling qrcode v0.12.0 [INFO] [stderr] Compiling ptouch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `Luma` [INFO] [stdout] --> examples/print_rust.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, Luma}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DieCutType` [INFO] [stdout] --> examples/print_rust.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | step_filter_normal, Config, ContinuousType, DieCutType, Matrix, Media, Model, Printer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> examples/print_rust.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TestLabelNormalRes` [INFO] [stdout] --> examples/print_rust.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | TestLabelNormalRes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TestLabelHighRes` [INFO] [stdout] --> examples/print_rust.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TestLabelHighRes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TestLabelHighResMultiple` [INFO] [stdout] --> examples/print_rust.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | TestLabelHighResMultiple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::media::Media` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::media::Media; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/printer.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mm` [INFO] [stdout] --> src/media.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | mm: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/media.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | left: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `effective` [INFO] [stdout] --> src/media.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | effective: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/media.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | right: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dots` [INFO] [stdout] --> src/media.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | dots: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/media.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `margin` [INFO] [stdout] --> src/media.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | margin: MediaSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/media.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/printer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `iface` [INFO] [stdout] --> src/printer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | iface: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `setting` [INFO] [stdout] --> src/printer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | setting: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [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: `model` [INFO] [stdout] --> src/printer.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | model: Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `error` [INFO] [stdout] --> src/printer.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | error: PrinterError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `mode` [INFO] [stdout] --> src/printer.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | mode: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `status_type` [INFO] [stdout] --> src/printer.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | status_type: StatusType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `notification` [INFO] [stdout] --> src/printer.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | notification: Notification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: field is never read: `id` [INFO] [stdout] --> src/printer.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/printer.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.53s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ptouch-20333c5fba424f60) [INFO] running `Command { std: "docker" "inspect" "72803d4e3a786338531ad814a048b043fed6c7b011c7421f438de3a8c7d7a058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72803d4e3a786338531ad814a048b043fed6c7b011c7421f438de3a8c7d7a058", kill_on_drop: false }` [INFO] [stdout] 72803d4e3a786338531ad814a048b043fed6c7b011c7421f438de3a8c7d7a058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] 0855ba76f6d04119c4c307db01c8c35f0ac164ece5fd1fd8b3ed184acf2f1a50 [INFO] running `Command { std: "docker" "start" "-a" "0855ba76f6d04119c4c307db01c8c35f0ac164ece5fd1fd8b3ed184acf2f1a50", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::media::Media` [INFO] [stderr] --> src/model.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::media::Media; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/printer.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use log::{debug, info, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mm` [INFO] [stderr] --> src/media.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | mm: f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dots` [INFO] [stderr] --> src/media.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | dots: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `left` [INFO] [stderr] --> src/media.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | left: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `effective` [INFO] [stderr] --> src/media.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | effective: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `right` [INFO] [stderr] --> src/media.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | right: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dots` [INFO] [stderr] --> src/media.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | dots: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/media.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | id: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `margin` [INFO] [stderr] --> src/media.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | margin: MediaSize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `offset` [INFO] [stderr] --> src/media.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | offset: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `config` [INFO] [stderr] --> src/printer.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | config: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy)] [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: `iface` [INFO] [stderr] --> src/printer.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | iface: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy)] [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: `setting` [INFO] [stderr] --> src/printer.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | setting: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy)] [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: `model` [INFO] [stderr] --> src/printer.rs:372:5 [INFO] [stderr] | [INFO] [stderr] 372 | model: Model, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: field is never read: `error` [INFO] [stderr] --> src/printer.rs:373:5 [INFO] [stderr] | [INFO] [stderr] 373 | error: PrinterError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: field is never read: `mode` [INFO] [stderr] --> src/printer.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | mode: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: field is never read: `status_type` [INFO] [stderr] --> src/printer.rs:376:5 [INFO] [stderr] | [INFO] [stderr] 376 | status_type: StatusType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: field is never read: `notification` [INFO] [stderr] --> src/printer.rs:378:5 [INFO] [stderr] | [INFO] [stderr] 378 | notification: Notification, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: field is never read: `id` [INFO] [stderr] --> src/printer.rs:379:5 [INFO] [stderr] | [INFO] [stderr] 379 | id: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/printer.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[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: `ptouch` (lib) generated 20 warnings [INFO] [stderr] warning: unused imports: `ImageBuffer`, `Luma` [INFO] [stderr] --> examples/print_rust.rs:1:45 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, Luma}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DieCutType` [INFO] [stderr] --> examples/print_rust.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | step_filter_normal, Config, ContinuousType, DieCutType, Matrix, Media, Model, Printer, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> examples/print_rust.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TestLabelNormalRes` [INFO] [stderr] --> examples/print_rust.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | TestLabelNormalRes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TestLabelHighRes` [INFO] [stderr] --> examples/print_rust.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | TestLabelHighRes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TestLabelHighResMultiple` [INFO] [stderr] --> examples/print_rust.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | TestLabelHighResMultiple, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ptouch` (example "print_rust") generated 6 warnings [INFO] [stderr] warning: `ptouch` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ptouch-20333c5fba424f60) [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] [stderr] Doc-tests ptouch [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/printer.rs - printer::Config::new (line 502) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/printer.rs - printer::Config::new (line 502) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Continuous` in this scope [INFO] [stdout] --> src/printer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 3 | let media = Continuous(Continuous29); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 | use ptouch::Media::Continuous; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Continuous29` in this scope [INFO] [stdout] --> src/printer.rs:503:24 [INFO] [stdout] | [INFO] [stdout] 3 | let media = Continuous(Continuous29); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use ptouch::ContinuousType::Continuous29; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Modell` in this scope [INFO] [stdout] --> src/printer.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 4 | let model = Modell:QL800; [INFO] [stdout] | ^^^^^^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/printer.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 5 | let config = Config::new(model, media); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ptouch::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 6 | let media [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | } _doctest_main_src_lib_rs_5_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | let media [INFO] [stdout] | ^^^^^ consider giving `media` a type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/printer.rs - printer::Config::new (line 502) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0855ba76f6d04119c4c307db01c8c35f0ac164ece5fd1fd8b3ed184acf2f1a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0855ba76f6d04119c4c307db01c8c35f0ac164ece5fd1fd8b3ed184acf2f1a50", kill_on_drop: false }` [INFO] [stdout] 0855ba76f6d04119c4c307db01c8c35f0ac164ece5fd1fd8b3ed184acf2f1a50