Skip to content

Instantly share code, notes, and snippets.

@fortanix-bot
Created April 24, 2019 21:48
Show Gist options
  • Save fortanix-bot/508aa0233dd073ff71aa6a388049dcde to your computer and use it in GitHub Desktop.
Save fortanix-bot/508aa0233dd073ff71aa6a388049dcde to your computer and use it in GitHub Desktop.
Log of failed test for fortanix sgx test 360
Updating only changed submodules
Submodules updated in 0.01 seconds
Finished dev [unoptimized] target(s) in 0.20s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.22s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.19s
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.23s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
Finished release [optimized] target(s) in 0.19s
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-fortanix-unknown-sgx)
Finished release [optimized] target(s) in 0.22s
Copying stage1 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-fortanix-unknown-sgx)
Building stage1 test artifacts (x86_64-unknown-linux-gnu -> x86_64-fortanix-unknown-sgx)
Compiling proc_macro v0.0.0 (/home/jenkins/workspace/rust-sgx-ci/rust/src/libproc_macro)
Compiling term v0.0.0 (/home/jenkins/workspace/rust-sgx-ci/rust/src/libterm)
Compiling getopts v0.2.17
warning: dropping unsupported crate type `dylib` for target `x86_64-fortanix-unknown-sgx`
Compiling test v0.0.0 (/home/jenkins/workspace/rust-sgx-ci/rust/src/libtest)
warning: dropping unsupported crate type `dylib` for target `x86_64-fortanix-unknown-sgx`
Finished release [optimized] target(s) in 7.58s
Copying stage1 test from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-fortanix-unknown-sgx)
Testing std stage1 (x86_64-unknown-linux-gnu -> x86_64-fortanix-unknown-sgx)
Compiling rand_core v0.3.0
Compiling rand_pcg v0.1.1
Compiling rand_chacha v0.1.0
Compiling rand v0.6.1
Compiling rand_hc v0.1.0
Compiling rand_isaac v0.1.1
Compiling rand_xorshift v0.1.0
Compiling std v0.0.0 (/home/jenkins/workspace/rust-sgx-ci/rust/src/libstd)
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3082:10
|
3082 | error!(blank.create(true).open(&tmpdir.join("f")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3076:9
|
3076 | error!(c(&ra).truncate(true).open(&tmpdir.join("e")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3075:9
|
3075 | error!(c(&ra).create(true).truncate(true).open(&tmpdir.join("e")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3069:9
|
3069 | error!(c(&a).truncate(true).open(&tmpdir.join("d")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3068:9
|
3068 | error!(c(&a).create(true).truncate(true).open(&tmpdir.join("d")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3056:9
|
3056 | error!(c(&r).create(true).open(&tmpdir.join("b")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3055:9
|
3055 | error!(c(&r).truncate(true).open(&tmpdir.join("b")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3054:9
|
3054 | error!(c(&r).create(true).truncate(true).open(&tmpdir.join("b")), invalid_options);
| ^^^^^
error: cannot find macro `error!` in this scope
--> src/libstd/fs.rs:3053:9
|
3053 | error!(c(&r).create_new(true).open(&tmpdir.join("b")), invalid_options);
| ^^^^^
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:2157:15
|
2157 | match symlink_file(r"nonexisting_target", link) {
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_junction` in this scope
--> src/libstd/fs.rs:2645:16
|
2645 | check!(symlink_junction(&d2, &dt.join("d2")));
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:2646:17
|
2646 | let _ = symlink_file(&canary, &d1.join("canary"));
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_junction` in this scope
--> src/libstd/fs.rs:2662:16
|
2662 | check!(symlink_junction(&dir, &link));
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:2847:16
|
2847 | check!(symlink_file(&input, &out));
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:2864:16
|
2864 | check!(symlink_file(&"foo", &tmpdir.join("bar")));
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:2885:16
|
2885 | check!(symlink_file(&"foo", &link));
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:3232:9
|
3232 | symlink_file(&file, &link).unwrap();
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_dir` in this scope
--> src/libstd/fs.rs:3233:9
|
3233 | symlink_dir(&dir, &linkdir).unwrap();
| ^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_dir` in this scope
--> src/libstd/fs.rs:3261:13
|
3261 | symlink_dir("../d/e", &c).unwrap();
| ^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:3262:13
|
3262 | symlink_file("../f", &e).unwrap();
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_dir` in this scope
--> src/libstd/fs.rs:3265:13
|
3265 | symlink_dir(r"..\d\e", &c).unwrap();
| ^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_file` in this scope
--> src/libstd/fs.rs:3266:13
|
3266 | symlink_file(r"..\f", &e).unwrap();
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_junction` in this scope
--> src/libstd/fs.rs:3326:16
|
3326 | check!(symlink_junction(&target, &junction));
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `symlink_dir` in this scope
--> src/libstd/fs.rs:3334:16
|
3334 | check!(symlink_dir(&target, &link));
| ^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `env_cmd` in this scope
--> src/libstd/process.rs:1890:23
|
1890 | let mut cmd = env_cmd();
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `env_cmd` in this scope
--> src/libstd/process.rs:1904:22
|
1904 | let result = env_cmd().env("RUN_TEST_NEW_ENV", "123").output().unwrap();
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `env_cmd` in this scope
--> src/libstd/process.rs:1915:23
|
1915 | let mut cmd = env_cmd();
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `env_cmd` in this scope
--> src/libstd/process.rs:1968:15
|
1968 | match env_cmd().env("has-some-\0\0s-inside", "value").spawn() {
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `env_cmd` in this scope
--> src/libstd/process.rs:1976:15
|
1976 | match env_cmd().env("key", "has-some-\0\0s-inside").spawn() {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `time_t` in module `libc`
--> src/libstd/time.rs:716:53
|
716 | if !(cfg!(unix) && ::mem::size_of::<::libc::time_t>() <= 4) {
| ^^^^^^ help: a type alias with a similar name exists: `size_t`
error: unused import: `ptr`
--> src/libstd/sys/sgx/rwlock.rs:228:15
|
228 | use {mem, ptr};
| ^^^
|
= note: `-D unused-imports` implied by `-D warnings`
error[E0599]: no method named `socket` found for type `sys::sgx::net::TcpListener` in the current scope
--> src/libstd/net/tcp.rs:1557:41
|
1557 | let listener_inner = listener.0.socket().as_inner();
| ^^^^^^
|
::: src/libstd/sys/sgx/net.rs:186:1
|
186 | pub struct TcpListener {
| ---------------------- method `socket` not found for this
error[E0599]: no method named `socket` found for type `sys::sgx::net::TcpStream` in the current scope
--> src/libstd/net/tcp.rs:1564:37
|
1564 | let stream_inner = stream.0.socket().as_inner();
| ^^^^^^
|
::: src/libstd/sys/sgx/net.rs:45:1
|
45 | pub struct TcpStream {
| -------------------- method `socket` not found for this
error[E0599]: no method named `socket` found for type `sys::sgx::net::UdpSocket` in the current scope
--> src/libstd/net/udp.rs:980:39
|
980 | let udpsock_inner = udpsock.0.socket().as_inner();
| ^^^^^^
|
::: src/libstd/sys/sgx/net.rs:253:1
|
253 | pub struct UdpSocket(Void);
| --------------------------- method `socket` not found for this
error[E0599]: no method named `is_none` found for type `core::result::Result<sys::sgx::waitqueue::WaitGuard<'_, ()>, sys::sgx::waitqueue::spin_mutex::SpinMutexGuard<'_, sys::sgx::waitqueue::WaitVariable<()>>>` in the current scope
--> src/libstd/sys/sgx/waitqueue.rs:533:55
|
533 | assert!(WaitQueue::notify_one(wq2.lock()).is_none())
| ^^^^^^^
error[E0599]: no method named `into_inner` found for type `core::mem::MaybeUninit<sys::sgx::rwlock::RWLock>` in the current scope
--> src/libstd/sys/sgx/rwlock.rs:257:49
|
257 | mem::transmute::<_, [u8; 128]>(init.into_inner()).as_slice(),
| ^^^^^^^^^^
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `into_inner`, perhaps you need to implement it:
candidate #1: `sys_common::IntoInner`
error: aborting due to 36 previous errors
Some errors occurred: E0412, E0425, E0599.
For more information about an error, try `rustc --explain E0412`.
error: Could not compile `std`.
To learn more, run the command again with --verbose.
command did not execute successfully: "/home/jenkins/workspace/rust-sgx-ci/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-fortanix-unknown-sgx" "-j" "4" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/jenkins/workspace/rust-sgx-ci/rust/src/libstd/Cargo.toml" "--lib" "--bins" "--examples" "--tests" "--benches" "-p" "std" "--" "--quiet"
expected success, got: exit code: 101
failed to run: /home/jenkins/workspace/rust-sgx-ci/rust/build/bootstrap/debug/bootstrap test --stage=1 --target=x86_64-fortanix-unknown-sgx src/libstd --no-doc
Build completed unsuccessfully in 0:00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment