[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design" "/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/viktorfrom/e7030e-embedded-system-design on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/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: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--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-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7619b86d17b29792ed4d34b846aac0117ed2e7484f6c06d4e55c6624527f789 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7619b86d17b29792ed4d34b846aac0117ed2e7484f6c06d4e55c6624527f789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7619b86d17b29792ed4d34b846aac0117ed2e7484f6c06d4e55c6624527f789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7619b86d17b29792ed4d34b846aac0117ed2e7484f6c06d4e55c6624527f789", kill_on_drop: false }` [INFO] [stdout] b7619b86d17b29792ed4d34b846aac0117ed2e7484f6c06d4e55c6624527f789 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fefc1b4acb0c72f0e3d27bcc1eadd0778c00ecc7504d3905d4c8f46298633c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7fefc1b4acb0c72f0e3d27bcc1eadd0778c00ecc7504d3905d4c8f46298633c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [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] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling heapless v0.5.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling stm32l0 v0.9.0 [INFO] [stderr] Compiling ssd1306 v0.3.0-alpha.4 [INFO] [stderr] Compiling stm32l0xx-hal v0.5.0 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.6.0-alpha.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking tinybmp v0.2.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [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] Checking ufmt v0.1.0 [INFO] [stderr] Checking cortex-m-rt v0.6.12 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.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: `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] 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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [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: 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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to previous error; 2 warnings emitted [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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [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/github.com-1ecc6299db9ec823/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] [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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `longfi_bindings` [INFO] [stdout] --> examples/longfi_bindings.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] 2 | | use embedded_hal::spi::FullDuplex; [INFO] [stdout] 3 | | use longfi_device::{AntPinsMode, Spi}; [INFO] [stdout] 4 | | use nb::block; [INFO] [stdout] ... | [INFO] [stdout] 178 | | 0x1 [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/longfi_bindings.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `longfi_bindings` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/0d37dca25a51fb900a402c94c8818ad1c2789e30/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-edfba68bd3501617.rlib [INFO] [stdout] = note: second definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-a5df1b5bdb2561a6.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7fefc1b4acb0c72f0e3d27bcc1eadd0778c00ecc7504d3905d4c8f46298633c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fefc1b4acb0c72f0e3d27bcc1eadd0778c00ecc7504d3905d4c8f46298633c7", kill_on_drop: false }` [INFO] [stdout] 7fefc1b4acb0c72f0e3d27bcc1eadd0778c00ecc7504d3905d4c8f46298633c7