+ git clone -n https://github.com/xoviat/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout 6c49a4dcf94c22212dcad23143f709e425658175
HEAD is now at 6c49a4dcf stm32: update default rcc wpan config and add default wpan config for wba
+ exec .github/ci/test.sh
Updating crates.io index
Locking 180 packages to latest Rust 1.92.0 compatible versions
Adding syn v2.0.110 (available: v2.0.117)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.06s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_executor-bf6ae20f4c0b2cf9)
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-5efddf03caa61ce8)
running 10 tests
test executor_noop ... ok
test executor_task_cfg_args ... ok
test executor_task ... ok
test executor_task_rpit ... ok
test executor_task_self_wake_twice ... ok
test executor_task_self_wake ... ok
test recursive_task ... ok
test task_metadata ... ok
test waking_after_completion_does_not_poll ... ok
test waking_with_old_waker_after_respawn ... ok
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-4bfedb945e00fd9d)
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-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor-macros v0.8.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 0.70s
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 4.17s
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.14s; merged doctests compilation took 0.14s
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.82s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_futures-b71964b90c1e3983)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_futures
running 6 tests
test src/join.rs - join::join (line 132) ... ok
test src/join.rs - join::join3 (line 160) ... ok
test src/join.rs - join::join5 (line 227) ... ok
test src/join.rs - join::join4 (line 190) ... 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.00s
all doctests ran in 0.20s; merged doctests compilation took 0.20s
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 2.68s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_sync-de4600e01cb67319)
running 103 tests
test channel::tests::cloning ... ok
test channel::tests::dynamic_dispatch_constructor ... ok
test channel::tests::dynamic_dispatch_into ... ok
test channel::tests::receiving_once_with_one_send ... ok
test channel::tests::receiving_when_empty ... ok
test channel::tests::sender_send_completes_if_capacity ... ok
test channel::tests::sending_once ... ok
test channel::tests::sending_when_full ... ok
test channel::tests::simple_send_and_receive ... ok
test lazy_lock::tests::test_lazy_lock ... ok
test lazy_lock::tests::test_lazy_drop ... ok
test once_lock::tests::once_lock_async ... ok
test once_lock::tests::once_lock_static ... ok
test lazy_lock::tests::test_lazy_lock_into_inner ... ok
test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
test lazy_lock::tests::test_lazy_lock_mutation ... ok
test once_lock::tests::once_lock_take_init ... ok
test pipe::tests::dynamic_dispatch_pipe ... ok
test pipe::tests::read_buf ... ok
test once_lock::tests::once_lock ... ok
test once_lock::tests::once_lock_get_or_init ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test once_lock::tests::once_lock_into_inner ... ok
test pipe::tests::simple_send_and_receive ... ok
test pipe::tests::write_all_across_rollover ... ok
test pipe::tests::write_read_across_rollover ... ok
test pipe::tests::writer_is_cloneable ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test pipe::tests::writing_when_full ... ok
test pipe::tests::writing_once ... ok
test priority_channel::tests::cloning ... ok
test priority_channel::tests::dynamic_dispatch ... 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::simple_send_and_receive ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::all_subscribers_receive ... ok
test pubsub::tests::correct_len ... ok
test priority_channel::tests::sending_when_full ... ok
test pubsub::tests::dyn_pub_sub_works ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... 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 pubsub::tests::send_dyn_are_send_sync ... ok
test pipe::tests::receiver_receives_given_try_write_async ... 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::drop_glue_on_service_drop ... ok
test pubsub::tests::lag_when_queue_full_on_immediate_publish ... ok
test rpc_service::tests::poll_after_completion_panics - should panic ... ok
test priority_channel::tests::receiver_receives_given_try_send_async ... ok
test rpc_service::tests::cancel_before_acquire_then_next_call ... ok
test rpc_service::tests::cancel_after_submit_no_leak ... ok
test rpc_service::tests::concurrent_run_panics - should panic ... ok
test ring_buffer::tests::push_pop ... ok
test rpc_service::tests::restart_after_cancel_mid_job ... ok
test rpc_service::tests::restart_with_pending_job ... ok
test rpc_service::tests::restart_many_cycles ... ok
test rpc_service::tests::try_call_immediate ... ok
test rpc_service::tests::zero_sized_return ... ok
test rwlock::tests::read_guard_releases_lock_when_dropped ... ok
test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
test semaphore::tests::fair::acquire ... ok
test semaphore::tests::fair::acquire_all ... 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::release ... ok
test semaphore::tests::greedy::acquire_all ... ok
test semaphore::tests::greedy::contested ... ok
test semaphore::tests::greedy::set ... ok
test semaphore::tests::greedy::try_acquire ... ok
test semaphore::tests::greedy::greedy ... ok
test semaphore::tests::greedy::try_acquire_all ... ok
test watch::tests::all_try_get ... ok
test watch::tests::clone_senders ... ok
test semaphore::tests::greedy::disarm ... ok
test watch::tests::max_receivers_drop ... ok
test semaphore::tests::fair::wakers ... ok
test watch::tests::dynamic_receiver_count ... ok
test watch::tests::convert_to_dyn ... ok
test watch::tests::multiple_receivers ... ok
test watch::tests::multiple_sends ... ok
test watch::tests::contains_value ... 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 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.50s
Running tests/ui.rs (/ci/cache/target/debug/deps/ui-38a182e7be0e80a5)
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.43s
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 0.96s
Doc-tests embassy_sync
running 10 tests
test src/rpc_service.rs - rpc_service::RpcService (line 403) ... ignored
test src/once_lock.rs - once_lock::OnceLock (line 21) ... ok
test src/pipe.rs - pipe::Pipe<M,N>::new (line 255) ... 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/channel.rs - channel (line 22) ... ok
test src/lazy_lock.rs - lazy_lock::LazyLock (line 13) ... ok
test src/watch.rs - watch::Watch (line 26) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 37) ... ok
test src/signal.rs - signal::Signal (line 24) ... ok
test result: ok. 9 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 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 1.27s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_embedded_hal-5ea0589caa8b3f27)
running 9 tests
test adapter::yielding_async::tests::can_erase ... ok
test flash::concat_flash::tests::can_erase_across_flashes ... ok
test flash::concat_flash::tests::can_write_and_read_across_flashes ... ok
test flash::partition::asynch::tests::can_erase ... ok
test flash::partition::asynch::tests::can_read ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::asynch::tests::can_write ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::partition::blocking::tests::can_write ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_embedded_hal
running 4 tests
test src/shared_bus/asynch/i2c.rs - shared_bus::asynch::i2c (line 5) ... ignored
test src/shared_bus/asynch/spi.rs - shared_bus::asynch::spi (line 5) ... ignored
test src/shared_bus/blocking/i2c.rs - shared_bus::blocking::i2c (line 5) ... ignored
test src/shared_bus/blocking/spi.rs - shared_bus::blocking::spi (line 5) ... ignored
test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.11s; merged doctests compilation took 0.11s
Updating crates.io index
Locking 31 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.96s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_hal_internal-9b7bcf238f7f2981)
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-executor-timer-queue v0.1.0 (/ci/code/embassy-executor-timer-queue)
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 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.13s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time-6cf3bc3fb75009d2)
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.00s
Doc-tests embassy_time
running 4 tests
test src/driver_mock.rs - driver_mock::MockDriver (line 18) ... ignored
test src/timer.rs - timer::Ticker (line 218) - compile ... ok
test src/timer.rs - timer::Ticker (line 200) - 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.13s; merged doctests compilation took 0.13s
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.24s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time_driver-820c98538eb5211a)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_time_driver
running 2 tests
test src/lib.rs - (line 142) ... ok
test src/lib.rs - (line 172) ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.16s; merged doctests compilation took 0.15s
Updating crates.io index
Locking 102 packages to latest Rust 1.92.0 compatible versions
Adding digest v0.10.7 (available: v0.11.3)
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)
Adding signature v2.2.0 (available: v3.0.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 0.86s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-663f0fd6fd464bd8)
running 13 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_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::blocking::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_cross_sector_boundary ... ok
test tests::test_boot_state ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_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.02s
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.11s; merged doctests compilation took 0.11s
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.26s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-861643a30a72762b)
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::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... 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::blocking::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test tests::test_boot_state ... 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.02s
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.11s; merged doctests compilation took 0.11s
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.27s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-fe9f2530adaa1ece)
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::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 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 ... 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 result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
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.11s; merged doctests compilation took 0.11s
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.1 (/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:265:8
|
186 | impl RtcDriver {
| -------------- methods in this implementation
...
265 | fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
290 | fn next_period(&self) {
| ^^^^^^^^^^^
...
308 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: constant `CHANNELS_PER_PORT` is never used
--> src/gpiote.rs:30:7
|
30 | const CHANNELS_PER_PORT: usize = 8;
| ^^^^^^^^^^^^^^^^^
warning: function `handle_gpiote_interrupt` is never used
--> src/gpiote.rs:185:11
|
185 | unsafe fn handle_gpiote_interrupt(g: pac::gpiote::Gpiote) {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `BitIter` is never constructed
--> src/gpiote.rs:254:8
|
254 | struct BitIter(u32);
| ^^^^^^^
warning: `embassy-nrf` (lib test) generated 4 warnings (4 duplicates)
warning: `embassy-nrf` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_nrf-318ff7dffeb23b0e)
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/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 0.16s; merged doctests compilation took 0.16s
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-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-rp v0.10.0 (/ci/code/embassy-rp)
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 (8 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 2 suggestions)
warning: `embassy-rp` (lib) generated 9 warnings (run `cargo fix --lib -p embassy-rp` to apply 8 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.06s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-f75446a2002e771f)
running 5 tests
test clocks::tests::test_auto_voltage_scaling ... ok
test clocks::tests::test_manual_pll_helper ... ok
test clocks::tests::test_find_pll_params ... ok
test clocks::tests::test_pll_config_validation ... 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 | 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/rtc/mod.rs - rtc::Rtc<'d,T>::schedule_alarm (line 150) - compile ... ok
test src/lib.rs - install_core0_stack_guard (line 519) - 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.24s
all doctests ran in 0.81s; merged doctests compilation took 0.57s
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 (2 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 6 suggestions)
warning: `embassy-rp` (lib) generated 10 warnings (8 duplicates) (run `cargo fix --lib -p embassy-rp` to apply 2 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_rp-8304ddd05e8082aa)
running 2 tests
test pio_programs::clock_divider::tests::clock_divider_math ... ok
test block::test::make_hashed_partition_table ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_rp
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
--> src/multicore.rs:60:1
|
60 | 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/trng.rs - trng::Trng (line 130) - compile ... ok
test src/lib.rs - (line 78) ... ok
test src/lib.rs - install_core0_stack_guard (line 519) - compile ... ok
test src/multicore.rs - multicore (line 13) - compile ... ok
test result: ok. 4 passed; 0 failed; 14 ignored; 0 measured; 0 filtered out; finished in 0.14s
all doctests ran in 0.66s; merged doctests compilation took 0.53s
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.3 (/ci/code/embassy-usb-synopsys-otg)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
run failed: rpc error: code = Canceled desc = context canceled