[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarca%2Fspfjack" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lunarca/spfjack on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-as-inner v0.4.0 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded decon-spf v0.2.4 [INFO] [stderr] Downloaded litrs v0.2.3 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.21.1 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded bunt-macros v0.2.5 [INFO] [stderr] Downloaded bunt v0.2.6 [INFO] [stderr] Downloaded ipconfig v0.3.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.14 [INFO] [stderr] Downloaded clap v3.0.14 [INFO] [stderr] Downloaded trust-dns-proto v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed8406c8c335f64624bcc2a8ad6ba0f2ccb6d028991bdd5af3d122a53fd6dca [INFO] running `Command { std: "docker" "start" "-a" "fed8406c8c335f64624bcc2a8ad6ba0f2ccb6d028991bdd5af3d122a53fd6dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed8406c8c335f64624bcc2a8ad6ba0f2ccb6d028991bdd5af3d122a53fd6dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed8406c8c335f64624bcc2a8ad6ba0f2ccb6d028991bdd5af3d122a53fd6dca", kill_on_drop: false }` [INFO] [stdout] fed8406c8c335f64624bcc2a8ad6ba0f2ccb6d028991bdd5af3d122a53fd6dca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0fd69b56d0cc05bc580ad83ecc09d6d23c4e84804139bb5b1cafce6e7ecf084 [INFO] running `Command { std: "docker" "start" "-a" "b0fd69b56d0cc05bc580ad83ecc09d6d23c4e84804139bb5b1cafce6e7ecf084", 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 log v0.4.14 [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 pin-project-lite v0.2.7 [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 futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling bunt-macros v0.2.5 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling decon-spf v0.2.4 [INFO] [stderr] Compiling bunt v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "b0fd69b56d0cc05bc580ad83ecc09d6d23c4e84804139bb5b1cafce6e7ecf084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0fd69b56d0cc05bc580ad83ecc09d6d23c4e84804139bb5b1cafce6e7ecf084", kill_on_drop: false }` [INFO] [stdout] b0fd69b56d0cc05bc580ad83ecc09d6d23c4e84804139bb5b1cafce6e7ecf084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 118a7d6048a39c73d303c6d8879f8a89060c4ff9aa32f0946ef23fdf66810a50 [INFO] running `Command { std: "docker" "start" "-a" "118a7d6048a39c73d303c6d8879f8a89060c4ff9aa32f0946ef23fdf66810a50", 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "118a7d6048a39c73d303c6d8879f8a89060c4ff9aa32f0946ef23fdf66810a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118a7d6048a39c73d303c6d8879f8a89060c4ff9aa32f0946ef23fdf66810a50", kill_on_drop: false }` [INFO] [stdout] 118a7d6048a39c73d303c6d8879f8a89060c4ff9aa32f0946ef23fdf66810a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbc8b6bf69ef88a733abae1bef08c599d5fca5aff5c6603ce6fee1fd08a4193d [INFO] running `Command { std: "docker" "start" "-a" "bbc8b6bf69ef88a733abae1bef08c599d5fca5aff5c6603ce6fee1fd08a4193d", 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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/debug/deps/spfjack-04a7c81f8b6d134d) [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" "bbc8b6bf69ef88a733abae1bef08c599d5fca5aff5c6603ce6fee1fd08a4193d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc8b6bf69ef88a733abae1bef08c599d5fca5aff5c6603ce6fee1fd08a4193d", kill_on_drop: false }` [INFO] [stdout] bbc8b6bf69ef88a733abae1bef08c599d5fca5aff5c6603ce6fee1fd08a4193d