[INFO] cloning repository https://github.com/jamwaffles/jog-wheel-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamwaffles/jog-wheel-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Fjog-wheel-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Fjog-wheel-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c0da7e73bd2a72006899ef29f81e1e863301ca [INFO] testing jamwaffles/jog-wheel-controller against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Fjog-wheel-controller" "/workspace/builds/worker-53/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-53/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamwaffles/jog-wheel-controller on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamwaffles/jog-wheel-controller [INFO] finished tweaking git repo https://github.com/jamwaffles/jog-wheel-controller [INFO] tweaked toml for git repo https://github.com/jamwaffles/jog-wheel-controller written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate git repo https://github.com/jamwaffles/jog-wheel-controller already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-53/source/firmware/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-53/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4371cdb9bc0cdc81487b09f3d93f22a04c7ec71d4a0058e699da2429d91a61c2 [INFO] running `Command { std: "docker" "start" "-a" "4371cdb9bc0cdc81487b09f3d93f22a04c7ec71d4a0058e699da2429d91a61c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4371cdb9bc0cdc81487b09f3d93f22a04c7ec71d4a0058e699da2429d91a61c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4371cdb9bc0cdc81487b09f3d93f22a04c7ec71d4a0058e699da2429d91a61c2", kill_on_drop: false }` [INFO] [stdout] 4371cdb9bc0cdc81487b09f3d93f22a04c7ec71d4a0058e699da2429d91a61c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0131119ce5c46981aa9c95e24e054e0a1579f47e633ec98915e48cb4f1e951d5 [INFO] running `Command { std: "docker" "start" "-a" "0131119ce5c46981aa9c95e24e054e0a1579f47e633ec98915e48cb4f1e951d5", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/firmware/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.11 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Compiling heapless v0.5.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling ssd1306 v0.3.0-alpha.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Compiling rtfm-core v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling hal-comp v0.1.0 (/opt/rustwide/workdir/hal-comp) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.2 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling embedded-graphics v0.6.0-alpha.2 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling panic-semihosting v0.5.3 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.7 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Compiling stm32f1xx-hal v0.5.3 (https://github.com/stm32-rs/stm32f1xx-hal#58d286ff) [INFO] [stderr] Compiling jog-wheel-controller v0.1.0 (/opt/rustwide/workdir/firmware) [INFO] [stdout] error[E0432]: unresolved import `rtfm::cyccnt` [INFO] [stdout] --> firmware/src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use rtfm::cyccnt::{Duration, Instant}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtfm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtfm` [INFO] [stdout] --> firmware/src/main.rs:48:74 [INFO] [stdout] | [INFO] [stdout] 48 | #[app(device = stm32f1xx_hal::pac, peripherals = true, monotonic = rtfm::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtfm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> firmware/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::asm` [INFO] [stdout] --> firmware/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Direction` [INFO] [stdout] --> firmware/src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal::{Direction, Qei}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heapless::consts::*` [INFO] [stdout] --> firmware/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use heapless::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> firmware/src/main.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 118 | let qei = Timer::tim1(dp.TIM1, &clocks, &mut rcc.apb2).qei((c1, c2), &mut afio.mapr); [INFO] [stdout] | ^^^ -------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f1xx-hal-bb9d214e810c7b47/58d286f/src/qei.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn qei( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> firmware/src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[app(device = stm32f1xx_hal::pac, peripherals = true, monotonic = rtfm::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jog-wheel-controller` due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0131119ce5c46981aa9c95e24e054e0a1579f47e633ec98915e48cb4f1e951d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0131119ce5c46981aa9c95e24e054e0a1579f47e633ec98915e48cb4f1e951d5", kill_on_drop: false }` [INFO] [stdout] 0131119ce5c46981aa9c95e24e054e0a1579f47e633ec98915e48cb4f1e951d5