[INFO] fetching crate stk8ba58 1.0.2... [INFO] testing stk8ba58-1.0.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate stk8ba58 1.0.2 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stk8ba58 1.0.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaa9e41a74c3a9e5ef7ed08e4a95e5c3542a9518b6abe9d5e125a3234dcd8d89 [INFO] running `Command { std: "docker" "start" "-a" "aaa9e41a74c3a9e5ef7ed08e4a95e5c3542a9518b6abe9d5e125a3234dcd8d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa9e41a74c3a9e5ef7ed08e4a95e5c3542a9518b6abe9d5e125a3234dcd8d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa9e41a74c3a9e5ef7ed08e4a95e5c3542a9518b6abe9d5e125a3234dcd8d89", kill_on_drop: false }` [INFO] [stdout] aaa9e41a74c3a9e5ef7ed08e4a95e5c3542a9518b6abe9d5e125a3234dcd8d89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cbd11eeaf3526f9c4536e7e2c5b8ccd8869f536b98eba8687912e713c9ebe43 [INFO] running `Command { std: "docker" "start" "-a" "0cbd11eeaf3526f9c4536e7e2c5b8ccd8869f536b98eba8687912e713c9ebe43", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [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.11s [INFO] running `Command { std: "docker" "inspect" "0cbd11eeaf3526f9c4536e7e2c5b8ccd8869f536b98eba8687912e713c9ebe43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbd11eeaf3526f9c4536e7e2c5b8ccd8869f536b98eba8687912e713c9ebe43", kill_on_drop: false }` [INFO] [stdout] 0cbd11eeaf3526f9c4536e7e2c5b8ccd8869f536b98eba8687912e713c9ebe43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c45c1900ad3d9ebcede9b132d39011e1627b6607c9441e47671649712ff6041 [INFO] running `Command { std: "docker" "start" "-a" "2c45c1900ad3d9ebcede9b132d39011e1627b6607c9441e47671649712ff6041", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling crc-any v2.4.4 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling rp-pico v0.8.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [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 frunk v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [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]: cannot find `cortex_m_rt` in the crate root [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[E0433]: cannot find `cortex_m_rt` in the crate root [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: `#[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] 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 `Stk8ba58::::new` [INFO] [stdout] --> 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-def0feb1f41fb77a.long-type-17197749507980354527.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] ::: 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-def0feb1f41fb77a.long-type-10364064089228314463.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `accelerometer` in this scope [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]: cannot find `cortex_m_rt` in the crate root [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[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] ::: 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-def0feb1f41fb77a.long-type-10364064089228314463.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/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] 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 `Stk8ba58::::new` [INFO] [stdout] --> 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-f9d922fb4638d667.long-type-8079752226436587398.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] [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] ::: 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-f9d922fb4638d667.long-type-1797102353517113585.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] ::: 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-f9d922fb4638d667.long-type-1797102353517113585.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_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] ::: 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-f9d922fb4638d667.long-type-1797102353517113585.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] 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 `Stk8ba58::::new` [INFO] [stdout] --> 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-ac725ea21f3387c9.long-type-9853468947722551402.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] ::: 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-f9d922fb4638d667.long-type-1797102353517113585.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] [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-ac725ea21f3387c9.long-type-10264347230062721061.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] [stderr] error: could not compile `stk8ba58` (example "read_registers_rp_pico") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stk8ba58` (example "read_acceleration_rp_pico") due to 7 previous errors [INFO] [stderr] error: could not compile `stk8ba58` (example "set_registers_rp_pico") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "2c45c1900ad3d9ebcede9b132d39011e1627b6607c9441e47671649712ff6041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c45c1900ad3d9ebcede9b132d39011e1627b6607c9441e47671649712ff6041", kill_on_drop: false }` [INFO] [stdout] 2c45c1900ad3d9ebcede9b132d39011e1627b6607c9441e47671649712ff6041