Rust #5602
rust.yml
on: merge_group
check-windows
8m 24s
check-linux
5m 14s
check-macos
3m 38s
build-android
3m 28s
tests
1m 34s
check-format
23s
Annotations
2 errors and 4 warnings
|
check-linux
Process completed with exit code 101.
|
|
check-windows
Process completed with exit code 1.
|
|
check-linux:
alvr/client_openxr/src/lib.rs#L156
warning: unreachable expression
--> alvr/client_openxr/src/lib.rs:156:40
|
156 | .create_session(xr_system, &graphics::session_create_info(graphics_context))
| ^-----------------------------------------------
| ||
| |any code following this expression is unreachable
| unreachable expression
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr/client_openxr/src/lib.rs:156:41
|
156 | .create_session(xr_system, &graphics::session_create_info(graphics_context))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
|
|
check-linux:
alvr/launcher/src/actions.rs#L285
warning: this assertion has a constant value
--> alvr/launcher/src/actions.rs:285:9
|
285 | assert!(cfg!(windows));
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider moving this into a const block: `const { assert!(..) }`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#assertions_on_constants
= note: `#[warn(clippy::assertions_on_constants)]` on by default
|
|
check-windows:
alvr/client_openxr/src/lib.rs#L156
warning: unreachable expression
--> alvr\client_openxr\src\lib.rs:156:40
|
156 | .create_session(xr_system, &graphics::session_create_info(graphics_context))
| ^-----------------------------------------------
| ||
| |any code following this expression is unreachable
| unreachable expression
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr\client_openxr\src\lib.rs:156:41
|
156 | .create_session(xr_system, &graphics::session_create_info(graphics_context))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
|
|
check-windows:
alvr/launcher/src/actions.rs#L285
warning: this assertion has a constant value
--> alvr\launcher\src\actions.rs:285:9
|
285 | assert!(cfg!(windows));
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider moving this into a const block: `const { assert!(..) }`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#assertions_on_constants
= note: `#[warn(clippy::assertions_on_constants)]` on by default
|