Can't compile 3.0 for android
Created by: ozkriff
https://circleci.com/gh/ozkriff/zemeroth/262
cargo apk build
Compiling android_native_app_glue.c
Compiling injected-glue
Compiling glue_obj
Compiling crate
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading log v0.3.8
Downloading rand v0.3.18
Downloading ron v0.1.4
. . .
Compiling num-iter v0.1.34
Compiling rusttype v0.3.0
error[E0277]: the trait bound `std::sync::Arc<[u8]>: std::convert::From<std::boxed::Box<[u8]>>` is not satisfied
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rusttype-0.3.0/src/lib.rs:146:34
|
146 | SharedBytes::ByArc(bytes.into())
| ^^^^ the trait `std::convert::From<std::boxed::Box<[u8]>>` is not implemented for `std::sync::Arc<[u8]>`
|
= help: the following implementations were found:
<std::sync::Arc<T> as std::convert::From<T>>
= note: required because of the requirements on the impl of `std::convert::Into<std::sync::Arc<[u8]>>` for `std::boxed::Box<[u8]>`
error[E0277]: the trait bound `std::sync::Arc<[u8]>: std::convert::From<std::vec::Vec<u8>>` is not satisfied
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rusttype-0.3.0/src/lib.rs:151:34
|
151 | SharedBytes::ByArc(bytes.into())
| ^^^^ the trait `std::convert::From<std::vec::Vec<u8>>` is not implemented for `std::sync::Arc<[u8]>`
|
= help: the following implementations were found:
<std::sync::Arc<T> as std::convert::From<T>>
= note: required because of the requirements on the impl of `std::convert::Into<std::sync::Arc<[u8]>>` for `std::vec::Vec<u8>`
error: aborting due to 2 previous errors
error: Could not compile `rusttype`.
Build failed, waiting for other jobs to finish...
error: build failed
Exited with code 101
(Linux, OSX and Windows builds work fine)