[INFO] cloning repository https://github.com/alepez/rust-stm32-experiment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alepez/rust-stm32-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8583b628702a73c05c36d36ec4f40ab8a08805ed
[INFO] checking alepez/rust-stm32-experiment against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] finished tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] tweaked toml for git repo https://github.com/alepez/rust-stm32-experiment written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alepez/rust-stm32-experiment on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alepez/rust-stm32-experiment 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking alepez/rust-stm32-experiment against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] finished tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] tweaked toml for git repo https://github.com/alepez/rust-stm32-experiment written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alepez/rust-stm32-experiment on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alepez/rust-stm32-experiment 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vcell v0.1.3
[INFO] [stderr]   Downloaded volatile-register v0.2.1
[INFO] [stderr]   Downloaded embedded-dma v0.1.2
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded nb v1.0.0
[INFO] [stderr]   Downloaded cast v0.2.7
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.6.15
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded r0 v0.2.2
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded embedded-hal v0.2.6
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.15
[INFO] [stderr]   Downloaded semver v1.0.4
[INFO] [stderr]   Downloaded stm32h7xx-hal v0.10.0
[INFO] [stderr]   Downloaded cortex-m v0.7.3
[INFO] [stderr]   Downloaded stm32h7 v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd
[INFO] running `Command { std: "docker" "start" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd", 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" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd", 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" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling cortex-m v0.7.3
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling stm32h7 v0.13.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking embedded-dma v0.1.2
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]     Checking stm32h7xx-hal v0.10.0
[INFO] [stderr]     Checking nucleo-h743zi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ccdr` and `CoreClocks`
[INFO] [stdout]  --> src/rusty_logger.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use stm32h7xx_hal::rcc::{Ccdr, CoreClocks};
[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: `config::Config`
[INFO] [stdout]  --> src/rusty_logger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use stm32h7xx_hal::serial::{Rx, Serial, Tx, config::Config};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peripherals`
[INFO] [stdout]  --> src/rusty_logger.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32h7xx_hal::stm32::{Peripherals, USART3};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::time::U32Ext`
[INFO] [stdout]  --> src/rusty_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stm32h7xx_hal::time::U32Ext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Debug`
[INFO] [stdout]  --> src/rusty_logger.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt::{Debug, Display, Write};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::smart_timer::SmartTimer`
[INFO] [stdout]  --> src/rusty_logger.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::smart_timer::SmartTimer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ccdr` and `CoreClocks`
[INFO] [stdout]  --> src/rusty_logger.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use stm32h7xx_hal::rcc::{Ccdr, CoreClocks};
[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: `config::Config`
[INFO] [stdout]  --> src/rusty_logger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use stm32h7xx_hal::serial::{Rx, Serial, Tx, config::Config};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peripherals`
[INFO] [stdout]  --> src/rusty_logger.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32h7xx_hal::stm32::{Peripherals, USART3};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::time::U32Ext`
[INFO] [stdout]  --> src/rusty_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stm32h7xx_hal::time::U32Ext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Debug`
[INFO] [stdout]  --> src/rusty_logger.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt::{Debug, Display, Write};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::smart_timer::SmartTimer`
[INFO] [stdout]  --> src/rusty_logger.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::smart_timer::SmartTimer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/hc_sr04.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let start = self.timer.now_us();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/hc_sr04.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stop = self.timer.now_us();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[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/rusty_logger.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |                      ----^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/hc_sr04.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let start = self.timer.now_us();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/hc_sr04.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stop = self.timer.now_us();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[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/rusty_logger.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |                      ----^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/hc_sr04.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         trigger.set_low();
[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] 56 |         let _ = trigger.set_low();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/hc_sr04.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         trigger.set_low();
[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] 56 |         let _ = trigger.set_low();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.trigger.set_high();
[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] 138 |         let _ = self.trigger.set_high();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.trigger.set_high();
[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] 138 |         let _ = self.trigger.set_high();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         self.trigger.set_low();
[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] 145 |         let _ = self.trigger.set_low();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         self.trigger.set_low();
[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] 145 |         let _ = self.trigger.set_low();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/bin/serial.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |     serial::{self, Serial, Error},
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/bin/serial.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |     serial::{self, Serial, Error},
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `serial` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/b09f8ab056e64272/out/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `spi` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/b09f8ab056e64272/out/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `i2c` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/b09f8ab056e64272/out/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `timer::Timer`
[INFO] [stdout]  --> src/bin/distance_sensor.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use stm32h7xx_hal::{prelude::*, timer::Timer, serial::{self, Serial, Error}};
[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: `core::fmt::Write`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use core::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::asm`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cortex_m::asm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedded_hal::digital::v2::OutputPin`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::device::DWT`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32h7xx_hal::device::DWT;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `timer::Timer`
[INFO] [stdout]  --> src/bin/distance_sensor.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use stm32h7xx_hal::{prelude::*, timer::Timer, serial::{self, Serial, Error}};
[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: `core::fmt::Write`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use core::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::asm`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cortex_m::asm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedded_hal::digital::v2::OutputPin`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::device::DWT`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32h7xx_hal::device::DWT;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `distance_sensor` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/b09f8ab056e64272/out/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `blinky` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/b09f8ab056e64272/out/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "spi" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "serial" test) due to 1 previous error; 1 warning emitted
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "i2c" test) due to 1 previous error
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "blinky" test) due to 1 previous error
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "distance_sensor" test) due to 1 previous error; 5 warnings emitted
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/distance_sensor.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut trigger = gpioc.pc8.into_push_pull_output();
[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/bin/distance_sensor.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut echo = gpioc.pc5.into_pull_down_input();
[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/bin/distance_sensor.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut logger = RustyLogger::new(serial);
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Some(distance) => {}
[INFO] [stdout]    |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "blinky") due to 1 previous error
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "spi") due to 1 previous error
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "serial") due to 1 previous error; 1 warning emitted
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "distance_sensor") due to 1 previous error; 9 warnings emitted
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "i2c") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd", kill_on_drop: false }`
[INFO] [stdout] bb2b50949724f6ceebcdf6eb81bea81c23fc8a22ffeea630ea8400ebc8b01bbd
