[INFO] cloning repository https://github.com/freebsdly/my_stm32_app2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freebsdly/my_stm32_app2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Fmy_stm32_app2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Fmy_stm32_app2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1a892593eed305c4a71e7f9c089f1a5be4ed29e [INFO] checking freebsdly/my_stm32_app2 against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreebsdly%2Fmy_stm32_app2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/freebsdly/my_stm32_app2 [INFO] finished tweaking git repo https://github.com/freebsdly/my_stm32_app2 [INFO] tweaked toml for git repo https://github.com/freebsdly/my_stm32_app2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freebsdly/my_stm32_app2 on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/freebsdly/my_stm32_app2 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded defmt-rtt v1.1.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.23.0 [INFO] [stderr] Downloaded syn v2.0.109 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] [stderr] Downloaded stm32f4 v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f69e603379fdc2a85753fe521defd60f98d8390da8964789f7a13ffab330341d [INFO] running `Command { std: "docker" "start" "-a" "f69e603379fdc2a85753fe521defd60f98d8390da8964789f7a13ffab330341d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f69e603379fdc2a85753fe521defd60f98d8390da8964789f7a13ffab330341d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69e603379fdc2a85753fe521defd60f98d8390da8964789f7a13ffab330341d", kill_on_drop: false }` [INFO] [stdout] f69e603379fdc2a85753fe521defd60f98d8390da8964789f7a13ffab330341d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54e4653ca1db9506eaf95ce6bd8b7d7fb794e38485d03ceb65f91c02c456841 [INFO] running `Command { std: "docker" "start" "-a" "f54e4653ca1db9506eaf95ce6bd8b7d7fb794e38485d03ceb65f91c02c456841", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling stm32f4 v0.16.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling stm32f4xx-hal v0.23.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling defmt-rtt v1.1.0 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling panic-probe v1.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking static_cell v2.1.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling my_stm32_app2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_graphics::mono_font::ascii::FONT_6X9` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use embedded_graphics::mono_font::ascii::FONT_6X9; [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: `embedded_graphics::mono_font::MonoTextStyle` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_graphics::mono_font::MonoTextStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::pixelcolor::Rgb565` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_graphics::pixelcolor::Rgb565; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `Primitive`, `RgbColor`, and `Size` [INFO] [stdout] --> src/main.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use embedded_graphics::prelude::{Point, Primitive, RgbColor, Size}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `PrimitiveStyle`, `Rectangle`, and `Triangle` [INFO] [stdout] --> src/main.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_graphics::primitives::{Circle, PrimitiveStyle, Rectangle, Triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::text::Text` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use embedded_graphics::text::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::Drawable` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use embedded_graphics::Drawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BluePins`, `GreenPins`, `Layer`, `LtdcPins`, `PixelFormat`, and `RedPins` [INFO] [stdout] --> src/main.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use stm32f4xx_hal::ltdc::{BluePins, GreenPins, Layer, LtdcPins, PixelFormat, RedPins}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpio::alt::ltdc as alt_ltdc` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | gpio::alt::ltdc as alt_ltdc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::mono_font::ascii::FONT_6X9` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use embedded_graphics::mono_font::ascii::FONT_6X9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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: `embedded_graphics::mono_font::MonoTextStyle` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_graphics::mono_font::MonoTextStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::pixelcolor::Rgb565` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_graphics::pixelcolor::Rgb565; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `Primitive`, `RgbColor`, and `Size` [INFO] [stdout] --> src/main.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use embedded_graphics::prelude::{Point, Primitive, RgbColor, Size}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `PrimitiveStyle`, `Rectangle`, and `Triangle` [INFO] [stdout] --> src/main.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_graphics::primitives::{Circle, PrimitiveStyle, Rectangle, Triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::text::Text` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use embedded_graphics::text::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::Drawable` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use embedded_graphics::Drawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BluePins`, `GreenPins`, `Layer`, `LtdcPins`, `PixelFormat`, and `RedPins` [INFO] [stdout] --> src/main.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use stm32f4xx_hal::ltdc::{BluePins, GreenPins, Layer, LtdcPins, PixelFormat, RedPins}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpio::alt::ltdc as alt_ltdc` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | gpio::alt::ltdc as alt_ltdc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_a` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let gpio_a = dp.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_h` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let gpio_h = dp.GPIOH.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_i` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let gpio_i = dp.GPIOI.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_a` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let gpio_a = dp.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_h` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let gpio_h = dp.GPIOH.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpio_i` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let gpio_i = dp.GPIOI.split(&mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gpio_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_stm32_app2` (bin "my_stm32_app2") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `run_check_board_test` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn run_check_board_test(size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyId` is never used [INFO] [stdout] --> src/key.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum KeyId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_pressed` is never used [INFO] [stdout] --> src/key.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn is_pressed(key_id: KeyId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_release` is never used [INFO] [stdout] --> src/key.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn wait_release(key_id: KeyId) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_CONFIG` is never used [INFO] [stdout] --> src/lcd.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const LCD_CONFIG: DisplayConfig = DisplayConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LcdDisplay` is never constructed [INFO] [stdout] --> src/lcd.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LcdDisplay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lcd.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LcdDisplay { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new(ltdc: LTDC, dma2d: DMA2D, pins: LtdcPins) -> LcdDisplay { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameBuffer` is never constructed [INFO] [stdout] --> src/lcd.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct FrameBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lcd.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl FrameBuffer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 97 | pub fn new(buffer: &'static mut [u16], width: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Led0` and `Led1` are never constructed [INFO] [stdout] --> src/led.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LedId { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Led0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Led1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LedId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_led` is never used [INFO] [stdout] --> src/led.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_led(led_id: LedId, state: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_all_leds` is never used [INFO] [stdout] --> src/led.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_all_leds(states: &[bool]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SDRAM_SIZE` is never used [INFO] [stdout] --> src/sdram.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const SDRAM_SIZE: u32 = 32 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid_address` is never used [INFO] [stdout] --> src/sdram.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl SdramDriver { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | fn is_valid_address(&self, addr: u32, size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f54e4653ca1db9506eaf95ce6bd8b7d7fb794e38485d03ceb65f91c02c456841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54e4653ca1db9506eaf95ce6bd8b7d7fb794e38485d03ceb65f91c02c456841", kill_on_drop: false }` [INFO] [stdout] f54e4653ca1db9506eaf95ce6bd8b7d7fb794e38485d03ceb65f91c02c456841