Skip to content

Update xbox_security_token with less general error responses (#12) #39

Update xbox_security_token with less general error responses (#12)

Update xbox_security_token with less general error responses (#12) #39

Triggered via push April 18, 2024 09:49
Status Success
Total duration 51s
Artifacts

rust.yml

on: push
Validate formatting
40s
Validate formatting
Lint with Clippy
39s
Lint with Clippy
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
Validate formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, FrancisRussell/ferrous-actions@v0.1.0-beta.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Lint with Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: FrancisRussell/ferrous-actions@v0.1.0-beta.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-clippy: accessing first element with `xbox_resp .display_claims .get("xui") .ok_or(MinecraftAuthorizationError::MissingClaims)?.get(0)`: src/lib.rs#L258
warning: accessing first element with `xbox_resp .display_claims .get("xui") .ok_or(MinecraftAuthorizationError::MissingClaims)?.get(0)` --> src/lib.rs:258:25 | 258 | let user_hash = xbox_resp | _________________________^ 259 | | .display_claims 260 | | .get("xui") 261 | | .ok_or(MinecraftAuthorizationError::MissingClaims)? 262 | | .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 | 258 ~ let user_hash = xbox_resp 259 + .display_claims 260 + .get("xui") 261 + .ok_or(MinecraftAuthorizationError::MissingClaims)?.first() |
cargo-clippy: 1 warning emitted
warning: 1 warning emitted