Update Rust crate zip to v2 #1608
int_test.yml
on: pull_request
integration-tests
2m 9s
Annotations
2 errors and 7 warnings
type annotations needed:
src/cli/cmd/download.rs#L246
error[E0283]: type annotations needed
--> src/cli/cmd/download.rs:246:24
|
246 | zw.start_file(&fname, zip::write::FileOptions::default())
| ^^^^^^^^^^ ---------------------------------- type must be known at this point
| |
| cannot infer type of the type parameter `T` declared on the method `start_file`
|
= note: cannot satisfy `_: zip::write::FileOptionExtension`
= help: the following types implement trait `zip::write::FileOptionExtension`:
()
zip::write::ExtendedFileOptions
note: required by a bound in `zip::write::<impl zip::ZipWriter<W>>::start_file`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zip-2.2.0/src/write.rs:1131:39
|
1131 | pub fn start_file<S: ToString, T: FileOptionExtension>(
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `zip::write::<impl ZipWriter<W>>::start_file`
help: consider specifying the generic arguments
|
246 | zw.start_file::<&std::string::String, T>(&fname, zip::write::FileOptions::default())
| +++++++++++++++++++++++++++
|
integration-tests
Clippy had exited with the 101 exit code
|
bound is defined in more than one place:
src/http.rs#L988
warning: bound is defined in more than one place
--> src/http.rs:988:20
|
988 | pub fn copy_to<W: ?Sized>(&mut self, w: &mut W) -> Result<u64, Error>
| ^
989 | where
990 | W: Write,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `#[warn(clippy::multiple_bound_locations)]` on by default
|
integration-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
integration-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|