Closed bluenote10 closed 4 years ago
Thanks for the report. Cargo definitely doesn't use the version field to determine tags, so it's using master which as you noted has been updated. I don't remember why I switched to pulling from git, but the current work for the next release is in the feature/safe-simd
branch, which is on multiversion 0.5.0.
I'll leave this issue open until I either merge that branch to master or otherwise fix it.
When I checkout the feature/safe-simd
branch, I still cannot compile/run tests.
Compiling fourier-algorithms v0.1.0 (/Users/abryrath/Code/rust/fourier/fourier-algorithms) error[E0432]: unresolved imports generic_simd::vector::Handle, generic_simd::vector::SizedHandle`
--> fourier-algorithms/src/autosort/butterfly.rs:2:44 |
2 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ ^^^^^^^^^^^ no SizedHandle in vector |
---|---|---|---|
no Handle in vector |
error[E0432]: unresolved imports generic_simd::vector::Handle , generic_simd::vector::SizedHandle
--> fourier-algorithms/src/autosort/mod.rs:14:44 |
14 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ ^^^^^^^^^^^ no SizedHandle in vector |
---|---|---|---|
no Handle in vector |
warning: unused import: Vector
--> fourier-algorithms/src/autosort/mod.rs:14:65 |
14 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ |
---|
= note: #[warn(unused_imports)]
on by default
error: aborting due to 2 previous errors; 1 warning emitted
For more information about this error, try rustc --explain E0432
.
error: could not compile fourier-algorithms
.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved imports generic_simd::vector::Handle , generic_simd::vector::SizedHandle
--> fourier-algorithms/src/autosort/butterfly.rs:2:44 |
2 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ ^^^^^^^^^^^ no SizedHandle in vector |
---|---|---|---|
no Handle in vector |
error[E0432]: unresolved imports generic_simd::vector::Handle , generic_simd::vector::SizedHandle
--> fourier-algorithms/src/autosort/mod.rs:14:44 |
14 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ ^^^^^^^^^^^ no SizedHandle in vector |
---|---|---|---|
no Handle in vector |
warning: unused import: Vector
--> fourier-algorithms/src/autosort/mod.rs:14:65 |
14 | use generic_simd::vector::{width, Complex, Handle, SizedHandle, Vector}; | ^^^^^^ |
---|
= note: #[warn(unused_imports)]
on by default
error: aborting due to 2 previous errors; 1 warning emitted
For more information about this error, try rustc --explain E0432
.
error: build failed`
Sorry, I've made significant changes to my SIMD crate and wasn't pinned to a particular git hash. Squaring this away is my top priority with Fourier right now.
Master should build now, as of 5c996842f1da263e12c0d19c510b858af2f4ac15.
The feature/safe-simd
branch should also build, but it may fail intermittently as I work on it.
Not sure if that is something with my setup (did a rustup yesterday), but when I clone this repo and do
cargo build
, I'm getting:The dependency is specified as:
I've seen that multiversion has just been updated. Is it possible that cargo fails to handle the git tags somehow? If I remove the version specification it works fine.