feat: add support for proxy auth #973
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, taiki-e/install-action@v1, actions-rs/clippy@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
cpio-archive/src/odc.rs#L412
warning: assigning the result of `Clone::clone()` may be inefficient
--> cpio-archive/src/odc.rs:412:17
|
412 | header.name = dir.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `header.name.clone_from(&dir)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `#[warn(clippy::assigning_clones)]` on by default
|
apple-xar/src/format.rs#L14
warning: unneeded unit expression
--> apple-xar/src/format.rs:14:38
|
14 | #[derive(Clone, Copy, Debug, IOread, IOwrite, Pread, SizeWith)]
| ^^^^^^^
|
= 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
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-xar/src/reader.rs#L355
warning: accessing first element with `certificates.get(0)`
--> apple-xar/src/reader.rs:355:33
|
355 | if let Some(cert) = certificates.get(0) {
| ^^^^^^^^^^^^^^^^^^^ help: try: `certificates.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
|
apple-bundles/src/lib.rs#L21
warning: direct implementation of `ToString`
--> apple-bundles/src/lib.rs:21:1
|
21 | / impl ToString for BundlePackageType {
22 | | fn to_string(&self) -> String {
23 | | match self {
24 | | Self::App => "APPL",
... |
29 | | }
30 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
|
apple-bom/src/format.rs#L154
warning: unneeded unit expression
--> apple-bom/src/format.rs:154:39
|
154 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= 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
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-bom/src/format.rs#L266
warning: unneeded unit expression
--> apple-bom/src/format.rs:266:39
|
266 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-bom/src/format.rs#L406
warning: unneeded unit expression
--> apple-bom/src/format.rs:406:39
|
406 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-bom/src/format.rs#L470
warning: unneeded unit expression
--> apple-bom/src/format.rs:470:39
|
470 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-bom/src/format.rs#L622
warning: unneeded unit expression
--> apple-bom/src/format.rs:622:39
|
622 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
apple-bom/src/format.rs#L657
warning: unneeded unit expression
--> apple-bom/src/format.rs:657:39
|
657 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
This job succeeded
Loading