[INFO] cloning repository https://github.com/lunarca/spfjack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lunarca/spfjack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarca%2Fspfjack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarca%2Fspfjack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5918554052dc7488541b30418ab2a22f6347e0cf [INFO] testing lunarca/spfjack against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarca%2Fspfjack" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lunarca/spfjack [INFO] finished tweaking git repo https://github.com/lunarca/spfjack [INFO] tweaked toml for git repo https://github.com/lunarca/spfjack written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lunarca/spfjack on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lunarca/spfjack 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded decon-spf v0.2.4 [INFO] [stderr] Downloaded litrs v0.2.3 [INFO] [stderr] Downloaded bunt-macros v0.2.5 [INFO] [stderr] Downloaded ipconfig v0.3.0 [INFO] [stderr] Downloaded bunt v0.2.6 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.21.1 [INFO] [stderr] Downloaded trust-dns-proto v0.21.1 [INFO] [stderr] Downloaded clap v3.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1548a3e186e29574a629513362db9fc1a92411b4efa58b95ad376bcbc505052 [INFO] running `Command { std: "docker" "start" "-a" "e1548a3e186e29574a629513362db9fc1a92411b4efa58b95ad376bcbc505052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1548a3e186e29574a629513362db9fc1a92411b4efa58b95ad376bcbc505052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1548a3e186e29574a629513362db9fc1a92411b4efa58b95ad376bcbc505052", kill_on_drop: false }` [INFO] [stdout] e1548a3e186e29574a629513362db9fc1a92411b4efa58b95ad376bcbc505052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bc4e2ffc3c35d8409f4e0601c4c05dc71ca9169cf81bc3549dc88b9a5f6553b4 [INFO] running `Command { std: "docker" "start" "-a" "bc4e2ffc3c35d8409f4e0601c4c05dc71ca9169cf81bc3549dc88b9a5f6553b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling bunt-macros v0.2.5 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bunt v0.2.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling decon-spf v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling trust-dns-proto v0.21.1 [INFO] [stderr] Compiling trust-dns-resolver v0.21.1 [INFO] [stderr] Compiling spfjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/spf/processing_results.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/spf/processing_results.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/spf/processing_results.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | ...solver: &TokioAsyncResolver, domain: String, mechanism: &Mechanism) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spf/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | SpfParseError(SpfError) [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpfFetchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - SpfParseError(SpfError) [INFO] [stdout] 39 + SpfParseError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mechanism_type`, `issue`, `mechanism`, and `domain` are never read [INFO] [stdout] --> src/spf/processing_results.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MechanismProcessingResult { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 14 | pub mechanism_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub issue: MisconfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub mechanism: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MechanismProcessingResult` 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: field `0` is never read [INFO] [stdout] --> src/spf/processing_results.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | UnregisteredDomain(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - UnregisteredDomain(String), [INFO] [stdout] 28 + UnregisteredDomain(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpenRelay` is never constructed [INFO] [stdout] --> src/spf/processing_results.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum MisconfigType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | OpenRelay(String), //Consider union type of DNS name or IP4/6 address [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.86s [INFO] running `Command { std: "docker" "inspect" "bc4e2ffc3c35d8409f4e0601c4c05dc71ca9169cf81bc3549dc88b9a5f6553b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4e2ffc3c35d8409f4e0601c4c05dc71ca9169cf81bc3549dc88b9a5f6553b4", kill_on_drop: false }` [INFO] [stdout] bc4e2ffc3c35d8409f4e0601c4c05dc71ca9169cf81bc3549dc88b9a5f6553b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1a6b237c0ce6c0976c0422af9f782a7361e399dfc14d5f1884693cd83be52ba9 [INFO] running `Command { std: "docker" "start" "-a" "1a6b237c0ce6c0976c0422af9f782a7361e399dfc14d5f1884693cd83be52ba9", kill_on_drop: false }` [INFO] [stderr] Compiling spfjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/spf/processing_results.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/spf/processing_results.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/spf/processing_results.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | ...solver: &TokioAsyncResolver, domain: String, mechanism: &Mechanism) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spf/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | SpfParseError(SpfError) [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpfFetchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - SpfParseError(SpfError) [INFO] [stdout] 39 + SpfParseError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mechanism_type`, `issue`, `mechanism`, and `domain` are never read [INFO] [stdout] --> src/spf/processing_results.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MechanismProcessingResult { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 14 | pub mechanism_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub issue: MisconfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub mechanism: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MechanismProcessingResult` 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: field `0` is never read [INFO] [stdout] --> src/spf/processing_results.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | UnregisteredDomain(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - UnregisteredDomain(String), [INFO] [stdout] 28 + UnregisteredDomain(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpenRelay` is never constructed [INFO] [stdout] --> src/spf/processing_results.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum MisconfigType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | OpenRelay(String), //Consider union type of DNS name or IP4/6 address [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "1a6b237c0ce6c0976c0422af9f782a7361e399dfc14d5f1884693cd83be52ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6b237c0ce6c0976c0422af9f782a7361e399dfc14d5f1884693cd83be52ba9", kill_on_drop: false }` [INFO] [stdout] 1a6b237c0ce6c0976c0422af9f782a7361e399dfc14d5f1884693cd83be52ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7361af2955969e9926f4d36656b43d5cf6af8260215391e0cdcea0702f079d0b [INFO] running `Command { std: "docker" "start" "-a" "7361af2955969e9926f4d36656b43d5cf6af8260215391e0cdcea0702f079d0b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rc::Rc` [INFO] [stderr] --> src/spf/processing_results.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{sync::Arc, rc::Rc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/spf/processing_results.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `domain` [INFO] [stderr] --> src/spf/processing_results.rs:92:71 [INFO] [stderr] | [INFO] [stderr] 92 | ...solver: &TokioAsyncResolver, domain: String, mechanism: &Mechanism) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/spf/mod.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | SpfParseError(SpfError) [INFO] [stderr] | ------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpfFetchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 39 - SpfParseError(SpfError) [INFO] [stderr] 39 + SpfParseError(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `mechanism_type`, `issue`, `mechanism`, and `domain` are never read [INFO] [stderr] --> src/spf/processing_results.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct MechanismProcessingResult { [INFO] [stderr] | ------------------------- fields in this struct [INFO] [stderr] 14 | pub mechanism_type: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 15 | pub issue: MisconfigType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 16 | pub mechanism: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 17 | pub domain: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MechanismProcessingResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/spf/processing_results.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | UnregisteredDomain(String), [INFO] [stderr] | ------------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 - UnregisteredDomain(String), [INFO] [stderr] 28 + UnregisteredDomain(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `OpenRelay` is never constructed [INFO] [stderr] --> src/spf/processing_results.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub enum MisconfigType { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 26 | OpenRelay(String), //Consider union type of DNS name or IP4/6 address [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MisconfigType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `spfjack` (bin "spfjack" test) generated 7 warnings (run `cargo fix --bin "spfjack" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spfjack-3082fad5cdb9273b) [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" "7361af2955969e9926f4d36656b43d5cf6af8260215391e0cdcea0702f079d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7361af2955969e9926f4d36656b43d5cf6af8260215391e0cdcea0702f079d0b", kill_on_drop: false }` [INFO] [stdout] 7361af2955969e9926f4d36656b43d5cf6af8260215391e0cdcea0702f079d0b