[INFO] cloning repository https://github.com/jasl/dcap-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasl/dcap-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasl%2Fdcap-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasl%2Fdcap-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d048c916b8609fec379f2884de25db8f40433dc2 [INFO] building jasl/dcap-test against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasl%2Fdcap-test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jasl/dcap-test [INFO] finished tweaking git repo https://github.com/jasl/dcap-test [INFO] tweaked toml for git repo https://github.com/jasl/dcap-test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jasl/dcap-test on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jasl/dcap-test 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flagset v0.4.4 [INFO] [stderr] Downloaded rustls-pki-types v0.2.1 [INFO] [stderr] Downloaded spki v0.7.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.5 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded scale-info-derive v2.10.0 [INFO] [stderr] Downloaded der_derive v0.7.2 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded parity-scale-codec v3.6.5 [INFO] [stderr] Downloaded der v0.7.8 [INFO] [stderr] Downloaded x509-cert v0.2.4 [INFO] [stderr] Downloaded scale-info v2.10.0 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded const-oid v0.9.5 [INFO] [stderr] Downloaded rustls-webpki v0.102.0-alpha.6 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0da3ed200d1e4e7d5e6a16a1e89e9179716964dd08573eacc944c45910d4d2ac [INFO] running `Command { std: "docker" "start" "-a" "0da3ed200d1e4e7d5e6a16a1e89e9179716964dd08573eacc944c45910d4d2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0da3ed200d1e4e7d5e6a16a1e89e9179716964dd08573eacc944c45910d4d2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da3ed200d1e4e7d5e6a16a1e89e9179716964dd08573eacc944c45910d4d2ac", kill_on_drop: false }` [INFO] [stdout] 0da3ed200d1e4e7d5e6a16a1e89e9179716964dd08573eacc944c45910d4d2ac [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 9b7c4fd61aa0617ba918a099275e74641dd95a084264f2fc188de2eaa5a7f6b3 [INFO] running `Command { std: "docker" "start" "-a" "9b7c4fd61aa0617ba918a099275e74641dd95a084264f2fc188de2eaa5a7f6b3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling flagset v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling rustls-pki-types v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling x509-cert v0.2.4 [INFO] [stderr] Compiling rustls-webpki v0.102.0-alpha.6 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.5 [INFO] [stderr] Compiling scale-info v2.10.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dcap-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcb/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct TCBInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 75 | pub version: TCBVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub id: TCBId, [INFO] [stdout] | ^^ [INFO] [stdout] 77 | pub issue_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | pub next_update: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub fmspc: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub pce_id: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | pub tcb_type: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 82 | pub tcb_evaluation_data_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TCBInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tcb_date` is never read [INFO] [stdout] --> src/tcb/mod.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct TCBLevel { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 225 | pub tcb_status: TCBStatus, [INFO] [stdout] 226 | pub tcb_date: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TCBLevel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tee_type`, `qe_svn`, `pce_svn`, `qe_vendor_id`, and `user_data` are never read [INFO] [stdout] --> src/quote/mod.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub tee_type: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | // Doc said this is reserved, but implementation is this, it's 0 as doc said. [INFO] [stdout] 76 | pub qe_svn: Svn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | pub pce_svn: Svn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | pub qe_vendor_id: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | pub user_data: [u8; 20], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/quote/mod.rs:231:50 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn from_slice(raw_data: &'a [u8]) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 231 | pub fn from_slice(raw_data: &'a [u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.82s [INFO] running `Command { std: "docker" "inspect" "9b7c4fd61aa0617ba918a099275e74641dd95a084264f2fc188de2eaa5a7f6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7c4fd61aa0617ba918a099275e74641dd95a084264f2fc188de2eaa5a7f6b3", kill_on_drop: false }` [INFO] [stdout] 9b7c4fd61aa0617ba918a099275e74641dd95a084264f2fc188de2eaa5a7f6b3 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] e940a4e6ad739f1d3583bc7f071c8dc7648e68e9a098e91a9b5d018d7505cca5 [INFO] running `Command { std: "docker" "start" "-a" "e940a4e6ad739f1d3583bc7f071c8dc7648e68e9a098e91a9b5d018d7505cca5", kill_on_drop: false }` [INFO] [stderr] Compiling dcap-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcb/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct TCBInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 75 | pub version: TCBVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub id: TCBId, [INFO] [stdout] | ^^ [INFO] [stdout] 77 | pub issue_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | pub next_update: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub fmspc: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub pce_id: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | pub tcb_type: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 82 | pub tcb_evaluation_data_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TCBInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tcb_date` is never read [INFO] [stdout] --> src/tcb/mod.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct TCBLevel { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 225 | pub tcb_status: TCBStatus, [INFO] [stdout] 226 | pub tcb_date: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TCBLevel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tee_type`, `qe_svn`, `pce_svn`, `qe_vendor_id`, and `user_data` are never read [INFO] [stdout] --> src/quote/mod.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub tee_type: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | // Doc said this is reserved, but implementation is this, it's 0 as doc said. [INFO] [stdout] 76 | pub qe_svn: Svn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | pub pce_svn: Svn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | pub qe_vendor_id: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | pub user_data: [u8; 20], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/quote/mod.rs:231:50 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn from_slice(raw_data: &'a [u8]) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 231 | pub fn from_slice(raw_data: &'a [u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "e940a4e6ad739f1d3583bc7f071c8dc7648e68e9a098e91a9b5d018d7505cca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e940a4e6ad739f1d3583bc7f071c8dc7648e68e9a098e91a9b5d018d7505cca5", kill_on_drop: false }` [INFO] [stdout] e940a4e6ad739f1d3583bc7f071c8dc7648e68e9a098e91a9b5d018d7505cca5