Skip to content

feat: uploading to prefix.dev #80

feat: uploading to prefix.dev

feat: uploading to prefix.dev #80

Triggered via pull request December 21, 2023 10:01
Status Cancelled
Total duration 11m 56s
Artifacts 3

rust.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
test (ubuntu-latest): src/upload.rs#L87
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:87:31 | 87 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` Raw Output: src/upload.rs:87:31:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:87:31 | 87 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` __END__
test (ubuntu-latest): src/upload.rs#L94
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:94:40 | 94 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:94:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:94:40 | 94 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest): src/upload.rs#L139
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:139:48 | 139 | rattler_package_streaming::fs::extract(&package_file, package_dir.path()) | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:139:48:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:139:48 | 139 | rattler_package_streaming::fs::extract(&package_file, package_dir.path()) | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest): src/upload.rs#L162
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:162:40 | 162 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:162:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:162:40 | 162 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest): src/upload.rs#L213
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:213:31 | 213 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:213:31:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:213:31 | 213 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest): src/upload.rs#L223
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:223:40 | 223 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:223:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:223:40 | 223 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest): src/main.rs#L612
[clippy] reported by reviewdog 🐶 error: the borrowed expression implements the required traits --> src/main.rs:612:34 | 612 | if ArchiveType::try_from(&package_file).is_none() { | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/main.rs:612:34:e:error: the borrowed expression implements the required traits --> src/main.rs:612:34 | 612 | if ArchiveType::try_from(&package_file).is_none() { | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (ubuntu-latest)
reviewdog exited with status code: 1
test (macos-latest): src/upload.rs#L87
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:87:31 | 87 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` Raw Output: src/upload.rs:87:31:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:87:31 | 87 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` __END__
test (macos-latest): src/upload.rs#L94
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:94:40 | 94 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:94:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:94:40 | 94 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest): src/upload.rs#L139
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:139:48 | 139 | rattler_package_streaming::fs::extract(&package_file, package_dir.path()) | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:139:48:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:139:48 | 139 | rattler_package_streaming::fs::extract(&package_file, package_dir.path()) | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest): src/upload.rs#L162
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:162:40 | 162 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:162:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:162:40 | 162 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest): src/upload.rs#L213
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:213:31 | 213 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:213:31:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:213:31 | 213 | let hash = sha256_sum(&package_file).into_diagnostic()?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest): src/upload.rs#L223
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:223:40 | 223 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/upload.rs:223:40:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> src/upload.rs:223:40 | 223 | send_request(prepared_request, &package_file).await?; | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest): src/main.rs#L612
[clippy] reported by reviewdog 🐶 error: the borrowed expression implements the required traits --> src/main.rs:612:34 | 612 | if ArchiveType::try_from(&package_file).is_none() { | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: src/main.rs:612:34:e:error: the borrowed expression implements the required traits --> src/main.rs:612:34 | 612 | if ArchiveType::try_from(&package_file).is_none() { | ^^^^^^^^^^^^^ help: change this to: `package_file` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
test (macos-latest)
reviewdog exited with status code: 1
Build x86_64-pc-windows-gnu
Canceling since a higher priority waiting request for 'CI-refs/pull/432/merge' exists
Build x86_64-pc-windows-gnu
The operation was canceled.
Build x86_64-apple-darwin
Canceling since a higher priority waiting request for 'CI-refs/pull/432/merge' exists
Build x86_64-apple-darwin
The operation was canceled.

Artifacts

Produced during runtime
Name Size
rattler-build-v-x86_64-pc-windows-msvc.zip Expired
5.89 MB
rattler-build-v0.6.1-aarch64-apple-darwin.tar.gz Expired
6.81 MB
rattler-build-v0.6.1-x86_64-unknown-linux-musl.tar.gz Expired
11.2 MB