[INFO] fetching crate stk8ba58 1.0.2... [INFO] testing stk8ba58-1.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate stk8ba58 1.0.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stk8ba58 1.0.2 [INFO] finished tweaking crates.io crate stk8ba58 1.0.2 [INFO] tweaked toml for crates.io crate stk8ba58 1.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stk8ba58 1.0.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stk8ba58 1.0.2 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rp-pico v0.8.0 [INFO] [stderr] Downloaded crc-any v2.4.4 [INFO] [stderr] Downloaded rp2040-hal v0.9.2 [INFO] [stderr] Downloaded rp2040-pac v0.5.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2d59947702aa6cb05e3d8a9239e80738c39e6bb446ede9e2ebfc2044b2ef4e8 [INFO] running `Command { std: "docker" "start" "-a" "d2d59947702aa6cb05e3d8a9239e80738c39e6bb446ede9e2ebfc2044b2ef4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d59947702aa6cb05e3d8a9239e80738c39e6bb446ede9e2ebfc2044b2ef4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d59947702aa6cb05e3d8a9239e80738c39e6bb446ede9e2ebfc2044b2ef4e8", kill_on_drop: false }` [INFO] [stdout] d2d59947702aa6cb05e3d8a9239e80738c39e6bb446ede9e2ebfc2044b2ef4e8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d92e8067d4d4bb38ecffbc9be702c906f6041f19a460b2143eded2ee6ad0c8a [INFO] running `Command { std: "docker" "start" "-a" "4d92e8067d4d4bb38ecffbc9be702c906f6041f19a460b2143eded2ee6ad0c8a", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling accelerometer v0.12.0 [INFO] [stderr] Compiling stk8ba58 v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "4d92e8067d4d4bb38ecffbc9be702c906f6041f19a460b2143eded2ee6ad0c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d92e8067d4d4bb38ecffbc9be702c906f6041f19a460b2143eded2ee6ad0c8a", kill_on_drop: false }` [INFO] [stdout] 4d92e8067d4d4bb38ecffbc9be702c906f6041f19a460b2143eded2ee6ad0c8a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3b5cec3960735f6f01eebb07c5a1977578ff7d13ffbf3b621fcfe738c6fe997 [INFO] running `Command { std: "docker" "start" "-a" "a3b5cec3960735f6f01eebb07c5a1977578ff7d13ffbf3b621fcfe738c6fe997", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling rp-pico v0.8.0 [INFO] [stderr] Compiling crc-any v2.4.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling frunk v0.4.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling rp2040-hal v0.9.2 [INFO] [stderr] Compiling stk8ba58 v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] --> examples/set_registers_rp_pico.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[entry] [INFO] [stdout] | ^^^^^^^^ could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `accelerometer` [INFO] [stdout] --> examples/read_acceleration_rp_pico.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use accelerometer::{vector::F32x3, Accelerometer}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `accelerometer` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | use accelerometer_hal::{vector::F32x3, Accelerometer}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `accelerometer` [INFO] [stdout] --> examples/read_acceleration_rp_pico.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use accelerometer::{vector::F32x3, Accelerometer}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `accelerometer` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | use accelerometer_hal::{vector::F32x3, Accelerometer}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] --> examples/read_acceleration_rp_pico.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[entry] [INFO] [stdout] | ^^^^^^^^ could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2C, ...)>: I2c` is not satisfied [INFO] [stdout] --> examples/set_registers_rp_pico.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let mut accelerometer = Stk8ba58::new(i2c); [INFO] [stdout] | ------------- ^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2C, Pin)>` [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-1949cf8c6b5b557f/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/set_registers_rp_pico.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rp_pico as bsp; [INFO] [stdout] | ------- one version of crate `embedded_hal` used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 15 | use stk8ba58::{ [INFO] [stdout] | -------- one version of crate `embedded_hal` used here, as a dependency of crate `stk8ba58` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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-1949cf8c6b5b557f/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 `Stk8ba58::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | I2C: I2c, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Stk8ba58::::new` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn new(i2c: I2C) -> Self { [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/set_registers_rp_pico-93ed0819a4c01fef.long-type-7133416945269126002.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, ...)>: I2c` is not satisfied [INFO] [stdout] --> examples/read_acceleration_rp_pico.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | let mut accelerometer = Stk8ba58::new(i2c); [INFO] [stdout] | ------------- ^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2C, Pin)>` [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-1949cf8c6b5b557f/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/read_acceleration_rp_pico.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rp_pico as bsp; [INFO] [stdout] | ------- one version of crate `embedded_hal` used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 16 | use stk8ba58::Stk8ba58; [INFO] [stdout] | -------- one version of crate `embedded_hal` used here, as a dependency of crate `stk8ba58` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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-1949cf8c6b5b557f/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 `Stk8ba58::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | I2C: I2c, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Stk8ba58::::new` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn new(i2c: I2C) -> Self { [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/read_acceleration_rp_pico-9ae0364d6a9148f6.long-type-6334263362163873793.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `accel_norm` found for struct `Stk8ba58` in the current scope [INFO] [stdout] --> examples/read_acceleration_rp_pico.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | let F32x3 { x, y, z } = accelerometer.accel_norm().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Stk8ba58, ...)>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/read_acceleration_rp_pico-9ae0364d6a9148f6.long-type-12906546242511959294.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_bandwidth` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/set_registers_rp_pico.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | accelerometer.set_bandwidth(BwSel::Hz250).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Write, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/set_registers_rp_pico-93ed0819a4c01fef.long-type-11851534688958242413.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_flags` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/set_registers_rp_pico.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | accelerometer.set_flags(INTEN1::SLP_EN_Z).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Write, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/set_registers_rp_pico-93ed0819a4c01fef.long-type-11851534688958242413.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_int_latch` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/set_registers_rp_pico.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | accelerometer.set_int_latch(IntLatch::TEMP250MS).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Write, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/set_registers_rp_pico-93ed0819a4c01fef.long-type-11851534688958242413.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_flags` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/set_registers_rp_pico.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | accelerometer.set_flags(INTCFG2::INT_RST).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Write, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: stk8ba58::registers::Write, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/set_registers_rp_pico-93ed0819a4c01fef.long-type-11851534688958242413.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stk8ba58` (example "read_acceleration_rp_pico") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stk8ba58` (example "set_registers_rp_pico") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] --> examples/read_registers_rp_pico.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[entry] [INFO] [stdout] | ^^^^^^^^ could not find `cortex_m_rt` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2C, ...)>: I2c` is not satisfied [INFO] [stdout] --> examples/read_registers_rp_pico.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let mut accelerometer = Stk8ba58::new(i2c); [INFO] [stdout] | ------------- ^^^ the trait `embedded_hal::i2c::I2c` is not implemented for `I2C, Pin)>` [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-1949cf8c6b5b557f/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/read_registers_rp_pico.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rp_pico as bsp; [INFO] [stdout] | ------- one version of crate `embedded_hal` used here, as a dependency of crate `cortex_m` [INFO] [stdout] ... [INFO] [stdout] 15 | use stk8ba58::{ [INFO] [stdout] | -------- one version of crate `embedded_hal` used here, as a dependency of crate `stk8ba58` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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-1949cf8c6b5b557f/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 `Stk8ba58::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | I2C: I2c, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Stk8ba58::::new` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn new(i2c: I2C) -> Self { [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/read_registers_rp_pico-2481d8bcc12827a0.long-type-4261566311590670565.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_mode` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/read_registers_rp_pico.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | let mode = accelerometer.read_mode(SleepDuration::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Read, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: Read, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: Read, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/read_registers_rp_pico-2481d8bcc12827a0.long-type-3418973108919929469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_flags` exists for struct `Stk8ba58, ...)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/read_registers_rp_pico.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | let flags = accelerometer.read_flags(POWMODE::empty()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Stk8ba58 { [INFO] [stdout] | ------------------------ doesn't satisfy `_: Read, Pin)>, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.9.2/src/i2c.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct I2C { [INFO] [stdout] | -------------------------------------------- doesn't satisfy `<_ as ErrorType>::Error = _` or `_: I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, rp_pico::rp2040_hal::gpio::Pin)> as embedded_hal::i2c::ErrorType>::Error = _` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: Read, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] `rp_pico::rp2040_hal::I2C, rp_pico::rp2040_hal::gpio::Pin)>: embedded_hal::i2c::I2c` [INFO] [stdout] which is required by `Stk8ba58, rp_pico::rp2040_hal::gpio::Pin)>>: Read, rp_pico::rp2040_hal::gpio::Pin)>, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/read_registers_rp_pico-2481d8bcc12827a0.long-type-3418973108919929469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stk8ba58` (example "read_registers_rp_pico") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a3b5cec3960735f6f01eebb07c5a1977578ff7d13ffbf3b621fcfe738c6fe997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b5cec3960735f6f01eebb07c5a1977578ff7d13ffbf3b621fcfe738c6fe997", kill_on_drop: false }` [INFO] [stdout] a3b5cec3960735f6f01eebb07c5a1977578ff7d13ffbf3b621fcfe738c6fe997