[INFO] cloning repository https://github.com/hdoordt/four-wheel-drive-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdoordt/four-wheel-drive-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdoordt%2Ffour-wheel-drive-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdoordt%2Ffour-wheel-drive-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53a48d91b18c96d9f30fcf4ea35326cf25832d50 [INFO] testing hdoordt/four-wheel-drive-demo against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdoordt%2Ffour-wheel-drive-demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/hdoordt/four-wheel-drive-demo [INFO] finished tweaking git repo https://github.com/hdoordt/four-wheel-drive-demo [INFO] tweaked toml for git repo https://github.com/hdoordt/four-wheel-drive-demo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hdoordt/four-wheel-drive-demo on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hdoordt/four-wheel-drive-demo 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding ring_buf v0.1.0 (https://github.com/hdoordt/ring-buf-rs.git?branch=master#c6f7feb0) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e36895d7de0cdd8a26625ca9b1ae9f7d70b00a1f390d6ee520e08f50625c35 [INFO] running `Command { std: "docker" "start" "-a" "01e36895d7de0cdd8a26625ca9b1ae9f7d70b00a1f390d6ee520e08f50625c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e36895d7de0cdd8a26625ca9b1ae9f7d70b00a1f390d6ee520e08f50625c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e36895d7de0cdd8a26625ca9b1ae9f7d70b00a1f390d6ee520e08f50625c35", kill_on_drop: false }` [INFO] [stdout] 01e36895d7de0cdd8a26625ca9b1ae9f7d70b00a1f390d6ee520e08f50625c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e74f1d31b494324b552324099e68a4e092055db47a70539693f80e08c63ca20 [INFO] running `Command { std: "docker" "start" "-a" "7e74f1d31b494324b552324099e68a4e092055db47a70539693f80e08c63ca20", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32f3 v0.9.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling usb-device v0.2.5 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling m v0.1.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling heapless v0.3.7 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling ring_buf v0.1.0 (https://github.com/hdoordt/ring-buf-rs.git?branch=master#c6f7feb0) [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f3xx-hal v0.4.1 [INFO] [stderr] Compiling four-wd-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write as HalWrite` and `WriteRead as HalWriteRead` [INFO] [stdout] --> src/main.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_hal::blocking::i2c::{Write as HalWrite, WriteRead as HalWriteRead}; [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: `driver::motor::Motors` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use driver::motor::Motors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `driver::compass::Led::*` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use driver::compass::Led::*; [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut gpioa = peripherals.GPIOA.split(&mut rcc.ahb); [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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut gpiob = peripherals.GPIOB.split(&mut rcc.ahb); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clocks` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let clocks = rcc.cfgr.use_hse(8.mhz()).freeze(&mut flash.acr); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioa` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut gpioa = peripherals.GPIOA.split(&mut rcc.ahb); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpiob` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut gpiob = peripherals.GPIOB.split(&mut rcc.ahb); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpiob` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `four-wd-demo` (bin "four-wd-demo") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e74f1d31b494324b552324099e68a4e092055db47a70539693f80e08c63ca20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e74f1d31b494324b552324099e68a4e092055db47a70539693f80e08c63ca20", kill_on_drop: false }` [INFO] [stdout] 7e74f1d31b494324b552324099e68a4e092055db47a70539693f80e08c63ca20