+ git clone -n https://github.com/Guacimo/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout 4b9a43638ae80e90866b0a0e4ee2ca60de5adc24
HEAD is now at 4b9a43638 Update to new pac
+ exec .github/ci/test.sh
Updating crates.io index
Locking 181 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)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_executor-f64e2f11f3cd41f4)
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-b6dceb078b7a2fe5)
running 10 tests
test waking_after_completion_does_not_poll ... ok
test executor_noop ... ok
test waking_with_old_waker_after_respawn ... ok
test executor_task ... ok
test recursive_task ... ok
test executor_task_self_wake_twice ... ok
test executor_task_rpit ... ok
test executor_task_cfg_args ... ok
test task_metadata ... ok
test executor_task_self_wake ... 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-5c3880ff496f414a)
running 1 test
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor-tests v0.0.0 (/ci/cache/target/tests/trybuild/embassy-executor)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.81s
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 9.63s
Doc-tests embassy_executor
running 3 tests
test src/lib.rs - (line 45) ... ignored
test src/lib.rs - (line 56) ... ignored
test src/raw/mod.rs - raw::Executor (line 513) ... ok
test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.32s; merged doctests compilation took 0.32s
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.63s
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::join3 (line 160) ... ok
test src/join.rs - join::join (line 132) ... ok
test src/join.rs - join::join5 (line 227) ... ok
test src/join.rs - join::join_array (line 306) ... ok
test src/join.rs - join::join4 (line 190) ... ok
test src/yield_now.rs - yield_now::yield_now (line 12) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.52s; merged doctests compilation took 0.51s
Updating crates.io index
Locking 60 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.37s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_sync-4b49d042007ce647)
running 103 tests
test channel::tests::cloning ... ok
test channel::tests::dynamic_dispatch_into ... ok
test channel::tests::sending_when_full ... ok
test channel::tests::sending_once ... ok
test lazy_lock::tests::test_lazy_drop ... ok
test channel::tests::receiving_when_empty ... ok
test channel::tests::dynamic_dispatch_constructor ... ok
test channel::tests::simple_send_and_receive ... ok
test channel::tests::receiving_once_with_one_send ... ok
test lazy_lock::tests::test_lazy_lock_mutation ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test lazy_lock::tests::test_lazy_lock ... ok
test once_lock::tests::once_lock_async ... ok
test once_lock::tests::once_lock_get_or_init ... ok
test lazy_lock::tests::test_lazy_lock_into_inner ... ok
test once_lock::tests::once_lock_static ... ok
test pipe::tests::read_buf ... ok
test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
test once_lock::tests::once_lock_take_init ... ok
test pipe::tests::dynamic_dispatch_pipe ... ok
test once_lock::tests::once_lock ... ok
test channel::tests::sender_send_completes_if_capacity ... ok
test once_lock::tests::once_lock_into_inner ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test pipe::tests::receiver_receives_given_try_write_async ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test pipe::tests::write_all_across_rollover ... ok
test pipe::tests::simple_send_and_receive ... ok
test pipe::tests::writing_once ... ok
test pipe::tests::writing_when_full ... ok
test priority_channel::tests::dynamic_dispatch ... ok
test priority_channel::tests::cloning ... ok
test priority_channel::tests::receiving_once_with_one_send ... ok
test pipe::tests::write_read_across_rollover ... ok
test priority_channel::tests::receiving_when_empty ... ok
test pipe::tests::writer_is_cloneable ... ok
test priority_channel::tests::send_priority ... ok
test priority_channel::tests::sender_send_completes_if_capacity ... ok
test priority_channel::tests::receiver_receives_given_try_send_async ... ok
test priority_channel::tests::sending_once ... ok
test priority_channel::tests::sending_when_full ... ok
test priority_channel::tests::simple_send_and_receive ... ok
test pubsub::tests::all_subscribers_receive ... ok
test pubsub::tests::dyn_pub_sub_works ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
test pubsub::tests::correct_len ... 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 pubsub::tests::send_dyn_are_send_sync ... ok
test rpc_service::tests::cancel_after_submit_no_leak ... ok
test rpc_service::tests::cancel_before_acquire_then_next_call ... ok
test pubsub::tests::skip_clone_for_last_message ... ok
test rpc_service::tests::basic ... ok
test rpc_service::tests::different_return_types ... ok
test rpc_service::tests::poll_after_completion_panics - should panic ... ok
test rpc_service::tests::restart_many_cycles ... ok
test rpc_service::tests::drop_glue_on_service_drop ... ok
test rpc_service::tests::zero_sized_return ... ok
test rpc_service::tests::restart_with_pending_job ... ok
test rpc_service::tests::try_call_immediate ... ok
test rwlock::tests::read_guard_releases_lock_when_dropped ... ok
test semaphore::tests::fair::acquire ... ok
test semaphore::tests::fair::acquire_all ... ok
test semaphore::tests::fair::fairness ... ok
test semaphore::tests::fair::release ... ok
test semaphore::tests::fair::set ... ok
test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
test semaphore::tests::fair::contested ... ok
test semaphore::tests::fair::disarm ... ok
test rpc_service::tests::concurrent_run_panics - should panic ... ok
test semaphore::tests::fair::try_acquire ... ok
test rpc_service::tests::restart_after_cancel_mid_job ... ok
test semaphore::tests::greedy::contested ... ok
test semaphore::tests::fair::try_acquire_all ... ok
test semaphore::tests::greedy::acquire_all ... ok
test watch::tests::all_try_get ... ok
test semaphore::tests::greedy::disarm ... ok
test semaphore::tests::greedy::greedy ... ok
test semaphore::tests::greedy::release ... ok
test semaphore::tests::greedy::set ... ok
test semaphore::tests::greedy::try_acquire_all ... ok
test semaphore::tests::greedy::try_acquire ... ok
test semaphore::tests::greedy::acquire ... ok
test watch::tests::dynamic_receiver_count ... ok
test watch::tests::predicate_fn ... ok
test watch::tests::multiple_receivers ... ok
test watch::tests::multiple_sends ... ok
test watch::tests::once_lock_like ... ok
test watch::tests::clone_senders ... ok
test watch::tests::contains_value ... ok
test watch::tests::convert_to_dyn ... ok
test watch::tests::receive_after_create ... ok
test watch::tests::sender_modify ... ok
test watch::tests::use_dynamics ... ok
test watch::tests::max_receivers_drop ... 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. 103 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-5c83f908c12269c7)
running 1 test
Checking embassy-sync v0.8.0 (/ci/code/embassy-sync)
Checking embassy-sync-tests v0.0.0 (/ci/cache/target/tests/trybuild/embassy-sync)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.90s
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 tests/ui/pubsub_send/subscriber_noop_mutex.rs ... ok
test tests/ui/pubsub_send/publisher_noop_mutex.rs ... ok
test tests/ui/pubsub_send/immediate_publisher_noop_mutex.rs ... ok
test ui ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.27s
Doc-tests embassy_sync
running 10 tests
test src/rpc_service.rs - rpc_service::RpcService (line 403) ... ignored
test src/channel.rs - channel (line 22) ... ok
test src/watch.rs - watch::Watch (line 26) ... ok
test src/signal.rs - signal::Signal (line 24) ... ok
test src/once_lock.rs - once_lock::OnceLock (line 21) ... ok
test src/priority_channel.rs - priority_channel::PriorityChannel<M,T,K,N>::new (line 495) ... ok
test src/channel.rs - channel::Channel<M,T,N>::new (line 831) ... ok
test src/pipe.rs - pipe::Pipe<M,N>::new (line 255) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 37) ... ok
test src/lazy_lock.rs - lazy_lock::LazyLock (line 13) ... ok
test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.69s; merged doctests compilation took 0.67s
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)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_embedded_hal-60ba455186e2010e)
running 9 tests
test flash::partition::asynch::tests::can_erase ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::blocking::tests::can_write ... ok
test flash::concat_flash::tests::can_write_and_read_across_flashes ... ok
test flash::partition::asynch::tests::can_read ... ok
test flash::concat_flash::tests::can_erase_across_flashes ... ok
test adapter::yielding_async::tests::can_erase ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::partition::asynch::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.27s; merged doctests compilation took 0.26s
Updating crates.io index
Locking 28 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_hal_internal-9b7bcf238f7f2981)
running 4 tests
test ratio::tests::basics ... ok
test atomic_ring_buffer::tests::push_pop ... ok
test atomic_ring_buffer::tests::zero_len ... ok
test atomic_ring_buffer::tests::push_slices ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
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)
Compiling embassy-time-queue-utils v0.3.2 (/ci/code/embassy-time-queue-utils)
Compiling embassy-time-driver v0.2.2 (/ci/code/embassy-time-driver)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time-bccfd68a9ed5775b)
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::Timer::after (line 118) - compile ... ok
test src/timer.rs - timer::Ticker (line 200) - compile ... ok
test src/timer.rs - timer::Ticker (line 218) - 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.35s; merged doctests compilation took 0.34s
Updating crates.io index
Locking 9 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-time-driver v0.2.2 (/ci/code/embassy-time-driver)
Compiling embassy-time-queue-utils v0.3.2 (/ci/code/embassy-time-queue-utils)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time_driver-e78ceb06a64bfedf)
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 172) ... ok
test src/lib.rs - (line 142) ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.46s; merged doctests compilation took 0.45s
Updating crates.io index
Locking 102 packages to latest Rust 1.92.0 compatible versions
Adding digest v0.10.7 (available: v0.11.2)
Adding env_logger v0.9.3 (available: v0.11.10)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding rand v0.8.6 (available: v0.10.1)
Adding sha1 v0.10.6 (available: v0.11.0)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-boot v0.7.0 (/ci/code/embassy-boot)
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 2.05s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-8aafe40af7f163fa)
running 13 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_cross_sector_boundary ... ok
test tests::test_boot_state ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test tests::test_swap_state_active_page_biggest ... ok
test tests::test_swap_state_dfu_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.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.25s; merged doctests compilation took 0.25s
Compiling embassy-boot v0.7.0 (/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 0.66s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-ab54cd865e960292)
running 11 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::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_sector_bigger_than_chunk ... ok
test tests::test_boot_state ... 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 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.25s; merged doctests compilation took 0.24s
Compiling embassy-boot v0.7.0 (/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 0.64s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-b926f3f5c625f8e6)
running 11 tests
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test boot_loader::tests::test_range_asserts - should panic ... ok
test tests::test_boot_state ... 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::blocking::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_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.12s
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.25s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/nrf-pac`
Locking 71 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding fixed v1.30.0 (available: v1.31.0, requires Rust 1.93)
Adding rand_core v0.6.4 (available: v0.10.1)
Adding rand_core v0.9.5 (available: v0.10.1)
Compiling embassy-time-driver v0.2.2 (/ci/code/embassy-time-driver)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-usb-driver v0.2.0 (/ci/code/embassy-usb-driver)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-nrf v0.10.0 (/ci/code/embassy-nrf)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver.rs:270:8
|
186 | impl RtcDriver {
| -------------- methods in this implementation
...
270 | fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
295 | fn next_period(&self) {
| ^^^^^^^^^^^
...
313 | 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
warning: `embassy-nrf` (lib) generated 4 warnings (4 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.98s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_nrf-ff376da4a729af74)
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 250) ... ignored
test src/lib.rs - bind_interrupts (line 263) ... 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.38s; merged doctests compilation took 0.37s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/rp-pac`
Locking 167 packages to latest Rust 1.92.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding fixed v1.30.0 (available: v1.31.0, requires Rust 1.93)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding rand_core v0.6.4 (available: v0.10.1)
Adding rand_core v0.9.5 (available: v0.10.1)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-rp v0.10.0 (/ci/code/embassy-rp)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
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: `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: `output_freq`
--> src/clocks.rs:2046:17
|
2046 | 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`
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 (7 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 3 suggestions)
warning: `embassy-rp` (lib) generated 9 warnings (1 duplicate) (run `cargo fix --lib -p embassy-rp` to apply 7 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 7.64s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-2a55a0fd0fa8e767)
running 5 tests
test clocks::tests::test_find_pll_params ... ok
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 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 | use crate::{Peri, gpio, install_stack_guard, interrupt, pac};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 94) ... ignored
test src/lib.rs - bind_interrupts (line 173) ... ignored
test src/lib.rs - install_core0_stack_guard (line 519) - compile ... ok
test src/rtc/mod.rs - rtc::Rtc<'d,T>::schedule_alarm (line 150) - compile ... ok
test src/multicore.rs - multicore (line 13) - compile ... ok
test src/lib.rs - (line 78) ... ok
test result: ok. 4 passed; 0 failed; 10 ignored; 0 measured; 0 filtered out; finished in 0.20s
all doctests ran in 0.95s; merged doctests compilation took 0.75s
Compiling embassy-rp v0.10.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:2006:9
|
2006 | 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 test) generated 11 warnings (run `cargo fix --lib -p embassy-rp --tests` to apply 8 suggestions)
warning: `embassy-rp` (lib) generated 10 warnings (10 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.27s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-73366946cc3f12ac)
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.01s
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 | use crate::{Peri, gpio, install_stack_guard, interrupt, pac};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 658) ... 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 94) ... ignored
test src/lib.rs - bind_interrupts (line 173) ... 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 519) - compile ... ok
test src/lib.rs - (line 78) ... ok
test result: ok. 4 passed; 0 failed; 14 ignored; 0 measured; 0 filtered out; finished in 0.51s
all doctests ran in 1.38s; merged doctests compilation took 0.87s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/stm32-data-generated`
Locking 183 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.8.0)
Adding rand_core v0.6.4 (available: v0.10.1)
Adding rand_core v0.9.5 (available: v0.10.1)
Compiling embassy-time-driver v0.2.2 (/ci/code/embassy-time-driver)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-stm32 v0.6.0 (/ci/code/embassy-stm32)
Compiling embassy-net-driver v0.2.0 (/ci/code/embassy-net-driver)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-usb-synopsys-otg v0.3.2 (/ci/code/embassy-usb-synopsys-otg)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.88s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-b1ae46aaf55875b9)
running 52 tests
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... 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_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... 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::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... ok
test i2c::config::tests::addr_method_returns_raw_value ... ok
test i2c::config::tests::from_u16_gives_ten_bit ... ok
test i2c::config::tests::into_address_accepts_u8 ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test i2c::config::tests::from_u16_rejects_out_of_range - should panic ... ok
test i2c::config::tests::from_u8_gives_seven_bit ... ok
test i2c::config::tests::into_address_accepts_address ... ok
test i2c::config::tests::read_header_equals_write_header_or_one ... ok
test i2c::config::tests::read_header_seven_bit_reserved_range ... ok
test i2c::config::tests::read_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_seven_bit_zero ... ok
test i2c::config::tests::read_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::read_header_ten_bit_max ... ok
test i2c::config::tests::read_header_ten_bit_zero ... ok
test i2c::config::tests::reserved_range_boundaries ... ok
test i2c::config::tests::reserved_range_common_addresses ... ok
test i2c::config::tests::reserved_range_ten_bit_is_never_reserved ... ok
test i2c::config::tests::write_header_seven_bit_reserved_range ... ok
test i2c::config::tests::write_header_seven_bit_zero ... ok
test i2c::config::tests::read_header_seven_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_zero ... ok
test i2c::config::tests::ten_bit_second_byte_is_low_byte ... ok
test i2c::config::tests::write_header_seven_bit_max ... ok
test i2c::config::tests::write_header_seven_bit_standard ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_exact ... 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_rounded_up ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test i2c::config::tests::write_header_ten_bit_all_upper_bit_combos ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test rtc::datetime::test_millis_from_unix_epoch ... ok
test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.99s
Doc-tests embassy_stm32
running 9 tests
test src/adc/mod.rs - adc::Adc<'d,T>::read (line 325) ... ignored
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,R>::read (line 105) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 199) ... ignored
test src/lib.rs - bind_interrupts (line 209) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 548) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 941) ... 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; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.79s; merged doctests compilation took 0.78s
Compiling embassy-stm32 v0.6.0 (/ci/code/embassy-stm32)
warning: method `trigger_alarm` is never used
--> src/time_driver/gp16.rs:219:8
|
114 | impl RtcDriver {
| -------------- method in this implementation
...
219 | 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:366:21
|
366 | pub(crate) const fn get_driver() -> &'static RtcDriver {
| ^^^^^^^^^^
warning: `embassy-stm32` (lib test) generated 2 warnings
warning: `embassy-stm32` (lib) generated 2 warnings (2 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.13s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-d5a1f43fbda9715b)
running 51 tests
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... 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::dma_index_as_index_returns_index_mod_cap_by_default ... ok
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_returns_most_recent_data ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... ok
test i2c::config::tests::addr_method_returns_raw_value ... ok
test i2c::config::tests::from_u16_gives_ten_bit ... ok
test i2c::config::tests::from_u16_rejects_out_of_range - should panic ... ok
test i2c::config::tests::into_address_accepts_address ... ok
test i2c::config::tests::into_address_accepts_u8 ... ok
test i2c::config::tests::read_header_seven_bit_reserved_range ... ok
test i2c::config::tests::read_header_equals_write_header_or_one ... ok
test i2c::config::tests::read_header_seven_bit_max ... ok
test i2c::config::tests::read_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::read_header_ten_bit_max ... ok
test i2c::config::tests::reserved_range_boundaries ... ok
test i2c::config::tests::read_header_seven_bit_zero ... ok
test i2c::config::tests::write_header_seven_bit_reserved_range ... ok
test i2c::config::tests::write_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_ten_bit_zero ... ok
test i2c::config::tests::write_header_seven_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_zero ... 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 wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test i2c::config::tests::reserved_range_common_addresses ... ok
test i2c::config::tests::write_header_seven_bit_zero ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test i2c::config::tests::write_header_ten_bit_all_upper_bit_combos ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test i2c::config::tests::ten_bit_second_byte_is_low_byte ... ok
test i2c::config::tests::reserved_range_ten_bit_is_never_reserved ... ok
test i2c::config::tests::from_u8_gives_seven_bit ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
Doc-tests embassy_stm32
running 9 tests
test src/adc/mod.rs - adc::Adc<'d,T>::read (line 325) ... ignored
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,R>::read (line 105) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 199) ... ignored
test src/lib.rs - bind_interrupts (line 209) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 548) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 941) ... 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; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.61s; merged doctests compilation took 0.60s
Compiling embassy-stm32 v0.6.0 (/ci/code/embassy-stm32)
warning: method `trigger_alarm` is never used
--> src/time_driver/gp16.rs:219:8
|
114 | impl RtcDriver {
| -------------- method in this implementation
...
219 | 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:366:21
|
366 | 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 4.97s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-f6cf7174866d12fb)
running 51 tests
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... 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::read_latest_returns_most_recent_data ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test i2c::config::tests::from_u16_gives_ten_bit ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test i2c::config::tests::from_u16_rejects_out_of_range - should panic ... ok
test i2c::config::tests::into_address_accepts_address ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test i2c::config::tests::addr_method_returns_raw_value ... ok
test i2c::config::tests::into_address_accepts_u8 ... ok
test i2c::config::tests::read_header_equals_write_header_or_one ... ok
test i2c::config::tests::read_header_seven_bit_max ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test i2c::config::tests::from_u8_gives_seven_bit ... ok
test i2c::config::tests::read_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_seven_bit_zero ... ok
test i2c::config::tests::read_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::read_header_seven_bit_reserved_range ... ok
test i2c::config::tests::read_header_ten_bit_max ... ok
test i2c::config::tests::read_header_ten_bit_zero ... ok
test i2c::config::tests::reserved_range_boundaries ... ok
test i2c::config::tests::reserved_range_common_addresses ... ok
test i2c::config::tests::reserved_range_ten_bit_is_never_reserved ... ok
test i2c::config::tests::ten_bit_second_byte_is_low_byte ... ok
test i2c::config::tests::write_header_seven_bit_max ... ok
test i2c::config::tests::write_header_seven_bit_reserved_range ... ok
test i2c::config::tests::write_header_ten_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_zero ... 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 wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test i2c::config::tests::write_header_seven_bit_standard ... ok
test i2c::config::tests::write_header_seven_bit_zero ... ok
test i2c::config::tests::write_header_ten_bit_all_upper_bit_combos ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
Doc-tests embassy_stm32
running 9 tests
test src/adc/mod.rs - adc::Adc<'d,T>::read (line 325) ... ignored
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,R>::read (line 105) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 199) ... ignored
test src/lib.rs - bind_interrupts (line 209) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 548) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 941) ... 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; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.46s; merged doctests compilation took 0.45s
Compiling embassy-stm32 v0.6.0 (/ci/code/embassy-stm32)
warning: method `trigger_alarm` is never used
--> src/time_driver/gp16.rs:219:8
|
114 | impl RtcDriver {
| -------------- method in this implementation
...
219 | 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:366:21
|
366 | 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 5.20s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-cd93c2b2eadf0bfc)
running 51 tests
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::read_latest_reads_all_when_buffer_is_large ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test i2c::config::tests::addr_method_returns_raw_value ... ok
test i2c::config::tests::from_u16_gives_ten_bit ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test i2c::config::tests::from_u8_gives_seven_bit ... ok
test i2c::config::tests::into_address_accepts_u8 ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test i2c::config::tests::read_header_seven_bit_max ... ok
test i2c::config::tests::read_header_seven_bit_reserved_range ... ok
test i2c::config::tests::read_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_seven_bit_zero ... ok
test i2c::config::tests::read_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::read_header_ten_bit_max ... ok
test i2c::config::tests::reserved_range_common_addresses ... ok
test i2c::config::tests::reserved_range_ten_bit_is_never_reserved ... ok
test i2c::config::tests::read_header_ten_bit_zero ... ok
test flash::family::tests::can_get_sector ... ok
test i2c::config::tests::reserved_range_boundaries ... ok
test i2c::config::tests::ten_bit_second_byte_is_low_byte ... ok
test i2c::config::tests::write_header_seven_bit_max ... ok
test i2c::config::tests::write_header_seven_bit_reserved_range ... ok
test i2c::config::tests::write_header_seven_bit_standard ... ok
test i2c::config::tests::write_header_seven_bit_zero ... ok
test i2c::config::tests::write_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::write_header_ten_bit_max ... ok
test i2c::config::tests::into_address_accepts_address ... ok
test i2c::config::tests::write_header_ten_bit_zero ... ok
test i2c::config::tests::from_u16_rejects_out_of_range - 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 wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... ok
test wdg::wwdg_tests::ticks_rounded_up ... ok
test dma::ringbuffer::tests::alignment_skip_after_overrun ... ok
test i2c::config::tests::read_header_equals_write_header_or_one ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
Doc-tests embassy_stm32
running 9 tests
test src/adc/mod.rs - adc::Adc<'d,T>::read (line 325) ... ignored
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,R>::read (line 105) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 199) ... ignored
test src/lib.rs - bind_interrupts (line 209) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 548) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 941) ... 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; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.41s; merged doctests compilation took 0.40s
Compiling embassy-stm32 v0.6.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: method `trigger_alarm` is never used
--> src/time_driver/gp16.rs:219:8
|
114 | impl RtcDriver {
| -------------- method in this implementation
...
219 | 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:366:21
|
366 | 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 5.52s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-6a3f4f2c602c55c1)
running 50 tests
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... 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::alignment_no_skip_when_aligned ... ok
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... 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 i2c::config::tests::addr_method_returns_raw_value ... ok
test i2c::config::tests::from_u16_rejects_out_of_range - should panic ... ok
test i2c::config::tests::from_u16_gives_ten_bit ... ok
test dma::ringbuffer::tests::read_latest_with_alignment ... ok
test i2c::config::tests::from_u8_gives_seven_bit ... ok
test i2c::config::tests::into_address_accepts_u8 ... ok
test i2c::config::tests::read_header_equals_write_header_or_one ... ok
test i2c::config::tests::read_header_seven_bit_max ... ok
test i2c::config::tests::read_header_seven_bit_reserved_range ... ok
test i2c::config::tests::read_header_seven_bit_standard ... ok
test i2c::config::tests::read_header_seven_bit_zero ... ok
test i2c::config::tests::read_header_ten_bit_max ... ok
test i2c::config::tests::read_header_ten_bit_zero ... ok
test i2c::config::tests::read_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::reserved_range_ten_bit_is_never_reserved ... ok
test i2c::config::tests::write_header_seven_bit_max ... ok
test i2c::config::tests::write_header_seven_bit_reserved_range ... ok
test dma::ringbuffer::tests::read_latest_returns_most_recent_data ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test i2c::config::tests::into_address_accepts_address ... ok
test i2c::config::tests::write_header_seven_bit_standard ... ok
test i2c::config::tests::reserved_range_boundaries ... ok
test i2c::config::tests::write_header_seven_bit_zero ... ok
test i2c::config::tests::reserved_range_common_addresses ... ok
test i2c::config::tests::ten_bit_second_byte_is_low_byte ... ok
test timer::complementary_pwm::tests::test_compute_dead_time_value ... ok
test timer::low_level::tests::test_calculate_psc_arr ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test timer::low_level::tests::test_div_round ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test wdg::tests::can_compute_timeout_us ... ok
test wdg::wwdg_tests::ticks_large_prescaler ... ok
test wdg::wwdg_tests::ticks_exact ... ok
test i2c::config::tests::write_header_ten_bit_all_upper_bit_combos ... ok
test i2c::config::tests::write_header_ten_bit_max ... ok
test i2c::config::tests::write_header_ten_bit_zero ... ok
test wdg::wwdg_tests::ticks_minimum_duration ... 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. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
Doc-tests embassy_stm32
running 9 tests
test src/adc/mod.rs - adc::Adc<'d,T>::read (line 325) ... ignored
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,R>::read (line 105) ... ignored
test src/dac/mod.rs - dac::Dac (line 676) ... ignored
test src/lib.rs - bind_interrupts (line 199) ... ignored
test src/lib.rs - bind_interrupts (line 209) ... ignored
test src/timer/complementary_pwm.rs - timer::complementary_pwm::ComplementaryPwm<'d,T>::waveform_up_multi_channel (line 548) ... ignored
test src/timer/low_level.rs - timer::low_level::Timer<'d,T>::setup_update_dma_burst (line 941) ... 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; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.44s; merged doctests compilation took 0.44s
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.10)
Compiling embassy-net-driver-channel v0.4.0 (/ci/code/embassy-net-driver-channel)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-net-adin1110 v0.4.0 (/ci/code/embassy-net-adin1110)
Finished `test` profile [unoptimized + debuginfo] target(s) in 4.72s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_net_adin1110-f943cf4369d0ec5c)
running 20 tests
test crc32::tests::crc32_ethernet_frame ... ok
test tests::mac_write_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_read_registers_with_crc ... ok
test tests::read_packet_from_fifo_packet_corrupted_fcs ... ok
test crc32::tests::crc32_update ... ok
test mdio::tests::read_test ... ok
test crc8::tests::spi_header_crc8 ... ok
test mdio::tests::write_test ... ok
test tests::mac_read_registers_without_crc ... ok
test tests::spi_crc_error ... ok
test tests::write_packet_to_fifo_arp_46bytes_with_crc ... ok
test tests::read_packet_from_fifo_packet_too_small ... ok
test tests::read_packet_to_fifo_check_spi_read_multipule_of_u32_valid_lengths ... ok
test tests::write_packet_to_fifo_minimal_with_crc ... ok
test tests::write_packet_to_fifo_invalid_lengths ... ok
test tests::write_packet_to_fifo_arp_46bytes_without_crc ... ok
test tests::write_packet_to_fifo_minimal_with_crc_without_fcs ... ok
test tests::write_packet_to_fifo_max_mtu_with_crc ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
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)
Compiling embassy-usb v0.6.0 (/ci/code/embassy-usb)
Compiling embassy-net-driver-channel v0.4.0 (/ci/code/embassy-net-driver-channel)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-boot v0.7.0 (/ci/code/embassy-boot)
Compiling embassy-usb-dfu v0.3.0 (/ci/code/embassy-usb-dfu)
Finished `test` profile [unoptimized + debuginfo] target(s) in 7.07s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_usb_dfu-8bc7be462204de27)
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-a40af985c24b730d)
running 4 tests
test test_usb_dfu ... ok
test test_usb_dfu_manifestation_tolerant ... ok
test test_usb_dfu_manifestation_tolerant_will_detach ... ok
test test_usb_dfu_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
Updating crates.io index
Locking 78 packages to latest Rust 1.92.0 compatible versions
Adding env_logger v0.9.3 (available: v0.11.10)
Compiling embassy-usb v0.6.0 (/ci/code/embassy-usb)
Compiling embassy-net-driver-channel v0.4.0 (/ci/code/embassy-net-driver-channel)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-usb-host v0.1.0 (/ci/code/embassy-usb-host)
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.79s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_usb_host-55f63c222e595b6d)
running 22 tests
test class::hub::tests::test_hub_interrupt_0 ... ok
test class::hub::tests::test_hub_interrupt_1_hub ... ok
test class::msc::tests::find_msc_requires_both_bulk_endpoints ... ok
test class::msc::tests::find_msc_simple ... ok
test class::msc::tests::chunk_blocks_prefers_read10_while_lba_fits_u32 ... ok
test class::msc::tests::check_block_args_accepts_aligned_in_range ... ok
test class::msc::tests::check_block_args_rejects_out_of_range ... ok
test class::hub::tests::test_hub_interrupt_1_empty ... ok
test class::msc::tests::find_msc_rejects_non_matching_interface ... ok
test class::msc::tests::check_block_args_rejects_unaligned ... ok
test class::msc::tests::chunk_blocks_falls_back_to_read16_above_u32_max ... ok
test class::hub::tests::test_hub_interrupt_3_hub_empty_port ... ok
test class::hub::tests::test_hub_interrupt_1_full ... ok
test class::msc::tests::read_write_10_cdb_encoding ... ok
test descriptor::test::test_parse_interface_descriptor ... ok
test class::uac::descriptors::test::test_parse ... ok
test descriptor::test::test_parse_visit_midi_descriptor ... ok
test descriptor::test::test_parse_extended_endpoint_descriptor ... ok
test control::tests::roundtrip_setup_packet ... ok
test class::hub::tests::test_hub_interrupt_1_port ... ok
test class::msc::tests::read_write_16_cdb_encoding ... ok
test class::msc::tests::find_msc_skips_preceding_interfaces ... ok
test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Doc-tests embassy_usb_host
running 7 tests
test src/class/gip.rs - class::gip (line 35) ... ignored
test src/class/hid.rs - class::hid::HidHost<'d,A>::fetch_report_descriptor (line 286) ... ignored
test src/class/hid_report.rs - class::hid_report (line 8) ... ignored
test src/class/msc.rs - class::msc (line 22) ... ignored
test src/class/uac/mod.rs - class::uac (line 19) ... ignored
test src/class/vcp/cp210x.rs - class::vcp::cp210x (line 21) ... ignored
test src/class/vcp/cp210x.rs - class::vcp::cp210x::Cp210xDevice (line 549) ... ignored
test result: ok. 0 passed; 0 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.33s; merged doctests compilation took 0.32s