[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/f56033e8d3af0c32999c388e359566bfdc41e71a against master#733108b6d4acaa93fe26ae281ea305aacd6aac4e for pr-148967 [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-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yu2ta7ka/st_nucleo_board_stm32_f411_ret6 on toolchain 733108b6d4acaa93fe26ae281ea305aacd6aac4e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vl53l0x v1.0.1 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded st7735-lcd v0.7.2 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e400d038c357067662145acc9e2071c4dc0c56a2d4b516d195c97913e84b71fb [INFO] running `Command { std: "docker" "start" "-a" "e400d038c357067662145acc9e2071c4dc0c56a2d4b516d195c97913e84b71fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e400d038c357067662145acc9e2071c4dc0c56a2d4b516d195c97913e84b71fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e400d038c357067662145acc9e2071c4dc0c56a2d4b516d195c97913e84b71fb", kill_on_drop: false }` [INFO] [stdout] e400d038c357067662145acc9e2071c4dc0c56a2d4b516d195c97913e84b71fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d8ea0b583af2eb1cee5e8a8a71d641c838dbd35e698a89cd1e881ca016ca472 [INFO] running `Command { std: "docker" "start" "-a" "7d8ea0b583af2eb1cee5e8a8a71d641c838dbd35e698a89cd1e881ca016ca472", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Checking embedded-graphics v0.6.2 [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] Checking vl53l0x v1.0.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling syn v1.0.109 [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 "interrupt-timer-echo") 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] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "serial-panic") 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] [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 "led-button-blink") 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] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "interrupt-timer") due to 1 previous error [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-b09f8ab056e64272.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/733108b6d4acaa93fe26ae281ea305aacd6aac4e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-261a156b9a78d9bb.rlib [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] For more information about this error, try `rustc --explain E0152`. [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 "serial-tx") 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] [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` (bin "st_nucleo_board_stm32_f411_ret6" test) due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "lcd-st7735") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "interrupt-timer-measure") due to 1 previous error [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 "pwm-led") due to 1 previous error [INFO] [stderr] error: could not compile `st_nucleo_board_stm32_f411_ret6` (example "adc") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: 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] help: the trait `embedded_hal::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/i2c.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `VL53L0x::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/i2c-67a2b70a2fe203bb.long-type-11980026298159934761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: 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] help: the trait `embedded_hal::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/i2c.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `VL53L0x` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/i2c-67a2b70a2fe203bb.long-type-11980026298159934761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: 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] help: the trait `embedded_hal::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/i2c.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `VL53L0x` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/i2c-67a2b70a2fe203bb.long-type-11980026298159934761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2c>, PB7>)>: 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] help: the trait `embedded_hal::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/i2c.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/i2c-67a2b70a2fe203bb.long-type-11980026298159934761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "7d8ea0b583af2eb1cee5e8a8a71d641c838dbd35e698a89cd1e881ca016ca472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8ea0b583af2eb1cee5e8a8a71d641c838dbd35e698a89cd1e881ca016ca472", kill_on_drop: false }` [INFO] [stdout] 7d8ea0b583af2eb1cee5e8a8a71d641c838dbd35e698a89cd1e881ca016ca472