[INFO] fetching crate quartz-tee-ra 0.2.0... [INFO] checking quartz-tee-ra-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate quartz-tee-ra 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate quartz-tee-ra 0.2.0 [INFO] finished tweaking crates.io crate quartz-tee-ra 0.2.0 [INFO] tweaked toml for crates.io crate quartz-tee-ra 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quartz-tee-ra 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] [stderr] Adding mc-sgx-core-types v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding mc-sgx-dcap-sys-types v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding mc-sgx-dcap-types v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding x509-parser v0.16.0 (available: v0.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mc-sgx-dcap-sys-types v0.11.0 [INFO] [stderr] Downloaded mc-sgx-dcap-types v0.11.0 [INFO] [stderr] Downloaded mc-sgx-core-sys-types v0.11.0 [INFO] [stderr] Downloaded mc-sgx-util v0.11.0 [INFO] [stderr] Downloaded mc-sgx-core-sys-types v0.12.0 [INFO] [stderr] Downloaded mc-sgx-dcap-sys-types v0.12.0 [INFO] [stderr] Downloaded mc-sgx-util v0.12.0 [INFO] [stderr] Downloaded cargo-emit v0.2.1 [INFO] [stderr] Downloaded mc-sgx-dcap-types v0.12.0 [INFO] [stderr] Downloaded mc-sgx-core-types v0.11.0 [INFO] [stderr] Downloaded mc-sgx-core-types v0.12.0 [INFO] [stderr] Downloaded mc-sgx-core-build v0.11.0 [INFO] [stderr] Downloaded mc-attestation-verifier v0.4.4 [INFO] [stderr] Downloaded mc-sgx-core-build v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c823918424f29bfa43546dfd4f20140ac27b8a5e934746e5a290389a74f32d18 [INFO] running `Command { std: "docker" "start" "-a" "c823918424f29bfa43546dfd4f20140ac27b8a5e934746e5a290389a74f32d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c823918424f29bfa43546dfd4f20140ac27b8a5e934746e5a290389a74f32d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c823918424f29bfa43546dfd4f20140ac27b8a5e934746e5a290389a74f32d18", kill_on_drop: false }` [INFO] [stdout] c823918424f29bfa43546dfd4f20140ac27b8a5e934746e5a290389a74f32d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a826cce81fc8be1081b23efa760dd103c405103b95219a5f6b43b37a40671c [INFO] running `Command { std: "docker" "start" "-a" "23a826cce81fc8be1081b23efa760dd103c405103b95219a5f6b43b37a40671c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking flagset v0.4.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking mc-sgx-util v0.12.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mc-sgx-util v0.11.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling mc-sgx-core-build v0.12.0 [INFO] [stderr] Compiling mc-sgx-core-build v0.11.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.11.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.12.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.11.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking mc-sgx-core-types v0.11.0 [INFO] [stderr] Checking mc-sgx-core-types v0.12.0 [INFO] [stderr] Checking mc-sgx-dcap-types v0.11.0 [INFO] [stderr] Checking mc-sgx-dcap-types v0.12.0 [INFO] [stderr] Checking mc-attestation-verifier v0.4.4 [INFO] [stderr] Checking quartz-tee-ra v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mc_sgx_dcap_types::Collateral` [INFO] [stdout] --> src/intel_sgx/dcap.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mc_sgx_dcap_types::{Collateral, Quote3, Quote3Error}; [INFO] [stdout] | ^^^^^^^^^^ no `Collateral` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/lib.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 37 | pub use crate::collateral::{Collateral, Error as CollateralError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mc_sgx_dcap_types::Collateral` [INFO] [stdout] --> src/intel_sgx/dcap.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use mc_sgx_dcap_types::{Collateral, Quote3}; [INFO] [stdout] | ^^^^^^^^^^ no `Collateral` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::intel_sgx::dcap::Collateral [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/lib.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 37 | pub use crate::collateral::{Collateral, Error as CollateralError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mc_sgx_dcap_types::Collateral` [INFO] [stdout] --> src/intel_sgx/dcap.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mc_sgx_dcap_types::{Collateral, Quote3, Quote3Error}; [INFO] [stdout] | ^^^^^^^^^^ no `Collateral` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/lib.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 37 | pub use crate::collateral::{Collateral, Error as CollateralError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/intel_sgx/dcap.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let evidence = Evidence::new(quote, collateral).expect("Failed to get evidence"); [INFO] [stdout] | ------------- ^^^^^ expected `Quote3<_>`, found `Quote3>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mc_sgx_dcap_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the found type `Quote3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.12.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type `mc_sgx_dcap_types::quote3::Quote3` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap/certificate_chain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mc_attestation_verifier::{CertificateChainVerifier, CertificateChainVerifierError}; [INFO] [stdout] | ----------------------- one version of crate `mc_sgx_dcap_types` used here, as a dependency of crate `mc_attestation_verifier` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mc_sgx_dcap_types::{Collateral, Quote3, Quote3Error}; [INFO] [stdout] | ----------------- one version of crate `mc_sgx_dcap_types` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-attestation-verifier-0.4.4/src/evidence.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(quote: Quote3, collateral: Collateral) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quartz-tee-ra` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/intel_sgx/dcap.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let evidence = Evidence::new(quote, collateral).expect("Failed to get evidence"); [INFO] [stdout] | ------------- ^^^^^ expected `Quote3<_>`, found `Quote3>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mc_sgx_dcap_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the found type `Quote3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.12.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type `mc_sgx_dcap_types::quote3::Quote3` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap/certificate_chain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mc_attestation_verifier::{CertificateChainVerifier, CertificateChainVerifierError}; [INFO] [stdout] | ----------------------- one version of crate `mc_sgx_dcap_types` used here, as a dependency of crate `mc_attestation_verifier` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mc_sgx_dcap_types::{Collateral, Quote3, Quote3Error}; [INFO] [stdout] | ----------------- one version of crate `mc_sgx_dcap_types` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-attestation-verifier-0.4.4/src/evidence.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(quote: Quote3, collateral: Collateral) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/intel_sgx/dcap.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 86 | let identities = [TrustedMrEnclaveIdentity::new( [INFO] [stdout] | ----------------------------- arguments to this function are incorrect [INFO] [stdout] 87 | / MrEnclave::from_hex("840d61b0585dc8b4dc90f53af293c760fda06bee75978a6a86263ffb296423f4") [INFO] [stdout] 88 | | .expect("malformed MRENCLAVE hex"), [INFO] [stdout] | |__________________________________________________^ expected `MrEnclave`, found `mc_sgx_core_types::MrEnclave` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mc_sgx_core_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-core-types-0.11.0/src/measurement.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MrEnclave(sgx_measurement_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the found type `mc_sgx_core_types::MrEnclave` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-core-types-0.12.0/src/measurement.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MrEnclave(sgx_measurement_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type `mc_sgx_core_types::measurement::MrEnclave` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap/certificate_chain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mc_attestation_verifier::{CertificateChainVerifier, CertificateChainVerifierError}; [INFO] [stdout] | ----------------------- one version of crate `mc_sgx_core_types` used here, as a dependency of crate `mc_sgx_dcap_types` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use mc_sgx_core_types::MrEnclave; [INFO] [stdout] | ----------------- one version of crate `mc_sgx_core_types` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-attestation-verifier-0.4.4/src/identity.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new<'a, CA, I, HA, J>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/intel_sgx/dcap.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 97 | let evidence: Evidence> = Evidence::new(quote, collateral) [INFO] [stdout] | ------------- ^^^^^ expected `Quote3<_>`, found `Quote3<&[u8]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mc_sgx_dcap_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.11.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the found type `Quote3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-sgx-dcap-types-0.12.0/src/quote3.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Quote3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type `mc_sgx_dcap_types::quote3::Quote3` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap/certificate_chain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mc_attestation_verifier::{CertificateChainVerifier, CertificateChainVerifierError}; [INFO] [stdout] | ----------------------- one version of crate `mc_sgx_dcap_types` used here, as a dependency of crate `mc_attestation_verifier` [INFO] [stdout] | [INFO] [stdout] ::: src/intel_sgx/dcap.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mc_sgx_dcap_types::{Collateral, Quote3, Quote3Error}; [INFO] [stdout] | ----------------- one version of crate `mc_sgx_dcap_types` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mc-attestation-verifier-0.4.4/src/evidence.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(quote: Quote3, collateral: Collateral) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Quote3<_>: TryFrom>` is not satisfied [INFO] [stdout] --> src/intel_sgx/dcap.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Quote3::try_from(quote_bytes.to_vec()).expect("Failed to parse quote"); [INFO] [stdout] | ^^^^^^ the trait `From>` is not implemented for `Quote3<_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom>` is not implemented for `Quote3<_>` [INFO] [stdout] but trait `TryFrom<&[u8]>` is implemented for `Quote3<&[u8]>` [INFO] [stdout] = help: for that trait implementation, expected `&[u8]`, found `Vec` [INFO] [stdout] = note: required for `Vec` to implement `std::convert::Into>` [INFO] [stdout] = note: required for `Quote3<_>` to implement `TryFrom>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Quote3>: From>` is not satisfied [INFO] [stdout] --> src/intel_sgx/dcap.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Quote3::try_from(quote_bytes.to_vec()).expect("Failed to parse quote"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `Quote3>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom<&[u8]>` is implemented for `Quote3<&[u8]>` [INFO] [stdout] = note: required for `Vec` to implement `std::convert::Into>>` [INFO] [stdout] = note: required for `Quote3>` to implement `TryFrom>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quartz-tee-ra` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "23a826cce81fc8be1081b23efa760dd103c405103b95219a5f6b43b37a40671c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a826cce81fc8be1081b23efa760dd103c405103b95219a5f6b43b37a40671c", kill_on_drop: false }` [INFO] [stdout] 23a826cce81fc8be1081b23efa760dd103c405103b95219a5f6b43b37a40671c