[INFO] cloning repository https://github.com/aldrio/passthrough-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aldrio/passthrough-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldrio%2Fpassthrough-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldrio%2Fpassthrough-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4fd344cea935dfb34d035b35204b66ae675a6ca [INFO] checking aldrio/passthrough-dns against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldrio%2Fpassthrough-dns" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aldrio/passthrough-dns on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aldrio/passthrough-dns [INFO] finished tweaking git repo https://github.com/aldrio/passthrough-dns [INFO] tweaked toml for git repo https://github.com/aldrio/passthrough-dns written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/aldrio/passthrough-dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.0 [INFO] [stderr] Downloaded tokio v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb985dc740794816dbff786a2bb8184b7a81fba52ba28690ad6cd99fbe257a1b [INFO] running `Command { std: "docker" "start" "-a" "fb985dc740794816dbff786a2bb8184b7a81fba52ba28690ad6cd99fbe257a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb985dc740794816dbff786a2bb8184b7a81fba52ba28690ad6cd99fbe257a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb985dc740794816dbff786a2bb8184b7a81fba52ba28690ad6cd99fbe257a1b", kill_on_drop: false }` [INFO] [stdout] fb985dc740794816dbff786a2bb8184b7a81fba52ba28690ad6cd99fbe257a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ffd80af6ece3797372fbeb84fdc28d7a9a84fa9514bc023295f81280bcb9146 [INFO] running `Command { std: "docker" "start" "-a" "6ffd80af6ece3797372fbeb84fdc28d7a9a84fa9514bc023295f81280bcb9146", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.4: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking passthrough-dns v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_querytype` [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_domain` [INFO] [stdout] --> src/dns/protocol.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl` [INFO] [stdout] --> src/dns/protocol.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl_from_soa` [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_a` [INFO] [stdout] --> src/dns/protocol.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_cnames` [INFO] [stdout] --> src/dns/protocol.rs:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_querytype` [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_domain` [INFO] [stdout] --> src/dns/protocol.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl` [INFO] [stdout] --> src/dns/protocol.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl_from_soa` [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_a` [INFO] [stdout] --> src/dns/protocol.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_cnames` [INFO] [stdout] --> src/dns/protocol.rs:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.29s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Checking passthrough-dns v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_querytype` [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_domain` [INFO] [stdout] --> src/dns/protocol.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl` [INFO] [stdout] --> src/dns/protocol.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl_from_soa` [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_a` [INFO] [stdout] --> src/dns/protocol.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_cnames` [INFO] [stdout] --> src/dns/protocol.rs:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_querytype` [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_domain` [INFO] [stdout] --> src/dns/protocol.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl` [INFO] [stdout] --> src/dns/protocol.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ttl_from_soa` [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_a` [INFO] [stdout] --> src/dns/protocol.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_cnames` [INFO] [stdout] --> src/dns/protocol.rs:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unresolved_ns` [INFO] [stdout] --> src/dns/protocol.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "6ffd80af6ece3797372fbeb84fdc28d7a9a84fa9514bc023295f81280bcb9146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ffd80af6ece3797372fbeb84fdc28d7a9a84fa9514bc023295f81280bcb9146", kill_on_drop: false }` [INFO] [stdout] 6ffd80af6ece3797372fbeb84fdc28d7a9a84fa9514bc023295f81280bcb9146