[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] 62896bb94033b8bcdf9a9aeec5eb72f2d51bafb3
[INFO] checking kyasu1/rust-ptouch-usb against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyasu1%2Frust-ptouch-usb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kyasu1/rust-ptouch-usb on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kyasu1/rust-ptouch-usb 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.62
[INFO] [stderr]   Downloaded libusb1-sys v0.4.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9bd8a96896ad7fe4f9eb011842335715248143bf391a59bf02c03b1ee596fe0
[INFO] running `Command { std: "docker" "start" "-a" "e9bd8a96896ad7fe4f9eb011842335715248143bf391a59bf02c03b1ee596fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9bd8a96896ad7fe4f9eb011842335715248143bf391a59bf02c03b1ee596fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9bd8a96896ad7fe4f9eb011842335715248143bf391a59bf02c03b1ee596fe0", kill_on_drop: false }`
[INFO] [stdout] e9bd8a96896ad7fe4f9eb011842335715248143bf391a59bf02c03b1ee596fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9be07993022a4d232246059e898926994da9b29bac57ba82dd475cb2e95f8675
[INFO] running `Command { std: "docker" "start" "-a" "9be07993022a4d232246059e898926994da9b29bac57ba82dd475cb2e95f8675", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling rle-decode-fast v1.0.3
[INFO] [stderr]    Compiling libflate_lz77 v1.2.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libflate v1.4.0
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling syn v2.0.62
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling tar v0.4.40
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking checked_int_cast v1.0.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling libusb1-sys v0.4.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking rusb v0.6.5
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling thiserror-impl v1.0.60
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking ptouch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `mm` and `dots` are never read
[INFO] [stdout]   --> src/media.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct MediaSize {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 38 |     mm: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 39 |     dots: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left`, `effective`, and `right` are never read
[INFO] [stdout]   --> src/media.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Width {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 43 |     mm: u8,
[INFO] [stdout] 44 |     left: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     effective: u32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 46 |     right: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dots` is never read
[INFO] [stdout]   --> src/media.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Length {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 50 |     mm: u8,
[INFO] [stdout] 51 |     dots: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `margin`, and `offset` are never read
[INFO] [stdout]   --> src/media.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct MediaSpec {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 55 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     margin: MediaSize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 59 |     offset: Option<MediaSize>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config`, `iface`, and `setting` are never read
[INFO] [stdout]   --> src/printer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Endpoint {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 14 |     config: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     iface: u8,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `model`, `error`, `mode`, `status_type`, `notification`, and `id` are never read
[INFO] [stdout]    --> src/printer.rs:428:5
[INFO] [stdout]     |
[INFO] [stdout] 427 | pub struct Status {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 428 |     model: Model,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 429 |     error: PrinterError,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 430 |     media: Option<Media>,
[INFO] [stdout] 431 |     mode: u8,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 432 |     status_type: StatusType,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 433 |     phase: Phase,
[INFO] [stdout] 434 |     notification: Notification,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 435 |     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] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking qrcode v0.12.0
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `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: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8`
[INFO] [stdout]    --> examples/print_rust.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let bytes = buffer.to_luma().into_raw();
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TestLabelNormalRes`, `TestLabelHighResMultiple`, and `TestLabelHighResMultipleQrCode` are never constructed
[INFO] [stdout]   --> examples/print_rust.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     enum PrintOption {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 12 |         TestLabelNormalRes,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |         TestLabelHighRes,
[INFO] [stdout] 14 |         TestLabelHighResMultiple,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |         TestLabelHighResMultipleQrCode,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mm` and `dots` are never read
[INFO] [stdout]   --> src/media.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct MediaSize {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 38 |     mm: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 39 |     dots: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left`, `effective`, and `right` are never read
[INFO] [stdout]   --> src/media.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Width {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 43 |     mm: u8,
[INFO] [stdout] 44 |     left: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     effective: u32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 46 |     right: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dots` is never read
[INFO] [stdout]   --> src/media.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Length {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 50 |     mm: u8,
[INFO] [stdout] 51 |     dots: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `margin`, and `offset` are never read
[INFO] [stdout]   --> src/media.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct MediaSpec {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 55 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     margin: MediaSize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 59 |     offset: Option<MediaSize>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config`, `iface`, and `setting` are never read
[INFO] [stdout]   --> src/printer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Endpoint {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 14 |     config: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     iface: u8,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `model`, `error`, `mode`, `status_type`, `notification`, and `id` are never read
[INFO] [stdout]    --> src/printer.rs:428:5
[INFO] [stdout]     |
[INFO] [stdout] 427 | pub struct Status {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 428 |     model: Model,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 429 |     error: PrinterError,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 430 |     media: Option<Media>,
[INFO] [stdout] 431 |     mode: u8,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 432 |     status_type: StatusType,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 433 |     phase: Phase,
[INFO] [stdout] 434 |     notification: Notification,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 435 |     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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.30s
[INFO] running `Command { std: "docker" "inspect" "9be07993022a4d232246059e898926994da9b29bac57ba82dd475cb2e95f8675", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9be07993022a4d232246059e898926994da9b29bac57ba82dd475cb2e95f8675", kill_on_drop: false }`
[INFO] [stdout] 9be07993022a4d232246059e898926994da9b29bac57ba82dd475cb2e95f8675
