[INFO] fetching crate ssd1331-async 0.1.0... [INFO] checking ssd1331-async-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ssd1331-async 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ssd1331-async 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ssd1331-async 0.1.0 [INFO] tweaked toml for crates.io crate ssd1331-async 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1331-async 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ssd1331-async 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6f87a27aa966f528fd47cdde15e9c34d2254099922cfefee0aef5c2f8646fe0 [INFO] running `Command { std: "docker" "start" "-a" "b6f87a27aa966f528fd47cdde15e9c34d2254099922cfefee0aef5c2f8646fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6f87a27aa966f528fd47cdde15e9c34d2254099922cfefee0aef5c2f8646fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f87a27aa966f528fd47cdde15e9c34d2254099922cfefee0aef5c2f8646fe0", kill_on_drop: false }` [INFO] [stdout] b6f87a27aa966f528fd47cdde15e9c34d2254099922cfefee0aef5c2f8646fe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628bb2978c61cad373abdbadfb1d50a8f9b28076390b5d82ab5cb4a32d0764ed [INFO] running `Command { std: "docker" "start" "-a" "628bb2978c61cad373abdbadfb1d50a8f9b28076390b5d82ab5cb4a32d0764ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling defmt v0.3.8 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling defmt-macros v0.3.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling embassy-time-driver v0.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling embassy-time-queue-driver v0.1.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling stm32-metapac v15.0.0 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling embassy-sync v0.5.0 [INFO] [stderr] Compiling embassy-hal-internal v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ssd1331-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling embassy-executor v0.6.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling embedded-hal-bus v0.2.0 [INFO] [stderr] Compiling embassy-sync v0.6.0 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking embedded-storage-async v0.4.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking embassy-futures v0.1.1 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking stm32-fmc v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking sdio-host v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking static_cell v2.1.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling embassy-executor-macros v0.6.1 [INFO] [stderr] Compiling embassy-stm32 v0.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking embassy-time v0.3.2 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Checking embassy-usb-driver v0.1.0 [INFO] [stderr] Checking embassy-net-driver v0.2.0 [INFO] [stderr] Checking embassy-embedded-hal v0.1.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `HseMode` in `rcc` [INFO] [stdout] --> examples/main.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | mode: embassy_stm32::rcc::HseMode::Oscillator, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `HseMode` in `rcc` [INFO] [stdout] | help: an enum with a similar name exists: `LseMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `APBPrescaler` in `rcc` [INFO] [stdout] --> examples/main.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | cfg.rcc.apb1_pre = embassy_stm32::rcc::APBPrescaler::DIV2; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `APBPrescaler` in `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Sysclk` in `rcc` [INFO] [stdout] --> examples/main.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | cfg.rcc.sys = embassy_stm32::rcc::Sysclk::PLL1_P; [INFO] [stdout] | ^^^^^^ could not find `Sysclk` in `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PllSource` in `rcc` [INFO] [stdout] --> examples/main.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | src: embassy_stm32::rcc::PllSource::HSE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `PllSource` in `rcc` [INFO] [stdout] | help: an enum with a similar name exists: `McoSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PllPreDiv` in `rcc` [INFO] [stdout] --> examples/main.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | prediv: embassy_stm32::rcc::PllPreDiv::DIV1, [INFO] [stdout] | ^^^^^^^^^ could not find `PllPreDiv` in `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PllMul` in `rcc` [INFO] [stdout] --> examples/main.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | mul: embassy_stm32::rcc::PllMul::MUL9, [INFO] [stdout] | ^^^^^^ could not find `PllMul` in `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hse` in module `embassy_stm32::rcc` [INFO] [stdout] --> examples/main.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | cfg.rcc.hse = Some(embassy_stm32::rcc::Hse { [INFO] [stdout] | ^^^ not found in `embassy_stm32::rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Pll` in module `embassy_stm32::rcc` [INFO] [stdout] --> examples/main.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | cfg.rcc.pll = Some(embassy_stm32::rcc::Pll { [INFO] [stdout] | ^^^ not found in `embassy_stm32::rcc` [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[E0277]: the trait bound `embassy_stm32::spi::Config: Peripheral` is not satisfied [INFO] [stdout] --> examples/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 140 | let spi_bus = spi::Spi::new_txonly( [INFO] [stdout] | -------------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 145 | spi_config, [INFO] [stdout] | ^^^^^^^^^^ the trait `DerefMut` is not implemented for `embassy_stm32::spi::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Peripheral`: [INFO] [stdout] ADC1 [INFO] [stdout] ADC2 [INFO] [stdout] AFIO [INFO] [stdout] AnyChannel [INFO] [stdout] AnyPin [INFO] [stdout] BKP [INFO] [stdout] CAN [INFO] [stdout] DBGMCU [INFO] [stdout] and 127 others [INFO] [stdout] = note: required for `embassy_stm32::spi::Config` to implement `Peripheral` [INFO] [stdout] note: required by a bound in `embassy_stm32::spi::Spi::<'d, T, Tx, Rx>::new_txonly` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embassy-stm32-0.1.0/src/spi/mod.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new_txonly( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 166 | rxdma: impl Peripheral
+ 'd, // TODO remove [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Spi::<'d, T, Tx, Rx>::new_txonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/main.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | let spi_bus = spi::Spi::new_txonly( [INFO] [stdout] | _______________________^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 141 | | &mut p.SPI1, [INFO] [stdout] 142 | | &mut p.PA5, [INFO] [stdout] 143 | | &mut p.PA7, [INFO] [stdout] 144 | | &mut p.DMA1_CH3, [INFO] [stdout] 145 | | spi_config, [INFO] [stdout] 146 | | ); [INFO] [stdout] | |_________- argument #6 of type `embassy_stm32::spi::Config` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embassy-stm32-0.1.0/src/spi/mod.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new_txonly( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 146 | let spi_bus = spi::Spi::new_txonly( [INFO] [stdout] ... [INFO] [stdout] 151 | spi_config, [INFO] [stdout] 152 ~ /* embassy_stm32::spi::Config */, [INFO] [stdout] 153 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1_pre` on type `embassy_stm32::rcc::Config` [INFO] [stdout] --> examples/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | cfg.rcc.apb1_pre = embassy_stm32::rcc::APBPrescaler::DIV2; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `hse`, `sys_ck`, `hclk`, `pclk1`, `pclk2` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sys` on type `embassy_stm32::rcc::Config` [INFO] [stdout] --> examples/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | cfg.rcc.sys = embassy_stm32::rcc::Sysclk::PLL1_P; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `hse`, `sys_ck`, `hclk`, `pclk1`, `pclk2` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pll` on type `embassy_stm32::rcc::Config` [INFO] [stdout] --> examples/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | cfg.rcc.pll = Some(embassy_stm32::rcc::Pll { [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `hse`, `sys_ck`, `hclk`, `pclk1`, `pclk2` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0422, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1331-async` (example "main") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "628bb2978c61cad373abdbadfb1d50a8f9b28076390b5d82ab5cb4a32d0764ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628bb2978c61cad373abdbadfb1d50a8f9b28076390b5d82ab5cb4a32d0764ed", kill_on_drop: false }` [INFO] [stdout] 628bb2978c61cad373abdbadfb1d50a8f9b28076390b5d82ab5cb4a32d0764ed