Ion build fails
Created by: jsalzbergedu
Reproduction:
Running make all
in the redox/
directory fails when building ion
Expected behavior: Ion builds, along with the rest of the system
Actual behavior: When building redox, I get all the way to
cook - ion update
Updating registry `https://github.com/rust-lang/crates.io-index`
cook - ion build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling libc v0.2.24
Compiling gcc v0.3.51
Compiling core v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libcore)
Compiling unwind v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libunwind)
Compiling libc v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/rustc/libc_shim)
Compiling filetime v0.1.10
Compiling build_helper v0.1.0 (file:///home/jacob/GitHub/redox/rust/src/build_helper)
Compiling std v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libstd)
Compiling compiler_builtins v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libcompiler_builtins)
Compiling std_unicode v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libstd_unicode)
Compiling rand v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/librand)
Compiling alloc v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/liballoc)
Compiling alloc_system v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/liballoc_system)
Compiling panic_abort v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libpanic_abort)
Compiling panic_unwind v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libpanic_unwind)
Compiling collections v0.0.0 (file:///home/jacob/GitHub/redox/rust/src/libcollections)
warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-redox`
Finished release [optimized + debuginfo] target(s) in 38.84 secs
Compiling unicode-width v0.1.4
Compiling slab v0.3.0
Compiling version_check v0.1.2
Compiling quote v0.3.15
Compiling smallvec v0.3.3
Compiling log v0.3.8
Compiling ansi_term v0.9.0
Compiling cfg-if v0.1.1
Compiling permutate v0.3.2
Compiling futures v0.1.14
Compiling scoped-tls v0.1.0
Compiling byteorder v1.0.0
Compiling iovec v0.1.0
error: expected one of `::`, `;`, or `as`, found `#`
--> /home/jacob/.cargo/registry/src/github.com-1ecc6299db9ec823/iovec-0.1.0/src/lib.rs:18:1
|
16 | use IoVec
| - expected one of `::`, `;`, or `as` here
17 |
18 | #[cfg(unix)]
| ^ unexpected token
error: aborting due to previous error(s)
error: Could not compile `iovec`.
warning: build failed, waiting for other jobs to finish...
error: build failed
./repo.sh failed.make: *** [mk/filesystem.mk:12: build/filesystem.bin] Error 1
Build information:
rustc -V
: rustc 1.19.0-nightly (04145943a 2017-06-19)
git rev-parse HEAD
: 497b6fde96aa7d730565a8926c6fea171b6fb80e
Blocking/related: [issues or PRs blocking or being related to this issue.]
Misc: Running git reset --hard HEAD^^^
in the ion source directory fixes it
Sorry though three commits back is just a random number I didn't test others
Should I move this to the ion repo? Sorry if its in the wrong place