Skip to content

Do not follow redirect on checking layer in trusted db #34

Do not follow redirect on checking layer in trusted db

Do not follow redirect on checking layer in trusted db #34

Triggered via pull request February 28, 2024 16:55
Status Success
Total duration 7m 25s
Artifacts 5

ci.yml

on: pull_request
Matrix: Build library
Publish release
0s
Publish release
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
this expression creates a reference which is immediately dereferenced by the compiler: src/main.rs#L143
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/main.rs:143:38 | 143 | let go_version = get_version(&go_path_str)?; | ^^^^^^^^^^^^ help: change this to: `go_path_str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: src/main.rs#L128
warning: unneeded `return` statement --> src/main.rs:128:13 | 128 | return Ok::<i32, anyhow::Error>(0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 128 - return Ok::<i32, anyhow::Error>(0); 128 + Ok::<i32, anyhow::Error>(0) |
this expression creates a reference which is immediately dereferenced by the compiler: src/main.rs#L95
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/main.rs:95:23 | 95 | match backup_file(&file_path) { | ^^^^^^^^^^ help: change this to: `file_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/utils.rs#L81
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/utils.rs:81:23 | 81 | let url = build_url(&download_url, &path); | ^^^^^^^^^^^^^ help: change this to: `download_url` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/checksum.rs#L23
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/checksum.rs:23:42 | 23 | let md5_url = replace_sql_zip_with_md5(&url)?; | ^^^^ help: change this to: `url` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
unneeded unit return type: src/main.rs#L89
warning: unneeded unit return type --> src/main.rs:89:39 | 89 | fn backup_or_fail(file_path: &PathBuf) -> () { | ^^^^^^ help: remove the `-> ()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `#[warn(clippy::unused_unit)]` on by default
Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
this expression creates a reference which is immediately dereferenced by the compiler: src/main.rs#L143
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/main.rs:143:38 | 143 | let go_version = get_version(&go_path_str)?; | ^^^^^^^^^^^^ help: change this to: `go_path_str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: src/main.rs#L128
warning: unneeded `return` statement --> src/main.rs:128:13 | 128 | return Ok::<i32, anyhow::Error>(0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 128 - return Ok::<i32, anyhow::Error>(0); 128 + Ok::<i32, anyhow::Error>(0) |
this expression creates a reference which is immediately dereferenced by the compiler: src/main.rs#L95
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/main.rs:95:23 | 95 | match backup_file(&file_path) { | ^^^^^^^^^^ help: change this to: `file_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/utils.rs#L81
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/utils.rs:81:23 | 81 | let url = build_url(&download_url, &path); | ^^^^^^^^^^^^^ help: change this to: `download_url` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/checksum.rs#L23
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/checksum.rs:23:42 | 23 | let md5_url = replace_sql_zip_with_md5(&url)?; | ^^^^ help: change this to: `url` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
unneeded unit return type: src/main.rs#L89
warning: unneeded unit return type --> src/main.rs:89:39 | 89 | fn backup_or_fail(file_path: &PathBuf) -> () { | ^^^^^^ help: remove the `-> ()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `#[warn(clippy::unused_unit)]` on by default
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build library (self-hosted, macos, arm64, macos-arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build library (ubuntu-latest, linux)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build library (self-hosted, linux, arm64, linux-arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build library (macos-latest, macos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build library (windows-2019, windows)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
quicksync-linux Expired
14 MB
quicksync-linux-arm64 Expired
14.3 MB
quicksync-macos Expired
9.06 MB
quicksync-macos-arm64 Expired
8.5 MB
quicksync-windows Expired
7.42 MB