[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 master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpsnp%2Fniim_cups" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mpsnp/niim_cups on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc2-core-bluetooth v0.2.2 [INFO] [stderr] Downloaded bluez-generated v0.4.0 [INFO] [stderr] Downloaded dbus-tokio v0.7.6 [INFO] [stderr] Downloaded bluez-async v0.8.2 [INFO] [stderr] Downloaded serde-xml-rs v0.8.1 [INFO] [stderr] Downloaded jni-utils v0.1.1 [INFO] [stderr] Downloaded btleplug v0.11.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c27ca86acb25fcdbf9bd142d4bae93f2814622d0b78e77382cf3b5bd3fbd26 [INFO] running `Command { std: "docker" "start" "-a" "18c27ca86acb25fcdbf9bd142d4bae93f2814622d0b78e77382cf3b5bd3fbd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c27ca86acb25fcdbf9bd142d4bae93f2814622d0b78e77382cf3b5bd3fbd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c27ca86acb25fcdbf9bd142d4bae93f2814622d0b78e77382cf3b5bd3fbd26", kill_on_drop: false }` [INFO] [stdout] 18c27ca86acb25fcdbf9bd142d4bae93f2814622d0b78e77382cf3b5bd3fbd26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f24096242e1cd8ea460bb4d54c30a3c8149ba50bf2403b3d944d5a88140dfaf0 [INFO] running `Command { std: "docker" "start" "-a" "f24096242e1cd8ea460bb4d54c30a3c8149ba50bf2403b3d944d5a88140dfaf0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking lock_api v0.4.13 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking libudev v0.3.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 thiserror v2.0.12 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.219 [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 bluez-generated v0.4.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Checking bluez-async v0.8.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 20.92s [INFO] running `Command { std: "docker" "inspect" "f24096242e1cd8ea460bb4d54c30a3c8149ba50bf2403b3d944d5a88140dfaf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24096242e1cd8ea460bb4d54c30a3c8149ba50bf2403b3d944d5a88140dfaf0", kill_on_drop: false }` [INFO] [stdout] f24096242e1cd8ea460bb4d54c30a3c8149ba50bf2403b3d944d5a88140dfaf0