Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Crate doesn't build due to build errors in a dependency #55

Open
codybloemhard opened this issue Jul 25, 2021 · 1 comment
Open

Crate doesn't build due to build errors in a dependency #55

codybloemhard opened this issue Jul 25, 2021 · 1 comment

Comments

@codybloemhard
Copy link

error[E0282]: type annotations needed
  --> /home/cody/.cargo/registry/src/github.com-1ecc6299db9ec823/sample-0.6.2/src/window.rs:57:41
   |
57 |         let v = phase.to_float_sample().to_sample() * PI_2;
   |                                         ^^^^^^^^^ cannot infer type for type parameter `S` declared on the associated function `to_sample`
   |
help: consider specifying the type argument in the method call
   |
57 |         let v = phase.to_float_sample().to_sample::<S>() * PI_2;
   |                                                  ^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.
error: could not compile `sample`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Dependency sample-0.6.2 does not build and so I cannot build this crate, version synth = "0.11.0".

@mitchmindtree
Copy link
Member

Hi thanks for the issue @ocdy1001, I wrote this crate back in the earlier days of Rust - these days my approach to writing a synth like this would be very different. I think I'll archive this repo to make it clear that it's no longer actively developed.

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

No branches or pull requests

2 participants