Skip to content

Add io::WebcamCapture via gstreamer #98

Add io::WebcamCapture via gstreamer

Add io::WebcamCapture via gstreamer #98

GitHub Actions / Clippy Output failed Mar 30, 2024 in 0s

Clippy Output

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)

Annotations

Check failure on line 120 in src/io/webcam.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

failed to resolve: use of undeclared crate or module `tokio`

error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
   --> src/io/webcam.rs:120:24
    |
120 |         let (tx, rx) = tokio::sync::mpsc::channel(50);
    |                        ^^^^^ use of undeclared crate or module `tokio`
    |
help: consider importing this module
    |
1   + use std::sync::mpsc;
    |
help: if you import `mpsc`, refer to it directly
    |
120 -         let (tx, rx) = tokio::sync::mpsc::channel(50);
120 +         let (tx, rx) = mpsc::channel(50);
    |

Check failure on line 89 in src/io/webcam.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

failed to resolve: use of undeclared crate or module `tokio`

error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
  --> src/io/webcam.rs:89:15
   |
89 |     receiver: tokio::sync::mpsc::Receiver<Image<u8, 3>>,
   |               ^^^^^ use of undeclared crate or module `tokio`
   |
help: consider importing this module
   |
1  + use std::sync::mpsc;
   |
help: if you import `mpsc`, refer to it directly
   |
89 -     receiver: tokio::sync::mpsc::Receiver<Image<u8, 3>>,
89 +     receiver: mpsc::Receiver<Image<u8, 3>>,
   |

Check failure on line 163 in src/io/webcam.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

failed to resolve: use of undeclared crate or module `tokio`

error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
   --> src/io/webcam.rs:163:22
    |
163 |         let handle = tokio::task::spawn(async move {
    |                      ^^^^^ use of undeclared crate or module `tokio`

Check failure on line 91 in src/io/webcam.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

failed to resolve: use of undeclared crate or module `tokio`

error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
  --> src/io/webcam.rs:91:17
   |
91 |     handle: Vec<tokio::task::JoinHandle<()>>,
   |                 ^^^^^ use of undeclared crate or module `tokio`