compile failed
WoodyAtHome opened this issue · 1 comments
WoodyAtHome commented
Hi! Now i can compile/run the getting started Tutorial.
But the build from top-level-directory fails, maybe because I use the nighty toolchain?
woody@lappi:~/Schreibtisch/rust/Piston-Tutorials$ rustc --version
rustc 1.2.0-nightly (2f5683913 2015-06-18)
What can I do, to get it building?
woody@lappi:~/Schreibtisch/rust/Piston-Tutorials$ cargo clean
woody@lappi:~/Schreibtisch/rust/Piston-Tutorials$ cargo build
Updating git repository `https://github.com/TyOverby/md_rel.git`
Updating git repository `https://github.com/TyOverby/try_or.git`
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading regex-syntax v0.1.2
Downloading libc v0.1.8
Downloading regex_macros v0.1.20
Downloading memchr v0.1.3
Downloading regex v0.1.38
Downloading aho-corasick v0.2.1
Compiling regex-syntax v0.1.2
Compiling libc v0.1.8
Compiling try_or v0.0.1 (https://github.com/TyOverby/try_or.git#a12b218d)
Compiling memchr v0.1.3
Compiling aho-corasick v0.2.1
Compiling regex v0.1.38
Compiling regex_macros v0.1.20
Compiling md_rel v0.0.1 (https://github.com/TyOverby/md_rel.git#f158bb37)
/home/woody/.cargo/git/checkouts/md_rel-d4f5ab0821b82ce4/master/src/lib.rs:8:20: 8:24 error: unresolved import `std::old_io::File`. Could not find `old_io` in `std`
/home/woody/.cargo/git/checkouts/md_rel-d4f5ab0821b82ce4/master/src/lib.rs:8 use std::old_io::{ File, IoError };
^~~~
/home/woody/.cargo/git/checkouts/md_rel-d4f5ab0821b82ce4/master/src/lib.rs:8:26: 8:33 error: unresolved import `std::old_io::IoError`. Could not find `old_io` in `std`
/home/woody/.cargo/git/checkouts/md_rel-d4f5ab0821b82ce4/master/src/lib.rs:8 use std::old_io::{ File, IoError };
bvssvni commented
old_io
is name of the old IO api in Rust. I think "md_rel" needs to be updated.