[INFO] cloning repository https://github.com/peterfillmore/stm32f0xx-hal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterfillmore/stm32f0xx-hal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterfillmore%2Fstm32f0xx-hal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterfillmore%2Fstm32f0xx-hal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8d9993680611b2a1ade34e43a83bb3c5d1c2c26 [INFO] checking peterfillmore/stm32f0xx-hal against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterfillmore%2Fstm32f0xx-hal" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peterfillmore/stm32f0xx-hal on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/peterfillmore/stm32f0xx-hal [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/peterfillmore/stm32f0xx-hal [INFO] tweaked toml for git repo https://github.com/peterfillmore/stm32f0xx-hal written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/peterfillmore/stm32f0xx-hal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.5.8 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.2 [INFO] [stderr] Downloaded nb v0.1.1 [INFO] [stderr] Downloaded vcell v0.1.0 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.26 [INFO] [stderr] Downloaded embedded-hal v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.7 [INFO] [stderr] Downloaded stm32f0 v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eb8f101dac6dd424bf22ee0c438cb235f95d2bd60a7e1786f593b8bd5fa0375 [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" "9eb8f101dac6dd424bf22ee0c438cb235f95d2bd60a7e1786f593b8bd5fa0375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eb8f101dac6dd424bf22ee0c438cb235f95d2bd60a7e1786f593b8bd5fa0375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb8f101dac6dd424bf22ee0c438cb235f95d2bd60a7e1786f593b8bd5fa0375", kill_on_drop: false }` [INFO] [stdout] 9eb8f101dac6dd424bf22ee0c438cb235f95d2bd60a7e1786f593b8bd5fa0375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa9d7d2583074ee7a8c8a1328d97ff58c15cf222d6e19b86ccf8b27d5ca28fff [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" "aa9d7d2583074ee7a8c8a1328d97ff58c15cf222d6e19b86ccf8b27d5ca28fff", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.7 [INFO] [stderr] Compiling stm32f0 v0.5.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.2 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Checking cortex-m v0.5.8 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking cortex-m-semihosting v0.3.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Checking stm32f0xx-hal v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::stm32` [INFO] [stdout] --> src/pwm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::stm32::{TIM1, TIM2, TIM3}; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::gpioa` [INFO] [stdout] --> src/pwm.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::gpio::gpioa::{PA8, PA9, PA10, PA11, PA15}; [INFO] [stdout] | ^^^^^ could not find `gpioa` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::gpiob` [INFO] [stdout] --> src/pwm.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::gpio::gpiob::{PB3, PB10}; [INFO] [stdout] | ^^^^^ could not find `gpiob` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::stm32` [INFO] [stdout] --> src/pwm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::stm32::{TIM1, TIM2, TIM3}; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::gpioa` [INFO] [stdout] --> src/pwm.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::gpio::gpioa::{PA8, PA9, PA10, PA11, PA15}; [INFO] [stdout] | ^^^^^ could not find `gpioa` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::gpiob` [INFO] [stdout] --> src/pwm.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::gpio::gpiob::{PB3, PB10}; [INFO] [stdout] | ^^^^^ could not find `gpiob` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `stm32`? [INFO] [stdout] --> src/pwm.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | let rcc = unsafe { &(*crate::stm32::RCC::ptr()) }; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] ... [INFO] [stdout] 558 | / advanced_timer! { [INFO] [stdout] 559 | | TIM1: (tim1, tim1en, tim1rst), [INFO] [stdout] 560 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `stm32`? [INFO] [stdout] --> src/pwm.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | let rcc = unsafe { &(*crate::stm32::RCC::ptr()) }; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] ... [INFO] [stdout] 558 | / advanced_timer! { [INFO] [stdout] 559 | | TIM1: (tim1, tim1en, tim1rst), [INFO] [stdout] 560 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `stm32`? [INFO] [stdout] --> src/pwm.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | let rcc = unsafe { &(*crate::stm32::RCC::ptr()) }; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] ... [INFO] [stdout] 562 | / hal! { [INFO] [stdout] 563 | | TIM2: (tim2, tim2en, tim2rst), [INFO] [stdout] 564 | | //TIM3: (tim3, tim3en, tim3rst), [INFO] [stdout] 565 | | //TIM4: (tim4, tim4en, tim4rst), [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `stm32`? [INFO] [stdout] --> src/pwm.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | let rcc = unsafe { &(*crate::stm32::RCC::ptr()) }; [INFO] [stdout] | ^^^^^ maybe a missing crate `stm32`? [INFO] [stdout] ... [INFO] [stdout] 562 | / hal! { [INFO] [stdout] 563 | | TIM2: (tim2, tim2en, tim2rst), [INFO] [stdout] 564 | | //TIM3: (tim3, tim3en, tim3rst), [INFO] [stdout] 565 | | //TIM4: (tim4, tim4en, tim4rst), [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gpio.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | port: *const GpioRegExt, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn GpioRegExt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> src/pwm.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use core::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PushPull` [INFO] [stdout] --> src/pwm.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gpio::{Alternate, PushPull, AF2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rcc` [INFO] [stdout] --> src/pwm.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::rcc::{Clocks, Rcc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gpio.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | port: *const GpioRegExt, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn GpioRegExt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> src/pwm.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use core::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PushPull` [INFO] [stdout] --> src/pwm.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gpio::{Alternate, PushPull, AF2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rcc` [INFO] [stdout] --> src/pwm.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::rcc::{Clocks, Rcc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-736d556224107bc3.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/pwm.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | / advanced_timer! { [INFO] [stdout] 559 | | TIM1: (tim1, tim1en, tim1rst), [INFO] [stdout] 560 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/pwm.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | / advanced_timer! { [INFO] [stdout] 559 | | TIM1: (tim1, tim1en, tim1rst), [INFO] [stdout] 560 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/pwm.rs:456:26 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | / hal! { [INFO] [stdout] 563 | | TIM2: (tim2, tim2en, tim2rst), [INFO] [stdout] 564 | | //TIM3: (tim3, tim3en, tim3rst), [INFO] [stdout] 565 | | //TIM4: (tim4, tim4en, tim4rst), [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/pwm.rs:456:26 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | / hal! { [INFO] [stdout] 563 | | TIM2: (tim2, tim2en, tim2rst), [INFO] [stdout] 564 | | //TIM3: (tim3, tim3en, tim3rst), [INFO] [stdout] 565 | | //TIM4: (tim4, tim4en, tim4rst), [INFO] [stdout] 566 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f0xx-hal` [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: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aa9d7d2583074ee7a8c8a1328d97ff58c15cf222d6e19b86ccf8b27d5ca28fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9d7d2583074ee7a8c8a1328d97ff58c15cf222d6e19b86ccf8b27d5ca28fff", kill_on_drop: false }` [INFO] [stdout] aa9d7d2583074ee7a8c8a1328d97ff58c15cf222d6e19b86ccf8b27d5ca28fff