[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] checking huming2207/plunger-api against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuming2207%2Fplunger-api" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huming2207/plunger-api on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-8/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4149f05501a0156ab8f7581dc49df1ca7f6a8f918f4caa556ddf0e88fd2b80 [INFO] running `Command { std: "docker" "start" "-a" "8a4149f05501a0156ab8f7581dc49df1ca7f6a8f918f4caa556ddf0e88fd2b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4149f05501a0156ab8f7581dc49df1ca7f6a8f918f4caa556ddf0e88fd2b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4149f05501a0156ab8f7581dc49df1ca7f6a8f918f4caa556ddf0e88fd2b80", kill_on_drop: false }` [INFO] [stdout] 8a4149f05501a0156ab8f7581dc49df1ca7f6a8f918f4caa556ddf0e88fd2b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a37336483d8dbcc9226abe4cfdfc7132fd356f8d45b81e45a2e85b207934a6 [INFO] running `Command { std: "docker" "start" "-a" "e8a37336483d8dbcc9226abe4cfdfc7132fd356f8d45b81e45a2e85b207934a6", 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 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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling state v0.5.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Checking spin v0.9.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking svg v0.9.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ihex v3.0.0 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling figment v0.10.5 [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 tokio v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [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] Checking textwrap v0.12.1 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling boolean_expression v0.3.11 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking object v0.25.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling hidapi v1.2.6 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking jaylink v0.2.0 [INFO] [stderr] Checking http-body v0.4.2 [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] Checking async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking itm-decode v0.2.1 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking jep106 v0.2.5 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking probe-rs-target v0.10.1 (https://github.com/probe-rs/probe-rs?branch=master#7d61446f) [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Compiling probe-rs v0.10.1 (https://github.com/probe-rs/probe-rs?branch=master#7d61446f) [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#e45e1645) [INFO] [stderr] Checking 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] Checking rocket-multipart-form-data v0.10.0 (https://github.com/magiclen/rocket-multipart-form-data#899ac578) [INFO] [stderr] Checking 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 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: 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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 2m 04s [INFO] running `Command { std: "docker" "inspect" "e8a37336483d8dbcc9226abe4cfdfc7132fd356f8d45b81e45a2e85b207934a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a37336483d8dbcc9226abe4cfdfc7132fd356f8d45b81e45a2e85b207934a6", kill_on_drop: false }` [INFO] [stdout] e8a37336483d8dbcc9226abe4cfdfc7132fd356f8d45b81e45a2e85b207934a6