+ git clone -n https://github.com/embassy-rs/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout f087dbfb5fbedcef51970d286cde4be9bcdff39d
HEAD is now at f087dbfb5 Do not enable debug and defmt impls in PACs by default.
+ exec .github/ci/test.sh
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 115 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-executor-timer-queue v0.1.1 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.40s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-executor/ebc0a45c17249e57/out/embassy_executor-ebc0a45c17249e57)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/main_unwind.rs (/ci/cache/target/debug/build/embassy-executor/eaf65c3e207e2b1b/out/main_unwind-eaf65c3e207e2b1b)
test main_unwind ... ok
Running tests/test.rs (/ci/cache/target/debug/build/embassy-executor/22d207ac041ef1f9/out/test-22d207ac041ef1f9)
running 11 tests
test executor_task_cfg_args ... ok
test executor_noop ... ok
test executor_task_rpit ... ok
test recursive_task ... ok
test waking_after_completion_does_not_poll ... ok
test executor_task_self_wake_twice ... ok
test task_name_arg ... ok
test executor_task_self_wake ... ok
test task_metadata ... ok
test executor_task ... ok
test waking_with_old_waker_after_respawn ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/ui.rs (/ci/cache/target/debug/build/embassy-executor/69014fc3e59c49cc/out/ui-69014fc3e59c49cc)
running 1 test
Compiling embassy-executor-timer-queue v0.1.1 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-executor-tests v0.0.0 (/ci/cache/target/tests/trybuild/embassy-executor)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s
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 17.73s
Doc-tests embassy_executor
running 3 tests
test src/lib.rs - (line 58) ... ignored
test src/lib.rs - (line 69) ... ignored
test src/raw/mod.rs - raw::Executor (line 561) ... ok
test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.91s; merged doctests compilation took 0.89s
Updating crates.io index
Locking 11 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-futures/c45e27ddc0e009a6/out/embassy_futures-c45e27ddc0e009a6)
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/yield_now.rs - yield_now::yield_now (line 12) ... ok
test src/join.rs - join::join4 (line 190) ... ok
test src/join.rs - join::join5 (line 227) ... ok
test src/join.rs - join::join_array (line 306) ... ok
test src/join.rs - join::join3 (line 160) ... ok
test src/join.rs - join::join (line 132) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.79s; merged doctests compilation took 0.77s
Updating crates.io index
Locking 58 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.75s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-sync/87e49548cd961aac/out/embassy_sync-87e49548cd961aac)
running 109 tests
test channel::tests::receiving_once_with_one_send ... ok
test channel::tests::dynamic_dispatch_constructor ... ok
test lazy_lock::tests::test_lazy_drop ... ok
test channel::tests::sending_once ... ok
test channel::tests::dynamic_dispatch_into ... ok
test channel::tests::sender_send_completes_if_capacity ... ok
test channel::tests::cloning ... ok
test channel::tests::sending_when_full ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test channel::tests::simple_send_and_receive ... ok
test channel::tests::receiving_when_empty ... ok
test once_lock::tests::once_lock_take_init ... ok
test once_lock::tests::once_lock_static ... ok
test once_lock::tests::once_lock_into_inner ... ok
test lazy_lock::tests::test_lazy_lock_into_inner ... ok
test once_lock::tests::once_lock_async ... ok
test once_lock::tests::once_lock ... ok
test lazy_lock::tests::test_lazy_lock ... ok
test pipe::tests::dynamic_dispatch_pipe ... ok
test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
test lazy_lock::tests::test_lazy_lock_mutation ... ok
test pipe::tests::write_read_across_rollover ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::read_buf ... ok
test once_lock::tests::once_lock_get_or_init ... ok
test pipe::tests::write_all_across_rollover ... ok
test pipe::tests::writing_when_full ... ok
test priority_channel::tests::dynamic_dispatch ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test pipe::tests::simple_send_and_receive ... 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 pipe::tests::writing_once ... ok
test priority_channel::tests::cloning ... ok
test pipe::tests::writer_is_cloneable ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::sending_once ... ok
test priority_channel::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::receiver_receives_given_try_send_async ... ok
test pubsub::tests::all_subscribers_receive ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::publisher_sink ... ok
test pubsub::tests::limited_subs_and_pubs ... ok
test priority_channel::tests::sending_when_full ... ok
test priority_channel::tests::simple_send_and_receive ... ok
test pubsub::tests::lag_when_queue_full_on_immediate_publish ... ok
test pubsub::tests::skip_clone_for_last_message ... ok
test pubsub::tests::publisher_wait_on_full_queue ... ok
test ring_buffer::tests::push_pop ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
test pubsub::tests::dyn_pub_sub_works ... ok
test pipe::tests::receiver_receives_given_try_write_async ... ok
test pubsub::tests::correct_len ... ok
test rpc_service::tests::restart_after_cancel_mid_job ... ok
test rpc_service::tests::drop_glue_on_service_drop ... ok
test rpc_service::tests::poll_after_completion_panics - should panic ... ok
test rpc_service::tests::different_return_types ... 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::try_call_immediate ... ok
test rpc_service::tests::restart_with_pending_job ... ok
test rpc_service::tests::concurrent_run_panics - should panic ... ok
test semaphore::tests::fair::acquire ... ok
test rwlock::tests::read_guard_releases_lock_when_dropped ... ok
test rpc_service::tests::zero_sized_return ... ok
test semaphore::tests::fair::contested ... ok
test semaphore::tests::fair::disarm ... ok
test semaphore::tests::fair::fairness ... ok
test semaphore::tests::fair::set ... ok
test pubsub::tests::send_dyn_are_send_sync ... ok
test semaphore::tests::fair::acquire_all ... ok
test semaphore::tests::fair::try_acquire_all ... ok
test semaphore::tests::fair::try_acquire ... ok
test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
test semaphore::tests::fair::release ... ok
test semaphore::tests::greedy::disarm ... ok
test semaphore::tests::greedy::contested ... ok
test semaphore::tests::greedy::acquire_all ... ok
test semaphore::tests::greedy::acquire ... ok
test semaphore::tests::greedy::set ... ok
test semaphore::tests::greedy::release ... ok
test rpc_service::tests::restart_many_cycles ... ok
test waitqueue::atomic_waker::tests::register_same_waker_no_spurious_wakes ... ok
test waitqueue::atomic_waker::tests::register_with_distinct_waker_wakes_evicted ... ok
test waitqueue::atomic_waker::tests::wake_after_register_wakes_registered ... ok
test watch::tests::clone_senders ... ok
test watch::tests::contains_value ... ok
test semaphore::tests::fair::cancel_wakes_next_waiter ... ok
test watch::tests::convert_to_dyn ... ok
test watch::tests::dynamic_receiver_count ... ok
test watch::tests::all_try_get ... ok
test waitqueue::atomic_waker::tests::wake_with_no_registered_waker_is_noop ... ok
test semaphore::tests::greedy::greedy ... ok
test watch::tests::multiple_sends ... ok
test watch::tests::once_lock_like ... ok
test watch::tests::sender_modify ... ok
test watch::tests::receive_after_create ... ok
test semaphore::tests::greedy::try_acquire ... ok
test semaphore::tests::greedy::try_acquire_all ... ok
test watch::tests::max_receivers_drop ... ok
test watch::tests::predicate_fn ... ok
test watch::tests::multiple_receivers ... ok
test waitqueue::atomic_waker::tests::register_from_within_wake_is_not_woken_again ... ok
test rpc_service::tests::basic ... ok
test watch::tests::use_dynamics ... ok
test semaphore::tests::fair::wakers ... ok
test channel::tests::senders_sends_wait_until_capacity ... ok
test priority_channel::tests::senders_sends_wait_until_capacity ... ok
test result: ok. 109 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
Running tests/ui.rs (/ci/cache/target/debug/build/embassy-sync/c882bbf143ace71d/out/ui-c882bbf143ace71d)
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 2.38s
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 3.39s
Doc-tests embassy_sync
running 10 tests
test src/rpc_service.rs - rpc_service::RpcService (line 403) ... ignored
test src/lazy_lock.rs - lazy_lock::LazyLock (line 17) ... ok
test src/priority_channel.rs - priority_channel::PriorityChannel<M,T,K,N>::new (line 495) ... ok
test src/once_lock.rs - once_lock::OnceLock (line 25) ... ok
test src/watch.rs - watch::Watch (line 26) ... ok
test src/channel.rs - channel::Channel<M,T,N>::new (line 840) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 37) ... ok
test src/channel.rs - channel (line 22) ... ok
test src/signal.rs - signal::Signal (line 26) ... ok
test src/pipe.rs - pipe::Pipe<M,N>::new (line 262) ... ok
test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s
all doctests ran in 1.51s; merged doctests compilation took 1.49s
Updating crates.io index
Locking 45 packages to highest Rust 1.100.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Compiling embassy-sync v0.8.0 (/ci/code/embassy-sync)
Compiling embassy-futures v0.1.2 (/ci/code/embassy-futures)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.43s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-embedded-hal/e89b259bb2ab23ef/out/embassy_embedded_hal-e89b259bb2ab23ef)
running 19 tests
test flash::partition::asynch::tests::can_read ... ok
test flash::partition::asynch::tests::can_erase_whole_partition ... ok
test adapter::yielding_async::tests::can_erase ... ok
test flash::concat_flash::tests::can_erase_across_flashes ... ok
test flash::partition::asynch::tests::can_erase ... ok
test flash::partition::asynch::tests::can_write ... ok
test flash::partition::blocking::tests::can_write ... ok
test flash::concat_flash::tests::can_write_and_read_across_flashes ... ok
test flash::partition::blocking::tests::erase_from_after_to_is_out_of_bounds ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::partition::asynch::tests::offset_overflow_is_out_of_bounds ... ok
test flash::partition::blocking::tests::offset_overflow_is_out_of_bounds ... ok
test flash::partition::asynch::tests::read_write_at_end ... ok
test flash::partition::blocking::tests::erase_from_overflow_is_out_of_bounds ... ok
test flash::partition::blocking::tests::read_write_at_end ... ok
test flash::partition::asynch::tests::erase_from_after_to_is_out_of_bounds ... ok
test flash::partition::asynch::tests::erase_from_overflow_is_out_of_bounds ... ok
test flash::partition::blocking::tests::can_erase_whole_partition ... ok
test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
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.01s
all doctests ran in 0.81s; merged doctests compilation took 0.80s
Updating crates.io index
Locking 27 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-hal-internal/66487d551a320e29/out/embassy_hal_internal-66487d551a320e29)
running 4 tests
test atomic_ring_buffer::tests::push_and_reset ... ok
test atomic_ring_buffer::tests::push_pop ... ok
test atomic_ring_buffer::tests::zero_len ... ok
test atomic_ring_buffer::tests::push_slices ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Doc-tests embassy_hal_internal
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 92 packages to highest Rust 1.100.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Compiling embassy-executor-timer-queue v0.1.1 (/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 4.69s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-time/56a4a528253c0af8/out/embassy_time-56a4a528253c0af8)
running 2 tests
test driver_mock::tests::test_schedule_wake ... ok
test driver_mock::tests::test_advance ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
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 322) - compile ... ok
test src/timer.rs - timer::Timer::after (line 153) - compile ... ok
test src/timer.rs - timer::Ticker (line 340) - 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.87s; merged doctests compilation took 0.86s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 15 packages to highest Rust 1.100.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 1.34s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-time-driver/7ae1bdd74821e9db/out/embassy_time_driver-7ae1bdd74821e9db)
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.02s
all doctests ran in 0.96s; merged doctests compilation took 0.93s
Updating crates.io index
Locking 10 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-ptp-driver v0.1.0 (/ci/code/embassy-ptp-driver)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-ptp-driver/203a4fbdb38e7424/out/embassy_ptp_driver-203a4fbdb38e7424)
running 3 tests
test tests::timestamp_rejects_a_full_second_of_quarter_nanoseconds - should panic ... ok
test tests::timestamp_preserves_quarter_nanoseconds ... ok
test tests::timestamp_rejects_a_full_second_of_nanoseconds - should panic ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy_ptp_driver
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
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 61 packages to highest Rust 1.100.0 compatible versions
Compiling embassy-crypto v0.1.0 (/ci/code/embassy-crypto)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-crypto-rustcrypto v0.1.0 (/ci/code/embassy-crypto-rustcrypto)
Compiling embassy-crypto-rand v0.1.0 (/ci/code/embassy-crypto-rand)
Compiling embassy-boot v0.7.0 (/ci/code/embassy-boot)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.87s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-boot/5cb2f5a9c59a76e5/out/embassy_boot-5cb2f5a9c59a76e5)
running 22 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::asynch::tests::can_verify_sha1_sector_bigger_than_chunk ... ok
test firmware_updater::asynch::tests::can_verify_sha1_cross_sector_boundary ... ok
test tests::test_swap_state_dfu_page_biggest ... 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 verification::tests::key_size_is_what_from_bytes_takes ... ok
test firmware_updater::blocking::tests::can_verify_sha1_sector_smaller_than_chunk ... ok
test verification::tests::signature_sizes ... ok
test verification::tests::key_sizes ... ok
test tests::test_swap_state_active_page_biggest ... ok
test boot_loader::verification_tests::read_errors_preserve_pending_swap_and_rejection_write_errors_preserve_active ... ok
test tests::test_swap_state ... ok
test tests::test_verify ... ok
test boot_loader::verification_tests::invalid_signature_preserves_images_and_reports_revert ... ok
test boot_loader::verification_tests::interrupted_swap_verifies_only_before_progress_and_can_revert ... ok
test boot_loader::verification_tests::torn_state_erase_in_mark_booted_keeps_swapped_image ... ok
test boot_loader::verification_tests::torn_state_erase_after_revert_keeps_reverted_image ... ok
test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.76s
Running tests/power_fail.rs (/ci/cache/target/debug/build/embassy-boot/8c3b1cdbf51d53f0/out/power_fail-8c3b1cdbf51d53f0)
running 8 tests
test models_list ... ok
test issue_7235_torn_state_erase ... ok
test replay ... ok
test rules ... ok
test nrf52_two_cuts_exceed_n_write ... ok
test many_downloads_keep_image_names ... ok
test random ... ok
test sweep has been running for over 60 seconds
test sweep ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 74.30s
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 84) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
all doctests ran in 0.63s; merged doctests compilation took 0.62s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/nrf-pac`
Updating git repository `https://github.com/embassy-rs/unitrait`
Updating git repository `https://github.com/embassy-rs/xarxa`
Locking 70 packages to highest Rust 1.100.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
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-executor-timer-queue v0.1.1 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-usb-driver v0.2.2 (/ci/code/embassy-usb-driver)
Compiling embassy-crypto v0.1.0 (/ci/code/embassy-crypto)
Compiling embassy-time-queue-utils v0.3.2 (/ci/code/embassy-time-queue-utils)
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.11.0 (/ci/code/embassy-nrf)
warning: methods `on_interrupt`, `next_period`, and `trigger_alarm` are never used
--> src/time_driver.rs:299:8
|
220 | impl RtcDriver {
| -------------- methods in this implementation
...
299 | fn on_interrupt(&self) {
| ^^^^^^^^^^^^
...
324 | fn next_period(&self) {
| ^^^^^^^^^^^
...
342 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `embassy-nrf` (lib test) generated 1 warning (1 duplicate)
warning: `embassy-nrf` (lib) generated 1 warning
warning: unused dependency `cortex-m-rt`
--> Cargo.toml:360:1
|
360 | cortex-m-rt = ">=0.6.15,<0.8"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `cargo::unused_dependencies` is set to `warn` by default
help: consider removing the dependency on `cortex-m-rt`
warning: unused dependency `embassy-crypto`
--> Cargo.toml:343:1
|
343 | embassy-crypto = { version = "0.1.0", path = "../embassy-crypto" }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the dependency on `embassy-crypto`
warning: `embassy-nrf` (manifest) generated 2 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 8.55s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-nrf/cc9e3a8974b7e868/out/embassy_nrf-cc9e3a8974b7e868)
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 9 tests
test src/crypto/pka/mod.rs - crypto::pka (line 19) - compile ... ok
test src/gpio.rs - gpio::InterruptHandler (line 826) ... ignored
test src/gpiote.rs - gpiote::InterruptHandler (line 91) ... ignored
test src/lib.rs - (line 65) ... ignored
test src/lib.rs - bind_interrupts (line 268) ... ignored
test src/lib.rs - bind_interrupts (line 281) ... ignored
test src/temp.rs - temp::Temp<'d>::read_celsius_x4 (line 55) - compile ... ok
test src/qdec.rs - qdec::Qdec<'d>::read (line 165) - compile ... ok
test src/crypto/symmetric/mod.rs - crypto::symmetric::Symmetric (line 146) - compile ... ok
test result: ok. 4 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.01s
all doctests ran in 0.74s; merged doctests compilation took 0.72s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/rp-pac`
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 159 packages to highest Rust 1.100.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Adding generic-array v0.14.7 (available: v0.14.9)
Compiling embassy-executor-timer-queue v0.1.1 (/ci/code/embassy-executor-timer-queue)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-rp v0.10.0 (/ci/code/embassy-rp)
Compiling embassy-executor v0.10.0 (/ci/code/embassy-executor)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-executor-macros v0.8.0 (/ci/code/embassy-executor-macros)
Compiling embassy-time-queue-utils v0.3.2 (/ci/code/embassy-time-queue-utils)
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: unused variable: `output_freq`
--> src/clocks.rs:2024:17
|
2024 | 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: `embassy-rp` (lib) generated 1 warning
warning: `embassy-rp` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p embassy-rp --tests` to apply 1 suggestion)
warning: unused dependency `cortex-m-rt`
--> Cargo.toml:185:1
|
185 | cortex-m-rt = ">=0.6.15,<0.8"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `cargo::unused_dependencies` is set to `warn` by default
help: consider removing the dependency on `cortex-m-rt`
warning: `embassy-rp` (manifest) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.89s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-rp/d33801995784b437/out/embassy_rp-d33801995784b437)
running 5 tests
test clocks::tests::test_find_pll_params ... ok
test clocks::tests::test_auto_voltage_scaling ... ok
test clocks::tests::test_manual_pll_helper ... ok
test pio_programs::clock_divider::tests::clock_divider_math ... ok
test clocks::tests::test_pll_config_validation ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Doc-tests embassy_rp
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
--> src/multicore.rs:60:1
|
60 | use crate::{Peri, install_stack_guard, interrupt, pac};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted
running 15 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 554) ... ignored
test src/clocks.rs - clocks::find_pll_params (line 906) ... ignored
test src/gpio.rs - gpio::InterruptHandler (line 260) ... ignored
test src/intrinsics.rs - intrinsics::intrinsics (line 64) ... ignored
test src/lib.rs - (line 98) ... ignored
test src/lib.rs - bind_interrupts (line 176) ... ignored
test src/rtc/mod.rs - rtc::Rtc<'d,T>::schedule_alarm (line 150) - compile ... ok
test src/lib.rs - (line 82) ... ok
test src/lib.rs - install_core0_stack_guard (line 522) - compile ... ok
test src/multicore.rs - multicore (line 13) - compile ... ok
test result: ok. 4 passed; 0 failed; 11 ignored; 0 measured; 0 filtered out; finished in 0.36s
all doctests ran in 1.82s; merged doctests compilation took 1.46s
Compiling embassy-rp v0.10.0 (/ci/code/embassy-rp)
warning: unused import: `super::*`
--> src/clocks.rs:1984:9
|
1984 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/psram.rs:322:13
|
322 | 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:324:13
|
324 | let mut eid: u32 = 0;
| ----^^^
| |
| help: remove this `mut`
warning: constant `RESET_ENABLE_CMD` is never used
--> src/psram.rs:318:15
|
318 | 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:319:15
|
319 | const READ_ID_CMD: u8 = 0x9f;
| ^^^^^^^^^^^
warning: methods `check_alarm` and `trigger_alarm` are never used
--> src/time_driver.rs:86:8
|
60 | impl TimerDriver {
| ---------------- methods in this implementation
...
86 | fn check_alarm(&self) {
| ^^^^^^^^^^^
...
104 | fn trigger_alarm(&self, cs: CriticalSection) {
| ^^^^^^^^^^^^^
warning: `embassy-rp` (lib) generated 5 warnings (run `cargo fix --lib -p embassy-rp` to apply 2 suggestions)
warning: `embassy-rp` (lib test) generated 6 warnings (5 duplicates) (run `cargo fix --lib -p embassy-rp --tests` to apply 1 suggestion)
warning: unused dependency `cortex-m-rt`
--> Cargo.toml:185:1
|
185 | cortex-m-rt = ">=0.6.15,<0.8"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `cargo::unused_dependencies` is set to `warn` by default
help: consider removing the dependency on `cortex-m-rt`
warning: unused dependency `rp2040-boot2`
--> Cargo.toml:203:1
|
203 | rp2040-boot2 = "0.3"
| ^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the dependency on `rp2040-boot2`
warning: `embassy-rp` (manifest) generated 2 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 5.47s
Running unittests src/lib.rs (/ci/cache/target/debug/build/embassy-rp/0fc7aae1e71ca439/out/embassy_rp-0fc7aae1e71ca439)
running 3 tests
test block::test::make_hashed_partition_table ... ok
test pio_programs::clock_divider::tests::clock_divider_math ... ok
test block::test::sha256_vectors ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Doc-tests embassy_rp
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
--> src/multicore.rs:60:1
|
60 | use crate::{Peri, install_stack_guard, interrupt, pac};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted
running 19 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 290) ... ignored
test src/aon_timer/mod.rs - aon_timer::AonTimer<'d>::wait_for_alarm (line 660) ... 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 906) ... ignored
test src/gpio.rs - gpio::InterruptHandler (line 260) ... ignored
test src/lib.rs - (line 98) ... ignored
test src/lib.rs - bind_interrupts (line 176) ... ignored
test src/multicore.rs - multicore (line 13) - compile ... ok
test src/lib.rs - install_core0_stack_guard (line 522) - compile ... ok
test src/trng.rs - trng::Trng (line 153) - compile ... ok
test src/lib.rs - (line 82) ... ok
test result: ok. 4 passed; 0 failed; 15 ignored; 0 measured; 0 filtered out; finished in 0.37s
all doctests ran in 1.81s; merged doctests compilation took 1.44s
Updating crates.io index
Updating git repository `https://github.com/embassy-rs/stm32-data-generated`
Updating git repository `https://github.com/embassy-rs/xarxa`
Updating git repository `https://github.com/embassy-rs/unitrait`
Locking 123 packages to highest Rust 1.100.0 compatible versions
Adding embedded-hal v0.2.7 (available: v1.0.0)
Compiling embassy-time-driver v0.2.2 (/ci/code/embassy-time-driver)
Compiling embassy-crypto v0.1.0 (/ci/code/embassy-crypto)
Compiling embassy-time-queue-utils v0.3.2 (/ci/code/embassy-time-queue-utils)
Compiling embassy-hal-internal v0.5.0 (/ci/code/embassy-hal-internal)
Compiling embassy-stm32 v0.6.0 (/ci/code/embassy-stm32)
Compiling embassy-usb-synopsys-otg v0.4.0 (/ci/code/embassy-usb-synopsys-otg)
Compiling embassy-time v0.5.1 (/ci/code/embassy-time)
Compiling embassy-embedded-hal v0.6.0 (/ci/code/embassy-embedded-hal)
warning: unused import: `super::rx_consts::*`
--> src/eth/v1/descriptors.rs:424:9
|
424 | use super::rx_consts::*;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: constant `PERIOD_TICKS` is never used
--> src/time_driver/tim.rs:83:7
|
83 | const PERIOD_TICKS: u64 = 1 << (BITS - 1);
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `embassy-stm32` (lib) generated 1 warning
error[E0277]: `Ckd` doesn't implement `Debug`
--> src/fmt.rs:48:13
|
48 | ::core::assert_eq!($($x)*);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Ckd`
|
::: src/timer/complementary_pwm.rs:988:13
|
988 | assert_eq!(ckd, Ckd::Div1);
| -------------------------- in this macro invocation
|
= note: this error originates in the macro `::core::assert_eq` which comes from the expansion of the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `Ckd` doesn't implement `Debug`
--> src/fmt.rs:48:13
|
48 | ::core::assert_eq!($($x)*);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Ckd`
|
::: src/timer/complementary_pwm.rs:999:17
|
999 | assert_eq!(ckd, Ckd::Div2);
| -------------------------- in this macro invocation
|
= note: this error originates in the macro `::core::assert_eq` which comes from the expansion of the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `Ckd` doesn't implement `Debug`
--> src/fmt.rs:48:13
|
48 | ::core::assert_eq!($($x)*);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Ckd`
|
::: src/timer/complementary_pwm.rs:1011:17
|
1011 | assert_eq!(ckd, Ckd::Div4);
| -------------------------- in this macro invocation
|
= note: this error originates in the macro `::core::assert_eq` which comes from the expansion of the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0277`.
warning: `embassy-stm32` (lib test) generated 1 warning
error: could not compile `embassy-stm32` (lib test) due to 6 previous errors; 1 warning emitted
warning: unused dependency `bitflags`
--> Cargo.toml:225:1
|
225 | bitflags = "2.13.1"
| ^^^^^^^^^^^^^^^^^^^
|
= note: `cargo::unused_dependencies` is set to `warn` by default
help: consider removing the dependency on `bitflags`
warning: unused dependency `cortex-m-rt`
--> Cargo.toml:209:1
|
209 | cortex-m-rt = ">=0.6.15,<0.8"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the dependency on `cortex-m-rt`
warning: unused dependency `dsp-fixedpoint`
--> Cargo.toml:212:1
|
212 | dsp-fixedpoint = { version = "0.2.0", default-features = false }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the dependency on `dsp-fixedpoint`
warning: unused dependency `embassy-crypto`
--> Cargo.toml:189:1
|
189 | embassy-crypto = { version = "0.1.0", path = "../embassy-crypto", features = ["large-contexts"] }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the dependency on `embassy-crypto`
warning: `embassy-stm32` (manifest) generated 4 warnings
job memory peak: 1.6 GiB of 12G, swap 0.0 GiB of 2G
run failed: exited with code 101
job failure in 4m2s