Since yesterday I can't compile anymore, one of the dependencies (rand) seems broken.
Here is the result of a cargo build in a fresh clone of this repo:
➜ rust-sdl2 git:(master) rustc --version
rustc 1.0.0-nightly (cfea8ec41 2015-03-10) (built 2015-03-10)
➜ rust-sdl2 git:(master) cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling sdl2-sys v0.0.33 (file:///private/tmp/rust-sdl2)
Compiling bitflags v0.1.1
Compiling libc v0.1.3
Compiling log v0.3.0
Compiling rand v0.3.0
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94:51: 94:61 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94 for i in (0..RAND_SIZE_USIZE).step_by(8) {
^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94:51: 94:61 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94 for i in (0..RAND_SIZE_USIZE).step_by(8) {
^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:111:43: 111:53 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:111 for i in (0..RAND_SIZE_USIZE).step_by(8) {
^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:170:36: 170:46 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:170 for i in (0..MIDPOINT).step_by(4) {
^~~~~~~~~~
error: aborting due to 4 previous errors
Could not compile `rand`.
To learn more, run the command again with --verbose.
Since yesterday I can't compile anymore, one of the dependencies (rand) seems broken. Here is the result of a
cargo build
in a fresh clone of this repo: