[INFO] cloning repository https://github.com/vhdirk/useless_box
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vhdirk/useless_box" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhdirk%2Fuseless_box", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhdirk%2Fuseless_box'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ac0945f98b15bdecc03aa622372bc830c9edc64
[INFO] checking vhdirk/useless_box against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhdirk%2Fuseless_box" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/vhdirk/useless_box
[INFO] finished tweaking git repo https://github.com/vhdirk/useless_box
[INFO] tweaked toml for git repo https://github.com/vhdirk/useless_box written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vhdirk/useless_box on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vhdirk/useless_box 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "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 rtic-monotonic v1.0.0
[INFO] [stderr]   Downloaded gcd v2.1.0
[INFO] [stderr]   Downloaded systick-monotonic v1.0.0
[INFO] [stderr]   Downloaded fugit v0.3.6
[INFO] [stderr]   Downloaded paste v1.0.7
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.1
[INFO] [stderr]   Downloaded defmt-rtt v0.3.2
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded critical-section v0.2.7
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded rtic-core v1.0.0
[INFO] [stderr]   Downloaded nb v1.0.0
[INFO] [stderr]   Downloaded atomic-polyfill v0.1.8
[INFO] [stderr]   Downloaded volatile-register v0.2.1
[INFO] [stderr]   Downloaded riscv-target v0.1.2
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded panic-probe v0.3.0
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded usb-device v0.2.8
[INFO] [stderr]   Downloaded defmt-parser v0.3.1
[INFO] [stderr]   Downloaded stm32-usbd v0.6.0
[INFO] [stderr]   Downloaded cortex-m-rtic-macros v1.1.5
[INFO] [stderr]   Downloaded defmt-macros v0.3.2
[INFO] [stderr]   Downloaded byteorder v1.4.3
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded proc-macro2 v1.0.40
[INFO] [stderr]   Downloaded defmt v0.3.2
[INFO] [stderr]   Downloaded cortex-m-semihosting v0.3.7
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded semver v1.0.11
[INFO] [stderr]   Downloaded bxcan v0.6.2
[INFO] [stderr]   Downloaded spin v0.9.3
[INFO] [stderr]   Downloaded rtic-syntax v1.0.2
[INFO] [stderr]   Downloaded heapless v0.7.14
[INFO] [stderr]   Downloaded indexmap v1.9.1
[INFO] [stderr]   Downloaded hashbrown v0.12.1
[INFO] [stderr]   Downloaded cortex-m-rtic v1.1.3
[INFO] [stderr]   Downloaded riscv v0.7.0
[INFO] [stderr]   Downloaded cortex-m v0.7.5
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded regex v1.5.6
[INFO] [stderr]   Downloaded regex-syntax v0.6.26
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.9.0
[INFO] [stderr]   Downloaded stm32f1 v0.14.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a55e9b552f885a2e5041580db0cc6f30898edf305b298f49f66ee9ba234a92a0
[INFO] running `Command { std: "docker" "start" "-a" "a55e9b552f885a2e5041580db0cc6f30898edf305b298f49f66ee9ba234a92a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a55e9b552f885a2e5041580db0cc6f30898edf305b298f49f66ee9ba234a92a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a55e9b552f885a2e5041580db0cc6f30898edf305b298f49f66ee9ba234a92a0", kill_on_drop: false }`
[INFO] [stdout] a55e9b552f885a2e5041580db0cc6f30898edf305b298f49f66ee9ba234a92a0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13e3640f1dbb4e5281ede42bada63fc40d2e3280086dcfa4b693353e4a1d0282
[INFO] running `Command { std: "docker" "start" "-a" "13e3640f1dbb4e5281ede42bada63fc40d2e3280086dcfa4b693353e4a1d0282", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling cortex-m v0.7.5
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]    Compiling semver v1.0.11
[INFO] [stderr]    Compiling defmt v0.3.2
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling cortex-m-rt v0.7.1
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling defmt-macros v0.3.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling defmt-parser v0.3.1
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking gcd v2.1.0
[INFO] [stderr]    Compiling stm32f1 v0.14.0
[INFO] [stderr]    Compiling critical-section v0.2.7
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking fugit v0.3.6
[INFO] [stderr]    Compiling heapless v0.7.14
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]    Compiling cortex-m-rtic v1.1.3
[INFO] [stderr]     Checking rtic-monotonic v1.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling defmt-rtt v0.3.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]    Compiling panic-probe v0.3.0
[INFO] [stderr]     Checking usb-device v0.2.8
[INFO] [stderr]     Checking fugit-timer v0.1.3
[INFO] [stderr]     Checking embedded-dma v0.2.0
[INFO] [stderr]     Checking bxcan v0.6.2
[INFO] [stderr]     Checking rtic-core v1.0.0
[INFO] [stderr]     Checking systick-monotonic v1.0.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rtic-syntax v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling cortex-m-rtic-macros v1.1.5
[INFO] [stderr]     Checking stm32f1xx-hal v0.9.0
[INFO] [stderr]     Checking useless-box v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `stm32f1::stm32f103::TIM3`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use stm32f1::stm32f103::TIM3;
[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: `stm32f1::stm32f103::TIM3`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use stm32f1::stm32f103::TIM3;
[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: `gpioc::PC13`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     gpioc::PC13, Edge, ExtiPin, Input, Output, PinState, PullDown, PushPull, PA3, PA4,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::time::MonoTimer`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32f1xx_hal::time::MonoTimer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Tim1NoRemap` and `Timer`
[INFO] [stdout]   --> src/main.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 | use stm32f1xx_hal::timer::{Delay, Tim1NoRemap, Tim2NoRemap, Timer};
[INFO] [stdout]    |                                   ^^^^^^^^^^^               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fugit::Duration`
[INFO] [stdout]   --> src/main.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | use systick_monotonic::{fugit::Duration, Systick};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::DelayUs`
[INFO] [stdout]   --> src/hc_sr04.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use stm32f1xx_hal::timer::DelayUs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nb::Error`
[INFO] [stdout]   --> src/hc_sr04.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use nb::Error;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::rcc::Clocks`
[INFO] [stdout]   --> src/hc_sr04.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use stm32f1xx_hal::rcc::Clocks;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gpioc::PC13`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     gpioc::PC13, Edge, ExtiPin, Input, Output, PinState, PullDown, PushPull, PA3, PA4,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::time::MonoTimer`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32f1xx_hal::time::MonoTimer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Tim1NoRemap` and `Timer`
[INFO] [stdout]   --> src/main.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 | use stm32f1xx_hal::timer::{Delay, Tim1NoRemap, Tim2NoRemap, Timer};
[INFO] [stdout]    |                                   ^^^^^^^^^^^               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fugit::Duration`
[INFO] [stdout]   --> src/main.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | use systick_monotonic::{fugit::Duration, Systick};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::DelayUs`
[INFO] [stdout]   --> src/hc_sr04.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use stm32f1xx_hal::timer::DelayUs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nb::Error`
[INFO] [stdout]   --> src/hc_sr04.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use nb::Error;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::rcc::Clocks`
[INFO] [stdout]   --> src/hc_sr04.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use stm32f1xx_hal::rcc::Clocks;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::time::MonoTimer`
[INFO] [stdout]   --> src/hc_sr04.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use stm32f1xx_hal::time::MonoTimer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::Timer`
[INFO] [stdout]   --> src/hc_sr04.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use stm32f1xx_hal::timer::Timer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/hc_sr04.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | use systick_monotonic::fugit::{Duration, ExtU32};
[INFO] [stdout]    |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::time::MonoTimer`
[INFO] [stdout]   --> src/hc_sr04.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use stm32f1xx_hal::time::MonoTimer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::Timer`
[INFO] [stdout]   --> src/hc_sr04.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use stm32f1xx_hal::timer::Timer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/hc_sr04.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | use systick_monotonic::fugit::{Duration, ExtU32};
[INFO] [stdout]    |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::TimerExt`
[INFO] [stdout]   --> src/hc_sr04.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use stm32f1xx_hal::timer::TimerExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32f1xx_hal::timer::TimerExt`
[INFO] [stdout]   --> src/hc_sr04.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use stm32f1xx_hal::timer::TimerExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ticks`
[INFO] [stdout]    --> src/hc_sr04.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 let ticks = start.elapsed();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_ticks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ticks`
[INFO] [stdout]    --> src/hc_sr04.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 let ticks = start.elapsed();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_ticks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]   --> src/main.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn update_bottom_arm(distance: u32) {
[INFO] [stdout]    |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]   --> src/main.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn update_bottom_arm(distance: u32) {
[INFO] [stdout]    |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let mut servos = ctx.device.TIM2.pwm_hz::<Tim2NoRemap, _, _>(
[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]    --> src/main.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let mut servos = ctx.device.TIM2.pwm_hz::<Tim2NoRemap, _, _>(
[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]    --> src/main.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut trigger_delay = ctx.device.TIM1.delay(&clocks);
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `led`
[INFO] [stdout]    --> src/main.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let led = gpioc
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_led`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut trigger_delay = ctx.device.TIM1.delay(&clocks);
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `led`
[INFO] [stdout]    --> src/main.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let led = gpioc
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_led`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_duty`
[INFO] [stdout]    --> src/main.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let (min_duty, max_duty) = (duty / MIN_DUTY_DIVIDER, duty / MAX_DUTY_DIVIDER);
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_duty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_duty`
[INFO] [stdout]    --> src/main.rs:150:24
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let (min_duty, max_duty) = (duty / MIN_DUTY_DIVIDER, duty / MAX_DUTY_DIVIDER);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_duty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_duty`
[INFO] [stdout]    --> src/main.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let (min_duty, max_duty) = (duty / MIN_DUTY_DIVIDER, duty / MAX_DUTY_DIVIDER);
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_duty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_duty`
[INFO] [stdout]    --> src/main.rs:150:24
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let (min_duty, max_duty) = (duty / MIN_DUTY_DIVIDER, duty / MAX_DUTY_DIVIDER);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_duty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:211:23
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn trigger_sensor(mut ctx: trigger_sensor::Context) {
[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]    --> src/main.rs:211:23
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn trigger_sensor(mut ctx: trigger_sensor::Context) {
[INFO] [stdout]     |                       ----^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_duty_from_angle` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn get_duty_from_angle(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_duty_from_angle` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn get_duty_from_angle(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distance` is never constructed
[INFO] [stdout]   --> src/hc_sr04.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Distance(u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cm` and `mm` are never used
[INFO] [stdout]   --> src/hc_sr04.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Distance {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 36 |     /// Get distance as centimeters.
[INFO] [stdout] 37 |     pub fn cm(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn mm(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SensorError` is never used
[INFO] [stdout]   --> src/hc_sr04.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum SensorError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/hc_sr04.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | enum Mode {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HcSr04` is never constructed
[INFO] [stdout]   --> src/hc_sr04.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct HcSr04<Pin, TIM, const FREQ: u32> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `trigger` are never used
[INFO] [stdout]    --> src/hc_sr04.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | / impl<Pin, TIM, const FREQ: u32> HcSr04<Pin, TIM, FREQ>
[INFO] [stdout]  81 | | where
[INFO] [stdout]  82 | |     Pin: OutputPin,
[INFO] [stdout]  83 | |     TIM: Instance,
[INFO] [stdout]     | |__________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  93 |       pub fn new(trigger: Pin, delay: Delay<TIM, FREQ>) -> Result<Self, Pin::Error> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |       pub fn update(&mut self) -> Result<(), SensorError> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |       pub fn trigger(&mut self) -> Result<(), Pin::Error> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_bottom_arm` is never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn update_bottom_arm(distance: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distance` is never constructed
[INFO] [stdout]   --> src/hc_sr04.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Distance(u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cm` and `mm` are never used
[INFO] [stdout]   --> src/hc_sr04.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Distance {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 36 |     /// Get distance as centimeters.
[INFO] [stdout] 37 |     pub fn cm(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn mm(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SensorError` is never used
[INFO] [stdout]   --> src/hc_sr04.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum SensorError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/hc_sr04.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | enum Mode {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HcSr04` is never constructed
[INFO] [stdout]   --> src/hc_sr04.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct HcSr04<Pin, TIM, const FREQ: u32> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `trigger` are never used
[INFO] [stdout]    --> src/hc_sr04.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | / impl<Pin, TIM, const FREQ: u32> HcSr04<Pin, TIM, FREQ>
[INFO] [stdout]  81 | | where
[INFO] [stdout]  82 | |     Pin: OutputPin,
[INFO] [stdout]  83 | |     TIM: Instance,
[INFO] [stdout]     | |__________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  93 |       pub fn new(trigger: Pin, delay: Delay<TIM, FREQ>) -> Result<Self, Pin::Error> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |       pub fn update(&mut self) -> Result<(), SensorError> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |       pub fn trigger(&mut self) -> Result<(), Pin::Error> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_bottom_arm` is never used
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn update_bottom_arm(distance: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 36.30s
[INFO] running `Command { std: "docker" "inspect" "13e3640f1dbb4e5281ede42bada63fc40d2e3280086dcfa4b693353e4a1d0282", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13e3640f1dbb4e5281ede42bada63fc40d2e3280086dcfa4b693353e4a1d0282", kill_on_drop: false }`
[INFO] [stdout] 13e3640f1dbb4e5281ede42bada63fc40d2e3280086dcfa4b693353e4a1d0282
