[INFO] fetching crate tea5767 0.1.0... [INFO] checking tea5767-0.1.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate tea5767 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tea5767 0.1.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tea5767 0.1.0 [INFO] finished tweaking crates.io crate tea5767 0.1.0 [INFO] tweaked toml for crates.io crate tea5767 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate tea5767 0.1.0 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded micromath v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 216399f83bae8c6883ac730052f15e992551b831ae5a77f32e2b314d861078a3 [INFO] running `Command { std: "docker" "start" "-a" "216399f83bae8c6883ac730052f15e992551b831ae5a77f32e2b314d861078a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "216399f83bae8c6883ac730052f15e992551b831ae5a77f32e2b314d861078a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216399f83bae8c6883ac730052f15e992551b831ae5a77f32e2b314d861078a3", kill_on_drop: false }` [INFO] [stdout] 216399f83bae8c6883ac730052f15e992551b831ae5a77f32e2b314d861078a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d9c61ef0546da1d55ce1dfb38f9efd318c25370a5f37fc4074253ee96f4fee [INFO] running `Command { std: "docker" "start" "-a" "d6d9c61ef0546da1d55ce1dfb38f9efd318c25370a5f37fc4074253ee96f4fee", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking micromath v1.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking tea5767 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/stm32f103c8t6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nb` [INFO] [stdout] --> examples/stm32f103c8t6.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nb::block; [INFO] [stdout] | ^^ use of undeclared crate or module `nb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32f103c8t6.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f1xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32f103c8t6.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [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] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32f103c8t6.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | frequency: 400_000.hz(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tea5767` (example "stm32f103c8t6") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "d6d9c61ef0546da1d55ce1dfb38f9efd318c25370a5f37fc4074253ee96f4fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d9c61ef0546da1d55ce1dfb38f9efd318c25370a5f37fc4074253ee96f4fee", kill_on_drop: false }` [INFO] [stdout] d6d9c61ef0546da1d55ce1dfb38f9efd318c25370a5f37fc4074253ee96f4fee