[INFO] cloning repository https://github.com/dizzyi/zdt_stepper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dizzyi/zdt_stepper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdizzyi%2Fzdt_stepper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdizzyi%2Fzdt_stepper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 80b2df8e460b16f47f6b116c133209dda1895148
[INFO] checking dizzyi/zdt_stepper against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdizzyi%2Fzdt_stepper" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dizzyi/zdt_stepper
[INFO] finished tweaking git repo https://github.com/dizzyi/zdt_stepper
[INFO] tweaked toml for git repo https://github.com/dizzyi/zdt_stepper written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dizzyi/zdt_stepper on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dizzyi/zdt_stepper 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rocket_codegen v0.5.1
[INFO] [stderr]   Downloaded devise v0.4.2
[INFO] [stderr]   Downloaded devise_codegen v0.4.2
[INFO] [stderr]   Downloaded serialport v4.8.1
[INFO] [stderr]   Downloaded devise_core v0.4.2
[INFO] [stderr]   Downloaded rocket_http v0.5.1
[INFO] [stderr]   Downloaded rocket v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70
[INFO] running `Command { std: "docker" "start" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]     Checking pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking unescaper v0.1.8
[INFO] [stderr]     Checking serialport v4.8.1
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]     Checking zdt_stepper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stdout] warning: unused import: `build`
[INFO] [stdout]  --> examples/web_controller.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rocket::{build, fs::NamedFile};
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::read`
[INFO] [stdout]  --> examples/web_controller.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{fs::read, io::Write};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `broadcast`
[INFO] [stdout]   --> examples/web_controller.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{broadcast, mpsc, watch};
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::read`
[INFO] [stdout]  --> examples/arduino_stop.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::read, io::Write};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/web_controller.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut port = serialport::new(port, 115_200)
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/web_controller.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut arduino_port = serialport::new(arduino_port, 115_200)
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/web_controller.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     mut state_tx: watch::Sender<u8>,
[INFO] [stdout]     |     ----^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `spin_req` is never read
[INFO] [stdout]    --> examples/web_controller.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut spin_req = ctr_pos.clone().make_req(2);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 240 |         spin_req = ctr_pos.clone().make_req(2);
[INFO] [stdout]     |         -------- `spin_req` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/web_controller.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     tokio::runtime::Builder::new_current_thread()
[INFO] [stdout] 43 | |         .enable_all()
[INFO] [stdout] 44 | |         .build()
[INFO] [stdout] 45 | |         .unwrap()
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |                 .await
[INFO] [stdout] 56 | |         });
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let _ = tokio::runtime::Builder::new_current_thread()
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/web_controller.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     my_config.command_tx.send(cw.contains("1")).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let _ = my_config.command_tx.send(cw.contains("1")).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/web_controller.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     my_config.enable_tx.send(b.contains("1")).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let _ = my_config.enable_tx.send(b.contains("1")).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/web_controller.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             state_tx.send(1);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 202 |             let _ = state_tx.send(1);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/web_controller.rs:223:17
[INFO] [stdout]     |
[INFO] [stdout] 223 |                 state_tx.send(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |                 let _ = state_tx.send(0);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/web_controller.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         state_tx.send(1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let _ = state_tx.send(1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/web_controller.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         state_tx.send(2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let _ = state_tx.send(2);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/web_controller.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |         state_tx.send(1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let _ = state_tx.send(1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.85s
[INFO] running `Command { std: "docker" "inspect" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70", kill_on_drop: false }`
[INFO] [stdout] c96b1b8e05185d122e3a5b57fd56e2eead34e0ef290a77ab71d9c5373fbe0a70
