[INFO] cloning repository https://github.com/jamwaffles/rainstick [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamwaffles/rainstick" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Frainstick", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Frainstick'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c12809c9a91264864663d195b5b8001e40ef72df [INFO] testing jamwaffles/rainstick against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamwaffles%2Frainstick" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamwaffles/rainstick on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/jamwaffles/rainstick [INFO] finished tweaking git repo https://github.com/jamwaffles/rainstick [INFO] tweaked toml for git repo https://github.com/jamwaffles/rainstick written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jamwaffles/rainstick 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded display-interface v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.5 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded rtic-core v0.3.0 [INFO] [stderr] Downloaded mpu9250 v0.22.2 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.0 [INFO] [stderr] Downloaded debouncr v0.1.2 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.3 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded m v0.1.1 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded display-interface-spi v0.4.0 [INFO] [stderr] Downloaded mat v0.2.0 [INFO] [stderr] Downloaded st7789 v0.5.0 [INFO] [stderr] Downloaded madgwick v0.1.1 [INFO] [stderr] Downloaded stm32f4 v0.11.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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f02ebdf4000e916f6a0e2da2ddc82be3aca4174d0d38c2035d9062417d42854 [INFO] running `Command { std: "docker" "start" "-a" "9f02ebdf4000e916f6a0e2da2ddc82be3aca4174d0d38c2035d9062417d42854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f02ebdf4000e916f6a0e2da2ddc82be3aca4174d0d38c2035d9062417d42854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f02ebdf4000e916f6a0e2da2ddc82be3aca4174d0d38c2035d9062417d42854", kill_on_drop: false }` [INFO] [stdout] 9f02ebdf4000e916f6a0e2da2ddc82be3aca4174d0d38c2035d9062417d42854 [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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae1aa74533f91e9884a5f901cb021afd2eed54d557963a9c257744a7bbf17ec [INFO] running `Command { std: "docker" "start" "-a" "6ae1aa74533f91e9884a5f901cb021afd2eed54d557963a9c257744a7bbf17ec", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling heapless v0.5.5 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling display-interface v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rtic-core v0.3.0 [INFO] [stderr] Compiling rainstick v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling m v0.1.1 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling debouncr v0.1.2 [INFO] [stderr] Compiling cortex-m-rtic v0.5.3 [INFO] [stderr] Compiling display-interface-spi v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling embedded-graphics v0.6.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mpu9250 v0.22.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 mat v0.2.0 [INFO] [stderr] Compiling madgwick v0.1.1 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling st7789 v0.5.0 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling ufmt v0.1.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.0 [INFO] [stderr] Compiling stm32f4xx-hal v0.8.3 [INFO] [stdout] warning: unused import: `core::convert::TryFrom` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `image::Image` and `pixelcolor::BinaryColor` [INFO] [stdout] --> src/main.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fonts::*, geometry::Point, image::Image, pixelcolor::BinaryColor, prelude::*, primitives::*, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Orientation` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use st7789::{Orientation, ST7789}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SPI1` [INFO] [stdout] --> src/main.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | use stm32f4xx_hal::stm32::{I2C1, SPI1, SPI2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `time::Hertz` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | stm32::{self, TIM2}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | time::Hertz, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[app(device = stm32f4xx_hal::stm32, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(core, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(core, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [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 variable: `who_am_i` [INFO] [stdout] --> src/main.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let who_am_i = mpu.who_am_i().expect("could not read WHO_AM_I"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_who_am_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mag_who_am_i` [INFO] [stdout] --> src/main.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let mag_who_am_i = mpu [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mag_who_am_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut rcc = dp.RCC.constrain(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut gpiob = dp.GPIOB.split(); [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:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gpioa = dp.GPIOA.split(); [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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut gpioc = dp.GPIOC.split(); [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:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut display = { [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:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let mut rst = gpioa.pa8.into_push_pull_output(); [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:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut madgwick = Marg::new(0.4, 1.0 / SAMPLE_RATE_HZ as f32); [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:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut imu = { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rainstick` (bin "rainstick") due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ae1aa74533f91e9884a5f901cb021afd2eed54d557963a9c257744a7bbf17ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae1aa74533f91e9884a5f901cb021afd2eed54d557963a9c257744a7bbf17ec", kill_on_drop: false }` [INFO] [stdout] 6ae1aa74533f91e9884a5f901cb021afd2eed54d557963a9c257744a7bbf17ec