Prepare for crate publishing #314
clippy
52 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 52 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0 (aedd173a2 2024-03-17)
- cargo 1.77.0 (3fe68eabf 2024-02-29)
- clippy 0.1.77 (aedd173 2024-03-17)
Annotations
github-actions / clippy
cannot find function `try_recv_error_to_recv_error` in this scope
error[E0425]: cannot find function `try_recv_error_to_recv_error` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:236:38
|
236 | if let Some(e) = try_recv_error_to_recv_error(e) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find function `try_recv_error_to_recv_error` in this scope
error[E0425]: cannot find function `try_recv_error_to_recv_error` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:211:38
|
211 | if let Some(e) = try_recv_error_to_recv_error(e) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find function, tuple struct or tuple variant `UnboundedStream` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `UnboundedStream` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:176:9
|
176 | UnboundedStream(result)
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find function `try_recv_error_to_recv_error` in this scope
error[E0425]: cannot find function `try_recv_error_to_recv_error` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs:204:38
|
204 | if let Some(e) = try_recv_error_to_recv_error(e) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find function `try_recv_error_to_recv_error` in this scope
error[E0425]: cannot find function `try_recv_error_to_recv_error` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs:179:38
|
179 | if let Some(e) = try_recv_error_to_recv_error(e) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find function, tuple struct or tuple variant `BoundedStream` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BoundedStream` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs:154:9
|
154 | BoundedStream(result)
| ^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
module `unbounded` is private
error[E0603]: module `unbounded` is private
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/async_primitives/subscribable_rwlock.rs:1:22
|
1 | use crate::channel::{unbounded, UnboundedReceiver, UnboundedSender};
| ^^^^^^^^^ private module
|
note: the module `unbounded` is defined here
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel.rs:22:1
|
22 | mod unbounded;
| ^^^^^^^^^^^^^^
github-actions / clippy
module `unbounded` is private
error[E0603]: module `unbounded` is private
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/async_primitives/subscribable_mutex.rs:2:22
|
2 | use crate::channel::{unbounded, UnboundedReceiver, UnboundedSender};
| ^^^^^^^^^ private module
|
note: the module `unbounded` is defined here
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel.rs:22:1
|
22 | mod unbounded;
| ^^^^^^^^^^^^^^
github-actions / clippy
cannot find type `UnboundedReceiver` in this scope
error[E0412]: cannot find type `UnboundedReceiver` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:291:29
|
291 | impl<T> std::fmt::Debug for UnboundedReceiver<T> {
| ^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedSender` in this scope
error[E0412]: cannot find type `UnboundedSender` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:286:29
|
286 | impl<T> std::fmt::Debug for UnboundedSender<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedSender` in this scope
error[E0412]: cannot find type `UnboundedSender` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:279:19
|
279 | impl<T> Clone for UnboundedSender<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedStream` in this scope
error[E0412]: cannot find type `UnboundedStream` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:259:20
|
259 | impl<T> Stream for UnboundedStream<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedRecvError` in this scope
error[E0412]: cannot find type `UnboundedRecvError` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:230:43
|
230 | pub fn drain(&self) -> Result<Vec<T>, UnboundedRecvError> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
150 | impl<T, UnboundedRecvError> UnboundedReceiver<T> {
| ++++++++++++++++++++
github-actions / clippy
cannot find type `UnboundedRecvError` in this scope
error[E0412]: cannot find type `UnboundedRecvError` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:203:62
|
203 | pub async fn drain_at_least_one(&self) -> Result<Vec<T>, UnboundedRecvError> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
150 | impl<T, UnboundedRecvError> UnboundedReceiver<T> {
| ++++++++++++++++++++
github-actions / clippy
cannot find type `UnboundedTryRecvError` in this scope
error[E0412]: cannot find type `UnboundedTryRecvError` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:183:41
|
183 | pub fn try_recv(&self) -> Result<T, UnboundedTryRecvError> {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
150 | impl<T, UnboundedTryRecvError> UnboundedReceiver<T> {
| +++++++++++++++++++++++
github-actions / clippy
cannot find value `result` in this scope
error[E0425]: cannot find value `result` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:176:25
|
176 | UnboundedStream(result)
| ^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedStream` in this scope
error[E0412]: cannot find type `UnboundedStream` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:168:33
|
168 | pub fn into_stream(self) -> UnboundedStream<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find value `result` in this scope
error[E0425]: cannot find value `result` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:165:9
|
165 | result
| ^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedRecvError` in this scope
error[E0412]: cannot find type `UnboundedRecvError` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:158:43
|
158 | pub async fn recv(&self) -> Result<T, UnboundedRecvError> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
150 | impl<T, UnboundedRecvError> UnboundedReceiver<T> {
| ++++++++++++++++++++
github-actions / clippy
cannot find type `UnboundedReceiver` in this scope
error[E0412]: cannot find type `UnboundedReceiver` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:150:9
|
150 | impl<T> UnboundedReceiver<T> {
| ^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find value `result` in this scope
error[E0425]: cannot find value `result` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:146:9
|
146 | result
| ^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedSendError` in this scope
error[E0412]: cannot find type `UnboundedSendError` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:139:52
|
139 | pub async fn send(&self, msg: T) -> Result<(), UnboundedSendError<T>> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `UnboundedSender` in this scope
error[E0412]: cannot find type `UnboundedSender` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs:132:9
|
132 | impl<T> UnboundedSender<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `OneShotReceiver` in this scope
error[E0412]: cannot find type `OneShotReceiver` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/oneshot.rs:128:29
|
128 | impl<T> std::fmt::Debug for OneShotReceiver<T> {
| ^^^^^^^^^^^^^^^ not found in this scope
github-actions / clippy
cannot find type `OneShotSender` in this scope
error[E0412]: cannot find type `OneShotSender` in this scope
--> /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/oneshot.rs:123:29
|
123 | impl<T> std::fmt::Debug for OneShotSender<T> {
| ^^^^^^^^^^^^^ not found in this scope