[INFO] cloning repository https://github.com/web3-authn/dkim-verifier-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/web3-authn/dkim-verifier-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3-authn%2Fdkim-verifier-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3-authn%2Fdkim-verifier-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9ff77b152c7802640e798d4382d04a7d7eed921 [INFO] testing web3-authn/dkim-verifier-contract against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3-authn%2Fdkim-verifier-contract" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/web3-authn/dkim-verifier-contract [INFO] finished tweaking git repo https://github.com/web3-authn/dkim-verifier-contract [INFO] tweaked toml for git repo https://github.com/web3-authn/dkim-verifier-contract written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/web3-authn/dkim-verifier-contract on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/web3-authn/dkim-verifier-contract 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 736440e03d05e7c0027481a9c75cc8b9228b3b4f1c01ef94b3dd7faebee2298e [INFO] running `Command { std: "docker" "start" "-a" "736440e03d05e7c0027481a9c75cc8b9228b3b4f1c01ef94b3dd7faebee2298e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "736440e03d05e7c0027481a9c75cc8b9228b3b4f1c01ef94b3dd7faebee2298e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "736440e03d05e7c0027481a9c75cc8b9228b3b4f1c01ef94b3dd7faebee2298e", kill_on_drop: false }` [INFO] [stdout] 736440e03d05e7c0027481a9c75cc8b9228b3b4f1c01ef94b3dd7faebee2298e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4ff8e3b82e9ab31ceaff72214fac77ec3f5cc9469243cf00056dc8d1dbc90b [INFO] running `Command { std: "docker" "start" "-a" "ca4ff8e3b82e9ab31ceaff72214fac77ec3f5cc9469243cf00056dc8d1dbc90b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.10.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rand_core v0.10.0-rc-2 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling wit-bindgen-rt v0.33.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hybrid-array v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.5 [INFO] [stderr] Compiling block-buffer v0.11.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.11.0-rc.4 [INFO] [stderr] Compiling signature v3.0.0-rc.5 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sha2 v0.11.0-rc.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling der v0.8.0-rc.10 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling crypto-bigint v0.7.0-rc.10 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling spki v0.8.0-rc.4 [INFO] [stderr] Compiling pkcs1 v0.8.0-rc.4 [INFO] [stderr] Compiling pkcs8 v0.11.0-rc.8 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling crypto-primes v0.7.0-pre.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling wasi-http-client v0.2.1 [INFO] [stderr] Compiling rsa v0.10.0-rc.10 [INFO] [stderr] Compiling email-dkim-verifier-contract v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/crypto.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EncryptedEmailEnvelope { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.94s [INFO] running `Command { std: "docker" "inspect" "ca4ff8e3b82e9ab31ceaff72214fac77ec3f5cc9469243cf00056dc8d1dbc90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4ff8e3b82e9ab31ceaff72214fac77ec3f5cc9469243cf00056dc8d1dbc90b", kill_on_drop: false }` [INFO] [stdout] ca4ff8e3b82e9ab31ceaff72214fac77ec3f5cc9469243cf00056dc8d1dbc90b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15db7648658180c6c4b4030ef0a1c738053df1f75ecdd9b69b851153c620282 [INFO] running `Command { std: "docker" "start" "-a" "a15db7648658180c6c4b4030ef0a1c738053df1f75ecdd9b69b851153c620282", kill_on_drop: false }` [INFO] [stderr] Compiling email-dkim-verifier-contract v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wasi_http_client::Client` [INFO] [stdout] --> src/dns.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasi_http_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsAnswer` is never constructed [INFO] [stdout] --> src/dns.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct DnsAnswer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsResponse` is never constructed [INFO] [stdout] --> src/dns.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct DnsResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "a15db7648658180c6c4b4030ef0a1c738053df1f75ecdd9b69b851153c620282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15db7648658180c6c4b4030ef0a1c738053df1f75ecdd9b69b851153c620282", kill_on_drop: false }` [INFO] [stdout] a15db7648658180c6c4b4030ef0a1c738053df1f75ecdd9b69b851153c620282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce6f48fef08aa457c98258726d06750b20afee61ee2a07c7d9b276b5fc1e2c41 [INFO] running `Command { std: "docker" "start" "-a" "ce6f48fef08aa457c98258726d06750b20afee61ee2a07c7d9b276b5fc1e2c41", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `wasi_http_client::Client` [INFO] [stderr] --> src/dns.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use wasi_http_client::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DnsAnswer` is never constructed [INFO] [stderr] --> src/dns.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct DnsAnswer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DnsResponse` is never constructed [INFO] [stderr] --> src/dns.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct DnsResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `email-dkim-verifier-contract` (bin "email-dkim-verifier-contract" test) generated 3 warnings (run `cargo fix --bin "email-dkim-verifier-contract" -p email-dkim-verifier-contract --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/email_dkim_verifier_contract-a9476a7d97087ef2) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::verify_encrypted_dkim::verify_encrypted_dkim_flow_fails_without_secret ... ok [INFO] [stdout] test tests::verify_encrypted_dkim::encrypted_flow_fails_for_tampered_public_key ... ok [INFO] [stdout] test tests::crypto::encrypted_email_decrypts_and_parses_fields ... ok [INFO] [stdout] test tests::verify_encrypted_dkim::encrypted_flow_runs_dkim_verification_in_worker ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce6f48fef08aa457c98258726d06750b20afee61ee2a07c7d9b276b5fc1e2c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6f48fef08aa457c98258726d06750b20afee61ee2a07c7d9b276b5fc1e2c41", kill_on_drop: false }` [INFO] [stdout] ce6f48fef08aa457c98258726d06750b20afee61ee2a07c7d9b276b5fc1e2c41