[INFO] cloning repository https://github.com/barafael/sdp8xx-anemometer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/barafael/sdp8xx-anemometer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarafael%2Fsdp8xx-anemometer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarafael%2Fsdp8xx-anemometer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e6e8f24451ef9127a9e2c1ccfdf75758be6aff5 [INFO] checking barafael/sdp8xx-anemometer/9e6e8f24451ef9127a9e2c1ccfdf75758be6aff5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarafael%2Fsdp8xx-anemometer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/barafael/sdp8xx-anemometer on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/barafael/sdp8xx-anemometer [INFO] finished tweaking git repo https://github.com/barafael/sdp8xx-anemometer [INFO] tweaked toml for git repo https://github.com/barafael/sdp8xx-anemometer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/barafael/sdp8xx-anemometer 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/sajattack/bitbang-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/barafael/sdp8xx.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Sensirion/sensirion-i2c-rs.git` [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v1.0.0 [INFO] [stderr] Adding sdp8xx v0.2.0 (https://github.com/barafael/sdp8xx.git?branch=main#db94a46e) [INFO] [stderr] Adding sensirion-i2c v0.4.0 (https://github.com/Sensirion/sensirion-i2c-rs.git#96a788bc) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded stm32f0xx-hal v0.17.1 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded stm32f0 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb6cccd714836b5fef3763d1efbf32b30b089ea651dc0e97c05355234e451344 [INFO] running `Command { std: "docker" "start" "-a" "fb6cccd714836b5fef3763d1efbf32b30b089ea651dc0e97c05355234e451344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb6cccd714836b5fef3763d1efbf32b30b089ea651dc0e97c05355234e451344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6cccd714836b5fef3763d1efbf32b30b089ea651dc0e97c05355234e451344", kill_on_drop: false }` [INFO] [stdout] fb6cccd714836b5fef3763d1efbf32b30b089ea651dc0e97c05355234e451344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 379f7d711353fbb844d937e94236a5c54574a72598a6154cc30d71867305847d [INFO] running `Command { std: "docker" "start" "-a" "379f7d711353fbb844d937e94236a5c54574a72598a6154cc30d71867305847d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f0 v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling sdp8xx-anemometer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking sensirion-i2c v0.4.0 (https://github.com/Sensirion/sensirion-i2c-rs.git#96a788bc) [INFO] [stderr] Checking bitbang-hal v0.3.2 (https://github.com/sajattack/bitbang-hal?branch=master#9c16bcd1) [INFO] [stderr] Checking sdp8xx v0.2.0 (https://github.com/barafael/sdp8xx.git?branch=main#db94a46e) [INFO] [stderr] Compiling quote v1.0.9 [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.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f0xx-hal v0.17.1 [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 `sdp8xx_anemometer` 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/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdp8xx-anemometer` (bin "sdp8xx-anemometer" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA1>, Timer>: embedded_hal::i2c::I2c` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sdp8xx1 = Sdp8xx::new(i2cbb1, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2cBB>, PA1>, Timer>` [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] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sdp8xx1 = Sdp8xx::new(i2cbb1, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `embedded_hal::delay::DelayNs` is not implemented for `stm32f0xx_hal::delay::Delay` [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/delay.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait DelayNs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA3>, Timer>: embedded_hal::i2c::I2c` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | let mut sdp8xx2 = Sdp8xx::new(i2cbb2, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2cBB>, PA3>, Timer>` [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] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | let mut sdp8xx2 = Sdp8xx::new(i2cbb2, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `embedded_hal::delay::DelayNs` is not implemented for `stm32f0xx_hal::delay::Delay` [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/delay.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait DelayNs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA7>, Timer>: embedded_hal::i2c::I2c` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sdp8xx3 = Sdp8xx::new(i2cbb3, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2cBB>, PA7>, Timer>` [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] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/main.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sdp8xx3 = Sdp8xx::new(i2cbb3, 0x25, delay.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `embedded_hal::delay::DelayNs` is not implemented for `stm32f0xx_hal::delay::Delay` [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/delay.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait DelayNs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f0xx_hal::timers::Timer; [INFO] [stdout] | ------------- one version of crate `embedded_hal` is used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 13 | use sdp8xx::*; [INFO] [stdout] | ------ one version of crate `embedded_hal` is used here, as a dependency of crate `sdp8xx` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [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.4/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] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `trigger_differential_pressure_sample` exists for struct `Sdp8xx>, PA1>, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | if let Ok(m) = sdp8xx1.trigger_differential_pressure_sample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [INFO] [stdout] | ---------------- doesn't satisfy `_: DelayNs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [INFO] [stdout] | ------------------------------- doesn't satisfy `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sdp8xx_anemometer-441adf1274526d0d.long-type-7860147517490129850.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA1>, Timer>: embedded_hal::i2c::I2c` [INFO] [stdout] `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `trigger_differential_pressure_sample` exists for struct `Sdp8xx>, PA3>, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if let Ok(m) = sdp8xx2.trigger_differential_pressure_sample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [INFO] [stdout] | ---------------- doesn't satisfy `_: DelayNs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [INFO] [stdout] | ------------------------------- doesn't satisfy `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sdp8xx_anemometer-441adf1274526d0d.long-type-9555089400476653342.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA3>, Timer>: embedded_hal::i2c::I2c` [INFO] [stdout] `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `trigger_differential_pressure_sample` exists for struct `Sdp8xx>, PA7>, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | if let Ok(m) = sdp8xx3.trigger_differential_pressure_sample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f0xx-hal-0.17.1/src/delay.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Delay { [INFO] [stdout] | ---------------- doesn't satisfy `_: DelayNs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/bitbang-hal-840295686e1a85fe/9c16bcd/src/i2c.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct I2cBB [INFO] [stdout] | ------------------------------- doesn't satisfy `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sdp8xx_anemometer-441adf1274526d0d.long-type-15703003596951541027.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `bitbang_hal::i2c::I2cBB>, stm32f0xx_hal::gpio::gpioa::PA7>, Timer>: embedded_hal::i2c::I2c` [INFO] [stdout] `stm32f0xx_hal::delay::Delay: embedded_hal::delay::DelayNs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdp8xx-anemometer` (bin "sdp8xx-anemometer") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "379f7d711353fbb844d937e94236a5c54574a72598a6154cc30d71867305847d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "379f7d711353fbb844d937e94236a5c54574a72598a6154cc30d71867305847d", kill_on_drop: false }` [INFO] [stdout] 379f7d711353fbb844d937e94236a5c54574a72598a6154cc30d71867305847d