feat: uploading to prefix.dev #80
Annotations
8 errors
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
The logs for this run have expired and are no longer available.
Loading