mbrubeck / robinson

A toy web rendering engine

Home Page:http://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build rustc-serialize

opened this issue · comments

Rust Version Cargo Version
rustc 1.0.0-nightly (458a6a2f6 2015-01-25 21:20:37 +0000) cargo 0.0.1-pre-nightly (bb28e71 2015-01-22 06:06:34 +0000)

I'm getting this error when running cargo build:

   Compiling rustc-serialize v0.2.7
   Compiling getopts v0.1.4
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/base64.rs:207:5: 209:6 error: method `detail` is not a member of trait `error::Error`
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/base64.rs:207     fn detail(&self) -> Option<String> {
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/base64.rs:208         Some(format!("{:?}", self))
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/base64.rs:209     }
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/hex.rs:91:5: 93:6 error: method `detail` is not a member of trait `error::Error`
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/hex.rs:91     fn detail(&self) -> Option<String> {
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/hex.rs:92         Some(format!("{:?}", self))
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/hex.rs:93     }
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/json.rs:336:5: 336:84 error: method `detail` is not a member of trait `std::error::Error`
/home/bsve/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.7/src/json.rs:336     fn detail(&self) -> Option<std::string::String> { Some(format!("{:?}", self)) }
                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 3 previous errors
Build failed, waiting for other jobs to finish...
Could not compile `rustc-serialize`.

To learn more, run the command again with --verbose

I'm sorry if this issue does not belong here as it seems to be an dependency issue.
However, I tried to clone rustc-serialize (albeit v0.2.9) and built it without any errors.

Thanks for the report! Running cargo update fixed the build.