+ git clone -n https://github.com/embassy-rs/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout b08918c756a6b2a80a88f33a556ba04c1d256906
HEAD is now at b08918c75 Merge pull request #5411 from usbalbin/dac-sawtooth
+ exec .github/ci/test.sh
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)
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.7.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 6.46s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_executor-f9eb22060623e5d5)
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-18a33337a3c7a285)
running 10 tests
test executor_noop ... ok
test executor_task ... ok
test executor_task_rpit ... ok
test executor_task_self_wake ... ok
test recursive_task ... ok
test executor_task_cfg_args ... ok
test task_metadata ... ok
test executor_task_self_wake_twice ... 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.17s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-d300abcf993c1dc1)
running 1 test
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
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 2.44s
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 11.18s
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.95s; merged doctests compilation took 0.95s
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.71s
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::join4 (line 190) ... ok
test src/join.rs - join::join (line 132) ... ok
test src/join.rs - join::join5 (line 227) ... ok
test src/join.rs - join::join3 (line 160) ... ok
test src/yield_now.rs - yield_now::yield_now (line 12) ... ok
test src/join.rs - join::join_array (line 306) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
all doctests ran in 0.70s; merged doctests compilation took 0.63s
Updating crates.io index
Locking 60 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.70s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_sync-6cfded019f5677bc)
running 88 tests
test channel::tests::dynamic_dispatch_into ... ok
test channel::tests::dynamic_dispatch_constructor ... ok
test channel::tests::receiving_once_with_one_send ... ok
test channel::tests::sender_send_completes_if_capacity ... ok
test channel::tests::receiving_when_empty ... ok
test channel::tests::sending_once ... ok
test channel::tests::sending_when_full ... ok
test lazy_lock::tests::test_lazy_drop ... ok
test lazy_lock::tests::test_lazy_lock ... ok
test channel::tests::simple_send_and_receive ... ok
test lazy_lock::tests::test_lazy_lock_into_inner ... ok
test lazy_lock::tests::test_lazy_lock_mutation ... ok
test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
test once_lock::tests::once_lock ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test once_lock::tests::once_lock_async ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test once_lock::tests::once_lock_static ... ok
test once_lock::tests::once_lock_take_init ... ok
test pipe::tests::dynamic_dispatch_pipe ... ok
test pipe::tests::simple_send_and_receive ... ok
test pipe::tests::read_buf ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test once_lock::tests::once_lock_into_inner ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::writing_when_full ... ok
test priority_channel::tests::cloning ... ok
test pipe::tests::writer_is_cloneable ... ok
test priority_channel::tests::dynamic_dispatch ... ok
test pipe::tests::receiver_receives_given_try_write_async ... ok
test pipe::tests::writing_once ... ok
test priority_channel::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::receiving_when_empty ... ok
test priority_channel::tests::send_priority ... 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 priority_channel::tests::receiver_receives_given_try_send_async ... ok
test priority_channel::tests::simple_send_and_receive ... ok
test pubsub::tests::all_subscribers_receive ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::correct_len ... ok
test pubsub::tests::dyn_pub_sub_works ... 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 rwlock::tests::read_guard_releases_lock_when_dropped ... ok
test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
test once_lock::tests::once_lock_get_or_init ... ok
test pubsub::tests::publisher_wait_on_full_queue ... ok
test semaphore::tests::fair::acquire ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
test pubsub::tests::skip_clone_for_last_message ... ok
test ring_buffer::tests::push_pop ... ok
test semaphore::tests::fair::acquire_all ... ok
test channel::tests::cloning ... ok
test semaphore::tests::fair::contested ... ok
test semaphore::tests::fair::disarm ... ok
test semaphore::tests::fair::fairness ... ok
test semaphore::tests::fair::release ... ok
test semaphore::tests::fair::set ... ok
test semaphore::tests::fair::try_acquire ... 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::set ... ok
test semaphore::tests::greedy::try_acquire ... ok
test semaphore::tests::greedy::try_acquire_all ... ok
test watch::tests::all_try_get ... ok
test watch::tests::clone_senders ... ok
test watch::tests::contains_value ... ok
test watch::tests::convert_to_dyn ... ok
test watch::tests::dynamic_receiver_count ... ok
test watch::tests::max_receivers_drop ... ok
test watch::tests::multiple_receivers ... ok
test watch::tests::multiple_sends ... ok
test watch::tests::once_lock_like ... ok
test watch::tests::predicate_fn ... ok
test watch::tests::receive_after_create ... ok
test watch::tests::sender_modify ... ok
test watch::tests::use_dynamics ... ok
test semaphore::tests::fair::wakers ... ok
test priority_channel::tests::senders_sends_wait_until_capacity ... ok
test 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.63s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-46e5a34a42944e38)
running 1 test
Checking embassy-sync v0.7.2 (/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.94s
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 1.98s
Doc-tests embassy_sync
running 9 tests
test src/pipe.rs - pipe::Pipe<M,N>::new (line 255) ... ok
test src/signal.rs - signal::Signal (line 24) ... ok
test src/channel.rs - channel::Channel<M,T,N>::new (line 831) ... ok
test src/once_lock.rs - once_lock::OnceLock (line 21) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 35) ... ok
test src/channel.rs - channel (line 22) ... ok
test src/priority_channel.rs - priority_channel::PriorityChannel<M,T,K,N>::new (line 495) ... ok
test src/watch.rs - watch::Watch (line 26) ... ok
test src/lazy_lock.rs - lazy_lock::LazyLock (line 13) ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.67s; 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.4.0 (/ci/code/embassy-hal-internal)
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.36s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_embedded_hal-9730b3e89c08790a)
running 9 tests
test flash::concat_flash::tests::can_write_and_read_across_flashes ... ok
test flash::partition::asynch::tests::can_write ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::asynch::tests::can_erase ... ok
test flash::partition::blocking::tests::can_write ... ok
test flash::partition::asynch::tests::can_read ... ok
test adapter::yielding_async::tests::can_erase ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::concat_flash::tests::can_erase_across_flashes ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
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 1.71s; merged doctests compilation took 1.55s
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 1.84s
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 atomic_ring_buffer::tests::push_slices ... ok
test atomic_ring_buffer::tests::zero_len ... ok
test ratio::tests::basics ... 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)
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 embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.94s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time-30b5025502c2aa67)
running 2 tests
test driver_mock::tests::test_advance ... ok
test driver_mock::tests::test_schedule_wake ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s
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.48s; merged doctests compilation took 0.48s
Updating crates.io index
Locking 9 packages to latest Rust 1.92.0 compatible versions
Compiling embassy-time-queue-utils v0.3.0 (/ci/code/embassy-time-queue-utils)
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
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 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.00s
all doctests ran in 0.43s; merged doctests compilation took 0.43s
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)
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-boot v0.6.1 (/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 4.17s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-13c9bf3d9bd3fd31)
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::blocking::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 ... 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 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 firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test result: ok. 13 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.29s; merged doctests compilation took 0.29s
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 0.76s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-65a852b4cb2c85ef)
running 11 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... 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_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_verify ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
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 1.12s; merged doctests compilation took 0.85s
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.07s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-e1c9cf5dbdb875d4)
running 11 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1_cross_sector_boundary ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test tests::test_verify ... ok
test tests::test_boot_state ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... 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 result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
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.74s; merged doctests compilation took 0.73s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/nrf-pac.git`
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)
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling embassy-sync v0.7.2 (/ci/code/embassy-sync)
Compiling embassy-usb-driver v0.2.0 (/ci/code/embassy-usb-driver)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
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) generated 4 warnings
warning: `embassy-nrf` (lib test) generated 4 warnings (4 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.24s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_nrf-5e20323e42296d32)
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/temp.rs - temp::Temp<'d>::read (line 54) - compile ... ok
test src/qdec.rs - qdec::Qdec<'d>::read (line 166) - compile ... ok
test result: ok. 2 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 1.26s; merged doctests compilation took 1.24s
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)
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling embassy-executor v0.9.1 (/ci/code/embassy-executor)
Compiling embassy-rp v0.9.0 (/ci/code/embassy-rp)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling embassy-executor-macros v0.7.0 (/ci/code/embassy-executor-macros)
Compiling embassy-embedded-hal v0.5.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: `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`
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`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
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 (run `cargo fix --lib -p embassy-rp --tests` to apply 9 suggestions)
warning: `embassy-rp` (lib) generated 9 warnings (8 duplicates) (run `cargo fix --lib -p embassy-rp` to apply 1 suggestion)
Finished `test` profile [unoptimized + debuginfo] target(s) in 8.29s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-1e66b35e69acafc3)
running 5 tests
test clocks::tests::test_manual_pll_helper ... 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 pio_programs::clock_divider::tests::clock_divider_math ... 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/multicore.rs - multicore (line 13) - compile ... ok
test src/lib.rs - (line 76) ... ok
test src/lib.rs - install_core0_stack_guard (line 517) - compile ... ok
test src/rtc/mod.rs - rtc::Rtc<'d,T>::schedule_alarm (line 150) - compile ... ok
test result: ok. 4 passed; 0 failed; 10 ignored; 0 measured; 0 filtered out; finished in 0.71s
all doctests ran in 1.50s; merged doctests compilation took 0.79s
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: 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: unused import: `super::*`
--> src/clocks.rs:1989:9
|
1989 | use super::*;
| ^^^^^^^^
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 3.81s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-e1c5a50d1b1676e5)
running 2 tests
test block::test::make_hashed_partition_table ... ok
test pio_programs::clock_divider::tests::clock_divider_math ... 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/lib.rs - install_core0_stack_guard (line 517) - compile ... ok
test src/trng.rs - trng::Trng (line 130) - 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; 14 ignored; 0 measured; 0 filtered out; finished in 1.37s
all doctests ran in 2.99s; merged doctests compilation took 1.44s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/stm32-data-generated`
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)
Compiling embassy-time-driver v0.2.1 (/ci/code/embassy-time-driver)
Compiling embassy-hal-internal v0.4.0 (/ci/code/embassy-hal-internal)
Compiling embassy-stm32 v0.5.0 (/ci/code/embassy-stm32)
Compiling embassy-usb-synopsys-otg v0.3.1 (/ci/code/embassy-usb-synopsys-otg)
Compiling embassy-net-driver v0.2.0 (/ci/code/embassy-net-driver)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
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 15.37s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-54135fe7ec931110)
running 26 tests
test can::_version::filter::tests::test_filter_bitmask ... 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::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::alignment_no_skip_when_aligned ... 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 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 dma::ringbuffer::tests::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... 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_rounds_down_read_length ... 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.15s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 95) ... 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.33s; merged doctests compilation took 0.33s
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 9.36s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-2da46f78b2867b64)
running 26 tests
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::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... 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::read_latest_returns_zero_when_empty ... 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_wraps_around ... ok
test flash::family::tests::can_get_sector ... 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 can::_version::filter::tests::test_filter_bitmask ... 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 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.34s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 95) ... 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 1.53s; merged doctests compilation took 1.52s
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 9.98s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-cbac107ebd09194a)
running 26 tests
test can::_version::filter::tests::test_filter_bitmask ... ok
test dma::ringbuffer::tests::alignment_rounds_down_read_length ... 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::alignment_skip_after_overrun ... ok
test dma::ringbuffer::tests::dma_index_advancing_increases_as_index ... 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_returns_most_recent_data ... 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_with_alignment ... ok
test dma::ringbuffer::tests::read_latest_wraps_around ... ok
test flash::family::tests::can_get_sector ... 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::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.11s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 95) ... 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 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 10.83s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-f8e3de8560e94af8)
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_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_returns_most_recent_data ... ok
test dma::ringbuffer::tests::dma_index_as_index_returns_index_mod_cap_by_default ... 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 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_reads_all_when_buffer_is_large ... ok
test wdg::tests::can_compute_reload_value ... ok
test wdg::tests::can_compute_timeout_us ... 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 wdg::wwdg_tests::ticks_exact ... ok
test wdg::wwdg_tests::ticks_just_above_exact ... ok
test dma::ringbuffer::tests::read_latest_returns_zero_when_empty ... ok
test dma::ringbuffer::tests::read_latest_recovers_from_overrun ... ok
test dma::ringbuffer::tests::prop_test::writer::writer_state_test ... ok
test dma::ringbuffer::tests::prop_test::reader::reader_state_test ... ok
test timer::low_level::tests::test_div_round ... ok
test dma::ringbuffer::tests::alignment_rejects_non_multiple - should panic ... ok
test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 95) ... 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 1.64s; merged doctests compilation took 1.48s
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) generated 2 warnings
warning: `embassy-stm32` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p embassy-stm32 --tests` to apply 2 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 9.66s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_stm32-3e075b1e16cdc54f)
running 25 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_rounds_down_read_length ... 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::dma_index_advancing_increases_as_index ... 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 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 dma::ringbuffer::tests::read_latest_wraps_around ... 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::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.11s
Doc-tests embassy_stm32
running 8 tests
test src/adc/ringbuffered.rs - adc::ringbuffered::RingBufferedAdc<'d,T>::read (line 95) ... 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.29s; merged doctests compilation took 0.28s
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)
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 embassy-net-adin1110 v0.3.1 (/ci/code/embassy-net-adin1110)
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.21s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_net_adin1110-5c83f9b69638d53c)
running 20 tests
test crc32::tests::crc32_ethernet_frame ... ok
test crc32::tests::crc32_update ... ok
test crc8::tests::spi_header_crc8 ... ok
test mdio::tests::read_test ... ok
test tests::mac_read_registers_with_crc ... ok
test tests::mac_read_registers_without_crc ... ok
test tests::mac_write_registers_with_crc ... ok
test tests::mac_write_registers_without_crc ... ok
test tests::read_packet_from_fifo_packet_corrupted_fcs ... ok
test tests::read_packet_from_fifo_packet_too_big_for_frame_buffer ... ok
test tests::read_packet_from_fifo_packet_too_small ... ok
test mdio::tests::write_test ... ok
test tests::write_packet_to_fifo_arp_46bytes_with_crc ... ok
test tests::write_packet_to_fifo_arp_46bytes_without_crc ... ok
test tests::write_packet_to_fifo_invalid_lengths ... ok
test tests::write_packet_to_fifo_max_mtu_with_crc ... ok
test tests::write_packet_to_fifo_minimal_with_crc ... ok
test tests::write_packet_to_fifo_minimal_with_crc_without_fcs ... ok
test tests::spi_crc_error ... ok
test tests::read_packet_to_fifo_check_spi_read_multipule_of_u32_valid_lengths ... 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)
Compiling embassy-usb v0.5.1 (/ci/code/embassy-usb)
Compiling embassy-time v0.5.0 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.5.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-net-driver-channel v0.3.2 (/ci/code/embassy-net-driver-channel)
Compiling embassy-boot v0.6.1 (/ci/code/embassy-boot)
Compiling embassy-usb-dfu v0.2.0 (/ci/code/embassy-usb-dfu)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.39s
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 ... 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