Skip to content

helper: developer: Increase timeout for elements #110

helper: developer: Increase timeout for elements

helper: developer: Increase timeout for elements #110

Triggered via push April 14, 2024 17:48
Status Success
Total duration 5m 42s
Artifacts 3

deploy-unix.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

27 warnings
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
unused manifest key: package.path
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
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/
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
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/
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
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/
build (ubuntu-22.04, x86_64-unknown-linux-gnu, linux-desktop)
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/
casting to the same type is unnecessary (`i64` -> `i64`): src/video/video_source.rs#L84
warning: casting to the same type is unnecessary (`i64` -> `i64`) --> src/video/video_source.rs:84:44 | 84 | .set_control_by_id(control.id, default_value as i64) | ^^^^^^^^^^^^^^^^^^^^ help: try: `default_value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
this `let...else` may be rewritten with the `?` operator: src/stream/manager.rs#L299
warning: this `let...else` may be rewritten with the `?` operator --> src/stream/manager.rs:299:21 | 299 | / let Some(stream) = manager.streams.values().find(|stream| { 300 | | let state = match stream.state.read() { 301 | | Ok(guard) => guard, 302 | | Err(error) => { ... | 317 | | return None; 318 | | }; | |______________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default help: replace it with | 299 ~ let stream = manager.streams.values().find(|stream| { 300 + let state = match stream.state.read() { 301 + Ok(guard) => guard, 302 + Err(error) => { 303 + error!("Failed locking a Mutex. Reason: {error}"); 304 + return false; 305 + } 306 + }; 307 + 308 + state.as_ref().is_some_and(|state| { 309 + state 310 + .video_and_stream_information 311 + .video_source 312 + .inner() 313 + .source_string() 314 + == source 315 + }) 316 + })?; |
this `MutexGuard` is held across an `await` point: src/stream/manager.rs#L320
warning: this `MutexGuard` is held across an `await` point --> src/stream/manager.rs:320:25 | 320 | let state_guard = match stream.state.read() { | ^^^^^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> src/stream/manager.rs:343:75 | 343 | sinks.find(|sink| matches!(sink, Sink::Image(_))).await | ^^^^^ ... 351 | .await | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
this `MutexGuard` is held across an `await` point: src/stream/manager.rs#L291
warning: this `MutexGuard` is held across an `await` point --> src/stream/manager.rs:291:25 | 291 | let manager = match MANAGER.read() { | ^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> src/stream/manager.rs:343:75 | 343 | sinks.find(|sink| matches!(sink, Sink::Image(_))).await | ^^^^^ ... 351 | .await | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock = note: `#[warn(clippy::await_holding_lock)]` on by default
this async expression only awaits a single future: src/server/manager.rs#L32
warning: this async expression only awaits a single future --> src/server/manager.rs:32:17 | 32 | async { fut.await } | ^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `fut` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block = note: `#[warn(clippy::redundant_async_block)]` on by default
useless use of `format!`: src/custom/test.rs#L10
warning: useless use of `format!` --> src/custom/test.rs:10:15 | 10 | name: format!("WebRTC fake stream for thread leak"), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"WebRTC fake stream for thread leak".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `#[warn(clippy::useless_format)]` on by default
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
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/
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
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/
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
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/
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
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/
build (ubuntu-22.04, aarch64-unknown-linux-gnu, aarch64)
unused manifest key: package.path
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
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/
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
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/
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
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/
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
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/
build (ubuntu-22.04, armv7-unknown-linux-gnueabihf, armv7)
unused manifest key: package.path

Artifacts

Produced during runtime
Name Size
mavlink-camera-manager-aarch64 Expired
13.6 MB
mavlink-camera-manager-armv7 Expired
13.4 MB
mavlink-camera-manager-linux-desktop Expired
13.9 MB