rust-firebase
rust-firebase copied to clipboard
Does not compile on the latest nightly
┌ euclio@apollo ~/r/rust-firebase (master)
└╌╌┄┄ ❯❯ multirust run nightly cargo test
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling libc v0.2.10
Compiling log v0.3.6
Compiling rustc-serialize v0.3.19
Compiling unicode-normalization v0.1.2
Compiling gcc v0.3.26
Compiling matches v0.1.2
Compiling pkg-config v0.3.8
Compiling unicode-bidi v0.2.3
Compiling rand v0.3.14
Compiling libz-sys v1.0.2
Compiling curl-sys v0.1.34
Compiling openssl-sys v0.7.9
Compiling uuid v0.2.0
Compiling uuid v0.1.18
Compiling url v0.5.9
Compiling url v0.2.38
Compiling curl v0.2.18
Compiling firebase v0.9.1 (file:///home/euclio/repos/rust-firebase)
src/lib.rs:343:40: 343:43 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:343 Method::GET => handler.get( url),
^~~
src/lib.rs:343:40: 343:43 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:344:40: 344:44 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:344 Method::POST => handler.post( url, data.unwrap()),
^~~~
src/lib.rs:344:40: 344:44 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:345:40: 345:43 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:345 Method::PUT => handler.put( url, data.unwrap()),
^~~
src/lib.rs:345:40: 345:43 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:346:40: 346:45 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:346 Method::PATCH => handler.patch( url, data.unwrap()),
^~~~~
src/lib.rs:346:40: 346:45 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:347:40: 347:46 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:347 Method::DELETE => handler.delete(url),
^~~~~~
src/lib.rs:347:40: 347:46 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:343:40: 343:43 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:343 Method::GET => handler.get( url),
^~~
src/lib.rs:343:40: 343:43 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:344:40: 344:44 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:344 Method::POST => handler.post( url, data.unwrap()),
^~~~
src/lib.rs:344:40: 344:44 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:345:40: 345:43 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:345 Method::PUT => handler.put( url, data.unwrap()),
^~~
src/lib.rs:345:40: 345:43 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:346:40: 346:45 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:346 Method::PATCH => handler.patch( url, data.unwrap()),
^~~~~
src/lib.rs:346:40: 346:45 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:347:40: 347:46 error: the trait bound `&url::Url: curl::http::handle::ToUrl` is not satisfied [E0277]
src/lib.rs:347 Method::DELETE => handler.delete(url),
^~~~~~
src/lib.rs:347:40: 347:46 help: run `rustc --explain E0277` to see a detailed explanation
error: aborting due to 5 previous errors
error: aborting due to 5 previous errors
Build failed, waiting for other jobs to finish...
error: Could not compile `firebase`.
To learn more, run the command again with --verbose.
Should be fixed by merging #3.
I ended up using this fork: https://github.com/Norbytus/rust-firebase