Hi, I just tried to compile safe_app 0.6.0, running cargo build --release --target=x86_64-pc-windows-msvc, on windows 10. Has worked fine previously (0.4.0). But I’m getting an error now on rust_sodium-sys. And I have no idea really what this is. I guess it’s not really SAFE related, but maybe someone knows what’s going on?
My rust version is 1.27.0
error[E0277]: the trait bound `[u8; 64]: std::clone::Clone` is not satisfied
--> C:\Users\oetyng\.cargo\registry\src\github.com-1ecc6299db9ec823\rust_sodium-sys-0.7.1\src/crypto_hash_sha256.rs:8:5
|
8 | buf: [u8; 64],
| ^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `[u8; 64]`
|
= help: the following implementations were found:
<[T; 3] as std::clone::Clone>
<[T; 28] as std::clone::Clone>
<[T; 19] as std::clone::Clone>
<[T; 17] as std::clone::Clone>
and 29 others
= note: required by `std::clone::AssertParamIsClone`
error[E0277]: the trait bound `[u8; 128]: std::clone::Clone` is not satisfied
--> C:\Users\oetyng\.cargo\registry\src\github.com-1ecc6299db9ec823\rust_sodium-sys-0.7.1\src/crypto_hash_sha512.rs:8:5
|
8 | buf: [u8; 128],
| ^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `[u8; 128]`
|
= help: the following implementations were found:
<[T; 3] as std::clone::Clone>
<[T; 28] as std::clone::Clone>
<[T; 19] as std::clone::Clone>
<[T; 17] as std::clone::Clone>
and 29 others
= note: required by `std::clone::AssertParamIsClone`
error: aborting due to 2 previous errors
The following warnings were emitted during compilation:
warning: Failed to download libsodium from https://download.libsodium.org/libsodium/releases/libsodium-1.0.12-msvc.zip. Falling back to MaidSafe mirror at https://raw.githubusercontent.com/maidsafe/QA/master/appveyor/libsodium-1.0.12-msvc.zip
error: Could not compile `rust_sodium-sys`.
warning: build failed, waiting for other jobs to finish...
error: build failed