[INFO] fetching crate mc-sgx-dcap-types 0.12.0... [INFO] testing mc-sgx-dcap-types-0.12.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mc-sgx-dcap-types 0.12.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mc-sgx-dcap-types 0.12.0 [INFO] finished tweaking crates.io crate mc-sgx-dcap-types 0.12.0 [INFO] tweaked toml for crates.io crate mc-sgx-dcap-types 0.12.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mc-sgx-dcap-types 0.12.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mc-sgx-dcap-types 0.12.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 446df7436cbe42b9037f35b052e73af1e06533db870b5303d479450f715d8416 [INFO] running `Command { std: "docker" "start" "-a" "446df7436cbe42b9037f35b052e73af1e06533db870b5303d479450f715d8416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "446df7436cbe42b9037f35b052e73af1e06533db870b5303d479450f715d8416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446df7436cbe42b9037f35b052e73af1e06533db870b5303d479450f715d8416", kill_on_drop: false }` [INFO] [stdout] 446df7436cbe42b9037f35b052e73af1e06533db870b5303d479450f715d8416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 473331f807b92e8ceba81ddeb6dd01c83aa37bab168981a29b1196dfe959bce9 [INFO] running `Command { std: "docker" "start" "-a" "473331f807b92e8ceba81ddeb6dd01c83aa37bab168981a29b1196dfe959bce9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling prettyplease v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling mc-sgx-util v0.12.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sec1 v0.7.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.7 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling mc-sgx-core-build v0.12.0 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.12.0 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling mc-sgx-core-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-dcap-types v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:415:31 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.26s [INFO] running `Command { std: "docker" "inspect" "473331f807b92e8ceba81ddeb6dd01c83aa37bab168981a29b1196dfe959bce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473331f807b92e8ceba81ddeb6dd01c83aa37bab168981a29b1196dfe959bce9", kill_on_drop: false }` [INFO] [stdout] 473331f807b92e8ceba81ddeb6dd01c83aa37bab168981a29b1196dfe959bce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9a1b5d40a240adb308b3b2fa14741d8e43be01c770d05a40d11123d72cda392 [INFO] running `Command { std: "docker" "start" "-a" "b9a1b5d40a240adb308b3b2fa14741d8e43be01c770d05a40d11123d72cda392", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling flagset v0.4.3 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling yare-macro v2.0.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling yare v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sec1 v0.7.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling x509-cert v0.2.5 [INFO] [stderr] Compiling ecdsa v0.16.7 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-core-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-dcap-types v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Certificate` and `der::DecodePem` [INFO] [stdout] --> src/quote3.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | use x509_cert::{der::DecodePem, Certificate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:415:31 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 205 | pub fn signature_data(&self) -> SignatureData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quote3.rs:415:31 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | pub fn certification_data(&self) -> &CertificationData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "b9a1b5d40a240adb308b3b2fa14741d8e43be01c770d05a40d11123d72cda392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a1b5d40a240adb308b3b2fa14741d8e43be01c770d05a40d11123d72cda392", kill_on_drop: false }` [INFO] [stdout] b9a1b5d40a240adb308b3b2fa14741d8e43be01c770d05a40d11123d72cda392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ee45bdc5a0e885ae2c63b9c67cd7c1d087e7d3c8cba927544836bd3153ac485 [INFO] running `Command { std: "docker" "start" "-a" "1ee45bdc5a0e885ae2c63b9c67cd7c1d087e7d3c8cba927544836bd3153ac485", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/quote3.rs:205:27 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn signature_data(&self) -> SignatureData { [INFO] [stderr] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 205 | pub fn signature_data(&self) -> SignatureData<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/quote3.rs:415:31 [INFO] [stderr] | [INFO] [stderr] 415 | pub fn certification_data(&self) -> &CertificationData { [INFO] [stderr] | ^^^^^ ------------------ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 415 | pub fn certification_data(&self) -> &CertificationData<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Certificate` and `der::DecodePem` [INFO] [stderr] --> src/quote3.rs:529:21 [INFO] [stderr] | [INFO] [stderr] 529 | use x509_cert::{der::DecodePem, Certificate}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mc-sgx-dcap-types` (lib) generated 2 warnings (run `cargo fix --lib -p mc-sgx-dcap-types` to apply 2 suggestions) [INFO] [stderr] warning: `mc-sgx-dcap-types` (lib test) generated 3 warnings (2 duplicates) (run `cargo fix --lib -p mc-sgx-dcap-types --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mc_sgx_dcap_types-a8e8af9f913e9d67) [INFO] [stdout] [INFO] [stdout] running 145 tests [INFO] [stdout] test certification_data::test::certification_data_less_than_min ... ok [INFO] [stdout] test certification_data::test::certification_data_too_small_for_data ... ok [INFO] [stdout] test certification_data::test::iterate_over_a_malformed_pem ... ok [INFO] [stdout] test certification_data::test::iterate_over_a_empty_pck_cert_chain ... ok [INFO] [stdout] test certification_data::test::iterate_over_a_non_certificate_pem ... ok [INFO] [stdout] test certification_data::test::iterate_over_a_cert_chain ... ok [INFO] [stdout] test certification_data::test::iterate_over_an_unmatched_nested_end ... ok [INFO] [stdout] test certification_data::test::multiple_byte_certification_data ... ok [INFO] [stdout] test certification_data::test::ignore_contents_before_between_and_after_pems ... ok [INFO] [stdout] test certification_data::test::iterate_over_one_pem ... ok [INFO] [stdout] test certification_data::test::type_eight_is_error ... ok [INFO] [stdout] test certification_data::test::iterate_over_a_partial_pem_is_none ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_five ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_one ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_four ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_seven ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_two ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_six ... ok [INFO] [stdout] test certification_data::test::zero_type_is_error ... ok [INFO] [stdout] test error::test::error_from_ffi::busy ... ok [INFO] [stdout] test error::test::error_from_ffi::attestation_key_not_initialized ... ok [INFO] [stdout] test error::test::error_from_ffi::config_invalid_json ... ok [INFO] [stdout] test error::test::error_from_ffi::ecdsa_id_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::attestation_key_blob ... ok [INFO] [stdout] test error::test::error_from_ffi::enclave_identity_out_of_date ... ok [INFO] [stdout] test error::test::error_from_ffi::enclave_load ... ok [INFO] [stdout] test error::test::error_from_ffi::certs_unavailable ... ok [INFO] [stdout] test error::test::error_from_ffi::file_access ... ok [INFO] [stdout] test error::test::error_from_ffi::interface_unavailable ... ok [INFO] [stdout] test error::test::error_from_ffi::internal_server_error ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_cert_data_in_attestation_key ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_pce_sig_scheme ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_parameter ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_privilege ... ok [INFO] [stdout] test error::test::error_from_ffi::collateral_version_not_supported ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_qe_report_signature ... ok [INFO] [stdout] test error::test::error_from_ffi::enclave_lost ... ok [INFO] [stdout] test certification_data::test::type_is_valid::byte_value_three ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_report ... ok [INFO] [stdout] test error::test::error_from_ffi::enclave_report_isvsvn_out_of_date ... ok [INFO] [stdout] test certification_data::test::one_byte_certification_data ... ok [INFO] [stdout] test error::test::error_from_ffi::invalid_signautre ... ok [INFO] [stdout] test error::test::error_from_ffi::key_certification ... ok [INFO] [stdout] test error::test::error_from_ffi::max ... ok [INFO] [stdout] test error::test::error_from_ffi::message ... ok [INFO] [stdout] test error::test::error_from_ffi::message_parsing ... ok [INFO] [stdout] test error::test::error_from_ffi::network ... ok [INFO] [stdout] test error::test::error_from_ffi::no_device ... ok [INFO] [stdout] test error::test::error_from_ffi::no_platform_cert_data ... ok [INFO] [stdout] test error::test::error_from_ffi::no_quote_collateral_data ... ok [INFO] [stdout] test error::test::error_from_ffi::no_qve_identity_data ... ok [INFO] [stdout] test error::test::error_from_ffi::out_of_epc ... ok [INFO] [stdout] test error::test::error_from_ffi::out_of_memory ... ok [INFO] [stdout] test error::test::error_from_ffi::pathname_buffer_overflow ... ok [INFO] [stdout] test error::test::error_from_ffi::pck_cert_chain ... ok [INFO] [stdout] test error::test::error_from_ffi::pck_revoked ... ok [INFO] [stdout] test error::test::error_from_ffi::network_failure ... ok [INFO] [stdout] test error::test::error_from_ffi::persistent_storage ... ok [INFO] [stdout] test error::test::error_from_ffi::platform_lib_unavailable ... ok [INFO] [stdout] test error::test::error_from_ffi::platform_unknown ... ok [INFO] [stdout] test error::test::error_from_ffi::psw_not_available ... ok [INFO] [stdout] test error::test::error_from_ffi::pub_key_id_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::qe_identity_chain_error ... ok [INFO] [stdout] test error::test::error_from_ffi::qe_identity_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::qe_identity_not_found ... ok [INFO] [stdout] test error::test::error_from_ffi::qe_identity_out_of_date ... ok [INFO] [stdout] test error::test::error_from_ffi::qve_identity_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::qvl_qve_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::root_ca_untrusted ... ok [INFO] [stdout] test error::test::error_from_ffi::service_timeout ... ok [INFO] [stdout] test error::test::error_from_ffi::service_unavailable ... ok [INFO] [stdout] test error::test::error_from_ffi::sgx_crl_expired ... ok [INFO] [stdout] test error::test::error_from_ffi::sgx_enclave_identity_expired ... ok [INFO] [stdout] test error::test::error_from_ffi::sgx_pck_cert_chain_expired ... ok [INFO] [stdout] test error::test::error_from_ffi::qve_out_of_date ... ok [INFO] [stdout] test error::test::error_from_ffi::sgx_signing_cert_chain_expired ... ok [INFO] [stdout] test error::test::error_from_ffi::stored_key ... ok [INFO] [stdout] test error::test::error_from_ffi::supplemental_data_version_not_supported ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_configuration_and_sw_hardening_needed ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_configuration_needed ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_info_chain_error ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_info_expired ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_info_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_info_not_found ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_not_supported ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_out_of_date ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_out_of_date_and_configuration_needed ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_revoked ... ok [INFO] [stdout] test error::test::error_from_ffi::tcb_sw_hardening_needed ... ok [INFO] [stdout] test error::test::error_from_ffi::tdx_module_mismatch ... ok [INFO] [stdout] test error::test::error_from_ffi::unable_to_generate_qe_report ... ok [INFO] [stdout] test error::test::error_from_ffi::unable_to_generate_report ... ok [INFO] [stdout] test error::test::error_from_ffi::unable_to_get_collateral ... ok [INFO] [stdout] test error::test::error_from_ffi::unknown_api_version ... ok [INFO] [stdout] test error::test::error_from_ffi::unknown_message_response ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_att_key_id ... ok [INFO] [stdout] test error::test::error_from_ffi::unexpected ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_loading_policy ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_mode ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_pck_cert_format ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_qe_identity_format ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_qe_report_format ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_quote_certification_data ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_quote_format ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_tcb_info_format ... ok [INFO] [stdout] test error::test::success_is_not_an_error ... ok [INFO] [stdout] test error::test::serializing_quote3_error ... ok [INFO] [stdout] test quote3::test::authentication_data_less_than_min ... ok [INFO] [stdout] test error::test::unknown_quote3_error_maps_to_unexpected ... ok [INFO] [stdout] test quote3::test::authentication_data_to_small_for_data ... ok [INFO] [stdout] test quote3::test::multiple_byte_authentication_data ... ok [INFO] [stdout] test quote3::test::one_byte_authentication_data ... ok [INFO] [stdout] test quote3::test::quote_from_slice ... ok [INFO] [stdout] test quote3::test::signature_data_with_auth_data ... ok [INFO] [stdout] test quote3::test::signature_data_with_certification_data ... ok [INFO] [stdout] test quote3::test::signature_data_without_room_for_auth_data ... ok [INFO] [stdout] test quote3::test::signature_data_without_room_for_cert_data ... ok [INFO] [stdout] test error::test::error_from_ffi::unsupported_crl_format ... ok [INFO] [stdout] test quote3::test::quote_too_small_for_signature ... ok [INFO] [stdout] test quote3::test::quote_too_small_for_signature_trailing_contents ... ok [INFO] [stdout] test quote3::test::quote_with_wrong_version::version_2 ... ok [INFO] [stdout] test quote3::test::quote_nonce_off_by_one_fails ... ok [INFO] [stdout] test quote3::test::quote_with_wrong_version::version_4 ... ok [INFO] [stdout] test quote3::test::signature_data_1 ... ok [INFO] [stdout] test quote3::test::quote_can_be_serialized_and_deserialized ... ok [INFO] [stdout] test quote3::test::signature_data_2 ... ok [INFO] [stdout] test quote3::test::signature_data_less_than_min ... ok [INFO] [stdout] test error::test::error_from_ffi::report ... ok [INFO] [stdout] test quoting_enclave::test::default_report_info ... ok [INFO] [stdout] test quote3::test::valid_quote_nonce_5_succeeds ... ok [INFO] [stdout] test request_policy::test::from_policy_to_sgx::ephemeral_qve_multi_thread ... ok [INFO] [stdout] test request_policy::test::from_policy_to_sgx::persistent_qve_multi_thread ... ok [INFO] [stdout] test quote3::test::zero_authentication_data ... ok [INFO] [stdout] test request_policy::test::from_policy_to_sgx::persistent ... ok [INFO] [stdout] test request_policy::test::from_sgx_to_policy::ephemeral ... ok [INFO] [stdout] test request_policy::test::from_sgx_to_policy::ephemeral_qve_multi_thread ... ok [INFO] [stdout] test quote3::test::trailing_report_data_non_zero_fails ... ok [INFO] [stdout] test request_policy::test::from_sgx_to_policy::persistent ... ok [INFO] [stdout] test request_policy::test::from_sgx_to_policy::defualt ... ok [INFO] [stdout] test quoting_enclave::test::from_report_info_t ... ok [INFO] [stdout] test request_policy::test::from_policy_to_sgx::ephemeral ... ok [INFO] [stdout] test quote3::test::valid_quote_nonce_1_succeeds ... ok [INFO] [stdout] test request_policy::test::from_sgx_to_policy::persistent_qve_multi_thread ... ok [INFO] [stdout] test request_policy::test::sgx_policy_out_of_bounds_panics ... ok [INFO] [stdout] test quote3::test::signature_data_with_auth_and_cert_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 145 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests mc_sgx_dcap_types [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ee45bdc5a0e885ae2c63b9c67cd7c1d087e7d3c8cba927544836bd3153ac485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee45bdc5a0e885ae2c63b9c67cd7c1d087e7d3c8cba927544836bd3153ac485", kill_on_drop: false }` [INFO] [stdout] 1ee45bdc5a0e885ae2c63b9c67cd7c1d087e7d3c8cba927544836bd3153ac485