tupshin / cassandra-rs

Apache License 2.0
50 stars 16 forks source link

Can't complete the build of the crate #48

Open bkentropy opened 7 years ago

bkentropy commented 7 years ago

I’m not sure if this is user error or something going on in the crates but I have 18+ errors expecting cassandra::error::Error that all look like:

= note:  expected type 'std::result::Result<std::vec::Vec<u8>, cassandra::error::Error>' 
= note:  found type 'std::result::Result<std::vec::Vec<u8>, errors::Error>'

Pretty much all of the errors are looking for cassandra::error:Error. I suspect the error_chain! macro is not modifying the errors quite right. I was curious if you’ve heard about this problem before.

nhellwig commented 7 years ago

I have the same problem on OS X. I built 2.4.3 of the cassandra driver and cassandra-sys compiles successfully.

Travis seems to know it already. Works with rust nightly though.

bkentropy commented 7 years ago

Thanks for the suggestions @nhellwig, our project has pivoted, but if I get a chance to test out the different cass driver I will report back. Edit: I did check out the 2.4.3 tag in the cass-driver repo. Redid the cmake, make, etc stuff. I am still getting the same errors from a normal cargo run. When I tried rustup run nightly cargo run I got the same errors as noted in the first comment.