[INFO] cloning repository https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viktorfrom/e7030e-embedded-system-design" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72339372c44f08d44f52aa7a39b51b36b4479336 [INFO] checking viktorfrom/e7030e-embedded-system-design against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design" "/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/viktorfrom/e7030e-embedded-system-design on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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/viktorfrom/e7030e-embedded-system-design [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] tweaked toml for git repo https://github.com/viktorfrom/e7030e-embedded-system-design written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/viktorfrom/e7030e-embedded-system-design 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/communicator.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://git.grepit.se/viktor.sonesten/lora-rs.git` [INFO] [stderr] Updating git submodule `https://git.grepit.se/grepit/lora.git` [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/radio-messages.git` [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/lora-rs.git` [INFO] [stderr] Updating git submodule `https://git.grepit.se/grepit/lora.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinybmp v0.2.2 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded embedded-graphics v0.6.0-alpha.3 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded generic-array v0.11.1 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded rtfm-syntax v0.4.0 [INFO] [stderr] Downloaded bindgen v0.53.2 [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded postcard-cobs v0.1.5-pre [INFO] [stderr] Downloaded cargo-5730 v0.2.1 [INFO] [stderr] Downloaded cty v0.2.1 [INFO] [stderr] Downloaded heapless v0.5.3 [INFO] [stderr] Downloaded postcard v0.4.3 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded stm32l0 v0.9.0 [INFO] [stderr] Downloaded cortex-m-rtfm v0.5.1 [INFO] [stderr] Downloaded cobs v0.1.4 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Downloaded rtfm-core v0.3.0 [INFO] [stderr] Downloaded stm32l0xx-hal v0.5.0 [INFO] [stderr] Downloaded ssd1306 v0.3.0-alpha.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd1e6b1f4ba4d1cea07ee8c471375173621988511b468f90dd6570ed50ac340 [INFO] running `Command { std: "docker" "start" "-a" "bbd1e6b1f4ba4d1cea07ee8c471375173621988511b468f90dd6570ed50ac340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd1e6b1f4ba4d1cea07ee8c471375173621988511b468f90dd6570ed50ac340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd1e6b1f4ba4d1cea07ee8c471375173621988511b468f90dd6570ed50ac340", kill_on_drop: false }` [INFO] [stdout] bbd1e6b1f4ba4d1cea07ee8c471375173621988511b468f90dd6570ed50ac340 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f52de00ba5ddffac175be11748c3c1fb9479895065f22d57a2bce7351aa9131 [INFO] running `Command { std: "docker" "start" "-a" "9f52de00ba5ddffac175be11748c3c1fb9479895065f22d57a2bce7351aa9131", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling heapless v0.5.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [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 void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling stm32l0 v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling ssd1306 v0.3.0-alpha.4 [INFO] [stderr] Compiling stm32l0xx-hal v0.5.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking cobs v0.1.4 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.6.0-alpha.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Checking tinybmp v0.2.2 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking postcard v0.4.3 [INFO] [stderr] Checking e7020e-embedded-system-design v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mode`, `Phase`, `Polarity`, `exti::TriggerEdge`, `pac`, `timer::Timer` [INFO] [stdout] --> examples/oled2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | exti::TriggerEdge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | gpio::*, [INFO] [stdout] 15 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | spi::{self, Mode, NoMiso, Phase, Polarity}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | syscfg, [INFO] [stdout] 20 | timer::Timer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimitiveStyle` [INFO] [stdout] --> examples/oled2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | style::{PrimitiveStyle, PrimitiveStyleBuilder, TextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `longfi_device` [INFO] [stdout] --> examples/longfi_bindings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use longfi_device::{AntPinsMode, Spi}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `longfi_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DWT`, `Peripherals`, `syst` [INFO] [stdout] --> examples/breathalyzer.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use cortex_m::peripheral::{syst, Peripherals, DWT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32l0xx_hal as hal` [INFO] [stdout] --> examples/breathalyzer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32l0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `spi`, `stm32` [INFO] [stdout] --> examples/breathalyzer.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 11 | adc, exti::TriggerEdge, gpio::*, pac, prelude::*, rcc::Config, spi, stm32, syscfg, timer, [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: unused import: `prelude::*` [INFO] [stdout] --> examples/oled.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use ssd1306::{mode::TerminalMode, prelude::*, Builder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TerminalMode` is imported redundantly [INFO] [stdout] --> examples/oled.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ssd1306::{mode::TerminalMode, prelude::*, Builder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------- the item `TerminalMode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mode`, `Phase`, `Polarity`, `exti::TriggerEdge`, `pac`, `timer::Timer` [INFO] [stdout] --> examples/oled.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | exti::TriggerEdge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | gpio::*, [INFO] [stdout] 14 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | spi::{self, Mode, NoMiso, Phase, Polarity}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 18 | syscfg, [INFO] [stdout] 19 | timer::Timer, [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: unused imports: `DWT`, `Peripherals`, `syst` [INFO] [stdout] --> examples/buzzer.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_m::peripheral::{syst, Peripherals, DWT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m_semihosting::hprintln` [INFO] [stdout] --> examples/buzzer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cortex_m_semihosting::hprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32l0xx_hal as hal` [INFO] [stdout] --> examples/buzzer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stm32l0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `adc`, `spi`, `stm32` [INFO] [stdout] --> examples/buzzer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | adc, exti::TriggerEdge, gpio::*, pac, prelude::*, rcc, rcc::Config, spi, stm32, syscfg, timer, [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] 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: `syscfg` [INFO] [stdout] --> examples/oled2.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syscfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioa` [INFO] [stdout] --> examples/oled2.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let gpioa = cx.device.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/oled2.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled2.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [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] --> examples/oled2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut spi = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpiob` [INFO] [stdout] --> examples/breathalyzer.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let gpiob = cx.device.GPIOB.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpiob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/breathalyzer.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syscfg` [INFO] [stdout] --> examples/oled.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syscfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioa` [INFO] [stdout] --> examples/oled.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let gpioa = cx.device.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/oled.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [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] --> examples/oled.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut spi = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "oled2") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "breathalyzer") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "oled") due to 2 previous errors; 8 warnings emitted [INFO] [stdout] warning: unused variable: `reset` [INFO] [stdout] --> examples/buzzer.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let reset = gpioc.pc0.into_push_pull_output(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sx1276_dio0` [INFO] [stdout] --> examples/buzzer.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let sx1276_dio0 = gpiob.pb4.into_pull_up_input(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sx1276_dio0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sck` [INFO] [stdout] --> examples/buzzer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let sck = gpiob.pb3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miso` [INFO] [stdout] --> examples/buzzer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let miso = gpioa.pa6; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mosi` [INFO] [stdout] --> examples/buzzer.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mosi = gpioa.pa7; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mosi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nss` [INFO] [stdout] --> examples/buzzer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let nss = gpioa.pa15.into_push_pull_output(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PB5` in module `stm32l0xx_hal::gpio::gpioa` [INFO] [stdout] --> examples/longfi_bindings.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | static mut EN_TCXO: Option>> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32l0xx-hal-0.5.0/src/gpio.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | / gpio!(GPIOA, gpioa, iopaen, PA, [ [INFO] [stdout] 462 | | PA0: (pa0, 0, Input), [INFO] [stdout] 463 | | PA1: (pa1, 1, Input), [INFO] [stdout] 464 | | PA2: (pa2, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 477 | | PA15: (pa15, 15, Input), [INFO] [stdout] 478 | | ]); [INFO] [stdout] | |__- similarly named struct `PA5` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 | static mut EN_TCXO: Option>> = None; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] 1 + use stm32l0xx_hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] help: if you import `PB5`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - static mut EN_TCXO: Option>> = None; [INFO] [stdout] 82 + static mut EN_TCXO: Option>> = None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PB5` in module `stm32l0xx_hal::gpio::gpioa` [INFO] [stdout] --> examples/longfi_bindings.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PB5>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32l0xx-hal-0.5.0/src/gpio.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | / gpio!(GPIOA, gpioa, iopaen, PA, [ [INFO] [stdout] 462 | | PA0: (pa0, 0, Input), [INFO] [stdout] 463 | | PA1: (pa1, 1, Input), [INFO] [stdout] 464 | | PA2: (pa2, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 477 | | PA15: (pa15, 15, Input), [INFO] [stdout] 478 | | ]); [INFO] [stdout] | |__- similarly named struct `PA5` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 | pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PA5>) { [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] 1 + use stm32l0xx_hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] help: if you import `PB5`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PB5>) { [INFO] [stdout] 83 + pub fn set_tcxo_pins(pin: PB5>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/buzzer.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buzzer = gpioa.pa3.into_push_pull_output(); [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] error[E0601]: `main` function not found in crate `longfi_bindings` [INFO] [stdout] --> examples/longfi_bindings.rs:179:2 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/longfi_bindings.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/longfi_bindings.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(ant_sw) = &mut ANT_SW { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(ant_sw) = addr_of_mut!(ANT_SW) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/longfi_bindings.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(pin) = &mut EN_TCXO { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(pin) = addr_of_mut!(EN_TCXO) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] --> examples/longfi_bindings.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | &mut *((*s).Spi.Instance [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/longfi_bindings.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(pin) = &mut SPI_NSS { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(pin) = addr_of_mut!(SPI_NSS) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/longfi_bindings.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(pin) = &mut RESET { [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(pin) = addr_of_mut!(RESET) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::spi::FullDuplex` [INFO] [stdout] --> examples/longfi_bindings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::spi::FullDuplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "buzzer") due to 2 previous errors; 11 warnings emitted [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0601, E0699. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "longfi_bindings") due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f52de00ba5ddffac175be11748c3c1fb9479895065f22d57a2bce7351aa9131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f52de00ba5ddffac175be11748c3c1fb9479895065f22d57a2bce7351aa9131", kill_on_drop: false }` [INFO] [stdout] 9f52de00ba5ddffac175be11748c3c1fb9479895065f22d57a2bce7351aa9131 [INFO] checking viktorfrom/e7030e-embedded-system-design against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viktorfrom/e7030e-embedded-system-design on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] tweaked toml for git repo https://github.com/viktorfrom/e7030e-embedded-system-design written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/viktorfrom/e7030e-embedded-system-design 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92eeeab1724ee2096067ffdb547e48b0b55c8e069c68bad0b644daf3672f6f20 [INFO] running `Command { std: "docker" "start" "-a" "92eeeab1724ee2096067ffdb547e48b0b55c8e069c68bad0b644daf3672f6f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92eeeab1724ee2096067ffdb547e48b0b55c8e069c68bad0b644daf3672f6f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92eeeab1724ee2096067ffdb547e48b0b55c8e069c68bad0b644daf3672f6f20", kill_on_drop: false }` [INFO] [stdout] 92eeeab1724ee2096067ffdb547e48b0b55c8e069c68bad0b644daf3672f6f20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920a5dfab11d720794d9c63b4e1daea3eb086529d0d833d12791897b2139a2bc [INFO] running `Command { std: "docker" "start" "-a" "920a5dfab11d720794d9c63b4e1daea3eb086529d0d833d12791897b2139a2bc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "920a5dfab11d720794d9c63b4e1daea3eb086529d0d833d12791897b2139a2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920a5dfab11d720794d9c63b4e1daea3eb086529d0d833d12791897b2139a2bc", kill_on_drop: false }` [INFO] [stdout] 920a5dfab11d720794d9c63b4e1daea3eb086529d0d833d12791897b2139a2bc