[INFO] cloning repository https://github.com/deepsafe/occlum-ra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deepsafe/occlum-ra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsafe%2Focclum-ra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsafe%2Focclum-ra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d5cdcbc413bf7bc15ba8ba1a028cecd6d0f99f4 [INFO] testing deepsafe/occlum-ra against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsafe%2Focclum-ra" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deepsafe/occlum-ra [INFO] finished tweaking git repo https://github.com/deepsafe/occlum-ra [INFO] tweaked toml for git repo https://github.com/deepsafe/occlum-ra written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deepsafe/occlum-ra on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deepsafe/occlum-ra already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: patch for `ring` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] Updating git repository `https://github.com/deepsafe/ring` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/deepsafe/occlum` [INFO] [stderr] Updating git submodule `https://github.com/stepancheg/grpc-rust.git` [INFO] [stderr] Updating git submodule `https://github.com/occlum/itoa-sgx` [INFO] [stderr] Updating git submodule `https://github.com/tailhook/resolv-conf.git` [INFO] [stderr] Updating git submodule `https://github.com/agerasev/ringbuf.git` [INFO] [stderr] Updating git submodule `https://github.com/occlum/incubator-teaclave-sgx-sdk.git` [INFO] [stderr] Updating git submodule `https://github.com/occlum/sefs.git` [INFO] [stderr] Updating git submodule `https://github.com/occlum/serde-json-sgx` [INFO] [stderr] Updating git submodule `https://github.com/occlum/serde-sgx` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/occlum/incubator-teaclave-sgx-sdk` [INFO] [stderr] Updating git repository `https://github.com/deepsafe/yasna.rs` [INFO] [stderr] warning: Patch `ring v0.17.14 (https://github.com/deepsafe/ring#1fafc327)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding occlum_dcap v0.1.0 (https://github.com/deepsafe/occlum#9462cfae) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.14) [INFO] [stderr] Adding yasna v0.4.0 (https://github.com/deepsafe/yasna.rs#26049419) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded http_req v0.9.3 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded proc-macro2 v1.0.80 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded either v1.11.0 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded syn v2.0.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b61f7a57c7777225ed54e50c41a97a5b9b7349aaa2229401742308811443bfcc [INFO] running `Command { std: "docker" "start" "-a" "b61f7a57c7777225ed54e50c41a97a5b9b7349aaa2229401742308811443bfcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b61f7a57c7777225ed54e50c41a97a5b9b7349aaa2229401742308811443bfcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61f7a57c7777225ed54e50c41a97a5b9b7349aaa2229401742308811443bfcc", kill_on_drop: false }` [INFO] [stdout] b61f7a57c7777225ed54e50c41a97a5b9b7349aaa2229401742308811443bfcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 319211beefa2c5e1fe2aa1b6971dee91b4afce86dba8fc6b96afd0ebf7106faf [INFO] running `Command { std: "docker" "start" "-a" "319211beefa2c5e1fe2aa1b6971dee91b4afce86dba8fc6b96afd0ebf7106faf", kill_on_drop: false }` [INFO] [stderr] warning: patch for `ring` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] warning: Patch `ring v0.17.14 (https://github.com/deepsafe/ring#1fafc327)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sgx_types v1.1.6 (https://github.com/occlum/incubator-teaclave-sgx-sdk#81384ce4) [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling occlum_dcap v0.1.0 (https://github.com/deepsafe/occlum#9462cfae) [INFO] [stderr] Compiling yasna v0.4.0 (https://github.com/deepsafe/yasna.rs#26049419) [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling http_req v0.9.3 [INFO] [stderr] Compiling def-occlum-ra v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.95s [INFO] running `Command { std: "docker" "inspect" "319211beefa2c5e1fe2aa1b6971dee91b4afce86dba8fc6b96afd0ebf7106faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319211beefa2c5e1fe2aa1b6971dee91b4afce86dba8fc6b96afd0ebf7106faf", kill_on_drop: false }` [INFO] [stdout] 319211beefa2c5e1fe2aa1b6971dee91b4afce86dba8fc6b96afd0ebf7106faf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d9509f94bf3f064ba7949a05256cdc9c8d0e1db74b59dee52848f6baf85691cb [INFO] running `Command { std: "docker" "start" "-a" "d9509f94bf3f064ba7949a05256cdc9c8d0e1db74b59dee52848f6baf85691cb", kill_on_drop: false }` [INFO] [stderr] warning: patch for `ring` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] warning: Patch `ring v0.17.14 (https://github.com/deepsafe/ring#1fafc327)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling def-occlum-ra v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "d9509f94bf3f064ba7949a05256cdc9c8d0e1db74b59dee52848f6baf85691cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9509f94bf3f064ba7949a05256cdc9c8d0e1db74b59dee52848f6baf85691cb", kill_on_drop: false }` [INFO] [stdout] d9509f94bf3f064ba7949a05256cdc9c8d0e1db74b59dee52848f6baf85691cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cba96b1db52d44bb8e656a3f76c4db174e694f6b52d9591197c48a81ca606316 [INFO] running `Command { std: "docker" "start" "-a" "cba96b1db52d44bb8e656a3f76c4db174e694f6b52d9591197c48a81ca606316", kill_on_drop: false }` [INFO] [stderr] warning: patch for `ring` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] warning: Patch `ring v0.17.14 (https://github.com/deepsafe/ring#1fafc327)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/def_occlum_ra-cf7d4eaab8fa323d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test verify::tests::test_epid_report ... ok [INFO] [stdout] test verify::tests::test_err_certs_report ... ok [INFO] [stdout] test verify::tests::test_certs_report ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cba96b1db52d44bb8e656a3f76c4db174e694f6b52d9591197c48a81ca606316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba96b1db52d44bb8e656a3f76c4db174e694f6b52d9591197c48a81ca606316", kill_on_drop: false }` [INFO] [stdout] cba96b1db52d44bb8e656a3f76c4db174e694f6b52d9591197c48a81ca606316