Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: cargo-udeps installation fails #667

Closed
Indy2222 opened this issue Aug 8, 2023 · 1 comment
Closed

CI: cargo-udeps installation fails #667

Indy2222 opened this issue Aug 8, 2023 · 1 comment

Comments

@Indy2222
Copy link
Collaborator

Indy2222 commented Aug 8, 2023

This command cargo install --force cargo-udeps fails during dependency compilation (with nightly Rust):

   Compiling git2-curl v0.18.0
error[E0599]: `Vec<u8>` is not an iterator
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-0.72.2/src/cargo/core/compiler/future_incompat.rs:275:18
    |
274 | /             strip_ansi_escapes::strip(&to_display)
275 | |                 .map(|v| String::from_utf8(v).expect("utf8"))
    | |                 -^^^ `Vec<u8>` is not an iterator; try calling `.into_iter()` or `.iter()`
    | |_________________|
    | 
   --> /rustc/03a119b0b0e310d22d94399b24ed030056050f13/library/alloc/src/vec/mod.rs:396:1
    |
    = note: doesn't satisfy `Vec<u8>: Iterator`
    |
    = note: the following trait bounds were not satisfied:
            `Vec<u8>: Iterator`
            which is required by `&mut Vec<u8>: Iterator`
            `[u8]: Iterator`
            which is required by `&mut [u8]: Iterator`
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
36  + use winnow::parser::Parser;
    |
@Indy2222
Copy link
Collaborator Author

Indy2222 commented Aug 8, 2023

Probably caused by luser/strip-ansi-escapes#17

@Indy2222 Indy2222 closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant