+ git clone -n https://github.com/embassy-rs/embassy.git code
Cloning into 'code'...
+ cd code
+ git checkout 4567b874826e30f54dbd0e5d12b6f0243e284be3
HEAD is now at 4567b874 cargo fmt
+ exec .github/ci/test.sh
Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)... done
Updating crates.io index
Compiling embassy-executor v0.4.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.4.0 (/ci/code/embassy-executor-macros)
Finished test [unoptimized + debuginfo] target(s) in 1.57s
Running unittests src/lib.rs (/ci/cache/target/miri/x86_64-unknown-linux-gnu/debug/deps/embassy_executor-56d40b366f252b72)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Running tests/test.rs (/ci/cache/target/miri/x86_64-unknown-linux-gnu/debug/deps/test-916d6b0d7adf8c9a)
running 4 tests
test executor_noop ... ok
test executor_task ... ok
test executor_task_self_wake ... ok
test executor_task_self_wake_twice ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests embassy-executor
running 1 test
test src/raw/mod.rs - raw::Executor (line 462) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)... done
Compiling embassy-executor v0.4.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.4.0 (/ci/code/embassy-executor-macros)
Finished test [unoptimized + debuginfo] target(s) in 1.19s
Running unittests src/lib.rs (/ci/cache/target/miri/x86_64-unknown-linux-gnu/debug/deps/embassy_executor-0b24d84cb099e666)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Running tests/test.rs (/ci/cache/target/miri/x86_64-unknown-linux-gnu/debug/deps/test-39251e3b0979ea1d)
running 4 tests
test executor_noop ... ok
test executor_task ... ok
test executor_task_self_wake ... ok
test executor_task_self_wake_twice ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests embassy-executor
running 1 test
test src/raw/mod.rs - raw::Executor (line 462) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
Updating crates.io index
Compiling embassy-sync v0.5.0 (/ci/code/embassy-sync)
Finished test [unoptimized + debuginfo] target(s) in 3.67s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_sync-88d8d05af4b64049)
running 40 tests
test channel::tests::cloning ... ok
test channel::tests::dynamic_dispatch ... 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 pipe::tests::read_buf ... ok
test pipe::tests::sender_send_completes_if_capacity ... ok
test pipe::tests::writer_is_cloneable ... ok
test pipe::tests::writing_once ... ok
test pipe::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::cloning ... ok
test pipe::tests::writing_when_full ... ok
test pipe::tests::receiving_when_empty ... ok
test pipe::tests::simple_send_and_receive ... ok
test priority_channel::tests::receiving_when_empty ... ok
test priority_channel::tests::sender_send_completes_if_capacity ... ok
test priority_channel::tests::receiving_once_with_one_send ... ok
test priority_channel::tests::send_priority ... ok
test priority_channel::tests::dynamic_dispatch ... ok
test priority_channel::tests::sending_once ... ok
test priority_channel::tests::sending_when_full ... ok
test priority_channel::tests::simple_send_and_receive ... ok
test pubsub::tests::all_subscribers_receive ... ok
test channel::tests::receiver_receives_given_try_send_async ... ok
test pubsub::tests::correct_available ... ok
test pubsub::tests::limited_subs_and_pubs ... ok
test pubsub::tests::correct_space ... ok
test pubsub::tests::lag_when_queue_full_on_immediate_publish ... ok
test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
test pubsub::tests::dyn_pub_sub_works ... ok
test pubsub::tests::publisher_wait_on_full_queue ... ok
test pubsub::tests::skip_clone_for_last_message ... ok
test priority_channel::tests::receiver_receives_given_try_send_async ... ok
test pipe::tests::receiver_receives_given_try_write_async ... ok
test ring_buffer::tests::push_pop ... ok
test channel::tests::senders_sends_wait_until_capacity ... ok
test priority_channel::tests::senders_sends_wait_until_capacity ... ok
test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
Doc-tests embassy-sync
running 5 tests
test src/priority_channel.rs - priority_channel::PriorityChannel<M,T,K,N>::new (line 346) ... ok
test src/signal.rs - signal::Signal (line 23) ... ok
test src/channel.rs - channel::Channel<M,T,N>::new (line 460) ... ok
test src/pipe.rs - pipe::Pipe<M,N>::new (line 247) ... ok
test src/pubsub/mod.rs - pubsub::PubSubChannel (line 35) ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
Updating crates.io index
Compiling embassy-time v0.2.0 (/ci/code/embassy-time)
Compiling embassy-sync v0.5.0 (/ci/code/embassy-sync)
Compiling embassy-embedded-hal v0.1.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-futures v0.1.1 (/ci/code/embassy-futures)
Finished test [unoptimized + debuginfo] target(s) in 0.82s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_embedded_hal-ab7bfeb05b593c53)
running 9 tests
test adapter::yielding_async::tests::can_erase ... 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::concat_flash::tests::can_erase_across_flashes ... ok
test flash::partition::asynch::tests::can_write ... ok
test flash::partition::blocking::tests::can_erase ... ok
test flash::partition::blocking::tests::can_read ... ok
test flash::partition::blocking::tests::can_write ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy-embedded-hal
running 4 tests
test src/shared_bus/asynch/i2c.rs - shared_bus::asynch::i2c (line 5) ... ignored
test src/shared_bus/asynch/spi.rs - shared_bus::asynch::spi (line 5) ... ignored
test src/shared_bus/blocking/i2c.rs - shared_bus::blocking::i2c (line 5) ... ignored
test src/shared_bus/blocking/spi.rs - shared_bus::blocking::spi (line 5) ... ignored
test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s
Updating crates.io index
Compiling embassy-hal-internal v0.1.0 (/ci/code/embassy-hal-internal)
Finished test [unoptimized + debuginfo] target(s) in 0.49s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_hal_internal-ab3fbaf033b9cfa8)
running 4 tests
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 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 3 tests
test src/peripheral.rs - peripheral::Peripheral (line 103) ... ignored
test src/peripheral.rs - peripheral::Peripheral (line 117) ... ignored
test src/peripheral.rs - peripheral::Peripheral (line 124) ... ignored
test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s
Updating crates.io index
Compiling embassy-time v0.2.0 (/ci/code/embassy-time)
Compiling embassy-executor v0.4.0 (/ci/code/embassy-executor)
Compiling embassy-executor-macros v0.4.0 (/ci/code/embassy-executor-macros)
Finished test [unoptimized + debuginfo] target(s) in 1.80s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_time-f71c38f56732e4e2)
running 5 tests
test queue_generic::tests::test_immediate_trigger ... ok
test queue_generic::tests::test_schedule ... ok
test queue_generic::tests::test_queue_overflow ... ok
test queue_generic::tests::test_trigger ... ok
test queue_generic::tests::test_schedule_same ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests embassy-time
running 5 tests
test src/timer.rs - timer::Ticker (line 154) - compile ... ok
test src/timer.rs - timer::Ticker (line 134) - compile ... ok
test src/timer.rs - timer::Timer::after (line 49) - compile ... ok
test src/queue.rs - queue (line 19) ... ok
test src/driver.rs - driver (line 36) ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
Updating crates.io index
Compiling embassy-embedded-hal v0.1.0 (/ci/code/embassy-embedded-hal)
Compiling embassy-time v0.2.0 (/ci/code/embassy-time)
Compiling embassy-sync v0.5.0 (/ci/code/embassy-sync)
Compiling embassy-boot v0.1.1 (/ci/code/embassy-boot/boot)
Finished test [unoptimized + debuginfo] target(s) in 1.74s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/embassy_boot-6fd5673fbfe489be)
running 7 tests
test boot_loader::tests::test_range_asserts - should panic ... ok
test tests::test_boot_state ... ok
test firmware_updater::asynch::tests::can_verify_sha1 ... ok
test firmware_updater::blocking::tests::can_verify_sha1 ... ok
test tests::test_swap_state ... ok
test tests::test_swap_state_dfu_page_biggest ... ok
test tests::test_swap_state_active_page_biggest ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Doc-tests embassy-boot
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling embassy-boot v0.1.1 (/ci/code/embassy-boot/boot)
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/digest_adapters/ed25519_dalek.rs:3:5
|
3 | use ed25519_dalek::Digest;
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/firmware_updater/asynch.rs:92:17
|
92 | use ed25519_dalek::{Signature, SignatureError, Verifier, VerifyingKey};
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/firmware_updater/blocking.rs:99:17
|
99 | use ed25519_dalek::{Signature, SignatureError, Verifier, VerifyingKey};
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/lib.rs:278:13
|
278 | use ed25519_dalek::Keypair;
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/lib.rs:284:13
|
284 | use ed25519_dalek::{Digest, Sha512, Signature, Signer};
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/lib.rs:291:13
|
291 | use ed25519_dalek::PublicKey;
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/digest_adapters/ed25519_dalek.rs:5:19
|
5 | pub struct Sha512(ed25519_dalek::Sha512);
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
error[E0464]: multiple candidates for `rlib` dependency `ed25519_dalek` found
--> src/digest_adapters/ed25519_dalek.rs:9:14
|
9 | Self(ed25519_dalek::Sha512::new())
| ^^^^^^^^^^^^^
|
= note: candidate #1: /ci/cache/target/debug/deps/libed25519_dalek-e33e7ae782e4f531.rlib
= note: candidate #2: /ci/cache/target/debug/deps/libed25519_dalek-0aa3fb323fa9b209.rlib
For more information about this error, try `rustc --explain E0464`.
error: could not compile `embassy-boot` (lib test) due to 8 previous errors
run failed: exited with code 101