+ git clone -n https://github.com/jamesmunns/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout 32df3f07bc09307cd70476b55faccd8bcaa887c4
HEAD is now at 32df3f07b Enable HF div for lpi2c
+ exec .github/ci/test.sh
info: syncing channel updates for '1.92-x86_64-unknown-linux-gnu'
info: latest update on 2025-12-11, rust version 1.92.0 (ded5c06cf 2025-12-08)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'llvm-tools'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std' for 'armv7a-none-eabi'
info: downloading component 'rust-std' for 'armv7r-none-eabi'
info: downloading component 'rust-std' for 'armv7r-none-eabihf'
info: downloading component 'rust-std' for 'riscv32imac-unknown-none-elf'
info: downloading component 'rust-std' for 'thumbv6m-none-eabi'
info: downloading component 'rust-std' for 'thumbv7em-none-eabi'
info: downloading component 'rust-std' for 'thumbv7em-none-eabihf'
info: downloading component 'rust-std' for 'thumbv7m-none-eabi'
info: downloading component 'rust-std' for 'thumbv8m.main-none-eabihf'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'llvm-tools'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std' for 'armv7a-none-eabi'
info: installing component 'rust-std' for 'armv7r-none-eabi'
info: installing component 'rust-std' for 'armv7r-none-eabihf'
info: installing component 'rust-std' for 'riscv32imac-unknown-none-elf'
info: installing component 'rust-std' for 'thumbv6m-none-eabi'
info: installing component 'rust-std' for 'thumbv7em-none-eabi'
info: installing component 'rust-std' for 'thumbv7em-none-eabihf'
info: installing component 'rust-std' for 'thumbv7m-none-eabi'
info: installing component 'rust-std' for 'thumbv8m.main-none-eabihf'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
Updating crates.io index
Locking 178 packages to latest Rust 1.92.0 compatible versions
Adding aarch32-cpu v0.1.0 (available: v0.2.0)
Adding syn v2.0.110 (available: v2.0.117)
Downloading crates ...
Downloaded cfg-if v1.0.4
Downloaded critical-section v1.2.0
Downloaded byteorder v1.5.0
Downloaded embedded-io v0.7.1
Downloaded darling_macro v0.20.11
Downloaded document-features v0.2.12
Downloaded darling v0.20.11
Downloaded target-triple v1.0.0
Downloaded ident_case v1.0.1
Downloaded futures-sink v0.3.32
Downloaded cordyceps v0.3.4
Downloaded futures-core v0.3.32
Downloaded itoa v1.0.17
Downloaded strsim v0.11.1
Downloaded equivalent v1.0.2
Downloaded embedded-io-async v0.7.0
Downloaded hash32 v0.3.1
Downloaded stable_deref_trait v1.2.1
Downloaded fnv v1.0.7
Downloaded serde_spanned v1.0.4
Downloaded toml_datetime v1.0.0+spec-1.1.0
Downloaded zmij v1.0.21
Downloaded toml_writer v1.0.6+spec-1.1.0
Downloaded trybuild v1.0.116
Downloaded toml_parser v1.0.9+spec-1.1.0
Downloaded unicode-ident v1.0.24
Downloaded serde_core v1.0.228
Downloaded toml v1.0.6+spec-1.1.0
Downloaded serde v1.0.228
Downloaded memchr v2.8.0
Downloaded heapless v0.9.2
Downloaded serde_json v1.0.149
Downloaded winnow v0.7.15
Downloaded hashbrown v0.16.1
Downloaded indexmap v2.13.0
Downloaded darling_core v0.20.11
Downloaded serde_derive v1.0.228
Downloaded proc-macro2 v1.0.106
Downloaded litrs v1.0.0
Downloaded syn v2.0.110
Downloaded glob v0.3.3
Downloaded termcolor v1.4.1
Downloaded rustversion v1.0.22
Downloaded quote v1.0.45
Compiling proc-macro2 v1.0.106
Compiling unicode-ident v1.0.24
Compiling quote v1.0.45
Compiling serde_core v1.0.228
Compiling ident_case v1.0.1
Compiling strsim v0.11.1
Compiling fnv v1.0.7
Compiling zmij v1.0.21
Compiling target-triple v1.0.0
Compiling serde v1.0.228
Compiling serde_json v1.0.149
Compiling winnow v0.7.15
Compiling heapless v0.9.2
Compiling byteorder v1.5.0
Compiling litrs v1.0.0
Compiling stable_deref_trait v1.2.1
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embedded-io v0.7.1
Compiling hash32 v0.3.1
Compiling rustversion v1.0.22
Compiling critical-section v1.2.0
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling itoa v1.0.17
Compiling memchr v2.8.0
Compiling toml_writer v1.0.6+spec-1.1.0
Compiling embedded-io-async v0.7.0
Compiling futures-sink v0.3.32
Compiling futures-core v0.3.32
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling document-features v0.2.12
Compiling cfg-if v1.0.4
Compiling cordyceps v0.3.4
Compiling termcolor v1.4.1
Compiling glob v0.3.3
Compiling syn v2.0.110
Compiling toml_parser v1.0.9+spec-1.1.0
Compiling toml_datetime v1.0.0+spec-1.1.0
Compiling serde_spanned v1.0.4
Compiling toml v1.0.6+spec-1.1.0
Compiling darling_core v0.20.11
Compiling serde_derive v1.0.228
Compiling darling_macro v0.20.11
Compiling darling v0.20.11
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Compiling trybuild v1.0.116
Finished `test` profile [unoptimized + debuginfo] target(s) in 11.44s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_executor-51a9ae25a6186fc2)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/test.rs (/ci/cache/target/debug/deps/test-0e437bb513d49b2d)
running 10 tests
test executor_noop ... ok
test executor_task ... ok
test executor_task_cfg_args ... ok
test executor_task_rpit ... ok
test executor_task_self_wake ... ok
test executor_task_self_wake_twice ... ok
test recursive_task ... ok
test task_metadata ... ok
test waking_after_completion_does_not_poll ... ok
test waking_with_old_waker_after_respawn ... ok
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-3c8782ee1342f90a)
running 1 test
Compiling proc-macro2 v1.0.106
Compiling quote v1.0.45
Compiling unicode-ident v1.0.24
Compiling ident_case v1.0.1
Compiling fnv v1.0.7
Compiling strsim v0.11.1
Compiling byteorder v1.5.0
Compiling heapless v0.9.2
Compiling critical-section v1.2.0
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling embedded-io v0.7.1
Compiling stable_deref_trait v1.2.1
Compiling litrs v1.0.0
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling rustversion v1.0.22
Compiling embedded-io-async v0.7.0
Compiling futures-sink v0.3.32
Compiling hash32 v0.3.1
Compiling cfg-if v1.0.4
Compiling futures-core v0.3.32
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling cordyceps v0.3.4
Compiling document-features v0.2.12
Compiling syn v2.0.110
Compiling darling_core v0.20.11
Compiling darling_macro v0.20.11
Compiling darling v0.20.11
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Compiling embassy-executor-tests v0.0.0 (/ci/cache/target/tests/trybuild/embassy-executor)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.16s
test tests/ui/abi.rs [should fail to compile] ... ok
test tests/ui/bad_return.rs [should fail to compile] ... ok
test tests/ui/generics.rs [should fail to compile] ... ok
test tests/ui/impl_trait_nested.rs [should fail to compile] ... ok
test tests/ui/impl_trait.rs [should fail to compile] ... ok
test tests/ui/impl_trait_static.rs [should fail to compile] ... ok
test tests/ui/nonstatic_ref_anon_nested.rs [should fail to compile] ... ok
test tests/ui/nonstatic_ref_anon.rs [should fail to compile] ... ok
test tests/ui/nonstatic_ref_elided.rs [should fail to compile] ... ok
test tests/ui/nonstatic_ref_generic.rs [should fail to compile] ... ok
test tests/ui/nonstatic_struct_anon.rs [should fail to compile] ... ok
test tests/ui/nonstatic_struct_elided.rs [should fail to compile] ... ok
test tests/ui/nonstatic_struct_generic.rs [should fail to compile] ... ok
test tests/ui/not_async.rs [should fail to compile] ... ok
test tests/ui/spawn_nonsend.rs [should fail to compile] ... ok
test tests/ui/return_impl_future_nonsend.rs [should fail to compile] ... ok
test tests/ui/bad_return_impl_future.rs [should fail to compile] ... ok
test tests/ui/return_impl_send.rs [should fail to compile] ... ok
test tests/ui/self_ref.rs [should fail to compile] ... ok
test tests/ui/self.rs [should fail to compile] ... ok
test tests/ui/type_error.rs [should fail to compile] ... ok
test tests/ui/where_clause.rs [should fail to compile] ... ok
test tests/ui/unsafe_op_in_unsafe_task.rs [should fail to compile] ... ok
test tests/ui/task_safety_attribute.rs [should pass] ... ok
test ui ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.39s
Doc-tests embassy_executor
running 1 test
test src/raw/mod.rs - raw::Executor (line 515) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.13s; merged doctests compilation took 0.12s
Updating crates.io index
Locking 13 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_futures-b71964b90c1e3983)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_futures
running 6 tests
test src/join.rs - join::join (line 132) ... ok
test src/join.rs - join::join4 (line 190) ... ok
test src/join.rs - join::join_array (line 306) ... ok
test src/join.rs - join::join5 (line 227) ... ok
test src/yield_now.rs - yield_now::yield_now (line 12) ... ok
test src/join.rs - join::join3 (line 160) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.19s; merged doctests compilation took 0.19s
Updating crates.io index
Locking 60 packages to latest Rust 1.92.0 compatible versions
Downloading crates ...
Downloaded futures-timer v3.0.3
Downloaded futures-task v0.3.32
Downloaded futures-channel v0.3.32
Downloaded futures-io v0.3.32
Downloaded futures-macro v0.3.32
Downloaded futures-test v0.3.32
Downloaded static_cell v2.1.1
Downloaded pin-project-internal v1.1.11
Downloaded pin-project-lite v0.2.17
Downloaded slab v0.4.12
Downloaded futures-executor v0.3.32
Downloaded pin-project v1.1.11
Downloaded futures-util v0.3.32
Downloaded portable-atomic v1.13.1
Downloaded syn v2.0.117
Compiling futures-core v0.3.32
Compiling memchr v2.8.0
Compiling futures-task v0.3.32
Compiling portable-atomic v1.13.1
Compiling futures-io v0.3.32
Compiling slab v0.4.12
Compiling pin-project-lite v0.2.17
Compiling syn v2.0.117
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling futures-timer v3.0.3
Compiling futures-channel v0.3.32
Compiling serde_json v1.0.149
Compiling static_cell v2.1.1
Compiling futures-macro v0.3.32
Compiling pin-project-internal v1.1.11
Compiling serde_derive v1.0.228
Compiling futures-util v0.3.32
Compiling pin-project v1.1.11
Compiling trybuild v1.0.116
Compiling futures-executor v0.3.32
Compiling futures-test v0.3.32
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.83s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_sync-15c4e61937d50cfb)
running 88 tests
test channel::tests::dynamic_dispatch_into ... ok
test channel::tests::cloning ... ok
test channel::tests::dynamic_dispatch_constructor ... ok
test channel::tests::receiving_once_with_one_send ... ok
test channel::tests::receiving_when_empty ... ok
test channel::tests::sender_send_completes_if_capacity ... ok
test channel::tests::sending_once ... ok
test lazy_lock::tests::test_lazy_lock_into_inner ... ok
test once_lock::tests::once_lock ... ok
test channel::tests::simple_send_and_receive ... ok
test channel::tests::sending_when_full ... ok
test once_lock::tests::once_lock_static ... ok
test lazy_lock::tests::test_lazy_drop ... ok
test lazy_lock::tests::test_lazy_lock ... ok
test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
test lazy_lock::tests::test_lazy_lock_mutation ... ok
test once_lock::tests::once_lock_take_init ... ok
test once_lock::tests::once_lock_get_or_init ... ok
test pipe::tests::dynamic_dispatch_pipe ... ok
test once_lock::tests::once_lock_into_inner ... ok
test pipe::tests::read_buf ... ok
test once_lock::tests::once_lock_async ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test priority_channel::tests::dynamic_dispatch ... ok
test priority_channel::tests::receiving_when_empty ... ok
test priority_channel::tests::send_priority ... ok
test pipe::tests::simple_send_and_receive ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test pipe::tests::writing_once ... ok
test priority_channel::tests::cloning ... ok
test priority_channel::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::simple_send_and_receive ... ok
test pubsub::tests::all_subscribers_receive ... ok
test pipe::tests::writer_is_cloneable ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::dyn_pub_sub_works ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
test pipe::tests::writing_when_full ... ok
test priority_channel::tests::sender_send_completes_if_capacity ... ok
test priority_channel::tests::sending_once ... ok
test priority_channel::tests::sending_when_full ... ok
test pubsub::tests::correct_len ... ok
test priority_channel::tests::receiver_receives_given_try_send_async ... ok
test pipe::tests::receiver_receives_given_try_write_async ... ok
test pubsub::tests::lag_when_queue_full_on_immediate_publish ... ok
test pubsub::tests::limited_subs_and_pubs ... ok
test pubsub::tests::publisher_sink ... ok
test pubsub::tests::publisher_wait_on_full_queue ... ok
test ring_buffer::tests::push_pop ... ok
test rwlock::tests::read_guard_releases_lock_when_dropped ... ok
test pubsub::tests::skip_clone_for_last_message ... ok
test semaphore::tests::fair::fairness ... ok
test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
test semaphore::tests::fair::release ... ok
test semaphore::tests::fair::try_acquire ... ok
test semaphore::tests::fair::set ... ok
test semaphore::tests::fair::acquire_all ... ok
test semaphore::tests::fair::contested ... ok
test semaphore::tests::fair::acquire ... ok
test semaphore::tests::fair::disarm ... ok
test semaphore::tests::fair::try_acquire_all ... ok
test semaphore::tests::greedy::acquire ... ok
test semaphore::tests::greedy::acquire_all ... ok
test semaphore::tests::greedy::contested ... ok
test semaphore::tests::greedy::disarm ... ok
test semaphore::tests::greedy::greedy ... ok
test semaphore::tests::greedy::release ... ok
test semaphore::tests::greedy::try_acquire ... ok
test semaphore::tests::greedy::try_acquire_all ... ok
test watch::tests::clone_senders ... ok
test watch::tests::contains_value ... ok
test semaphore::tests::greedy::set ... ok
test watch::tests::convert_to_dyn ... ok
test watch::tests::dynamic_receiver_count ... ok
test watch::tests::multiple_receivers ... ok
test watch::tests::all_try_get ... ok
test watch::tests::max_receivers_drop ... ok
test watch::tests::multiple_sends ... ok
test watch::tests::receive_after_create ... ok
test watch::tests::predicate_fn ... ok
test watch::tests::once_lock_like ... ok
test watch::tests::sender_modify ... ok
test watch::tests::use_dynamics ... ok
test semaphore::tests::fair::wakers ... ok
test channel::tests::senders_sends_wait_until_capacity ... ok
test priority_channel::tests::senders_sends_wait_until_capacity ... ok
test result: ok. 88 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-4cfbf47d608e16d4)
running 1 test
Checking futures-core v0.3.32
Checking futures-sink v0.3.32
Checking slab v0.4.12
Checking byteorder v1.5.0
Checking futures-io v0.3.32
Checking futures-task v0.3.32
Checking pin-project-lite v0.2.17
Checking memchr v2.8.0
Compiling portable-atomic v1.13.1
Checking stable_deref_trait v1.2.1
Compiling syn v2.0.117
Checking embedded-io v0.7.1
Checking cfg-if v1.0.4
Checking critical-section v1.2.0
Checking futures-timer v3.0.3
Checking futures-channel v0.3.32
Checking embedded-io-async v0.7.0
Checking hash32 v0.3.1
Checking heapless v0.9.2
Checking embassy-sync v0.7.2 (/ci/code/embassy-sync)
Checking static_cell v2.1.1
Compiling futures-macro v0.3.32
Compiling pin-project-internal v1.1.11
Checking futures-util v0.3.32
Checking pin-project v1.1.11
Checking futures-executor v0.3.32
Checking futures-test v0.3.32
Checking embassy-sync-tests v0.0.0 (/ci/cache/target/tests/trybuild/embassy-sync)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.92s
test tests/ui/sync_impl/lazy_lock_function.rs ... ok
test tests/ui/sync_impl/lazy_lock_type.rs ... ok
test tests/ui/sync_impl/once_lock.rs ... ok
test ui ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.76s
Doc-tests embassy_sync
running 9 tests
test src/channel.rs - channel (line 22) ... ok
test src/once_lock.rs - once_lock::OnceLock (line 21) ... ok
test src/watch.rs - watch::Watch (line 26) ... ok
test src/pipe.rs - pipe::Pipe<M,N>::new (line 255) ... ok
test src/channel.rs - channel::Channel<M,T,N>::new (line 831) ... ok
test src/lazy_lock.rs - lazy_lock::LazyLock (line 13) ... ok
test src/signal.rs - signal::Signal (line 24) ... ok
test src/priority_channel.rs - priority_channel::PriorityChannel<M,T,K,N>::new (line 495) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 35) ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.26s; merged doctests compilation took 0.26s
Updating crates.io index
Locking 50 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Downloading crates ...
Downloaded autocfg v1.5.0
Downloaded embedded-hal v0.2.7
Downloaded void v1.0.2
Downloaded nb v1.1.0
Downloaded embedded-storage-async v0.4.1
Downloaded nb v0.1.3
Downloaded embedded-hal v1.0.0
Downloaded embedded-hal-async v1.0.0
Downloaded num-traits v0.2.19
Downloaded embedded-storage v0.3.1
Compiling autocfg v1.5.0
Compiling embedded-hal-async v1.0.0
Compiling nb v1.1.0
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling futures-util v0.3.32
Compiling void v1.0.2
Compiling embedded-hal v1.0.0
Compiling embedded-storage v0.3.1
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Compiling nb v0.1.3
Compiling embedded-hal v0.2.7
Compiling embedded-storage-async v0.4.1
Compiling num-traits v0.2.19
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling futures-executor v0.3.32
Compiling futures-test v0.3.32
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_embedded_hal-9730b3e89c08790a)
running 9 tests
test flash::concat_flash::tests::can_erase_across_flashes ... ok
test flash::partition::asynch::tests::can_write ... ok
test flash::partition::asynch::tests::can_read ... ok
test flash::concat_flash::tests::can_write_and_read_across_flashes ... ok
test flash::partition::asynch::tests::can_erase ... ok
test adapter::yielding_async::tests::can_erase ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::partition::blocking::tests::can_write ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_embedded_hal
running 4 tests
test src/shared_bus/asynch/i2c.rs - shared_bus::asynch::i2c (line 5) ... ignored
test src/shared_bus/asynch/spi.rs - shared_bus::asynch::spi (line 5) ... ignored
test src/shared_bus/blocking/i2c.rs - shared_bus::blocking::i2c (line 5) ... ignored
test src/shared_bus/blocking/spi.rs - shared_bus::blocking::spi (line 5) ... ignored
test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.10s; merged doctests compilation took 0.10s
Updating crates.io index
Locking 28 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_hal_internal-7027f81d2c7cd23d)
running 4 tests
test atomic_ring_buffer::tests::push_pop ... ok
test ratio::tests::basics ... ok
test atomic_ring_buffer::tests::push_slices ... ok
test atomic_ring_buffer::tests::zero_len ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_hal_internal
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Updating crates.io index
Locking 109 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding serial_test v0.9.0 (available: v3.4.0)
Downloading crates ...
Downloaded scopeguard v1.2.0
Downloaded parking_lot v0.12.5
Downloaded proc-macro-error v1.0.4
Downloaded serial_test v0.9.0
Downloaded lazy_static v1.5.0
Downloaded proc-macro-error-attr v1.0.4
Downloaded once_cell v1.21.3
Downloaded version_check v0.9.5
Downloaded serial_test_derive v0.9.0
Downloaded lock_api v0.4.14
Downloaded dashmap v5.5.3
Downloaded parking_lot_core v0.9.12
Downloaded smallvec v1.15.1
Downloaded futures v0.3.32
Downloaded log v0.4.29
Downloaded hashbrown v0.14.5
Downloaded syn v1.0.109
Downloaded libc v0.2.183
Compiling version_check v0.9.5
Compiling libc v0.2.183
Compiling syn v1.0.109
Compiling futures-sink v0.3.32
Compiling parking_lot_core v0.9.12
Compiling scopeguard v1.2.0
Compiling smallvec v1.15.1
Compiling syn v2.0.117
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-time-queue-utils v0.3.0 (/ci/code/embassy-time-queue-utils)
Compiling nb v0.1.3
Compiling futures-channel v0.3.32
Compiling lock_api v0.4.14
Compiling once_cell v1.21.3
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling hashbrown v0.14.5
Compiling embedded-hal v0.2.7
Compiling futures-util v0.3.32
Compiling log v0.4.29
Compiling lazy_static v1.5.0
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling parking_lot v0.12.5
Compiling dashmap v5.5.3
Compiling futures-executor v0.3.32
Compiling serial_test_derive v0.9.0
Compiling futures v0.3.32
Compiling serial_test v0.9.0
Compiling darling_core v0.20.11
Compiling darling_macro v0.20.11
Compiling darling v0.20.11
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Finished `test` profile [unoptimized + debuginfo] target(s) in 4.83s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time-4dbf535d9bbdfc30)
running 2 tests
test driver_mock::tests::test_schedule_wake ... ok
test driver_mock::tests::test_advance ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_time
running 4 tests
test src/driver_mock.rs - driver_mock::MockDriver (line 18) ... ignored
test src/timer.rs - timer::Ticker (line 200) - compile ... ok
test src/timer.rs - timer::Ticker (line 218) - compile ... ok
test src/timer.rs - timer::Timer::after (line 118) - compile ... ok
test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.12s; merged doctests compilation took 0.12s
Updating crates.io index
Locking 9 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling embassy-time-queue-utils v0.3.0 (/ci/code/embassy-time-queue-utils)
Compiling critical-section v1.2.0
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time_driver-8eb134a46b84353b)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_time_driver
running 2 tests
test src/lib.rs - (line 142) ... ok
test src/lib.rs - (line 172) ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.14s; merged doctests compilation took 0.14s
Updating crates.io index
Locking 102 packages to latest Rust 1.92.0 compatible versions
Adding digest v0.10.7 (available: v0.11.1)
Adding env_logger v0.9.3 (available: v0.11.9)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding rand v0.8.5 (available: v0.10.0)
Downloading crates ...
Downloaded block-buffer v0.10.4
Downloaded curve25519-dalek-derive v0.1.1
Downloaded crypto-common v0.1.7
Downloaded cpufeatures v0.2.17
Downloaded generic-array v0.14.7
Downloaded atty v0.2.14
Downloaded rand_chacha v0.3.1
Downloaded subtle v2.6.1
Downloaded signature v2.2.0
Downloaded sha1 v0.10.6
Downloaded rustc_version v0.4.1
Downloaded digest v0.10.7
Downloaded ed25519 v2.2.3
Downloaded zeroize v1.8.2
Downloaded semver v1.0.27
Downloaded getrandom v0.2.17
Downloaded humantime v2.3.0
Downloaded pkcs8 v0.10.2
Downloaded const-oid v0.9.6
Downloaded env_logger v0.9.3
Downloaded typenum v1.19.0
Downloaded rand v0.8.5
Downloaded ed25519-dalek v2.2.0
Downloaded rand_core v0.6.4
Downloaded aho-corasick v1.1.4
Downloaded regex v1.12.3
Downloaded der v0.7.10
Downloaded spki v0.7.3
Downloaded sha2 v0.10.9
Downloaded zerocopy v0.8.42
Downloaded ppv-lite86 v0.2.21
Downloaded curve25519-dalek v4.1.3
Downloaded base64ct v1.8.3
Downloaded regex-syntax v0.8.10
Downloaded regex-automata v0.4.14
Compiling typenum v1.19.0
Compiling libc v0.2.183
Compiling zerocopy v0.8.42
Compiling generic-array v0.14.7
Compiling semver v1.0.27
Compiling cpufeatures v0.2.17
Compiling syn v2.0.117
Compiling aho-corasick v1.1.4
Compiling regex-syntax v0.8.10
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling subtle v2.6.1
Compiling zeroize v1.8.2
Compiling humantime v2.3.0
Compiling log v0.4.29
Compiling rustc_version v0.4.1
Compiling curve25519-dalek v4.1.3
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling getrandom v0.2.17
Compiling regex-automata v0.4.14
Compiling atty v0.2.14
Compiling rand_core v0.6.4
Compiling crypto-common v0.1.7
Compiling block-buffer v0.10.4
Compiling digest v0.10.7
Compiling signature v2.2.0
Compiling sha2 v0.10.9
Compiling sha1 v0.10.6
Compiling ed25519 v2.2.3
Compiling embassy-boot v0.6.1 (/ci/code/embassy-boot)
Compiling futures-macro v0.3.32
Compiling curve25519-dalek-derive v0.1.1
Compiling regex v1.12.3
Compiling futures-util v0.3.32
Compiling env_logger v0.9.3
Compiling ed25519-dalek v2.2.0
Compiling ppv-lite86 v0.2.21
Compiling rand_chacha v0.3.1
Compiling rand v0.8.5
Compiling futures-executor v0.3.32
Compiling futures v0.3.32
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:33:19
|
33 | pub fn active(&self) -> Partition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
33 | pub fn active(&self) -> Partition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:37:16
|
37 | pub fn dfu(&self) -> Partition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
37 | pub fn dfu(&self) -> Partition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:41:18
|
41 | pub fn state(&self) -> Partition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
41 | pub fn state(&self) -> Partition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:45:45
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<'_, NoopRawMutex, T> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:35:19
|
35 | pub fn active(&self) -> BlockingPartition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
35 | pub fn active(&self) -> BlockingPartition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:39:16
|
39 | pub fn dfu(&self) -> BlockingPartition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
39 | pub fn dfu(&self) -> BlockingPartition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:43:18
|
43 | pub fn state(&self) -> BlockingPartition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | pub fn state(&self) -> BlockingPartition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:48:16
|
48 | mutex: &Mutex<NoopRawMutex, RefCell<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
49 | ) -> BlockingPartition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
49 | ) -> BlockingPartition<'_, NoopRawMutex, T> {
| +++
warning: `embassy-boot` (lib test) generated 8 warnings (run `cargo fix --lib -p embassy-boot --tests` to apply 8 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 7.74s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-d0f111a4a88214e1)
running 13 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test tests::test_boot_state ... ok
test tests::test_swap_state_dfu_page_biggest ... ok
test tests::test_swap_state_active_page_biggest ... ok
test tests::test_swap_state ... ok
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
Doc-tests embassy_boot
running 1 test
test src/boot_loader.rs - boot_loader::BootLoaderConfig<BlockingPartition<'a,NoopRawMutex,ACTIVE>,
BlockingPartition<'a,NoopRawMutex,DFU>,
BlockingPartition<'a,NoopRawMutex,STATE>>::from_linkerfile_blocking (line 82) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.25s; merged doctests compilation took 0.24s
Compiling embassy-boot v0.6.1 (/ci/code/embassy-boot)
warning: field `active` is never read
--> src/test_flash/asynch.rs:14:5
|
8 | pub struct AsyncTestFlash<ACTIVE, DFU, STATE>
| -------------- field in this struct
...
14 | active: Mutex<NoopRawMutex, ACTIVE>,
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `active` is never used
--> src/test_flash/asynch.rs:33:12
|
19 | / impl<ACTIVE, DFU, STATE> AsyncTestFlash<ACTIVE, DFU, STATE>
20 | | where
21 | | ACTIVE: NorFlash,
22 | | DFU: NorFlash,
23 | | STATE: NorFlash,
| |____________________- method in this implementation
...
33 | pub fn active(&self) -> Partition<NoopRawMutex, ACTIVE> {
| ^^^^^^
warning: method `into_blocking` is never used
--> src/test_flash/asynch.rs:56:12
|
50 | / impl<ACTIVE, DFU, STATE> AsyncTestFlash<ACTIVE, DFU, STATE>
51 | | where
52 | | ACTIVE: NorFlash + embedded_storage::nor_flash::NorFlash,
53 | | DFU: NorFlash + embedded_storage::nor_flash::NorFlash,
54 | | STATE: NorFlash + embedded_storage::nor_flash::NorFlash,
| |____________________________________________________________- method in this implementation
55 | {
56 | pub fn into_blocking(self) -> super::BlockingTestFlash<ACTIVE, DFU, STATE> {
| ^^^^^^^^^^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:33:19
|
33 | pub fn active(&self) -> Partition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
33 | pub fn active(&self) -> Partition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:37:16
|
37 | pub fn dfu(&self) -> Partition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
37 | pub fn dfu(&self) -> Partition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:41:18
|
41 | pub fn state(&self) -> Partition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
41 | pub fn state(&self) -> Partition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:45:45
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<'_, NoopRawMutex, T> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:35:19
|
35 | pub fn active(&self) -> BlockingPartition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
35 | pub fn active(&self) -> BlockingPartition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:39:16
|
39 | pub fn dfu(&self) -> BlockingPartition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
39 | pub fn dfu(&self) -> BlockingPartition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:43:18
|
43 | pub fn state(&self) -> BlockingPartition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | pub fn state(&self) -> BlockingPartition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:48:16
|
48 | mutex: &Mutex<NoopRawMutex, RefCell<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
49 | ) -> BlockingPartition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
49 | ) -> BlockingPartition<'_, NoopRawMutex, T> {
| +++
warning: `embassy-boot` (lib test) generated 11 warnings (run `cargo fix --lib -p embassy-boot --tests` to apply 8 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-9b134ef2ef57c7c0)
running 11 tests
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test tests::test_boot_state ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test tests::test_verify ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Doc-tests embassy_boot
running 1 test
test src/boot_loader.rs - boot_loader::BootLoaderConfig<BlockingPartition<'a,NoopRawMutex,ACTIVE>,
BlockingPartition<'a,NoopRawMutex,DFU>,
BlockingPartition<'a,NoopRawMutex,STATE>>::from_linkerfile_blocking (line 82) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.21s; merged doctests compilation took 0.21s
Downloading crates ...
Downloaded zeroize_derive v1.4.3
Downloaded salty v0.3.0
Compiling zeroize_derive v1.4.3
Compiling futures-macro v0.3.32
Compiling salty v0.3.0
Compiling curve25519-dalek-derive v0.1.1
Compiling zeroize v1.8.2
Compiling curve25519-dalek v4.1.3
Compiling futures-util v0.3.32
Compiling embassy-boot v0.6.1 (/ci/code/embassy-boot)
Compiling ed25519-dalek v2.2.0
Compiling futures-executor v0.3.32
Compiling futures v0.3.32
warning: field `active` is never read
--> src/test_flash/asynch.rs:14:5
|
8 | pub struct AsyncTestFlash<ACTIVE, DFU, STATE>
| -------------- field in this struct
...
14 | active: Mutex<NoopRawMutex, ACTIVE>,
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `active` is never used
--> src/test_flash/asynch.rs:33:12
|
19 | / impl<ACTIVE, DFU, STATE> AsyncTestFlash<ACTIVE, DFU, STATE>
20 | | where
21 | | ACTIVE: NorFlash,
22 | | DFU: NorFlash,
23 | | STATE: NorFlash,
| |____________________- method in this implementation
...
33 | pub fn active(&self) -> Partition<NoopRawMutex, ACTIVE> {
| ^^^^^^
warning: method `into_blocking` is never used
--> src/test_flash/asynch.rs:56:12
|
50 | / impl<ACTIVE, DFU, STATE> AsyncTestFlash<ACTIVE, DFU, STATE>
51 | | where
52 | | ACTIVE: NorFlash + embedded_storage::nor_flash::NorFlash,
53 | | DFU: NorFlash + embedded_storage::nor_flash::NorFlash,
54 | | STATE: NorFlash + embedded_storage::nor_flash::NorFlash,
| |____________________________________________________________- method in this implementation
55 | {
56 | pub fn into_blocking(self) -> super::BlockingTestFlash<ACTIVE, DFU, STATE> {
| ^^^^^^^^^^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:33:19
|
33 | pub fn active(&self) -> Partition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
33 | pub fn active(&self) -> Partition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:37:16
|
37 | pub fn dfu(&self) -> Partition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
37 | pub fn dfu(&self) -> Partition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:41:18
|
41 | pub fn state(&self) -> Partition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
41 | pub fn state(&self) -> Partition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/asynch.rs:45:45
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
45 | fn create_partition<T: NorFlash>(mutex: &Mutex<NoopRawMutex, T>) -> Partition<'_, NoopRawMutex, T> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:35:19
|
35 | pub fn active(&self) -> BlockingPartition<NoopRawMutex, ACTIVE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
35 | pub fn active(&self) -> BlockingPartition<'_, NoopRawMutex, ACTIVE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:39:16
|
39 | pub fn dfu(&self) -> BlockingPartition<NoopRawMutex, DFU> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
39 | pub fn dfu(&self) -> BlockingPartition<'_, NoopRawMutex, DFU> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:43:18
|
43 | pub fn state(&self) -> BlockingPartition<NoopRawMutex, STATE> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | pub fn state(&self) -> BlockingPartition<'_, NoopRawMutex, STATE> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/test_flash/blocking.rs:48:16
|
48 | mutex: &Mutex<NoopRawMutex, RefCell<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
49 | ) -> BlockingPartition<NoopRawMutex, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
49 | ) -> BlockingPartition<'_, NoopRawMutex, T> {
| +++
warning: `embassy-boot` (lib test) generated 11 warnings (run `cargo fix --lib -p embassy-boot --tests` to apply 8 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.64s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-b6f09fecfe16ee39)
running 11 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test tests::test_boot_state ... ok
test tests::test_verify ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Doc-tests embassy_boot
running 1 test
test src/boot_loader.rs - boot_loader::BootLoaderConfig<BlockingPartition<'a,NoopRawMutex,ACTIVE>,
BlockingPartition<'a,NoopRawMutex,DFU>,
BlockingPartition<'a,NoopRawMutex,STATE>>::from_linkerfile_blocking (line 82) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.21s; merged doctests compilation took 0.21s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/nrf-pac.git`
From https://github.com/embassy-rs/nrf-pac
* [new ref] 074935b9b24ab302fe812f91725937f57cd082cf -> refs/commit/074935b9b24ab302fe812f91725937f57cd082cf
Locking 68 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding rand_core v0.6.4 (available: v0.10.0)
Adding rand_core v0.9.5 (available: v0.10.0)
Downloading crates ...
Downloaded bitflags v2.11.0
Downloaded bytemuck v1.25.0
Downloaded semver-parser v0.7.0
Downloaded vcell v0.1.3
Downloaded rustc_version v0.2.3
Downloaded cortex-m-rt-macros v0.7.5
Downloaded bare-metal v0.2.5
Downloaded volatile-register v0.2.2
Downloaded az v1.3.0
Downloaded half v2.7.1
Downloaded semver v0.9.0
Downloaded zerocopy-derive v0.8.42
Downloaded rand_core v0.9.5
Downloaded cortex-m-rt v0.7.5
Downloaded cortex-m v0.7.7
Downloaded bitfield v0.13.2
Downloaded fixed v1.30.0
Compiling semver-parser v0.7.0
Compiling cortex-m v0.7.7
Compiling vcell v0.1.3
Compiling bitfield v0.13.2
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling zerocopy v0.8.42
Compiling syn v2.0.117
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling nrf-pac v0.2.0 (https://github.com/embassy-rs/nrf-pac.git?rev=074935b9b24ab302fe812f91725937f57cd082cf#074935b9)
Compiling cortex-m-rt v0.7.5
Compiling fixed v1.30.0
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling volatile-register v0.2.2
Compiling semver v0.9.0
Compiling bytemuck v1.25.0
Compiling az v1.3.0
Compiling embassy-usb-driver v0.2.0 (/ci/code/embassy-usb-driver)
Compiling rand_core v0.6.4
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling bitflags v2.11.0
Compiling rand_core v0.9.5
Compiling rustc_version v0.2.3
Compiling bare-metal v0.2.5
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling zerocopy-derive v0.8.42
Compiling cortex-m-rt-macros v0.7.5
Compiling half v2.7.1
Compiling embassy-nrf v0.9.0 (/ci/code/embassy-nrf)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver.rs:207:8
|
161 | impl RtcDriver {
| -------------- methods in this implementation
...
207 | fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
232 | fn next_period(&self) {
| ^^^^^^^^^^^
...
250 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: constant `CHANNELS_PER_PORT` is never used
--> src/gpiote.rs:30:7
|
30 | const CHANNELS_PER_PORT: usize = 8;
| ^^^^^^^^^^^^^^^^^
warning: function `handle_gpiote_interrupt` is never used
--> src/gpiote.rs:185:11
|
185 | unsafe fn handle_gpiote_interrupt(g: pac::gpiote::Gpiote) {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `BitIter` is never constructed
--> src/gpiote.rs:254:8
|
254 | struct BitIter(u32);
| ^^^^^^^
warning: `embassy-nrf` (lib test) generated 4 warnings (4 duplicates)
warning: `embassy-nrf` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 35.04s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_nrf-4d03553f41a15023)
running 1 test
test time_driver::test::test_calc_now ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_nrf
running 5 tests
test src/lib.rs - (line 65) ... ignored
test src/lib.rs - bind_interrupts (line 228) ... ignored
test src/lib.rs - bind_interrupts (line 241) ... ignored
test src/qdec.rs - qdec::Qdec<'d>::read (line 166) - compile ... ok
test src/temp.rs - temp::Temp<'d>::read (line 54) - compile ... ok
test result: ok. 2 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.32s; merged doctests compilation took 0.31s
Updating crates.io index
Locking 166 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding rand_core v0.6.4 (available: v0.10.0)
Adding rand_core v0.9.5 (available: v0.10.0)
Downloading crates ...
Downloaded bit-vec v0.8.0
Downloaded embedded-hal-nb v1.0.0
Downloaded debug-helper v0.3.13
Downloaded ascii-canvas v4.0.0
Downloaded arrayvec v0.7.6
Downloaded either v1.15.0
Downloaded new_debug_unreachable v1.0.6
Downloaded bit-set v0.8.0
Downloaded pico-args v0.5.0
Downloaded siphasher v1.0.2
Downloaded unicode-xid v0.2.6
Downloaded smart-leds v0.4.0
Downloaded same-file v1.0.6
Downloaded walkdir v2.5.0
Downloaded term v1.2.1
Downloaded rp2040-boot2 v0.3.0
Downloaded codespan-reporting v0.11.1
Downloaded paste v1.0.15
Downloaded crc-any v2.5.0
Downloaded proc-macro-error2 v2.0.1
Downloaded itertools v0.14.0
Downloaded lalrpop v0.22.2
Downloaded pio v0.3.0
Downloaded fixedbitset v0.5.7
Downloaded ena v0.14.4
Downloaded string_cache v0.8.9
Downloaded unicode-width v0.1.14
Downloaded rgb v0.8.53
Downloaded num_enum_derive v0.7.5
Downloaded num_enum v0.7.5
Downloaded lalrpop-util v0.22.2
Downloaded pio-parser v0.3.0
Downloaded pio-core v0.3.0
Downloaded phf_shared v0.11.3
Downloaded smart-leds-trait v0.3.2
Downloaded pio-proc v0.3.0
Downloaded proc-macro-error-attr2 v2.0.0
Downloaded precomputed-hash v0.1.1
Downloaded keccak v0.1.6
Downloaded petgraph v0.7.1
Downloaded rp-pac v7.0.0
Downloaded sha3 v0.10.8
Downloaded sha2-const-stable v0.1.0
Compiling proc-macro2 v1.0.106
Compiling memchr v2.8.0
Compiling smallvec v1.15.1
Compiling scopeguard v1.2.0
Compiling libc v0.2.183
Compiling parking_lot_core v0.9.12
Compiling regex-syntax v0.8.10
Compiling generic-array v0.14.7
Compiling hashbrown v0.16.1
Compiling equivalent v1.0.2
Compiling siphasher v1.0.2
Compiling same-file v1.0.6
Compiling lock_api v0.4.14
Compiling log v0.4.29
Compiling precomputed-hash v0.1.1
Compiling keccak v0.1.6
Compiling new_debug_unreachable v1.0.6
Compiling fixedbitset v0.5.7
Compiling phf_shared v0.11.3
Compiling term v1.2.1
Compiling bit-vec v0.8.0
Compiling either v1.15.0
Compiling ena v0.14.4
Compiling walkdir v2.5.0
Compiling bit-set v0.8.0
Compiling aho-corasick v1.1.4
Compiling crypto-common v0.1.7
Compiling block-buffer v0.10.4
Compiling indexmap v2.13.0
Compiling itertools v0.14.0
Compiling ascii-canvas v4.0.0
Compiling pico-args v0.5.0
Compiling digest v0.10.7
Compiling paste v1.0.15
Compiling sha3 v0.10.8
Compiling unicode-xid v0.2.6
Compiling arrayvec v0.7.6
Compiling debug-helper v0.3.13
Compiling unicode-width v0.1.14
Compiling quote v1.0.45
Compiling crc-any v2.5.0
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling termcolor v1.4.1
Compiling syn v2.0.117
Compiling rp2040-boot2 v0.3.0
Compiling rp-pac v7.0.0
Compiling parking_lot v0.12.5
Compiling codespan-reporting v0.11.1
Compiling rgb v0.8.53
Compiling petgraph v0.7.1
Compiling proc-macro-error-attr2 v2.0.0
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling string_cache v0.8.9
Compiling embassy-rp v0.9.0 (/ci/code/embassy-rp)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling smart-leds-trait v0.3.2
Compiling smart-leds v0.4.0
Compiling embedded-hal-nb v1.0.0
Compiling sha2-const-stable v0.1.0
Compiling regex-automata v0.4.14
Compiling regex v1.12.3
Compiling lalrpop-util v0.22.2
Compiling lalrpop v0.22.2
Compiling darling_core v0.20.11
Compiling proc-macro-error2 v2.0.1
Compiling num_enum_derive v0.7.5
Compiling zerocopy-derive v0.8.42
Compiling cortex-m-rt-macros v0.7.5
Compiling cortex-m-rt v0.7.5
Compiling num_enum v0.7.5
Compiling pio-core v0.3.0
Compiling zerocopy v0.8.42
Compiling darling_macro v0.20.11
Compiling darling v0.20.11
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Compiling half v2.7.1
Compiling fixed v1.30.0
Compiling pio-parser v0.3.0
Compiling pio-proc v0.3.0
Compiling pio v0.3.0
warning: unused import: `core::arch::asm`
--> src/clocks.rs:66:5
|
66 | use core::arch::asm;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `RW` and `Reg`
--> src/clocks.rs:75:26
|
75 | use crate::pac::common::{RW, Reg};
| ^^ ^^^
warning: unused variable: `output_freq`
--> src/clocks.rs:2029:17
|
2029 | let output_freq = (vco_freq / ((params.post_div1 * params.post_div2) as u64)) as u32;
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_freq`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `addr`
--> src/flash.rs:633:33
|
633 | unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `len`
--> src/flash.rs:633:44
|
633 | unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_len`
warning: unused variable: `data`
--> src/flash.rs:633:54
|
633 | unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
warning: unused variable: `ptrs`
--> src/flash.rs:633:75
|
633 | unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_ptrs`
warning: unused variable: `cmd`
--> src/flash.rs:817:32
|
817 | unsafe fn read_flash_inner(cmd: FlashCommand, ptrs: *const FlashFunctionPointers) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
warning: unused variable: `ptrs`
--> src/flash.rs:817:51
|
817 | unsafe fn read_flash_inner(cmd: FlashCommand, ptrs: *const FlashFunctionPointers) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_ptrs`
warning: unused variable: `addr`
--> src/flash.rs:633:33
|
633 | unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
warning: methods `check_alarm` and `trigger_alarm` are never used
--> src/time_driver.rs:86:8
|
60 | impl TimerDriver {
| ---------------- methods in this implementation
...
86 | fn check_alarm(&self) {
| ^^^^^^^^^^^
...
104 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `embassy-rp` (lib test) generated 10 warnings (6 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 4 suggestions)
warning: `embassy-rp` (lib) generated 9 warnings (2 duplicates) (run `cargo fix --lib -p embassy-rp` to apply 6 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 40.87s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-3a439d7ec86ba3ca)
running 5 tests
test clocks::tests::test_manual_pll_helper ... ok
test pio_programs::clock_divider::tests::clock_divider_math ... ok
test clocks::tests::test_pll_config_validation ... ok
test clocks::tests::test_auto_voltage_scaling ... ok
test clocks::tests::test_find_pll_params ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_rp
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
--> src/multicore.rs:60:1
|
60 |
| ^
warning: 1 warning emitted
running 14 tests
test src/clocks.rs - clocks (line 19) ... ignored
test src/clocks.rs - clocks (line 42) ... ignored
test src/clocks.rs - clocks (line 47) ... ignored
test src/clocks.rs - clocks (line 52) ... ignored
test src/clocks.rs - clocks (line 57) ... ignored
test src/clocks.rs - clocks::ClockConfig::manual_pll (line 548) ... ignored
test src/clocks.rs - clocks::find_pll_params (line 891) ... ignored
test src/intrinsics.rs - intrinsics::intrinsics (line 64) ... ignored
test src/lib.rs - (line 92) ... ignored
test src/lib.rs - bind_interrupts (line 171) ... ignored
test src/rtc/mod.rs - rtc::Rtc<'d,T>::schedule_alarm (line 150) - compile ... ok
test src/lib.rs - install_core0_stack_guard (line 517) - compile ... ok
test src/multicore.rs - multicore (line 13) - compile ... ok
test src/lib.rs - (line 76) ... ok
test result: ok. 4 passed; 0 failed; 10 ignored; 0 measured; 0 filtered out; finished in 0.13s
all doctests ran in 0.62s; merged doctests compilation took 0.49s
Compiling rp-pac v7.0.0
Compiling embassy-rp v0.9.0 (/ci/code/embassy-rp)
warning: unused import: `core::arch::asm`
--> src/clocks.rs:66:5
|
66 | use core::arch::asm;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `RW` and `Reg`
--> src/clocks.rs:75:26
|
75 | use crate::pac::common::{RW, Reg};
| ^^ ^^^
warning: unused import: `super::*`
--> src/clocks.rs:1989:9
|
1989 | use super::*;
| ^^^^^^^^
warning: variable does not need to be mutable
--> src/psram.rs:316:13
|
316 | let mut kgd: u32 = 0;
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/psram.rs:318:13
|
318 | let mut eid: u32 = 0;
| ----^^^
| |
| help: remove this `mut`
warning: unused variable: `qmi_base`
--> src/psram.rs:320:13
|
320 | let qmi_base = qmi.as_ptr() as usize;
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qmi_base`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `config`
--> src/psram.rs:615:44
|
615 | unsafe fn direct_csr_send_init_command(config: &Config, init_cmd: u8) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `init_cmd`
--> src/psram.rs:615:61
|
615 | unsafe fn direct_csr_send_init_command(config: &Config, init_cmd: u8) {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_cmd`
warning: constant `RESET_ENABLE_CMD` is never used
--> src/psram.rs:312:15
|
312 | const RESET_ENABLE_CMD: u8 = 0xf5;
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: constant `READ_ID_CMD` is never used
--> src/psram.rs:313:15
|
313 | const READ_ID_CMD: u8 = 0x9f;
| ^^^^^^^^^^^
warning: methods `check_alarm` and `trigger_alarm` are never used
--> src/time_driver.rs:86:8
|
60 | impl TimerDriver {
| ---------------- methods in this implementation
...
86 | fn check_alarm(&self) {
| ^^^^^^^^^^^
...
104 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
warning: `embassy-rp` (lib) generated 10 warnings (run `cargo fix --lib -p embassy-rp` to apply 7 suggestions)
warning: `embassy-rp` (lib test) generated 11 warnings (10 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 1 suggestion)
Finished `test` profile [unoptimized + debuginfo] target(s) in 8.75s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-c937fb322dec6f32)
running 2 tests
test pio_programs::clock_divider::tests::clock_divider_math ... ok
test block::test::make_hashed_partition_table ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_rp
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
--> src/multicore.rs:60:1
|
60 |
| ^
warning: 1 warning emitted
running 18 tests
test src/aon_timer/mod.rs - aon_timer (line 103) ... ignored
test src/aon_timer/mod.rs - aon_timer (line 128) ... ignored
test src/aon_timer/mod.rs - aon_timer (line 50) ... ignored
test src/aon_timer/mod.rs - aon_timer (line 77) ... ignored
test src/aon_timer/mod.rs - aon_timer::AonTimer<'d>::new (line 288) ... ignored
test src/aon_timer/mod.rs - aon_timer::AonTimer<'d>::wait_for_alarm (line 677) ... ignored
test src/clocks.rs - clocks (line 19) ... ignored
test src/clocks.rs - clocks (line 42) ... ignored
test src/clocks.rs - clocks (line 47) ... ignored
test src/clocks.rs - clocks (line 52) ... ignored
test src/clocks.rs - clocks (line 57) ... ignored
test src/clocks.rs - clocks::find_pll_params (line 891) ... ignored
test src/lib.rs - (line 92) ... ignored
test src/lib.rs - bind_interrupts (line 171) ... ignored
test src/multicore.rs - multicore (line 13) - compile ... ok
test src/trng.rs - trng::Trng (line 130) - compile ... ok
test src/lib.rs - install_core0_stack_guard (line 517) - compile ... ok
test src/lib.rs - (line 76) ... ok
test result: ok. 4 passed; 0 failed; 14 ignored; 0 measured; 0 filtered out; finished in 0.11s
all doctests ran in 0.59s; merged doctests compilation took 0.48s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/stm32-data-generated`
From https://github.com/embassy-rs/stm32-data-generated
* [new tag] stm32-data-0f4c948b5c81ebe421fe902857ccdb39029651f6 -> origin/tags/stm32-data-0f4c948b5c81ebe421fe902857ccdb39029651f6
Locking 177 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding proptest-state-machine v0.3.1 (available: v0.7.0)
Adding rand_core v0.6.4 (available: v0.10.0)
Adding rand_core v0.9.5 (available: v0.10.0)
Downloading crates ...
Downloaded bit_field v0.10.3
Downloaded fastrand v2.3.0
Downloaded getrandom v0.4.2
Downloaded errno v0.3.14
Downloaded embedded-can v0.4.1
Downloaded wait-timeout v0.2.1
Downloaded unarray v0.1.4
Downloaded trait-set v0.3.0
Downloaded quick-error v1.2.3
Downloaded sdio-host v0.9.0
Downloaded tempfile v3.26.0
Downloaded stm32-fmc v0.4.0
Downloaded static_assertions v1.1.0
Downloaded rand v0.9.2
Downloaded rusty-fork v0.3.1
Downloaded proptest-state-machine v0.3.1
Downloaded rand_xorshift v0.4.0
Downloaded rand_chacha v0.9.0
Downloaded getrandom v0.3.4
Downloaded aligned v0.4.3
Downloaded block-device-driver v0.2.0
Downloaded as-slice v0.2.1
Downloaded proptest v1.10.0
Downloaded rustix v1.1.4
Downloaded linux-raw-sys v0.12.1
Compiling getrandom v0.3.4
Compiling regex-syntax v0.8.10
Compiling nb v0.1.3
Compiling num-traits v0.2.19
Compiling rustix v1.1.4
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling getrandom v0.4.2
Compiling bitflags v2.11.0
Compiling stm32-metapac v19.0.0 (https://github.com/embassy-rs/stm32-data-generated?tag=stm32-data-0f4c948b5c81ebe421fe902857ccdb39029651f6#da4c0083)
Compiling linux-raw-sys v0.12.1
Compiling syn v1.0.109
Compiling fastrand v2.3.0
Compiling embedded-hal v0.2.7
Compiling once_cell v1.21.3
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling cortex-m v0.7.7
Compiling ppv-lite86 v0.2.21
Compiling as-slice v0.2.1
Compiling wait-timeout v0.2.1
Compiling quick-error v1.2.3
Compiling fnv v1.0.7
Compiling rand_core v0.9.5
Compiling bit-vec v0.8.0
Compiling aligned v0.4.3
Compiling rand v0.9.2
Compiling rand_xorshift v0.4.0
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling futures-task v0.3.32
Compiling rand_chacha v0.9.0
Compiling unarray v0.1.4
Compiling futures-util v0.3.32
Compiling embassy-usb-synopsys-otg v0.3.1 (/ci/code/embassy-usb-synopsys-otg)
Compiling bit-set v0.8.0
Compiling block-device-driver v0.2.0
Compiling stm32-fmc v0.4.0
Compiling embedded-can v0.4.1
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-net-driver v0.2.0 (/ci/code/embassy-net-driver)
Compiling sdio-host v0.9.0
Compiling bit_field v0.10.3
Compiling static_assertions v1.1.0
Compiling regex-automata v0.4.14
Compiling tempfile v3.26.0
Compiling trait-set v0.3.0
Compiling rusty-fork v0.3.1
Compiling proptest v1.10.0
Compiling regex v1.12.3
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
Compiling proptest-state-machine v0.3.1
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver/gp16.rs:164:19
|
112 | impl RtcDriver {
| -------------- methods in this implementation
...
164 | pub(crate) fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
193 | fn next_period(&self) {
| ^^^^^^^^^^^
...
215 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `get_driver` is never used
--> src/time_driver/gp16.rs:370:21
|
370 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib) generated 2 warnings
warning: `embassy-stm32` (lib test) generated 2 warnings (2 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 33s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-a6da9c880bdb4841)
running 26 tests
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test flash::family::tests::can_get_sector ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::tests::can_compute_reload_value ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 100) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 186) ... ignored
test src/lib.rs - bind_interrupts (line 196) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 400) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 939) ... ignored
test src/timer/ringbuffered.rs - timer::ringbuffered::RingBufferedPwmChannel (line 22) ... ignored
test src/timer/simple_pwm.rs - timer::simple_pwm::SimplePwm<'d,T>::waveform_up_multi_channel (line 502) ... ignored
test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.23s; merged doctests compilation took 0.23s
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver/gp16.rs:164:19
|
112 | impl RtcDriver {
| -------------- methods in this implementation
...
164 | pub(crate) fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
193 | fn next_period(&self) {
| ^^^^^^^^^^^
...
215 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `get_driver` is never used
--> src/time_driver/gp16.rs:370:21
|
370 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib) generated 2 warnings
warning: `embassy-stm32` (lib test) generated 2 warnings (2 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 14.10s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-ecf7192243c2ce51)
running 26 tests
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test flash::family::tests::can_get_sector ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 100) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 186) ... ignored
test src/lib.rs - bind_interrupts (line 196) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 400) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 939) ... ignored
test src/timer/ringbuffered.rs - timer::ringbuffered::RingBufferedPwmChannel (line 22) ... ignored
test src/timer/simple_pwm.rs - timer::simple_pwm::SimplePwm<'d,T>::waveform_up_multi_channel (line 502) ... ignored
test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.24s; merged doctests compilation took 0.24s
Compiling stm32-metapac v19.0.0 (https://github.com/embassy-rs/stm32-data-generated?tag=stm32-data-0f4c948b5c81ebe421fe902857ccdb39029651f6#da4c0083)
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver/gp16.rs:164:19
|
112 | impl RtcDriver {
| -------------- methods in this implementation
...
164 | pub(crate) fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
193 | fn next_period(&self) {
| ^^^^^^^^^^^
...
215 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `get_driver` is never used
--> src/time_driver/gp16.rs:370:21
|
370 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib test) generated 2 warnings (2 duplicates)
warning: `embassy-stm32` (lib) generated 2 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 15.08s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-5fd93e6d2e1ba2f3)
running 26 tests
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test timer::low_level::tests::test_div_round ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test wdg::tests::can_compute_reload_value ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::tests::can_compute_timeout_us ... ok
test flash::family::tests::can_get_sector ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 100) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 186) ... ignored
test src/lib.rs - bind_interrupts (line 196) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 400) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 939) ... ignored
test src/timer/ringbuffered.rs - timer::ringbuffered::RingBufferedPwmChannel (line 22) ... ignored
test src/timer/simple_pwm.rs - timer::simple_pwm::SimplePwm<'d,T>::waveform_up_multi_channel (line 502) ... ignored
test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.27s; merged doctests compilation took 0.27s
Compiling stm32-metapac v19.0.0 (https://github.com/embassy-rs/stm32-data-generated?tag=stm32-data-0f4c948b5c81ebe421fe902857ccdb39029651f6#da4c0083)
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver/gp16.rs:164:19
|
112 | impl RtcDriver {
| -------------- methods in this implementation
...
164 | pub(crate) fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
193 | fn next_period(&self) {
| ^^^^^^^^^^^
...
215 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `get_driver` is never used
--> src/time_driver/gp16.rs:370:21
|
370 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib) generated 2 warnings
warning: `embassy-stm32` (lib test) generated 2 warnings (2 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 18.02s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-4343ae4b652601f5)
running 26 tests
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 100) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 186) ... ignored
test src/lib.rs - bind_interrupts (line 196) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 400) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 939) ... ignored
test src/timer/ringbuffered.rs - timer::ringbuffered::RingBufferedPwmChannel (line 22) ... ignored
test src/timer/simple_pwm.rs - timer::simple_pwm::SimplePwm<'d,T>::waveform_up_multi_channel (line 502) ... ignored
test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.23s; merged doctests compilation took 0.23s
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
warning: unused import: `super::*`
--> src/flash/f7.rs:101:9
|
101 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `FlashBank` and `get_sector`
--> src/flash/f7.rs:102:24
|
102 | use crate::flash::{FlashBank, get_sector};
| ^^^^^^^^^ ^^^^^^^^^^
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver/gp16.rs:164:19
|
112 | impl RtcDriver {
| -------------- methods in this implementation
...
164 | pub(crate) fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
193 | fn next_period(&self) {
| ^^^^^^^^^^^
...
215 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `get_driver` is never used
--> src/time_driver/gp16.rs:370:21
|
370 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p embassy-stm32 --tests` to apply 2 suggestions)
warning: `embassy-stm32` (lib) generated 2 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 15.33s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-322edbfd16e3a251)
running 25 tests
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 100) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 186) ... ignored
test src/lib.rs - bind_interrupts (line 196) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 400) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 939) ... ignored
test src/timer/ringbuffered.rs - timer::ringbuffered::RingBufferedPwmChannel (line 22) ... ignored
test src/timer/simple_pwm.rs - timer::simple_pwm::SimplePwm<'d,T>::waveform_up_multi_channel (line 502) ... ignored
test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.26s; merged doctests compilation took 0.26s
Updating crates.io index
Locking 76 packages to latest Rust 1.92.0 compatible versions
Adding bitfield v0.14.0 (available: v0.19.4)
Adding embedded-hal-bus v0.1.0 (available: v0.3.0)
Adding embedded-hal-mock v0.10.0 (available: v0.11.1)
Adding env_logger v0.10.2 (available: v0.11.9)
Downloading crates ...
Downloaded bitfield v0.14.0
Downloaded crc-catalog v2.4.0
Downloaded embedded-hal-bus v0.1.0
Downloaded crc v3.4.0
Downloaded is-terminal v0.4.17
Downloaded num v0.3.1
Downloaded env_logger v0.10.2
Downloaded num-integer v0.1.46
Downloaded num-complex v0.3.1
Downloaded num-rational v0.3.2
Downloaded num-iter v0.1.45
Downloaded embedded-time v0.12.1
Downloaded embedded-hal-mock v0.10.0
Compiling num-traits v0.2.19
Compiling num-rational v0.3.2
Compiling void v1.0.2
Compiling embedded-hal-bus v0.1.0
Compiling is-terminal v0.4.17
Compiling bitfield v0.14.0
Compiling embassy-net-driver-channel v0.3.2 (/ci/code/embassy-net-driver-channel)
Compiling crc-catalog v2.4.0
Compiling env_logger v0.10.2
Compiling embedded-hal v0.2.7
Compiling crc v3.4.0
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling embassy-net-adin1110 v0.3.1 (/ci/code/embassy-net-adin1110)
Compiling num-integer v0.1.46
Compiling num-complex v0.3.1
Compiling num-iter v0.1.45
Compiling num v0.3.1
Compiling embedded-time v0.12.1
Compiling embedded-hal-mock v0.10.0
Finished `test` profile [unoptimized + debuginfo] target(s) in 8.42s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_net_adin1110-67f19358a9436d8d)
running 20 tests
test crc32::tests::crc32_ethernet_frame ... ok
test tests::mac_read_registers_with_crc ... ok
test tests::mac_write_registers_without_crc ... ok
test tests::read_packet_from_fifo_packet_too_big_for_frame_buffer ... ok
test tests::mac_write_registers_with_crc ... ok
test tests::mac_read_registers_without_crc ... ok
test mdio::tests::read_test ... ok
test crc8::tests::spi_header_crc8 ... ok
test mdio::tests::write_test ... ok
test crc32::tests::crc32_update ... ok
test tests::read_packet_from_fifo_packet_corrupted_fcs ... ok
test tests::write_packet_to_fifo_minimal_with_crc ... ok
test tests::write_packet_to_fifo_arp_46bytes_with_crc ... ok
test tests::write_packet_to_fifo_invalid_lengths ... ok
test tests::write_packet_to_fifo_minimal_with_crc_without_fcs ... ok
test tests::read_packet_from_fifo_packet_too_small ... ok
test tests::write_packet_to_fifo_max_mtu_with_crc ... ok
test tests::read_packet_to_fifo_check_spi_read_multipule_of_u32_valid_lengths ... ok
test tests::spi_crc_error ... ok
test tests::write_packet_to_fifo_arp_46bytes_without_crc ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_net_adin1110
running 2 tests
test src/../README.md - (line 52) ... ignored
test src/../README.md - (line 65) ... ignored
test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
Updating crates.io index
Locking 124 packages to latest Rust 1.92.0 compatible versions
Adding esp32c3-hal v0.13.0 (available: v0.15.1)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding toml_datetime v0.6.3 (available: v0.6.11)
Adding toml_edit v0.20.2 (available: v0.20.7)
Downloading crates ...
Downloaded anyhow v1.0.102
Downloaded displaydoc v0.2.5
Downloaded thiserror-impl v1.0.69
Downloaded thiserror v1.0.69
Downloaded bytes v1.11.1
Downloaded pretty-hex v0.3.0
Downloaded dfu-core v0.10.0
Compiling embassy-usb v0.5.1 (/ci/code/embassy-usb)
Compiling thiserror v1.0.69
Compiling syn v2.0.117
Compiling crypto-common v0.1.7
Compiling signature v2.2.0
Compiling embassy-net-driver-channel v0.3.2 (/ci/code/embassy-net-driver-channel)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling anyhow v1.0.102
Compiling pretty-hex v0.3.0
Compiling bytes v1.11.1
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling digest v0.10.7
Compiling embassy-boot v0.6.1 (/ci/code/embassy-boot)
Compiling embassy-usb-dfu v0.2.0 (/ci/code/embassy-usb-dfu)
Compiling thiserror-impl v1.0.69
Compiling displaydoc v0.2.5
Compiling dfu-core v0.10.0
Finished `test` profile [unoptimized + debuginfo] target(s) in 9.16s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_usb_dfu-382bea5c2e51a66e)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/usb_dfu_test.rs (/ci/cache/target/debug/deps/usb_dfu_test-4a5ae0b0399d79e1)
running 4 tests
test test_usb_dfu_will_detach ... ok
test test_usb_dfu ... ok
test test_usb_dfu_manifestation_tolerant ... ok
test test_usb_dfu_manifestation_tolerant_will_detach ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_usb_dfu
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s