Skip to content

feat(maitake-sync): mutex-traits integration #1371

feat(maitake-sync): mutex-traits integration

feat(maitake-sync): mutex-traits integration #1371

Triggered via pull request July 28, 2024 16:17
@hawkwhawkw
synchronize #482
eliza/lock-api
Status Failure
Total duration 5m 13s
Artifacts

ci.yml

on: pull_request
changed_paths
6s
changed_paths
cargo check (host)
3m 52s
cargo check (host)
rustfmt
13s
rustfmt
clippy
35s
clippy
cargo test (host)
4m 50s
cargo test (host)
build boot image (x86_64)
50s
build boot image (x86_64)
cargo test (cross x64)
1m 9s
cargo test (cross x64)
docs
2m 1s
docs
Loom tests (cordyceps)
1m 46s
Loom tests (cordyceps)
Miri tests (codyceps)
2m 8s
Miri tests (codyceps)
Tests (maitake, no-default-features)
1m 7s
Tests (maitake, no-default-features)
Loom tests (maitake)
57s
Loom tests (maitake)
Loom tests (mycelium-util)
49s
Loom tests (mycelium-util)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
clippy: maitake-sync/src/blocking/default_mutex.rs#L185
error[E0433]: failed to resolve: use of undeclared crate or module `critical_section` --> maitake-sync/src/blocking/default_mutex.rs:185:33 | 185 | self.0.with_lock(|| critical_section::with(|| f())) | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `critical_section`
clippy: maitake-sync/src/blocking/default_mutex.rs#L191
error[E0433]: failed to resolve: use of undeclared crate or module `critical_section` --> maitake-sync/src/blocking/default_mutex.rs:191:37 | 191 | self.0.try_with_lock(|| critical_section::with(|| f())) | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `critical_section`
clippy
Process completed with exit code 1.
build boot image (x86_64)
Process completed with exit code 101.
Loom tests (mycelium-util)
Process completed with exit code 101.
Loom tests (maitake)
Process completed with exit code 101.
Tests (maitake, no-default-features)
Process completed with exit code 101.
cargo test (cross x64)
Process completed with exit code 101.
docs: maitake-sync/src/blocking/default_mutex.rs#L124
error: missing documentation for a struct --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D missing-docs` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(missing_docs)]`
docs
Process completed with exit code 1.
clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
Loom tests (mycelium-util)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
Loom tests (maitake)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
Loom tests (cordyceps)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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: maitake-sync/src/blocking/default_mutex.rs#L124
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:23 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
docs: maitake-sync/src/blocking/default_mutex.rs#L124
warning: missing documentation for a struct --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:9 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^
Miri tests (codyceps)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
cargo check (host): maitake-sync/src/blocking/default_mutex.rs#L124
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:23 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cargo check (host): maitake-sync/src/blocking/default_mutex.rs#L124
warning: missing documentation for a struct --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:9 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^
cargo check (host): maitake-sync/src/blocking/default_mutex.rs#L124
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:23 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cargo check (host): maitake-sync/src/blocking/default_mutex.rs#L124
warning: missing documentation for a struct --> maitake-sync/src/blocking/default_mutex.rs:124:5 | 124 | pub struct DefaultMutex(std::sync::Mutex<()>); | ^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> maitake-sync/src/lib.rs:6:9 | 6 | #![warn(missing_docs, missing_debug_implementations)] | ^^^^^^^^^^^^
cargo check (host): trace/src/embedded_graphics.rs#L132
warning: unused variable: `actual_point` --> trace/src/embedded_graphics.rs:132:17 | 132 | Err(actual_point) => unsafe { | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_point` | = note: `#[warn(unused_variables)]` on by default
cargo test (host)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/