[INFO] fetching crate ds1302 4.0.0... [INFO] checking ds1302-4.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ds1302 4.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ds1302 4.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ds1302 4.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ds1302 4.0.0 [INFO] tweaked toml for crates.io crate ds1302 4.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate ds1302 4.0.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded display-interface-spi v0.4.1 [INFO] [stderr] Downloaded ssd1306 v0.5.2 [INFO] [stderr] Downloaded byte-slice-cast v0.3.5 [INFO] [stderr] Downloaded display-interface-i2c v0.4.0 [INFO] [stderr] Downloaded panic-probe v0.2.1 [INFO] [stderr] Downloaded fugit v0.3.0 [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da676a2ceaa91dff651a62b9c308e3526d34c0346bbb9f5feb5c8bcf75a5bc24 [INFO] running `Command { std: "docker" "start" "-a" "da676a2ceaa91dff651a62b9c308e3526d34c0346bbb9f5feb5c8bcf75a5bc24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da676a2ceaa91dff651a62b9c308e3526d34c0346bbb9f5feb5c8bcf75a5bc24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da676a2ceaa91dff651a62b9c308e3526d34c0346bbb9f5feb5c8bcf75a5bc24", kill_on_drop: false }` [INFO] [stdout] da676a2ceaa91dff651a62b9c308e3526d34c0346bbb9f5feb5c8bcf75a5bc24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79681b0cf38f08617f981ec765ce6ea69d4c997046354158d635c06d6e29c916 [INFO] running `Command { std: "docker" "start" "-a" "79681b0cf38f08617f981ec765ce6ea69d4c997046354158d635c06d6e29c916", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling panic-probe v0.2.1 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking fugit v0.3.0 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking ds1302 v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking ssd1306 v0.5.2 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal::spi::SpiBitFormat` [INFO] [stdout] --> examples/bluepill_serial.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use stm32f1xx_hal::spi::SpiBitFormat::LsbFirst; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `SpiBitFormat` in `spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal::spi::SpiBitFormat` [INFO] [stdout] --> examples/bluepill_ssd1306.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use stm32f1xx_hal::spi::SpiBitFormat::LsbFirst; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `SpiBitFormat` in `spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockingI2c`, `DutyCycle`, and `Mode as OtherMode` [INFO] [stdout] --> examples/bluepill_serial.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | i2c::{BlockingI2c, DutyCycle, Mode as OtherMode}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nb::block` [INFO] [stdout] --> examples/bluepill_serial.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use nb::block; [INFO] [stdout] | ^^^^^^^^^ [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: `#[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[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_serial.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/afio.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn constrain(self, apb2: &mut APB2) -> Parts; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | let mut afio = dp.AFIO.constrain(/* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_serial.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let mut gpioa = dp.GPIOA.split(); [INFO] [stdout] | ^^^^^-- argument #1 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/gpio.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn split(self, apb2: &mut APB2) -> Self::Parts; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 70 | let mut gpioa = dp.GPIOA.split(/* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/bluepill_serial.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let mut serial = Serial::usart2( [INFO] [stdout] | ______________________^^^^^^^^^^^^^^- [INFO] [stdout] 80 | | dp.USART2, [INFO] [stdout] 81 | | (tx, rx), [INFO] [stdout] 82 | | &mut afio.mapr, [INFO] [stdout] 83 | | Config::default().baudrate(9600.bps()), [INFO] [stdout] 84 | | clocks, [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_____- argument #6 of type `&mut APB1` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/serial.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | usart2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 79 | let mut serial = Serial::usart2(dp.USART2, (tx, rx), &mut afio.mapr, Config::default().baudrate(9600.bps()), clocks, /* &mut APB1 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/bluepill_serial.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let mut spi = Spi::spi1( [INFO] [stdout] | ___________________^^^^^^^^^- [INFO] [stdout] 93 | | dp.SPI1, [INFO] [stdout] 94 | | (sck, miso, mosi), [INFO] [stdout] 95 | | &mut afio.mapr, [INFO] [stdout] ... | [INFO] [stdout] 98 | | clocks, [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____- argument #7 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/spi.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn spi1( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 92 | let mut spi = Spi::spi1(dp.SPI1, (sck, miso, mosi), &mut afio.mapr, spi_mode, 500.khz(), clocks, /* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/bluepill_serial.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let timer = Timer::tim1(dp.TIM1, &clocks); [INFO] [stdout] | ^^^^^^^^^^^------------------ argument #3 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/timer.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | TIM1: (tim1, APB2, dbg_tim1_stop, tim1), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 101 | let timer = Timer::tim1(dp.TIM1, &clocks, /* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/afio.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn constrain(self, apb2: &mut APB2) -> Parts; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 75 | let mut afio = dp.AFIO.constrain(/* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | let mut gpioa = dp.GPIOA.split(); [INFO] [stdout] | ^^^^^-- argument #1 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/gpio.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn split(self, apb2: &mut APB2) -> Self::Parts; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 79 | let mut gpioa = dp.GPIOA.split(/* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut gpiob = dp.GPIOB.split(); [INFO] [stdout] | ^^^^^-- argument #1 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/gpio.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn split(self, apb2: &mut APB2) -> Self::Parts; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 86 | let mut gpiob = dp.GPIOB.split(/* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 10 arguments but 9 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | let i2c = BlockingI2c::i2c1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | 1000, [INFO] [stdout] | ---- argument #6 of type `&mut APB1` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/i2c.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn i2c1( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 90 ~ let i2c = BlockingI2c::i2c1(dp.I2C1, (scl, sda), &mut afio.mapr, OtherMode::Fast { [INFO] [stdout] 91 + frequency: 400_000.hz(), [INFO] [stdout] 92 + duty_cycle: DutyCycle::Ratio2to1, [INFO] [stdout] 93 ~ }, clocks, /* &mut APB1 */, 10, 1000, 1000, 1000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bit_format` found for struct `Spi` in the current scope [INFO] [stdout] --> examples/bluepill_serial.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | spi.bit_format(LsbFirst); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Spi>, PA6>, PA7>), u8>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/examples/bluepill_serial-c23c96507b01fbf9.long-type-5144557393453037120.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let mut spi = Spi::spi1( [INFO] [stdout] | ___________________^^^^^^^^^- [INFO] [stdout] 118 | | dp.SPI1, [INFO] [stdout] 119 | | (sck, miso, mosi), [INFO] [stdout] 120 | | &mut afio.mapr, [INFO] [stdout] ... | [INFO] [stdout] 123 | | clocks, [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_____- argument #7 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/spi.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn spi1( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 117 | let mut spi = Spi::spi1(dp.SPI1, (sck, miso, mosi), &mut afio.mapr, spi_mode, 500.khz(), clocks, /* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let timer = Timer::tim1(dp.TIM1, &clocks); [INFO] [stdout] | ^^^^^^^^^^^------------------ argument #3 of type `&mut APB2` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f1xx-hal-0.7.0/src/timer.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | TIM1: (tim1, APB2, dbg_tim1_stop, tim1), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 126 | let timer = Timer::tim1(dp.TIM1, &clocks, /* &mut APB2 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bit_format` found for struct `Spi` in the current scope [INFO] [stdout] --> examples/bluepill_ssd1306.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | spi.bit_format(LsbFirst); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Spi>, PA6>, PA7>), u8>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/examples/bluepill_ssd1306-be35a7fcfd3597ce.long-type-12149513979362452730.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ds1302` (example "bluepill_serial") due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ds1302` (example "bluepill_ssd1306") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "79681b0cf38f08617f981ec765ce6ea69d4c997046354158d635c06d6e29c916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79681b0cf38f08617f981ec765ce6ea69d4c997046354158d635c06d6e29c916", kill_on_drop: false }` [INFO] [stdout] 79681b0cf38f08617f981ec765ce6ea69d4c997046354158d635c06d6e29c916