Update Rust crate zip to v5 #1997
Triggered via pull request
September 10, 2025 21:10
Status
Failure
Total duration
2m 18s
Artifacts
–
int_test.yml
on: pull_request
integration-tests
2m 15s
Annotations
2 errors and 6 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-1949cf8c6b5b557f/zip-5.1.0/src/write.rs:1187:39
|
1187 | 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
|
empty line after doc comment:
src/cli/cmd/upload.rs#L413
warning: empty line after doc comment
--> src/cli/cmd/upload.rs:413:1
|
413 | / /// Helper types
414 | |
| |_^
415 | mod matching {
| ------------ the comment documents this module
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty line is unintentional, remove it
|
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/
|