update toolchain to nightly-2024-07-30 #865
ci.yml
on: pull_request
just check
1m 9s
just clippy
56s
rustfmt
26s
docs
1m 45s
netlify_dryrun
1m 37s
just test
0s
cargo miri test --package forth3 (host)
0s
Matrix: build-bins
Annotations
11 errors and 18 warnings
just clippy:
source/alloc/src/heap.rs#L68
error: you should consider adding a `Default` implementation for `MnemosAlloc<U>`
--> source/alloc/src/heap.rs:68:5
|
68 | / pub const fn new() -> Self {
69 | | Self {
70 | | allocator: U::INIT,
71 | | heap_size: AtomicUsize::new(0),
... |
75 | | }
76 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
65 + impl<U: UnderlyingAllocator> Default for MnemosAlloc<U> {
66 + fn default() -> Self {
67 + Self::new()
68 + }
69 + }
|
|
just clippy
Process completed with exit code 1.
|
just check:
source/kernel/src/lib.rs#L174
error[E0308]: mismatched types
--> source/kernel/src/lib.rs:174:31
|
174 | timer: Timer::new(settings.timer_granularity),
| ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Clock`, found `Duration`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/runner/.cargo/git/checkouts/mycelium-fb863cdaca369b67/0692c10/maitake/src/time/timer.rs:273:16
|
273 | pub fn new(clock: Clock) -> Self {
| ^^^
|
just check:
source/kernel/src/lib.rs#L174
error[E0308]: mismatched types
--> source/kernel/src/lib.rs:174:31
|
174 | timer: Timer::new(settings.timer_granularity),
| ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Clock`, found `Duration`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/runner/.cargo/git/checkouts/mycelium-fb863cdaca369b67/0692c10/maitake/src/time/timer.rs:273:16
|
273 | pub fn new(clock: Clock) -> Self {
| ^^^
|
just check
Process completed with exit code 1.
|
netlify_dryrun
Process completed with exit code 101.
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L774
error: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:774:7
|
774 | #[cfg(feature = "thumbv6")]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `-D unexpected-cfgs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L810
error: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:810:11
|
810 | #[cfg(not(feature = "thumbv6"))]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
docs:
source/kernel/src/lib.rs#L174
error[E0308]: mismatched types
--> source/kernel/src/lib.rs:174:31
|
174 | timer: Timer::new(settings.timer_granularity),
| ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Clock`, found `Duration`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/runner/.cargo/git/checkouts/mycelium-fb863cdaca369b67/0692c10/maitake/src/time/timer.rs:273:16
|
273 | pub fn new(clock: Clock) -> Self {
| ^^^
|
docs:
source/kernel/src/lib.rs#L174
error[E0308]: mismatched types
--> source/kernel/src/lib.rs:174:31
|
174 | timer: Timer::new(settings.timer_granularity),
| ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Clock`, found `Duration`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/runner/.cargo/git/checkouts/mycelium-fb863cdaca369b67/0692c10/maitake/src/time/timer.rs:273:16
|
273 | pub fn new(clock: Clock) -> Self {
| ^^^
|
docs
Process completed with exit code 1.
|
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rustfmt
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
just clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
just clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, extractions/setup-just@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
just check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
just check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, extractions/setup-just@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
just check:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L774
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:774:7
|
774 | #[cfg(feature = "thumbv6")]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
just check:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L810
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:810:11
|
810 | #[cfg(not(feature = "thumbv6"))]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
just check:
source/kernel/src/lib.rs#L73
warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
--> source/kernel/src/lib.rs:73:12
|
73 | #![feature(async_fn_in_trait)] // needed for `embedded-hal-async`
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
netlify_dryrun
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
netlify_dryrun
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, extractions/setup-just@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L774
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:774:7
|
774 | #[cfg(feature = "thumbv6")]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L810
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:810:11
|
810 | #[cfg(not(feature = "thumbv6"))]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L774
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:774:7
|
774 | #[cfg(feature = "thumbv6")]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
docs:
source/abi/src/bbqueue_ipc/bbbuffer.rs#L810
warning: unexpected `cfg` condition value: `thumbv6`
--> source/abi/src/bbqueue_ipc/bbbuffer.rs:810:11
|
810 | #[cfg(not(feature = "thumbv6"))]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `defmt`, and `use-defmt`
= help: consider adding `thumbv6` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
docs:
source/kernel/src/lib.rs#L73
warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable
--> source/kernel/src/lib.rs:73:12
|
73 | #![feature(async_fn_in_trait)] // needed for `embedded-hal-async`
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|