Skip to content

Update xbox_security_token with less general error responses #37

Update xbox_security_token with less general error responses

Update xbox_security_token with less general error responses #37

Triggered via pull request April 14, 2024 00:05
Status Success
Total duration 1m 35s
Artifacts

rust.yml

on: pull_request
Validate formatting
59s
Validate formatting
Lint with Clippy
1m 27s
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