[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] checking jamwaffles/jog-wheel-controller against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Fjog-wheel-controller" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamwaffles/jog-wheel-controller on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-12/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-12/source/firmware/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34f9709c925916bc3487c67059a07c53ec5cb2c713fa11d801cc70bf0edadd3e [INFO] running `Command { std: "docker" "start" "-a" "34f9709c925916bc3487c67059a07c53ec5cb2c713fa11d801cc70bf0edadd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f9709c925916bc3487c67059a07c53ec5cb2c713fa11d801cc70bf0edadd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f9709c925916bc3487c67059a07c53ec5cb2c713fa11d801cc70bf0edadd3e", kill_on_drop: false }` [INFO] [stdout] 34f9709c925916bc3487c67059a07c53ec5cb2c713fa11d801cc70bf0edadd3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9ff0623fc35401d56b822b71fb4e1eff85cbcd823b2e686e3be743380842d96 [INFO] running `Command { std: "docker" "start" "-a" "c9ff0623fc35401d56b822b71fb4e1eff85cbcd823b2e686e3be743380842d96", 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 typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.11 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling heapless v0.5.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Compiling ssd1306 v0.3.0-alpha.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Checking hal-comp v0.1.0 (/opt/rustwide/workdir/hal-comp) [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.6.0-alpha.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking 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] Checking stm32f1xx-hal v0.5.3 (https://github.com/stm32-rs/stm32f1xx-hal#58d286ff) [INFO] [stderr] Checking 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] [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: 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_semihosting` (which `jog_wheel_controller` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-ffbdebccc57e2ef9.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/33fdb797f59421c7bbecaa4588ed5d7a31a9494a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dd6c19f0820d51d.rlib [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[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] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "c9ff0623fc35401d56b822b71fb4e1eff85cbcd823b2e686e3be743380842d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9ff0623fc35401d56b822b71fb4e1eff85cbcd823b2e686e3be743380842d96", kill_on_drop: false }` [INFO] [stdout] c9ff0623fc35401d56b822b71fb4e1eff85cbcd823b2e686e3be743380842d96