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

Compiler failure for VCFReader #248

Open
mfansler opened this issue Jan 31, 2025 · 1 comment
Open

Compiler failure for VCFReader #248

mfansler opened this issue Jan 31, 2025 · 1 comment

Comments

@mfansler
Copy link

While trying to get this built for Bioconda, we see the following compilation error during the souporcell build:

error[E0277]: `vcf::VCFReader<Box<dyn BufRead>>` is not an iterator
   --> src/main.rs:320:19
    |
320 |     for record in vcf_reader {
    |                   ^^^^^^^^^^ `vcf::VCFReader<Box<dyn BufRead>>` is not an iterator
    |
    = help: the trait `Iterator` is not implemented for `vcf::VCFReader<Box<dyn BufRead>>`
    = note: required for `vcf::VCFReader<Box<dyn BufRead>>` to implement `IntoIterator`

Compilation is using Rust v1.84.0 on linux-64 platform.

Note that troublet compiles without issue.

@mfansler
Copy link
Author

mfansler commented Feb 4, 2025

This appears to be due to vcf version. Constraining to the version shown in lock file (v0.1.0) resolves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant