Skip to content

Update xbox_security_token with less general error responses #35

Update xbox_security_token with less general error responses

Update xbox_security_token with less general error responses #35

Triggered via pull request April 13, 2024 23:53
Status Failure
Total duration 58s
Artifacts

rust.yml

on: pull_request
Validate formatting
31s
Validate formatting
Lint with Clippy
48s
Lint with Clippy
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 3 warnings, and 1 notice
Validate formatting
JsValue(Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 1 Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 1 at ExecState._setResult (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:61859) at ExecState.CheckComplete (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:61419) at ChildProcess.<anonymous> (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:60260) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5))
cargo-clippy: borrow of moved value: `response`: src/lib.rs#L235
error[E0382]: borrow of moved value: `response` --> src/lib.rs:235:25 | 205 | let response = self | -------- move occurs because `response` has type `reqwest::Response`, which does not implement the `Copy` trait ... 219 | let xbox_security_token_err_resp_res = response.json().await; | ------ `response` moved due to this method call ... 235 | response | ^^^^^^^^ value borrowed here after move | note: `reqwest::Response::json` takes ownership of the receiver `self`, which moves `response` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.3/src/async_impl/response.rs:265:44 | 265 | pub async fn json<T: DeserializeOwned>(self) -> crate::Result<T> { | ^^^^
cargo-clippy: aborting due to 1 previous error
error: aborting due to 1 previous error
Lint with Clippy
JsValue(Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101 Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101 at ExecState._setResult (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:61859) at ExecState.CheckComplete (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:61419) at ChildProcess.<anonymous> (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.2/dist/index.js:1:60260) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5))
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/
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: For more information about this error, try `rustc --explain E0382`.
For more information about this error, try `rustc --explain E0382`.