[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] testing M1K8/conductor against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1K8%2Fconductor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/M1K8/conductor on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.9.0 [INFO] [stderr] Downloaded lazy-regex v3.3.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Downloaded config-file v0.2.3 [INFO] [stderr] Downloaded rustls-native-certs v0.8.0 [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 suppaftp v6.0.2 [INFO] [stderr] Downloaded paho-mqtt v0.12.5 [INFO] [stderr] Downloaded reqwest v0.12.8 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] [stderr] Downloaded rustls v0.23.14 [INFO] [stderr] Downloaded paho-mqtt-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df95df7c2ad7c735d960d58a01d2db821eba05635733cfc4415ae419d0d3f34b [INFO] running `Command { std: "docker" "start" "-a" "df95df7c2ad7c735d960d58a01d2db821eba05635733cfc4415ae419d0d3f34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df95df7c2ad7c735d960d58a01d2db821eba05635733cfc4415ae419d0d3f34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df95df7c2ad7c735d960d58a01d2db821eba05635733cfc4415ae419d0d3f34b", kill_on_drop: false }` [INFO] [stdout] df95df7c2ad7c735d960d58a01d2db821eba05635733cfc4415ae419d0d3f34b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e3b211b4fd006f4e4a1d9da49d5cddad0a4e28dc87d8280726f986dd12e9f88 [INFO] running `Command { std: "docker" "start" "-a" "6e3b211b4fd006f4e4a1d9da49d5cddad0a4e28dc87d8280726f986dd12e9f88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [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 serde_json v1.0.128 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.210 [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 lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling suppaftp v6.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_complete v4.5.33 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [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 http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-rustls v0.25.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)]` 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)]` 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)]` on by default [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "6e3b211b4fd006f4e4a1d9da49d5cddad0a4e28dc87d8280726f986dd12e9f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3b211b4fd006f4e4a1d9da49d5cddad0a4e28dc87d8280726f986dd12e9f88", kill_on_drop: false }` [INFO] [stdout] 6e3b211b4fd006f4e4a1d9da49d5cddad0a4e28dc87d8280726f986dd12e9f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 422f2b855376a2afef3111c4c8ba8a9147970656822780498d27adc0c55eaab4 [INFO] running `Command { std: "docker" "start" "-a" "422f2b855376a2afef3111c4c8ba8a9147970656822780498d27adc0c55eaab4", 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)]` 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)]` 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)]` on by default [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "422f2b855376a2afef3111c4c8ba8a9147970656822780498d27adc0c55eaab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422f2b855376a2afef3111c4c8ba8a9147970656822780498d27adc0c55eaab4", kill_on_drop: false }` [INFO] [stdout] 422f2b855376a2afef3111c4c8ba8a9147970656822780498d27adc0c55eaab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60d5686945291386e716311a06ff77db6f72cd41ef02e078121749851c77d88d [INFO] running `Command { std: "docker" "start" "-a" "60d5686945291386e716311a06ff77db6f72cd41ef02e078121749851c77d88d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/commands/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CommandFactory` and `ValueEnum` [INFO] [stderr] --> src/commands/mod.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use clap::{CommandFactory, Parser, Subcommand, ValueEnum}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `aot::Bash` and `generate` [INFO] [stderr] --> src/commands/mod.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use clap_complete::{aot::Bash, generate}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::config` [INFO] [stderr] --> src/commands/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::config; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/config/mod.rs:78:27 [INFO] [stderr] | [INFO] [stderr] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/config/mod.rs:78:41 [INFO] [stderr] | [INFO] [stderr] 78 | pub(crate) fn get_printer(cfg: &Config, name: &str) -> Option> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/printer/bambu/mod.rs:155:21 [INFO] [stderr] | [INFO] [stderr] 155 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/printer/bambu/mod.rs:159:22 [INFO] [stderr] | [INFO] [stderr] 159 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/printer/moonraker/mod.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | fn print(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/printer/moonraker/mod.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | fn upload(&self, f: &super::PrintFile) -> Result<(), Box> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `printer_cfg` [INFO] [stderr] --> src/main.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:53:39 [INFO] [stderr] | [INFO] [stderr] 53 | Command::Print { printer, file } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `printer_cfg` [INFO] [stderr] --> src/main.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:61:40 [INFO] [stderr] | [INFO] [stderr] 61 | Command::Upload { printer, file } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `printer_cfg` [INFO] [stderr] --> src/main.rs:62:21 [INFO] [stderr] | [INFO] [stderr] 62 | let printer_cfg = match config::get_printer(&cfg, printer) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer_cfg` [INFO] [stderr] [INFO] [stderr] warning: struct `ArgError` is never constructed [INFO] [stderr] --> src/commands/mod.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) struct ArgError { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `ser` is never used [INFO] [stderr] --> src/config/mod.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | pub(crate) fn ser(cfg: Config) -> Option> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_printer_cfg` is never used [INFO] [stderr] --> src/config/mod.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn get_printer_cfg<'a>(cfg: &'a Config, name: &'a str) -> Option<&'a Printer> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_printer_type` is never used [INFO] [stderr] --> src/config/mod.rs:82:15 [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) fn get_printer_type(s: String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Bambu` is never constructed [INFO] [stderr] --> src/printer/bambu/mod.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct Bambu<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new` is never used [INFO] [stderr] --> src/printer/bambu/mod.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) async fn new<'a>( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `poll_mqtt` is never used [INFO] [stderr] --> src/printer/bambu/mod.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | async fn poll_mqtt( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `start_mqtt` is never used [INFO] [stderr] --> src/printer/bambu/mod.rs:119:18 [INFO] [stderr] | [INFO] [stderr] 118 | impl<'a> Bambu<'a> { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 119 | pub async fn start_mqtt(&mut self, _cmd: &commands::Command) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `conductor` (bin "conductor" test) generated 23 warnings (run `cargo fix --bin "conductor" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/conductor-e7b5b6448e3a0831) [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] running `Command { std: "docker" "inspect" "60d5686945291386e716311a06ff77db6f72cd41ef02e078121749851c77d88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d5686945291386e716311a06ff77db6f72cd41ef02e078121749851c77d88d", kill_on_drop: false }` [INFO] [stdout] 60d5686945291386e716311a06ff77db6f72cd41ef02e078121749851c77d88d