[INFO] cloning repository https://github.com/Bas-Man/learning-rust-trust-dns-resolver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bas-Man/learning-rust-trust-dns-resolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBas-Man%2Flearning-rust-trust-dns-resolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBas-Man%2Flearning-rust-trust-dns-resolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb9be733a67493e5e08ce9f5144ae9bf49d8754e [INFO] testing Bas-Man/learning-rust-trust-dns-resolver against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBas-Man%2Flearning-rust-trust-dns-resolver" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bas-Man/learning-rust-trust-dns-resolver on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bas-Man/learning-rust-trust-dns-resolver [INFO] finished tweaking git repo https://github.com/Bas-Man/learning-rust-trust-dns-resolver [INFO] tweaked toml for git repo https://github.com/Bas-Man/learning-rust-trust-dns-resolver written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Bas-Man/learning-rust-trust-dns-resolver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d10544c0eaf0b9b325609d1b8960b2c1a613a44bf85eeb48591372d5e161e0a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d10544c0eaf0b9b325609d1b8960b2c1a613a44bf85eeb48591372d5e161e0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10544c0eaf0b9b325609d1b8960b2c1a613a44bf85eeb48591372d5e161e0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10544c0eaf0b9b325609d1b8960b2c1a613a44bf85eeb48591372d5e161e0a4", kill_on_drop: false }` [INFO] [stdout] d10544c0eaf0b9b325609d1b8960b2c1a613a44bf85eeb48591372d5e161e0a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2c4134b0eada329e77aa915bf1cba86ea03fedeea75b37e77e159dfc6bd0d16c [INFO] running `Command { std: "docker" "start" "-a" "2c4134b0eada329e77aa915bf1cba86ea03fedeea75b37e77e159dfc6bd0d16c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling mio v0.7.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling trust-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `display_mx` [INFO] [stdout] --> src/dns/mx.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn display_mx(mx_response: &ResolveResult) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_soa` [INFO] [stdout] --> src/dns/soa.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn display_soa(soa_response: &ResolveResult) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_rname_to_email_address` [INFO] [stdout] --> src/dns/soa.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn convert_rname_to_email_address(rname: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/dns/spf/kinds.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_include` [INFO] [stdout] --> src/dns/spf/kinds.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn is_include(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_a` [INFO] [stdout] --> src/dns/spf/kinds.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_a(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_mx` [INFO] [stdout] --> src/dns/spf/kinds.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_mx(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_ip_v4` [INFO] [stdout] --> src/dns/spf/kinds.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_ip_v4(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_ip_v6` [INFO] [stdout] --> src/dns/spf/kinds.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_ip_v6(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_redirect` [INFO] [stdout] --> src/dns/spf/kinds.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn is_redirect(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_a` [INFO] [stdout] --> src/dns/spf/mechanism.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_a(qualifier: char, mechanism: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_mx` [INFO] [stdout] --> src/dns/spf/mechanism.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_mx(qualifier: char, mechanism: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_all` [INFO] [stdout] --> src/dns/spf/mechanism.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_all(qualifier: char, mechanism: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_pass` [INFO] [stdout] --> src/dns/spf/mechanism.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn is_pass(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_fail` [INFO] [stdout] --> src/dns/spf/mechanism.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn is_fail(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_softfail` [INFO] [stdout] --> src/dns/spf/mechanism.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn is_softfail(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neutral` [INFO] [stdout] --> src/dns/spf/mechanism.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_neutral(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spf_clone` [INFO] [stdout] --> src/dns/spf/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn spf_clone(&self) -> &Spf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `includes` [INFO] [stdout] --> src/dns/spf/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn includes(&self) -> &Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a` [INFO] [stdout] --> src/dns/spf/mod.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn a(&self) -> &Option>> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mx` [INFO] [stdout] --> src/dns/spf/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn mx(&self) -> &Option>> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ip4` [INFO] [stdout] --> src/dns/spf/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn ip4(&self) -> &Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ip6` [INFO] [stdout] --> src/dns/spf/mod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn ip6(&self) -> &Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/dns/spf/mod.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn all(&self) -> &char { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.92s [INFO] running `Command { std: "docker" "inspect" "2c4134b0eada329e77aa915bf1cba86ea03fedeea75b37e77e159dfc6bd0d16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4134b0eada329e77aa915bf1cba86ea03fedeea75b37e77e159dfc6bd0d16c", kill_on_drop: false }` [INFO] [stdout] 2c4134b0eada329e77aa915bf1cba86ea03fedeea75b37e77e159dfc6bd0d16c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ced34f0e421b5da0e1eb02dbb73fb76c3b244ce5202c3e6ded990887332d3ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ced34f0e421b5da0e1eb02dbb73fb76c3b244ce5202c3e6ded990887332d3ea", kill_on_drop: false }` [INFO] [stderr] Compiling trust-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0616]: field `kind` of struct `SpfMechanism` is private [INFO] [stdout] --> src/dns/spf/mod.rs:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | assert!(test.kind.is_a()); [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust-dns` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6ced34f0e421b5da0e1eb02dbb73fb76c3b244ce5202c3e6ded990887332d3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ced34f0e421b5da0e1eb02dbb73fb76c3b244ce5202c3e6ded990887332d3ea", kill_on_drop: false }` [INFO] [stdout] 6ced34f0e421b5da0e1eb02dbb73fb76c3b244ce5202c3e6ded990887332d3ea