[INFO] fetching crate stm32f072-hal 0.6.5... [INFO] checking stm32f072-hal-0.6.5 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate stm32f072-hal 0.6.5 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate stm32f072-hal 0.6.5 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] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] finished tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] tweaked toml for crates.io crate stm32f072-hal 0.6.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding aligned v0.2.0 (latest: v0.4.2) [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding cortex-m v0.5.11 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (latest: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (latest: v0.7.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding ina260 v0.2.6 (latest: v0.3.1) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding r0 v0.2.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding stm32f0 v0.4.0 (latest: v0.15.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [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 ina260 v0.2.6 [INFO] [stderr] Downloaded stm32f0 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c97fb57f93357d677f1e3ef14fa838891587bcdf5c6c18afe7ddcb5a25b9074 [INFO] running `Command { std: "docker" "start" "-a" "4c97fb57f93357d677f1e3ef14fa838891587bcdf5c6c18afe7ddcb5a25b9074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c97fb57f93357d677f1e3ef14fa838891587bcdf5c6c18afe7ddcb5a25b9074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c97fb57f93357d677f1e3ef14fa838891587bcdf5c6c18afe7ddcb5a25b9074", kill_on_drop: false }` [INFO] [stdout] 4c97fb57f93357d677f1e3ef14fa838891587bcdf5c6c18afe7ddcb5a25b9074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3b07c3fb790e592b2cf3fd7255cc1401cff4dd24b3fc90549d9d8fdf1f7fd3a [INFO] running `Command { std: "docker" "start" "-a" "c3b07c3fb790e592b2cf3fd7255cc1401cff4dd24b3fc90549d9d8fdf1f7fd3a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling stm32f0 v0.4.0 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ina260 v0.2.6 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f072-hal v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/blinky.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/spi_hal_apa102c.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/flash_systick.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/blinky_delay.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/serial_echo.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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: 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: 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/led_hal_button_irq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "blinky") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_echo.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let clocks = rcc.cfgr.sysclk(48.mhz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_delay.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | let clocks = rcc.cfgr.sysclk(8.mhz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/spi_hal_apa102c.rs:35:74 [INFO] [stdout] | [INFO] [stdout] 35 | let mut spi = Spi::spi1(p.SPI1, (sck, miso, mosi), MODE, 100_000.hz(), clocks); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_echo.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/flash_systick.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/flash_systick.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [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: 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: 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^^^^ use of undeclared type `Serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `interrupt` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | interrupt!(EXTI0_1, button_press); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "blinky_delay") due to 4 previous errors [INFO] [stdout] error[E0689]: can't call method `bps` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200_i32.bps(), clocks); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10_i32.khz()); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400_i32.khz()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `mhz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/flash_systick.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | let _ = rcc.cfgr.sysclk(48.mhz()).freeze(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 29 | let _ = rcc.cfgr.sysclk(48_i32.mhz()).freeze(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1_i32.khz()); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "serial_echo") due to 5 previous errors [INFO] [stderr] error: could not compile `stm32f072-hal` (example "spi_hal_apa102c") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/flash_systick.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | led.set_low(); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EXTI` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | static INT: Mutex>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> examples/led_hal_button_irq.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | if let (Some(p), Some(cp)) = (Peripherals::take(), c_m_Peripherals::take()) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use cortex_m::Peripherals; [INFO] [stdout] | [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/flash_systick.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[exception] [INFO] [stdout] | ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 64 | fn SysTick() -> ! { [INFO] [stdout] | ^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpioa` [INFO] [stdout] --> examples/flash_systick.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `mhz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/led_hal_button_irq.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | let clocks = rcc.constrain().cfgr.sysclk(8.mhz()).freeze(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 55 | let clocks = rcc.constrain().cfgr.sysclk(8_i32.mhz()).freeze(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | nvic.enable(Interrupt::EXTI0_1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 80 | nvic.enable(cortex_m::peripheral::scb::VectActive); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { nvic.set_priority(Interrupt::EXTI0_1, 1) }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { nvic.set_priority(cortex_m::peripheral::scb::VectActive, 1) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | cortex_m::peripheral::NVIC::unpend(Interrupt::EXTI0_1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 82 | cortex_m::peripheral::NVIC::unpend(cortex_m::peripheral::scb::VectActive); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/led_hal_button_irq.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ina260serial") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/led_hal_button_irq.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | delay.delay_ms(1_000_u16); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pr` on type `&mut _` [INFO] [stdout] --> examples/led_hal_button_irq.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | exti.pr.modify(|_, w| w.pif1().set_bit()); [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "flash_systick") due to 9 previous errors [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ssd1306alphabeter") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpiob` [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpiob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0463, E0609, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ina260reader") due to 5 previous errors [INFO] [stderr] error: could not compile `stm32f072-hal` (example "led_hal_button_irq") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "c3b07c3fb790e592b2cf3fd7255cc1401cff4dd24b3fc90549d9d8fdf1f7fd3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b07c3fb790e592b2cf3fd7255cc1401cff4dd24b3fc90549d9d8fdf1f7fd3a", kill_on_drop: false }` [INFO] [stdout] c3b07c3fb790e592b2cf3fd7255cc1401cff4dd24b3fc90549d9d8fdf1f7fd3a [INFO] checking stm32f072-hal-0.6.5 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate stm32f072-hal 0.6.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate stm32f072-hal 0.6.5 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] finished tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] tweaked toml for crates.io crate stm32f072-hal 0.6.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding aligned v0.2.0 (latest: v0.4.2) [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding cortex-m v0.5.11 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (latest: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (latest: v0.7.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding ina260 v0.2.6 (latest: v0.3.1) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding r0 v0.2.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding stm32f0 v0.4.0 (latest: v0.15.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 229de2783c6ee9b07a644fe5e3e982aa0ac222020e057cf5766cfb13f4f71c97 [INFO] running `Command { std: "docker" "start" "-a" "229de2783c6ee9b07a644fe5e3e982aa0ac222020e057cf5766cfb13f4f71c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "229de2783c6ee9b07a644fe5e3e982aa0ac222020e057cf5766cfb13f4f71c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "229de2783c6ee9b07a644fe5e3e982aa0ac222020e057cf5766cfb13f4f71c97", kill_on_drop: false }` [INFO] [stdout] 229de2783c6ee9b07a644fe5e3e982aa0ac222020e057cf5766cfb13f4f71c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b69193649c946c8ec398165099fd95cffe7db3c2993467200ee120c093217b [INFO] running `Command { std: "docker" "start" "-a" "a6b69193649c946c8ec398165099fd95cffe7db3c2993467200ee120c093217b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "a6b69193649c946c8ec398165099fd95cffe7db3c2993467200ee120c093217b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b69193649c946c8ec398165099fd95cffe7db3c2993467200ee120c093217b", kill_on_drop: false }` [INFO] [stdout] a6b69193649c946c8ec398165099fd95cffe7db3c2993467200ee120c093217b