[WARP] Use download provider API instead of reqwest #954
Annotations
4 errors and 1 warning
|
cargo clippy
Error: Clippy has exited with exit code 101
|
|
useless use of `format!`:
rust/src/logger.rs#L99
error: useless use of `format!`
--> rust/src/logger.rs:99:39
|
99 | if let Ok(msg) = CString::new(format!("{}", msg)) {
| ^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `msg.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-D clippy::useless-format` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
|
|
type parameter `C` goes unused in function definition:
rust/src/download/instance.rs#L605
error: type parameter `C` goes unused in function definition
--> rust/src/download/instance.rs:605:38
|
605 | unsafe extern "C" fn cb_free_response<C: CustomDownloadInstance>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `-D clippy::extra-unused-type-parameters` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::extra_unused_type_parameters)]`
|
|
usage of a legacy numeric method:
rust/src/download/instance.rs#L171
error: usage of a legacy numeric method
--> rust/src/download/instance.rs:171:84
|
171 | .progress_callback(self.progress, self.total_length.unwrap_or(u64::max_value()))
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`
help: use the associated constant instead
|
171 | .progress_callback(self.progress, self.total_length.unwrap_or(u64::MAX))
| ~~~
|
|
licensing
New version for cargo-about available: 0.8.2
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
license
|
25.8 KB |
sha256:b04e18e02b2ab72349fa88adc8256b5f65a8704a39c72b6b324006899ca0fee9
|
|