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

Compilation error on nightly due to Clone derive pragma on Blowfish #335

Closed
netvl opened this issue Dec 6, 2015 · 2 comments
Closed

Compilation error on nightly due to Clone derive pragma on Blowfish #335

netvl opened this issue Dec 6, 2015 · 2 comments

Comments

@netvl
Copy link

netvl commented Dec 6, 2015

When using the latest Rust nightly (currently rustc 1.6.0-nightly (aad4e5665 2015-12-05)) rust-crypto fails to compile with the following error:

src/blowfish.rs:13:5: 13:23 error: the trait `core::clone::Clone` is not implemented for the type `[u32; 256]` [E0277]
src/blowfish.rs:13     s: [[u32; 256]; 4],
                       ^~~~~~~~~~~~~~~~~~
src/blowfish.rs:11:10: 11:15 note: in this expansion of #[derive_Clone] (defined in src/blowfish.rs)
src/blowfish.rs:13:5: 13:23 help: run `rustc --explain E0277` to see a detailed explanation
src/blowfish.rs:13:5: 13:23 note: required by `core::clone::Clone::clone`
error: aborting due to previous error
Could not compile `rust-crypto`.

I think this may be caused by rust-lang/rust#30130 but I'm not sure.

@netvl
Copy link
Author

netvl commented Dec 7, 2015

The relevant PR was reverted in Rust repo, so I guess this can be closed because the next nightly should work correctly again.

@netvl netvl closed this as completed Dec 7, 2015
@bluss
Copy link

bluss commented Dec 7, 2015

@netvl Thanks for reporting the regression!

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

2 participants