Skip to content

Prepare for crate publishing #314

Prepare for crate publishing

Prepare for crate publishing #314

GitHub Actions / clippy failed Apr 2, 2024 in 1s

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

Check failure on line 236 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 211 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 176 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 204 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 179 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 154 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/bounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 1 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/async_primitives/subscribable_rwlock.rs

See this annotation in the file changed.

@github-actions 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;
   | ^^^^^^^^^^^^^^

Check failure on line 2 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/async_primitives/subscribable_mutex.rs

See this annotation in the file changed.

@github-actions 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;
   | ^^^^^^^^^^^^^^

Check failure on line 291 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 286 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 279 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 259 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 230 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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> {
    |       ++++++++++++++++++++

Check failure on line 203 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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> {
    |       ++++++++++++++++++++

Check failure on line 183 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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> {
    |       +++++++++++++++++++++++

Check failure on line 176 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 168 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 165 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 158 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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> {
    |       ++++++++++++++++++++

Check failure on line 150 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 146 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 139 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 132 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/unbounded.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 128 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/oneshot.rs

See this annotation in the file changed.

@github-actions 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

Check failure on line 123 in /home/runner/.cargo/git/checkouts/async-compatibility-layer-274c4cb4d7d14514/482cece/src/channel/oneshot.rs

See this annotation in the file changed.

@github-actions 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