feat: add sccache webdav backend #14
Annotations
1 error and 38 warnings
|
Update markdown
Docker build failed with exit code 1
|
|
the following explicit lifetimes could be elided: 'a:
src/atomic/atomic_arc.rs#L224
warning: the following explicit lifetimes could be elided: 'a
--> src/atomic/atomic_arc.rs:224:6
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
224 - impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
224 + impl<T> Into<Option<Arc<T>>> for &SharedArc<T> {
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L224
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:224:1
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
help: replace the `Into` implementation with `From<&'a atomic::atomic_arc::SharedArc<T>>`
|
224 ~ impl<'a, T> From<&'a SharedArc<T>> for Option<Arc<T>> {
225 ~ fn from(val: &'a SharedArc<T>) -> Self {
226 ~ val.clone_inner()
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L218
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:218:1
|
218 | impl<T> Into<Option<Arc<T>>> for SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
= note: `#[warn(clippy::from_over_into)]` on by default
help: replace the `Into` implementation with `From<atomic::atomic_arc::SharedArc<T>>`
|
218 ~ impl<T> From<SharedArc<T>> for Option<Arc<T>> {
219 ~ fn from(val: SharedArc<T>) -> Self {
220 ~ val.clone_inner()
|
|
|
this `else { if .. }` block can be collapsed:
src/atomic/atomic_arc.rs#L121
warning: this `else { if .. }` block can be collapsed
--> src/atomic/atomic_arc.rs:121:16
|
121 | } else {
| ________________^
122 | | if new.is_null() {
123 | | Err(None)
124 | | } else {
... |
127 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
121 ~ } else if new.is_null() {
122 + Err(None)
123 + } else {
124 + unsafe { Err(Some(Arc::from_raw(new))) }
125 + }
|
|
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/async_publisher.rs#L36
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/async_publisher.rs:36:9
|
36 | self.publisher.broadcast(item).and_then(|_| Ok(()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.publisher.broadcast(item).map(|_| ())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L139
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:139:25
|
139 | if slot.compare_and_swap(ptr, 1, Ordering::SeqCst) == ptr {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L33
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:33:12
|
33 | if ptr.compare_and_swap(ptr::null_mut(), instance, Ordering::SeqCst) != ptr::null_mut() {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L114
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:114:24
|
114 | if self.object.compare_and_swap(old, new, Ordering::SeqCst) == old {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L63
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:63:37
|
63 | let previous = slot.compare_and_swap(0, object as usize, Ordering::SeqCst);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L7
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:7:12
|
7 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L5
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:5:12
|
5 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: expected names are: `docsrs`, `feature`, and `test` and 31 more
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= 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
|
|
unused imports: `RecvError` and `RecvTimeoutError`:
src/ring_buffer.rs#L6
warning: unused imports: `RecvError` and `RecvTimeoutError`
--> src/ring_buffer.rs:6:27
|
6 | pub use std::sync::mpsc::{RecvError, RecvTimeoutError, SendError, TryRecvError};
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
|
the following explicit lifetimes could be elided: 'a:
src/atomic/atomic_arc.rs#L224
warning: the following explicit lifetimes could be elided: 'a
--> src/atomic/atomic_arc.rs:224:6
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
224 - impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
224 + impl<T> Into<Option<Arc<T>>> for &SharedArc<T> {
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L224
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:224:1
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
help: replace the `Into` implementation with `From<&'a atomic::atomic_arc::SharedArc<T>>`
|
224 ~ impl<'a, T> From<&'a SharedArc<T>> for Option<Arc<T>> {
225 ~ fn from(val: &'a SharedArc<T>) -> Self {
226 ~ val.clone_inner()
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L218
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:218:1
|
218 | impl<T> Into<Option<Arc<T>>> for SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
= note: `#[warn(clippy::from_over_into)]` on by default
help: replace the `Into` implementation with `From<atomic::atomic_arc::SharedArc<T>>`
|
218 ~ impl<T> From<SharedArc<T>> for Option<Arc<T>> {
219 ~ fn from(val: SharedArc<T>) -> Self {
220 ~ val.clone_inner()
|
|
|
this `else { if .. }` block can be collapsed:
src/atomic/atomic_arc.rs#L121
warning: this `else { if .. }` block can be collapsed
--> src/atomic/atomic_arc.rs:121:16
|
121 | } else {
| ________________^
122 | | if new.is_null() {
123 | | Err(None)
124 | | } else {
... |
127 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
121 ~ } else if new.is_null() {
122 + Err(None)
123 + } else {
124 + unsafe { Err(Some(Arc::from_raw(new))) }
125 + }
|
|
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/async_publisher.rs#L36
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/async_publisher.rs:36:9
|
36 | self.publisher.broadcast(item).and_then(|_| Ok(()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.publisher.broadcast(item).map(|_| ())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L139
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:139:25
|
139 | if slot.compare_and_swap(ptr, 1, Ordering::SeqCst) == ptr {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L33
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:33:12
|
33 | if ptr.compare_and_swap(ptr::null_mut(), instance, Ordering::SeqCst) != ptr::null_mut() {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L114
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:114:24
|
114 | if self.object.compare_and_swap(old, new, Ordering::SeqCst) == old {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L63
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:63:37
|
63 | let previous = slot.compare_and_swap(0, object as usize, Ordering::SeqCst);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L7
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:7:12
|
7 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L5
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:5:12
|
5 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: expected names are: `docsrs`, `feature`, and `test` and 31 more
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= 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
|
|
unused imports: `RecvError` and `RecvTimeoutError`:
src/ring_buffer.rs#L6
warning: unused imports: `RecvError` and `RecvTimeoutError`
--> src/ring_buffer.rs:6:27
|
6 | pub use std::sync::mpsc::{RecvError, RecvTimeoutError, SendError, TryRecvError};
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
|
the following explicit lifetimes could be elided: 'a:
src/atomic/atomic_arc.rs#L224
warning: the following explicit lifetimes could be elided: 'a
--> src/atomic/atomic_arc.rs:224:6
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
224 - impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
224 + impl<T> Into<Option<Arc<T>>> for &SharedArc<T> {
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L224
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:224:1
|
224 | impl<'a, T> Into<Option<Arc<T>>> for &'a SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
help: replace the `Into` implementation with `From<&'a atomic::atomic_arc::SharedArc<T>>`
|
224 ~ impl<'a, T> From<&'a SharedArc<T>> for Option<Arc<T>> {
225 ~ fn from(val: &'a SharedArc<T>) -> Self {
226 ~ val.clone_inner()
|
|
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/atomic/atomic_arc.rs#L218
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/atomic/atomic_arc.rs:218:1
|
218 | impl<T> Into<Option<Arc<T>>> for SharedArc<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
= note: `#[warn(clippy::from_over_into)]` on by default
help: replace the `Into` implementation with `From<atomic::atomic_arc::SharedArc<T>>`
|
218 ~ impl<T> From<SharedArc<T>> for Option<Arc<T>> {
219 ~ fn from(val: SharedArc<T>) -> Self {
220 ~ val.clone_inner()
|
|
|
this `else { if .. }` block can be collapsed:
src/atomic/atomic_arc.rs#L121
warning: this `else { if .. }` block can be collapsed
--> src/atomic/atomic_arc.rs:121:16
|
121 | } else {
| ________________^
122 | | if new.is_null() {
123 | | Err(None)
124 | | } else {
... |
127 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
121 ~ } else if new.is_null() {
122 + Err(None)
123 + } else {
124 + unsafe { Err(Some(Arc::from_raw(new))) }
125 + }
|
|
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/async_publisher.rs#L36
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/async_publisher.rs:36:9
|
36 | self.publisher.broadcast(item).and_then(|_| Ok(()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.publisher.broadcast(item).map(|_| ())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L139
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:139:25
|
139 | if slot.compare_and_swap(ptr, 1, Ordering::SeqCst) == ptr {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/hazard.rs#L33
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/hazard.rs:33:12
|
33 | if ptr.compare_and_swap(ptr::null_mut(), instance, Ordering::SeqCst) != ptr::null_mut() {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L114
warning: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:114:24
|
114 | if self.object.compare_and_swap(old, new, Ordering::SeqCst) == old {
| ^^^^^^^^^^^^^^^^
|
|
use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead:
src/atomic/atomic_arc.rs#L63
warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
--> src/atomic/atomic_arc.rs:63:37
|
63 | let previous = slot.compare_and_swap(0, object as usize, Ordering::SeqCst);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L7
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:7:12
|
7 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
|
unexpected `cfg` condition name: `tarpaulin`:
src/atomic/mod.rs#L5
warning: unexpected `cfg` condition name: `tarpaulin`
--> src/atomic/mod.rs:5:12
|
5 | #[cfg_attr(tarpaulin, skip)]
| ^^^^^^^^^
|
= help: expected names are: `docsrs`, `feature`, and `test` and 31 more
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs`
= 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
|
|
unused imports: `RecvError` and `RecvTimeoutError`:
src/ring_buffer.rs#L6
warning: unused imports: `RecvError` and `RecvTimeoutError`
--> src/ring_buffer.rs:6:27
|
6 | pub use std::sync::mpsc::{RecvError, RecvTimeoutError, SendError, TryRecvError};
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
|
Update markdown
Docker build failed with exit code 1, back off 1.253 seconds before retry.
|
|
Update markdown
Docker build failed with exit code 1, back off 7.45 seconds before retry.
|