[INFO] cloning repository https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu2ta7ka%2Fst_nucleo_board_stm32_f411_ret6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu2ta7ka%2Fst_nucleo_board_stm32_f411_ret6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f56033e8d3af0c32999c388e359566bfdc41e71a [INFO] checking yu2ta7ka/st_nucleo_board_stm32_f411_ret6 against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu2ta7ka%2Fst_nucleo_board_stm32_f411_ret6" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 [INFO] finished tweaking git repo https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 [INFO] tweaked toml for git repo https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding embedded-graphics v0.6.2 (available: v0.8.1) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding panic-halt v0.2.0 (available: v1.0.0) [INFO] [stderr] Adding st7735-lcd v0.7.2 (available: v0.10.0) [INFO] [stderr] Adding stm32f4xx-hal v0.8.3 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded vl53l0x v1.0.1 [INFO] [stderr] Downloaded st7735-lcd v0.7.2 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f87769bb5c2ba455dc6370b97f9c31c561324f69a9c5447851bc5beea8cb92 [INFO] running `Command { std: "docker" "start" "-a" "07f87769bb5c2ba455dc6370b97f9c31c561324f69a9c5447851bc5beea8cb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f87769bb5c2ba455dc6370b97f9c31c561324f69a9c5447851bc5beea8cb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f87769bb5c2ba455dc6370b97f9c31c561324f69a9c5447851bc5beea8cb92", kill_on_drop: false }` [INFO] [stdout] 07f87769bb5c2ba455dc6370b97f9c31c561324f69a9c5447851bc5beea8cb92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb7713040684ad6a30d85d10de540b58dee0d9e3a7024f99ff3f6e524399714 [INFO] running `Command { std: "docker" "start" "-a" "2fb7713040684ad6a30d85d10de540b58dee0d9e3a7024f99ff3f6e524399714", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking vl53l0x v1.0.1 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bare-metal v0.2.5 [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 aligned v0.3.5 [INFO] [stderr] Checking st7735-lcd v0.7.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f4xx-hal v0.8.3 [INFO] [stderr] Checking st_nucleo_board_stm32_f411_ret6 v0.1.0 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "pwm-led") due to 1 previous error [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: 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[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `st_nucleo_board_stm32_f411_ret6` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-d4b2984cf0ecee47.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/2277c63fa464d237b17b68d3b87f9fbb89e58a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ea2006fbcbea27b7.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "interrupt-timer-measure") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "interrupt-timer") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (bin "st_nucleo_board_stm32_f411_ret6") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "L-chika") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (bin "st_nucleo_board_stm32_f411_ret6" test) due to 1 previous error [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: 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: 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] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "lcd-st7735") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: embedded_hal::i2c::I2c` is not satisfied [INFO] [stdout] --> examples/i2c.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | let mut tof = VL53L0x::new(i2c).unwrap(); [INFO] [stdout] | ------------ ^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2c>, PB7>)>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-1.0.0/src/i2c.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | pub trait I2c: ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/i2c.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stm32f4xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `stm32f4xx_hal` [INFO] [stdout] ... [INFO] [stdout] 12 | use vl53l0x::VL53L0x; [INFO] [stdout] | ------- one version of crate `embedded_hal` is used here, as a dependency of crate `vl53l0x` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f4xx-hal-0.8.3/src/i2c.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct I2c { [INFO] [stdout] | ------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `VL53L0x::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vl53l0x-1.0.1/src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | I2C: I2c, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `VL53L0x::::new` [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new(i2c: I2C) -> Result, Error> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "serial-echo") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "led-button-blink") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "serial-tx") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "serial-panic") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: embedded_hal::i2c::I2c` is not satisfied [INFO] [stdout] --> examples/i2c.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut tof = VL53L0x::new(i2c).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2c>, PB7>)>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-1.0.0/src/i2c.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | pub trait I2c: ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/i2c.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stm32f4xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `stm32f4xx_hal` [INFO] [stdout] ... [INFO] [stdout] 12 | use vl53l0x::VL53L0x; [INFO] [stdout] | ------- one version of crate `embedded_hal` is used here, as a dependency of crate `vl53l0x` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f4xx-hal-0.8.3/src/i2c.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct I2c { [INFO] [stdout] | ------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `VL53L0x` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vl53l0x-1.0.1/src/lib.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VL53L0x { [INFO] [stdout] | ^^^ required by this bound in `VL53L0x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: embedded_hal::i2c::I2c` is not satisfied [INFO] [stdout] --> examples/i2c.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut tof = VL53L0x::new(i2c).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2c>, PB7>)>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-1.0.0/src/i2c.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | pub trait I2c: ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/i2c.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stm32f4xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `stm32f4xx_hal` [INFO] [stdout] ... [INFO] [stdout] 12 | use vl53l0x::VL53L0x; [INFO] [stdout] | ------- one version of crate `embedded_hal` is used here, as a dependency of crate `vl53l0x` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f4xx-hal-0.8.3/src/i2c.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct I2c { [INFO] [stdout] | ------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `VL53L0x` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vl53l0x-1.0.1/src/lib.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VL53L0x { [INFO] [stdout] | ^^^ required by this bound in `VL53L0x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: embedded_hal::i2c::I2c` is not satisfied [INFO] [stdout] --> examples/i2c.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | let dist = VL53L0x::read_range_single_millimeters_blocking(&mut tof).unwrap(); [INFO] [stdout] | ----------------------------------------------- ^^^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2c>, PB7>)>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-1.0.0/src/i2c.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | pub trait I2c: ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/i2c.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stm32f4xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `stm32f4xx_hal` [INFO] [stdout] ... [INFO] [stdout] 12 | use vl53l0x::VL53L0x; [INFO] [stdout] | ------- one version of crate `embedded_hal` is used here, as a dependency of crate `vl53l0x` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f4xx-hal-0.8.3/src/i2c.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct I2c { [INFO] [stdout] | ------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `VL53L0x::::read_range_single_millimeters_blocking` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vl53l0x-1.0.1/src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | I2C: I2c, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `VL53L0x::::read_range_single_millimeters_blocking` [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn read_range_single_millimeters_blocking( [INFO] [stdout] | -------------------------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "adc") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "i2c") due to 5 previous errors [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "interrupt-timer-echo") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2fb7713040684ad6a30d85d10de540b58dee0d9e3a7024f99ff3f6e524399714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb7713040684ad6a30d85d10de540b58dee0d9e3a7024f99ff3f6e524399714", kill_on_drop: false }` [INFO] [stdout] 2fb7713040684ad6a30d85d10de540b58dee0d9e3a7024f99ff3f6e524399714