[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] checking deepsafe/occlum-ra against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsafe%2Focclum-ra" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deepsafe/occlum-ra on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused field in patch for `ring`: `features`, `default-features` [INFO] [stderr] | [INFO] [stderr] = help: configure `features`, `default-features` in the `dependencies` entry [INFO] [stderr] Updating git repository `https://github.com/deepsafe/ring` [INFO] [stderr] Updating git repository `https://github.com/deepsafe/occlum` [INFO] [stderr] Updating crates.io index [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] help: 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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f1f885ab5fbfa436fd3a359a2060f7967983cb02b02497e27ef516e63bbd65 [INFO] running `Command { std: "docker" "start" "-a" "06f1f885ab5fbfa436fd3a359a2060f7967983cb02b02497e27ef516e63bbd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f1f885ab5fbfa436fd3a359a2060f7967983cb02b02497e27ef516e63bbd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f1f885ab5fbfa436fd3a359a2060f7967983cb02b02497e27ef516e63bbd65", kill_on_drop: false }` [INFO] [stdout] 06f1f885ab5fbfa436fd3a359a2060f7967983cb02b02497e27ef516e63bbd65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ec514d54f30679ec6b21923b64bc54185f9908bcbe5471497115c6c9d8c60d [INFO] running `Command { std: "docker" "start" "-a" "e1ec514d54f30679ec6b21923b64bc54185f9908bcbe5471497115c6c9d8c60d", kill_on_drop: false }` [INFO] [stderr] warning: unused field in patch for `ring`: `features`, `default-features` [INFO] [stderr] | [INFO] [stderr] = help: configure `features`, `default-features` in the `dependencies` entry [INFO] [stderr] warning: patch `ring v0.17.14 (https://github.com/deepsafe/ring#1fafc327)` was not used in the crate graph [INFO] [stderr] help: 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 cc v1.0.94 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking sgx_types v1.1.6 (https://github.com/occlum/incubator-teaclave-sgx-sdk#81384ce4) [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking occlum_dcap v0.1.0 (https://github.com/deepsafe/occlum#9462cfae) [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking yasna v0.4.0 (https://github.com/deepsafe/yasna.rs#26049419) [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking http_req v0.9.3 [INFO] [stderr] Checking def-occlum-ra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | mr_enclave: sgx_quote [INFO] [stdout] | _________________________^ [INFO] [stdout] 237 | | .inner [INFO] [stdout] 238 | | .report_body [INFO] [stdout] 239 | | .mr_enclave [INFO] [stdout] 240 | | .m [INFO] [stdout] 241 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | mr_signer: sgx_quote [INFO] [stdout] | ________________________^ [INFO] [stdout] 244 | | .inner [INFO] [stdout] 245 | | .report_body [INFO] [stdout] 246 | | .mr_signer [INFO] [stdout] 247 | | .m [INFO] [stdout] 248 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | report_data: sgx_quote [INFO] [stdout] | __________________________^ [INFO] [stdout] 251 | | .inner [INFO] [stdout] 252 | | .report_body [INFO] [stdout] 253 | | .report_data [INFO] [stdout] 254 | | .d [INFO] [stdout] 255 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | mr_enclave: sgx_quote [INFO] [stdout] | _________________________^ [INFO] [stdout] 318 | | .report_body [INFO] [stdout] 319 | | .mr_enclave [INFO] [stdout] 320 | | .m [INFO] [stdout] 321 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:323:24 [INFO] [stdout] | [INFO] [stdout] 323 | mr_signer: sgx_quote [INFO] [stdout] | ________________________^ [INFO] [stdout] 324 | | .report_body [INFO] [stdout] 325 | | .mr_signer [INFO] [stdout] 326 | | .m [INFO] [stdout] 327 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | report_data: sgx_quote [INFO] [stdout] | __________________________^ [INFO] [stdout] 330 | | .report_body [INFO] [stdout] 331 | | .report_data [INFO] [stdout] 332 | | .d [INFO] [stdout] 333 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | mr_enclave: sgx_quote [INFO] [stdout] | _________________________^ [INFO] [stdout] 237 | | .inner [INFO] [stdout] 238 | | .report_body [INFO] [stdout] 239 | | .mr_enclave [INFO] [stdout] 240 | | .m [INFO] [stdout] 241 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | mr_signer: sgx_quote [INFO] [stdout] | ________________________^ [INFO] [stdout] 244 | | .inner [INFO] [stdout] 245 | | .report_body [INFO] [stdout] 246 | | .mr_signer [INFO] [stdout] 247 | | .m [INFO] [stdout] 248 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | report_data: sgx_quote [INFO] [stdout] | __________________________^ [INFO] [stdout] 251 | | .inner [INFO] [stdout] 252 | | .report_body [INFO] [stdout] 253 | | .report_data [INFO] [stdout] 254 | | .d [INFO] [stdout] 255 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | mr_enclave: sgx_quote [INFO] [stdout] | _________________________^ [INFO] [stdout] 318 | | .report_body [INFO] [stdout] 319 | | .mr_enclave [INFO] [stdout] 320 | | .m [INFO] [stdout] 321 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:323:24 [INFO] [stdout] | [INFO] [stdout] 323 | mr_signer: sgx_quote [INFO] [stdout] | ________________________^ [INFO] [stdout] 324 | | .report_body [INFO] [stdout] 325 | | .mr_signer [INFO] [stdout] 326 | | .m [INFO] [stdout] 327 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/attestation.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | report_data: sgx_quote [INFO] [stdout] | __________________________^ [INFO] [stdout] 330 | | .report_body [INFO] [stdout] 331 | | .report_data [INFO] [stdout] 332 | | .d [INFO] [stdout] 333 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `def-occlum-ra` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `def-occlum-ra` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "e1ec514d54f30679ec6b21923b64bc54185f9908bcbe5471497115c6c9d8c60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ec514d54f30679ec6b21923b64bc54185f9908bcbe5471497115c6c9d8c60d", kill_on_drop: false }` [INFO] [stdout] e1ec514d54f30679ec6b21923b64bc54185f9908bcbe5471497115c6c9d8c60d