chore(deps): update nutype requirement from 0.3.1 to 0.4.0 #30
rust.yml
on: pull_request
Validate formatting
52s
Lint with Clippy
48s
Annotations
5 warnings
cargo-clippy: accessing first element with `xbox_resp
.display_claims
.get("xui")
.ok_or(MinecraftAuthorizationError::MissingClaims)?.get(0)`:
src/lib.rs#L217
warning: accessing first element with `xbox_resp
.display_claims
.get("xui")
.ok_or(MinecraftAuthorizationError::MissingClaims)?.get(0)`
--> src/lib.rs:217:25
|
217 | let user_hash = xbox_resp
| _________________________^
218 | | .display_claims
219 | | .get("xui")
220 | | .ok_or(MinecraftAuthorizationError::MissingClaims)?
221 | | .get(0)
| |___________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
help: try
|
217 ~ let user_hash = xbox_resp
218 + .display_claims
219 + .get("xui")
220 + .ok_or(MinecraftAuthorizationError::MissingClaims)?.first()
|
|
cargo-clippy: 1 warning emitted
warning: 1 warning emitted
|
Validate formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Validate formatting
Recognised but unused input annotations was passed to action
|
Validate formatting
Recognised but unused input annotations was passed to action
|