[INFO] cloning repository https://github.com/mpsnp/niim_cups [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpsnp/niim_cups" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpsnp%2Fniim_cups", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpsnp%2Fniim_cups'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd4cfacbf25f7a4f5c664a4613eac4129f7e91ca [INFO] checking mpsnp/niim_cups against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpsnp%2Fniim_cups" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mpsnp/niim_cups [INFO] finished tweaking git repo https://github.com/mpsnp/niim_cups [INFO] tweaked toml for git repo https://github.com/mpsnp/niim_cups written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mpsnp/niim_cups on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mpsnp/niim_cups 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 788b2476b1238a87db027f39edd7de18a00ffa020be70a361f4f79243eef8c46 [INFO] running `Command { std: "docker" "start" "-a" "788b2476b1238a87db027f39edd7de18a00ffa020be70a361f4f79243eef8c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "788b2476b1238a87db027f39edd7de18a00ffa020be70a361f4f79243eef8c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788b2476b1238a87db027f39edd7de18a00ffa020be70a361f4f79243eef8c46", kill_on_drop: false }` [INFO] [stdout] 788b2476b1238a87db027f39edd7de18a00ffa020be70a361f4f79243eef8c46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 882269c4dc93fe2b3b11b98fd80378cf8ea6c0e017fa796b00912f03226788a7 [INFO] running `Command { std: "docker" "start" "-a" "882269c4dc93fe2b3b11b98fd80378cf8ea6c0e017fa796b00912f03226788a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde-xml-rs v0.8.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking bluez-generated v0.4.0 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking bluez-async v0.8.2 [INFO] [stderr] Checking btleplug v0.11.8 [INFO] [stderr] Checking niim_cups v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BluetoothTransport` is never constructed [INFO] [stdout] --> src/transport.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct BluetoothTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_sync` are never used [INFO] [stdout] --> src/transport.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl BluetoothTransport { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 89 | pub async fn new(address: String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_sync(address: String) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LanguageType` and `AutoShutdownTime` are never constructed [INFO] [stdout] --> src/enums.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InfoEnum { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | LanguageType = 6, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | AutoShutdownTime = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoEnum` 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: associated function `from_u8` is never used [INFO] [stdout] --> src/enums.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl InfoEnum { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 17 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum RequestCodeEnum { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 41 | GetInfo = 64, // 0x40 [INFO] [stdout] 42 | GetRfid = 26, // 0x1A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | Heartbeat = 220, // 0xDC [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | SetLabelType = 35, // 0x23 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | SetLabelDensity = 33, // 0x21 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | StartPrint = 1, // 0x01 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | EndPrint = 243, // 0xF3 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | StartPagePrint = 3, // 0x03 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | EndPagePrint = 227, // 0xE3 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | AllowPrintClear = 32, // 0x20 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | SetDimension = 19, // 0x13 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | SetQuantity = 21, // 0x15 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | GetPrintStatus = 163, // 0xA3 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestCodeEnum` 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: associated function `from_u8` is never used [INFO] [stdout] --> src/enums.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl RequestCodeEnum { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heartbeat` is never used [INFO] [stdout] --> src/printer.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PrinterClient { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn heartbeat(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeartbeatResponse` is never constructed [INFO] [stdout] --> src/printer.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct HeartbeatResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_paper_loaded`, `is_cover_closed`, and `get_power_level` are never used [INFO] [stdout] --> src/printer.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl HeartbeatResponse { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 167 | pub fn is_paper_loaded(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_cover_closed(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn get_power_level(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BluetoothTransport` is never constructed [INFO] [stdout] --> src/transport.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct BluetoothTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_sync` are never used [INFO] [stdout] --> src/transport.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl BluetoothTransport { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 89 | pub async fn new(address: String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_sync(address: String) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LanguageType` and `AutoShutdownTime` are never constructed [INFO] [stdout] --> src/enums.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InfoEnum { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | LanguageType = 6, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | AutoShutdownTime = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoEnum` 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: associated function `from_u8` is never used [INFO] [stdout] --> src/enums.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl InfoEnum { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 17 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum RequestCodeEnum { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 41 | GetInfo = 64, // 0x40 [INFO] [stdout] 42 | GetRfid = 26, // 0x1A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | Heartbeat = 220, // 0xDC [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | SetLabelType = 35, // 0x23 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | SetLabelDensity = 33, // 0x21 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | StartPrint = 1, // 0x01 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | EndPrint = 243, // 0xF3 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | StartPagePrint = 3, // 0x03 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | EndPagePrint = 227, // 0xE3 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | AllowPrintClear = 32, // 0x20 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | SetDimension = 19, // 0x13 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | SetQuantity = 21, // 0x15 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | GetPrintStatus = 163, // 0xA3 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestCodeEnum` 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: associated function `from_u8` is never used [INFO] [stdout] --> src/enums.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl RequestCodeEnum { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heartbeat` is never used [INFO] [stdout] --> src/printer.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PrinterClient { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn heartbeat(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeartbeatResponse` is never constructed [INFO] [stdout] --> src/printer.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct HeartbeatResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_paper_loaded`, `is_cover_closed`, and `get_power_level` are never used [INFO] [stdout] --> src/printer.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl HeartbeatResponse { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 167 | pub fn is_paper_loaded(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_cover_closed(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn get_power_level(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.62s [INFO] running `Command { std: "docker" "inspect" "882269c4dc93fe2b3b11b98fd80378cf8ea6c0e017fa796b00912f03226788a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882269c4dc93fe2b3b11b98fd80378cf8ea6c0e017fa796b00912f03226788a7", kill_on_drop: false }` [INFO] [stdout] 882269c4dc93fe2b3b11b98fd80378cf8ea6c0e017fa796b00912f03226788a7