Skip to content
GitHub Actions / clippy failed Jul 26, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check failure on line 49 in check/src/docker.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed

error[E0283]: type annotations needed
  --> check/src/docker.rs:49:9
   |
49 |     let cargo_stylus_version = cargo_stylus_version
   |         ^^^^^^^^^^^^^^^^^^^^
...
52 |         .collect();
   |          ------- type must be known at this point
   |
   = note: multiple `impl`s satisfying `_: std::iter::FromIterator<char>` found in the `alloc` crate:
           - impl std::iter::FromIterator<char> for std::boxed::Box<str>;
           - impl std::iter::FromIterator<char> for std::string::String;
note: required by a bound in `std::iter::Iterator::collect`
  --> /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/iter/traits/iterator.rs:2001:5
help: consider giving `cargo_stylus_version` an explicit type
   |
49 |     let cargo_stylus_version: Vec<_> = cargo_stylus_version
   |                             ++++++++