[INFO] cloning repository https://github.com/prz23/nitro-ra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prz23/nitro-ra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprz23%2Fnitro-ra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprz23%2Fnitro-ra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3793b27a8aed1df11cdbd4cc6b5ad7f85e2741aa [INFO] checking prz23/nitro-ra against master#0c1fb2a1e65a57073dc62dd502319a00cf753371 for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprz23%2Fnitro-ra" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prz23/nitro-ra on toolchain 0c1fb2a1e65a57073dc62dd502319a00cf753371 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prz23/nitro-ra [INFO] finished tweaking git repo https://github.com/prz23/nitro-ra [INFO] tweaked toml for git repo https://github.com/prz23/nitro-ra written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prz23/nitro-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" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking prz23/nitro-ra against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprz23%2Fnitro-ra" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prz23/nitro-ra on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prz23/nitro-ra [INFO] finished tweaking git repo https://github.com/prz23/nitro-ra [INFO] tweaked toml for git repo https://github.com/prz23/nitro-ra written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prz23/nitro-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" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/prz23/nitro-enclave-attestation-document` [INFO] [stderr] Updating git repository `https://github.com/aws/aws-nitro-enclaves-nsm-api.git` [INFO] [stderr] Updating git repository `https://github.com/sgx-test/yasna.rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking prz23/nitro-ra against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprz23%2Fnitro-ra" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prz23/nitro-ra on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prz23/nitro-ra [INFO] finished tweaking git repo https://github.com/prz23/nitro-ra [INFO] tweaked toml for git repo https://github.com/prz23/nitro-ra written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prz23/nitro-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" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with v1.9.4 [INFO] [stderr] Downloaded aws-nitro-enclaves-cose v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88a6cdcdd5f1c27aab879aa50d6d256be9731eb740f8062e0dcf1084a3670cc5 [INFO] running `Command { std: "docker" "start" "-a" "88a6cdcdd5f1c27aab879aa50d6d256be9731eb740f8062e0dcf1084a3670cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88a6cdcdd5f1c27aab879aa50d6d256be9731eb740f8062e0dcf1084a3670cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a6cdcdd5f1c27aab879aa50d6d256be9731eb740f8062e0dcf1084a3670cc5", kill_on_drop: false }` [INFO] [stdout] 88a6cdcdd5f1c27aab879aa50d6d256be9731eb740f8062e0dcf1084a3670cc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 380e4f3f67dd4d5d7a530c0120f64d1fad95e5dc3c258e821539c7b45fbfaebb [INFO] running `Command { std: "docker" "start" "-a" "380e4f3f67dd4d5d7a530c0120f64d1fad95e5dc3c258e821539c7b45fbfaebb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking yasna v0.4.0 (https://github.com/sgx-test/yasna.rs#26049419) [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_with v1.9.4 [INFO] [stderr] Checking nsm-io v0.1.0 (https://github.com/aws/aws-nitro-enclaves-nsm-api.git?rev=4f468c4#4f468c46) [INFO] [stderr] Checking nsm-driver v0.1.0 (https://github.com/aws/aws-nitro-enclaves-nsm-api.git?rev=4f468c4#4f468c46) [INFO] [stderr] Checking aws-nitro-enclaves-cose v0.1.0 [INFO] [stderr] Checking nitro-enclave-attestation-document v0.1.0 (https://github.com/prz23/nitro-enclave-attestation-document#053d9eab) [INFO] [stderr] Checking nitro-ra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AttestationDoc` [INFO] [stdout] --> src/nsm.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nsm_io::{Request, Response, AttestationDoc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/nsm.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_cbor::error::Error as CborError` [INFO] [stdout] --> src/nsm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_cbor::error::Error as CborError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_slice`, `to_vec` [INFO] [stdout] --> src/nsm.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_cbor::error::Error as CborError` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_cbor::error::Error as CborError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AttestationDoc` [INFO] [stdout] --> src/nsm.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nsm_io::{Request, Response, AttestationDoc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/nsm.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_cbor::error::Error as CborError` [INFO] [stdout] --> src/nsm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_cbor::error::Error as CborError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_slice`, `to_vec` [INFO] [stdout] --> src/nsm.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_cbor::error::Error as CborError` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_cbor::error::Error as CborError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_slice` [INFO] [stdout] --> src/lib.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_k` [INFO] [stdout] --> src/tls.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let pub_k = cert_der[offset+2..offset+len].to_vec(); // skip "00 04" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/tls.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | let payload = "asdfsdfasdfsdfsf_test".into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ help: there is a method with a similar name: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nitro-ra` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "380e4f3f67dd4d5d7a530c0120f64d1fad95e5dc3c258e821539c7b45fbfaebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380e4f3f67dd4d5d7a530c0120f64d1fad95e5dc3c258e821539c7b45fbfaebb", kill_on_drop: false }` [INFO] [stdout] 380e4f3f67dd4d5d7a530c0120f64d1fad95e5dc3c258e821539c7b45fbfaebb