Add io::WebcamCapture
via gstreamer
#85
python_test.yml
on: pull_request
test-python-linux
1m 1s
test-python-macos
1m 36s
Annotations
2 errors and 8 warnings
test-python-linux
Process completed with exit code 2.
|
test-python-macos
The process '/Users/runner/work/_temp/90a7d28a-928a-4ad7-ac0a-53cf27dd8149/maturin' failed with exit code 1
|
test-python-macos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-python-macos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-python-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-python-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-python-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-python-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
you should consider adding a `Default` implementation for `FpsCounter`:
src/io/fps_counter.rs#L9
warning: you should consider adding a `Default` implementation for `FpsCounter`
--> src/io/fps_counter.rs:9:5
|
9 | / pub fn new() -> Self {
10 | | Self {
11 | | last_time: Instant::now(),
12 | | frame_count: 0,
13 | | }
14 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
8 + impl Default for FpsCounter {
9 + fn default() -> Self {
10 + Self::new()
11 + }
12 + }
|
|
field `handle` is never read:
src/io/webcam.rs#L92
warning: field `handle` is never read
--> src/io/webcam.rs:92:5
|
89 | pub struct WebcamCapture {
| ------------- field in this struct
...
92 | handle: Option<std::thread::JoinHandle<()>>,
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|