[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldrio%2Fpassthrough-dns" "/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/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aldrio/passthrough-dns on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aldrio/passthrough-dns 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db17dd6df8d44e453ac6cad1eddd6cdaa9cb68ced52d9ed4654bc863bba3f37f [INFO] running `Command { std: "docker" "start" "-a" "db17dd6df8d44e453ac6cad1eddd6cdaa9cb68ced52d9ed4654bc863bba3f37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db17dd6df8d44e453ac6cad1eddd6cdaa9cb68ced52d9ed4654bc863bba3f37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db17dd6df8d44e453ac6cad1eddd6cdaa9cb68ced52d9ed4654bc863bba3f37f", kill_on_drop: false }` [INFO] [stdout] db17dd6df8d44e453ac6cad1eddd6cdaa9cb68ced52d9ed4654bc863bba3f37f [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 866819988e25a9a1db8533884b5472cd6f47c1152114e8ae1f486b1ac2057c3a [INFO] running `Command { std: "docker" "start" "-a" "866819988e25a9a1db8533884b5472cd6f47c1152114e8ae1f486b1ac2057c3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking passthrough-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `StreamPacketBuffer` is never constructed [INFO] [stdout] --> src/dns/buffer.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct StreamPacketBuffer<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 245 | / impl<'a, T> StreamPacketBuffer<'a, T> [INFO] [stdout] 246 | | where [INFO] [stdout] 247 | | T: Read + 'a, [INFO] [stdout] | |_________________- associated function in this implementation [INFO] [stdout] 248 | { [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_querytype`, `get_domain`, and `get_ttl` are never used [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl DnsRecord { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ttl_from_soa`, `get_random_a`, `get_unresolved_cnames`, `get_resolved_ns`, and `get_unresolved_ns` are never used [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 825 | impl DnsPacket { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Zone names [INFO] [stdout] 23 | | #[structopt(short, long = "name")] [INFO] [stdout] 24 | | names: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// This server's FQDN [INFO] [stdout] 27 | | fqdn: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// This server's administrator's email address [INFO] [stdout] 30 | | email: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dns/buffer.rs:249:57 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 - pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] 249 + pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `passthrough-dns` (bin "passthrough-dns") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `StreamPacketBuffer` is never constructed [INFO] [stdout] --> src/dns/buffer.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct StreamPacketBuffer<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dns/buffer.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 245 | / impl<'a, T> StreamPacketBuffer<'a, T> [INFO] [stdout] 246 | | where [INFO] [stdout] 247 | | T: Read + 'a, [INFO] [stdout] | |_________________- associated function in this implementation [INFO] [stdout] 248 | { [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_querytype`, `get_domain`, and `get_ttl` are never used [INFO] [stdout] --> src/dns/protocol.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl DnsRecord { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn get_querytype(&self) -> QueryType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn get_domain(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn get_ttl(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ttl_from_soa`, `get_random_a`, `get_unresolved_cnames`, `get_resolved_ns`, and `get_unresolved_ns` are never used [INFO] [stdout] --> src/dns/protocol.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 825 | impl DnsPacket { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 887 | pub fn get_ttl_from_soa(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 897 | pub fn get_random_a(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 909 | pub fn get_unresolved_cnames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 932 | pub fn get_resolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | pub fn get_unresolved_ns(&self, qname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Zone names [INFO] [stdout] 23 | | #[structopt(short, long = "name")] [INFO] [stdout] 24 | | names: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// This server's FQDN [INFO] [stdout] 27 | | fqdn: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// This server's administrator's email address [INFO] [stdout] 30 | | email: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dns/buffer.rs:249:57 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 - pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'_, T> { [INFO] [stdout] 249 + pub fn new(stream: &'a mut T) -> StreamPacketBuffer<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `passthrough-dns` (bin "passthrough-dns" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "866819988e25a9a1db8533884b5472cd6f47c1152114e8ae1f486b1ac2057c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866819988e25a9a1db8533884b5472cd6f47c1152114e8ae1f486b1ac2057c3a", kill_on_drop: false }` [INFO] [stdout] 866819988e25a9a1db8533884b5472cd6f47c1152114e8ae1f486b1ac2057c3a