[INFO] cloning repository https://github.com/M1K8/conductor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M1K8/conductor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1K8%2Fconductor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1K8%2Fconductor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c4d56644f6a62a73c1fdc0c149694cbd290a298 [INFO] building M1K8/conductor against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1K8%2Fconductor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/M1K8/conductor [INFO] finished tweaking git repo https://github.com/M1K8/conductor [INFO] tweaked toml for git repo https://github.com/M1K8/conductor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/M1K8/conductor on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/M1K8/conductor 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-native-certs v0.8.0 [INFO] [stderr] Downloaded config-file v0.2.3 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Downloaded suppaftp v6.0.2 [INFO] [stderr] Downloaded lazy-regex v3.3.0 [INFO] [stderr] Downloaded instability v0.3.2 [INFO] [stderr] Downloaded clap_complete_command v0.6.1 [INFO] [stderr] Downloaded clap_complete_nushell v4.5.4 [INFO] [stderr] Downloaded clap_complete v4.5.33 [INFO] [stderr] Downloaded paho-mqtt v0.12.5 [INFO] [stderr] Downloaded paho-mqtt-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7773890af66a4c669b430bac6ebae7131ce6a9f05aa810521152fe4ab19affc0 [INFO] running `Command { std: "docker" "start" "-a" "7773890af66a4c669b430bac6ebae7131ce6a9f05aa810521152fe4ab19affc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7773890af66a4c669b430bac6ebae7131ce6a9f05aa810521152fe4ab19affc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7773890af66a4c669b430bac6ebae7131ce6a9f05aa810521152fe4ab19affc0", kill_on_drop: false }` [INFO] [stdout] 7773890af66a4c669b430bac6ebae7131ce6a9f05aa810521152fe4ab19affc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e8c8a3863cb38f6efa05da6dec3d4182a952f1ad614abd09ee8da8a47be269 [INFO] running `Command { std: "docker" "start" "-a" "42e8c8a3863cb38f6efa05da6dec3d4182a952f1ad614abd09ee8da8a47be269", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling paho-mqtt-sys v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling clap_complete v4.5.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_complete_nushell v4.5.4 [INFO] [stderr] Compiling clap_complete_command v0.6.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling suppaftp v6.0.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling paho-mqtt v0.12.5 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling config-file v0.2.3 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling conductor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandFactory` and `ValueEnum` [INFO] [stdout] --> src/commands/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{CommandFactory, Parser, Subcommand, ValueEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aot::Bash` and `generate` [INFO] [stdout] --> src/commands/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_complete::{aot::Bash, generate}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/commands/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config/mod.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/config/mod.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/bambu/mod.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/bambu/mod.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/moonraker/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/moonraker/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Command::Print { printer, file } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | Command::Upload { printer, file } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgError` is never constructed [INFO] [stdout] --> src/commands/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct ArgError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrinterType` is never used [INFO] [stdout] --> src/config/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) enum PrinterType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrinterSubType` is never used [INFO] [stdout] --> src/config/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) enum PrinterSubType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ser` is never used [INFO] [stdout] --> src/config/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn ser(cfg: Config) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_printer_cfg` is never used [INFO] [stdout] --> src/config/mod.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_printer_cfg<'a>(cfg: &'a Config, name: &'a str) -> Option<&'a Printer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_printer_type` is never used [INFO] [stdout] --> src/config/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn get_printer_type(s: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bambu` is never constructed [INFO] [stdout] --> src/printer/bambu/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Bambu<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn new<'a>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll_mqtt` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn poll_mqtt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_mqtt` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 118 | impl<'a> Bambu<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 119 | pub async fn start_mqtt(&mut self, _cmd: &commands::Command) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Report` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Print` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ams` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Ams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Am` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Am { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tray` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Tray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ipcam` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Ipcam { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LightsReport` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct LightsReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Online` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Online { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpgradeState` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct UpgradeState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Upload` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Upload { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Xcam` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Xcam { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "42e8c8a3863cb38f6efa05da6dec3d4182a952f1ad614abd09ee8da8a47be269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e8c8a3863cb38f6efa05da6dec3d4182a952f1ad614abd09ee8da8a47be269", kill_on_drop: false }` [INFO] [stdout] 42e8c8a3863cb38f6efa05da6dec3d4182a952f1ad614abd09ee8da8a47be269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc63858a887c37417bf258dd80c3d751a4aa707400a4a25abe9a577ecd5207bc [INFO] running `Command { std: "docker" "start" "-a" "dc63858a887c37417bf258dd80c3d751a4aa707400a4a25abe9a577ecd5207bc", kill_on_drop: false }` [INFO] [stderr] Compiling conductor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandFactory` and `ValueEnum` [INFO] [stdout] --> src/commands/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{CommandFactory, Parser, Subcommand, ValueEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aot::Bash` and `generate` [INFO] [stdout] --> src/commands/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_complete::{aot::Bash, generate}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/commands/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config/mod.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/config/mod.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/bambu/mod.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/bambu/mod.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/moonraker/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/printer/moonraker/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Command::Print { printer, file } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | Command::Upload { printer, file } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer_cfg` [INFO] [stdout] --> src/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgError` is never constructed [INFO] [stdout] --> src/commands/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct ArgError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrinterType` is never used [INFO] [stdout] --> src/config/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) enum PrinterType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrinterSubType` is never used [INFO] [stdout] --> src/config/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) enum PrinterSubType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ser` is never used [INFO] [stdout] --> src/config/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn ser(cfg: Config) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_printer_cfg` is never used [INFO] [stdout] --> src/config/mod.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_printer_cfg<'a>(cfg: &'a Config, name: &'a str) -> Option<&'a Printer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_printer_type` is never used [INFO] [stdout] --> src/config/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn get_printer_type(s: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bambu` is never constructed [INFO] [stdout] --> src/printer/bambu/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Bambu<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn new<'a>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll_mqtt` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn poll_mqtt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_mqtt` is never used [INFO] [stdout] --> src/printer/bambu/mod.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 118 | impl<'a> Bambu<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 119 | pub async fn start_mqtt(&mut self, _cmd: &commands::Command) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Report` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Print` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ams` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Ams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Am` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Am { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tray` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Tray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ipcam` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Ipcam { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LightsReport` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct LightsReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Online` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Online { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpgradeState` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct UpgradeState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Upload` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Upload { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Xcam` is never constructed [INFO] [stdout] --> src/printer/bambu/report.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Xcam { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "dc63858a887c37417bf258dd80c3d751a4aa707400a4a25abe9a577ecd5207bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc63858a887c37417bf258dd80c3d751a4aa707400a4a25abe9a577ecd5207bc", kill_on_drop: false }` [INFO] [stdout] dc63858a887c37417bf258dd80c3d751a4aa707400a4a25abe9a577ecd5207bc