enclave-example 0.1.4

Example secure enclave written in Rust
Build #89087 2018-03-05T22:47:51.769006+00:00
# rustc version
rustc 1.26.0-dev (5c1d29af0 2018-03-03)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Build failed, waiting for other jobs to finish...
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading enclave-example v0.1.4
Downloading enclave v0.1.4
Downloading sgx-isa v0.1.2
Downloading alloc_buddy_simple2 v0.1.2
Fresh rlibc v1.0.0
Compiling bitflags v0.5.0
Fresh gcc v0.3.54
Fresh spin v0.4.6
Fresh semver v0.1.20
Running `rustc --crate-name bitflags .cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.5.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="no_std"' -C metadata=68965b55fee0c5f8 -C extra-filename=-68965b55fee0c5f8 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh rustc_version v0.1.7
Compiling alloc_buddy_simple2 v0.1.2
Compiling enclave v0.1.4
Running `rustc --crate-name alloc_buddy_simple .cargo/registry/src/github.com-1ecc6299db9ec823/alloc_buddy_simple2-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="spin"' --cfg 'feature="use-as-rust-allocator"' -C metadata=de0adac2c1d1eab2 -C extra-filename=-de0adac2c1d1eab2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern spin=/home/cratesfyi/cratesfyi/debug/deps/libspin-0b5dd95739b2d4a3.rlib --extern-version spin=spin,0.4.6 --cap-lints allow`
Compiling core_io v0.1.20170615
Running `/home/cratesfyi/cratesfyi/debug/build/core_io-0152b9e8356cbf13/build-script-build`
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/enclave-0.1.4/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="alloc_buddy_simple2"' --cfg 'feature="allocator"' --cfg 'feature="default"' -C metadata=2e1bcfc7e5f70330 -C extra-filename=-2e1bcfc7e5f70330 --out-dir /home/cratesfyi/cratesfyi/debug/build/enclave-2e1bcfc7e5f70330 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern gcc=/home/cratesfyi/cratesfyi/debug/deps/libgcc-da7e919133cea6e4.rlib --extern-version gcc=gcc,0.3.54 --cap-lints allow`
error: failed to run custom build command for `core_io v0.1.20170615`
process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/core_io-0152b9e8356cbf13/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unknown compiler version, upgrade core_io?', libcore/option.rs:917:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error[E0557]: feature has been removed
--> .cargo/registry/src/github.com-1ecc6299db9ec823/alloc_buddy_simple2-0.1.2/src/lib.rs:12:56
|
12 | #![cfg_attr(feature = "use-as-rust-allocator", feature(allocator, const_fn))]
|                                                        ^^^^^^^^^

error[E0658]: The attribute `allocator` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/alloc_buddy_simple2-0.1.2/src/lib.rs:13:48
|
13 | #![cfg_attr(feature = "use-as-rust-allocator", allocator)]
|                                                ^^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable

error: aborting due to 2 previous errors

You've got a few errors: E0557, E0658
If you want more information on an error, try using "rustc --explain E0557"
error: Could not compile `alloc_buddy_simple2`.

Caused by:
process didn't exit successfully: `rustc --crate-name alloc_buddy_simple .cargo/registry/src/github.com-1ecc6299db9ec823/alloc_buddy_simple2-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="spin" --cfg feature="use-as-rust-allocator" -C metadata=de0adac2c1d1eab2 -C extra-filename=-de0adac2c1d1eab2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern spin=/home/cratesfyi/cratesfyi/debug/deps/libspin-0b5dd95739b2d4a3.rlib --extern-version spin=spin,0.4.6 --cap-lints allow` (exit code: 101)
thread 'main' panicked at 'Error(
CargoError(
build failed
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.