[INFO] cloning repository https://github.com/huming2207/plunger-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huming2207/plunger-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuming2207%2Fplunger-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuming2207%2Fplunger-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49514b963f87d9cccb5fd2035db744ba46b0252d [INFO] building huming2207/plunger-api against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuming2207%2Fplunger-api" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huming2207/plunger-api on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huming2207/plunger-api [INFO] finished tweaking git repo https://github.com/huming2207/plunger-api [INFO] tweaked toml for git repo https://github.com/huming2207/plunger-api written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/huming2207/plunger-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab8731c14cf9f8dab91afce2b5d2210449b1c5d3f9b72a000976b1c47ac3b61f [INFO] running `Command { std: "docker" "start" "-a" "ab8731c14cf9f8dab91afce2b5d2210449b1c5d3f9b72a000976b1c47ac3b61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab8731c14cf9f8dab91afce2b5d2210449b1c5d3f9b72a000976b1c47ac3b61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8731c14cf9f8dab91afce2b5d2210449b1c5d3f9b72a000976b1c47ac3b61f", kill_on_drop: false }` [INFO] [stdout] ab8731c14cf9f8dab91afce2b5d2210449b1c5d3f9b72a000976b1c47ac3b61f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7b7ed4e4f0585b6e3db48b90eacdec8b20db4cb061da4c81537c5e87bd6e018 [INFO] running `Command { std: "docker" "start" "-a" "c7b7ed4e4f0585b6e3db48b90eacdec8b20db4cb061da4c81537c5e87bd6e018", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling state v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling spin v0.9.0 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling svg v0.9.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ihex v3.0.0 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling radix_fmt v1.0.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling figment v0.10.5 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#e45e1645) [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling hidapi v1.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling boolean_expression v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling jaylink v0.2.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling bitmatch v0.1.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling itm-decode v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling jep106 v0.2.5 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling probe-rs-target v0.10.1 (https://github.com/probe-rs/probe-rs?branch=master#7d61446f) [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling probe-rs v0.10.1 (https://github.com/probe-rs/probe-rs?branch=master#7d61446f) [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#e45e1645) [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#e45e1645) [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket-multipart-form-data v0.10.0 (https://github.com/magiclen/rocket-multipart-form-data#899ac578) [INFO] [stderr] Compiling plunger-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `JoinError`, `spawn_blocking` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::tokio::task::{JoinError, spawn_blocking}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Contextual` [INFO] [stdout] --> src/routes/production/erase_flash.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{form::{Contextual, Form}, http::Status, serde::json::Json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `download_result` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let download_result = match form.fw_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_download_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/production/list_probes.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ... Err(err) => return (Status::InternalServerError, Json(PlungerResponse { message: "Failed to get probes".to_string(), details: None ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | blob: TempFile<'v>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fw_type` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | fw_type: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fw_ver` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fw_ver: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_sn` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | probe_sn: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `speed_khz` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | speed_khz: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_vid` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | probe_vid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_pid` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | probe_pid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_name` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | target_name: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skip_erase` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | skip_erase: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cm_firmware_flash` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) async fn cm_firmware_flash<'r>(data: Form>>) -> (Status, Json) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_probes` [INFO] [stdout] --> src/routes/production/list_probes.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) async fn get_all_probes() -> (Status, Json>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_sn` [INFO] [stdout] --> src/routes/production/erase_flash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | probe_sn: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_vid` [INFO] [stdout] --> src/routes/production/erase_flash.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | probe_vid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_pid` [INFO] [stdout] --> src/routes/production/erase_flash.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | probe_pid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_name` [INFO] [stdout] --> src/routes/production/erase_flash.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | target_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `erase_flash` [INFO] [stdout] --> src/routes/production/erase_flash.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn erase_flash(data: Form) -> (Status, Json) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidTarget` [INFO] [stdout] --> src/massprod/eraser/eraser_error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidTarget, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EraserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/massprod/eraser/eraser_error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/massprod/eraser/stm32l0_eraser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(target_name: String, probe: DebugProbeSelector) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Stm32L0EraserTask` [INFO] [stdout] --> src/massprod/eraser/stm32l0_eraser.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Stm32L0EraserTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 55s [INFO] running `Command { std: "docker" "inspect" "c7b7ed4e4f0585b6e3db48b90eacdec8b20db4cb061da4c81537c5e87bd6e018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b7ed4e4f0585b6e3db48b90eacdec8b20db4cb061da4c81537c5e87bd6e018", kill_on_drop: false }` [INFO] [stdout] c7b7ed4e4f0585b6e3db48b90eacdec8b20db4cb061da4c81537c5e87bd6e018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91509d3b68b032c07f460e93c098046d51625acb80095a0a80cca7ba15ff7d67 [INFO] running `Command { std: "docker" "start" "-a" "91509d3b68b032c07f460e93c098046d51625acb80095a0a80cca7ba15ff7d67", kill_on_drop: false }` [INFO] [stderr] Compiling plunger-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `JoinError`, `spawn_blocking` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::tokio::task::{JoinError, spawn_blocking}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Contextual` [INFO] [stdout] --> src/routes/production/erase_flash.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{form::{Contextual, Form}, http::Status, serde::json::Json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `download_result` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let download_result = match form.fw_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_download_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/production/list_probes.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ... Err(err) => return (Status::InternalServerError, Json(PlungerResponse { message: "Failed to get probes".to_string(), details: None ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | blob: TempFile<'v>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fw_type` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | fw_type: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fw_ver` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fw_ver: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_sn` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | probe_sn: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `speed_khz` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | speed_khz: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_vid` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | probe_vid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_pid` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | probe_pid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_name` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | target_name: &'v str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skip_erase` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | skip_erase: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/flash_firmware.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cm_firmware_flash` [INFO] [stdout] --> src/routes/production/flash_firmware.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) async fn cm_firmware_flash<'r>(data: Form>>) -> (Status, Json) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_probes` [INFO] [stdout] --> src/routes/production/list_probes.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) async fn get_all_probes() -> (Status, Json>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_sn` [INFO] [stdout] --> src/routes/production/erase_flash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | probe_sn: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_vid` [INFO] [stdout] --> src/routes/production/erase_flash.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | probe_vid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `probe_pid` [INFO] [stdout] --> src/routes/production/erase_flash.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | probe_pid: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_name` [INFO] [stdout] --> src/routes/production/erase_flash.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | target_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmFirmwareEraseForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/production/erase_flash.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromForm)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `erase_flash` [INFO] [stdout] --> src/routes/production/erase_flash.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn erase_flash(data: Form) -> (Status, Json) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidTarget` [INFO] [stdout] --> src/massprod/eraser/eraser_error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidTarget, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EraserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/massprod/eraser/eraser_error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/massprod/eraser/stm32l0_eraser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(target_name: String, probe: DebugProbeSelector) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Stm32L0EraserTask` [INFO] [stdout] --> src/massprod/eraser/stm32l0_eraser.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Stm32L0EraserTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.86s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/plunger_api-d0afaf2e60d2fd2b) [INFO] running `Command { std: "docker" "inspect" "91509d3b68b032c07f460e93c098046d51625acb80095a0a80cca7ba15ff7d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91509d3b68b032c07f460e93c098046d51625acb80095a0a80cca7ba15ff7d67", kill_on_drop: false }` [INFO] [stdout] 91509d3b68b032c07f460e93c098046d51625acb80095a0a80cca7ba15ff7d67