[INFO] cloning repository https://github.com/TylerStanish/dns
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TylerStanish/dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb16ce0371ae5f1ea1d73430b67b5d6cf36035f1
[INFO] testing TylerStanish/dns against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TylerStanish/dns
[INFO] finished tweaking git repo https://github.com/TylerStanish/dns
[INFO] tweaked toml for git repo https://github.com/TylerStanish/dns written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TylerStanish/dns on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TylerStanish/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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uninitialized v0.0.2
[INFO] [stderr]   Downloaded ttl_cache v0.5.1
[INFO] [stderr]   Downloaded yaml-rust v0.4.4
[INFO] [stderr]   Downloaded resize-slice v0.1.3
[INFO] [stderr]   Downloaded output_vt100 v0.1.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.18
[INFO] [stderr]   Downloaded ctor v0.1.15
[INFO] [stderr]   Downloaded pretty_assertions v0.6.1
[INFO] [stderr]   Downloaded difference v2.0.0
[INFO] [stderr]   Downloaded syn v1.0.33
[INFO] [stderr]   Downloaded libc v0.2.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ae1a4cc5281dcf48bf8b00f953bf788b1e717def33abcfd8b620d215c1e8eb9
[INFO] running `Command { std: "docker" "start" "-a" "2ae1a4cc5281dcf48bf8b00f953bf788b1e717def33abcfd8b620d215c1e8eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ae1a4cc5281dcf48bf8b00f953bf788b1e717def33abcfd8b620d215c1e8eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ae1a4cc5281dcf48bf8b00f953bf788b1e717def33abcfd8b620d215c1e8eb9", kill_on_drop: false }`
[INFO] [stdout] 2ae1a4cc5281dcf48bf8b00f953bf788b1e717def33abcfd8b620d215c1e8eb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb06ecfaead29d3f20cecd5f3e6e2b77985c0adfde10f385abd22f7f043e0b35
[INFO] running `Command { std: "docker" "start" "-a" "eb06ecfaead29d3f20cecd5f3e6e2b77985c0adfde10f385abd22f7f043e0b35", kill_on_drop: false }`
[INFO] [stderr]    Compiling uninitialized v0.0.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling yaml-rust v0.4.4
[INFO] [stderr]    Compiling ttl_cache v0.5.1
[INFO] [stderr]    Compiling resize-slice v0.1.3
[INFO] [stderr]    Compiling dns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ResponseCode`
[INFO] [stdout]  --> src/answer.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromBytes`
[INFO] [stdout]  --> src/answer.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SoaInformation` and `extract_string`
[INFO] [stdout]  --> src/authority.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::record::{extract_string, Record, SoaInformation};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blocklist`
[INFO] [stdout]  --> src/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::blocklist;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResourceType`
[INFO] [stdout]  --> src/client.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::query::DnsQuery`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::query::DnsQuery;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SoaInformation`
[INFO] [stdout]  --> src/client.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::record::{RecordInformation, SoaInformation};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deserialize_domain_from_bytes`
[INFO] [stdout]   --> src/client.rs:10:95
[INFO] [stdout]    |
[INFO] [stdout] 10 |     deserialize_ipv4_from_str, deserialize_ipv6_from_str, serialize_domain_to_bytes, ToBytes, deserialize_domain_from_bytes,
[INFO] [stdout]    |                                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResourceType`
[INFO] [stdout]  --> src/packet.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::header::{DnsHeader, ResourceType, ResponseCode};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResponseCode`
[INFO] [stdout]  --> src/query.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromBytes`
[INFO] [stdout]  --> src/query.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DnsHeader`
[INFO] [stdout]  --> src/resolvers.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::header::{DnsHeader, ResourceType};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::header::ResponseCode`
[INFO] [stdout]  --> src/serialization.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::ResponseCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::packet::DnsPacket`
[INFO] [stdout]  --> src/serialization.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::packet::DnsPacket;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> src/record.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{ByteOrder, NetworkEndian, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Self::Unused => 0,
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 20 |             Self::A => 1,
[INFO] [stdout]    |             ------- matches some of the same values
[INFO] [stdout] 21 |             Self::NS => 2,
[INFO] [stdout]    |             -------- matches some of the same values
[INFO] [stdout] 22 |             Self::CName => 5,
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `flags` is never read
[INFO] [stdout]    --> src/header.rs:192:25
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut flags = 0u16;
[INFO] [stdout]     |                         ^^^^ this value is reassigned later and never used
[INFO] [stdout] 193 |         flags = self.is_response as u16;
[INFO] [stdout]     |         ------------------------------- `flags` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/query.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Err(code) => return Err(DnsQuery::new()),
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/authority.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Authority {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_nameserver` is never used
[INFO] [stdout]    --> src/client.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn get_nameserver() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_error` is never used
[INFO] [stdout]   --> src/packet.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl DnsPacket {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_error(err: ResponseCode) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/record.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Record {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/record.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl SoaInformation {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 87 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/record.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl MXInformation {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 141 |     pub fn new(preference: u16, exchange: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stub_resolver` is never used
[INFO] [stdout]  --> src/resolvers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn stub_resolver(_host: &str, req: packet::DnsPacket) -> packet::DnsPacket {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/packet.rs:45:35
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let original_bytes = bytes.clone();
[INFO] [stdout]    |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/serialization.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |             res.append(&mut Vec::from(word.as_bytes().clone()));
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.33s
[INFO] running `Command { std: "docker" "inspect" "eb06ecfaead29d3f20cecd5f3e6e2b77985c0adfde10f385abd22f7f043e0b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb06ecfaead29d3f20cecd5f3e6e2b77985c0adfde10f385abd22f7f043e0b35", kill_on_drop: false }`
[INFO] [stdout] eb06ecfaead29d3f20cecd5f3e6e2b77985c0adfde10f385abd22f7f043e0b35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ccbe0b5fc74bf2ba796a4a7f5a37a9b4bbf56176e6c9675460883db578d4dcb
[INFO] running `Command { std: "docker" "start" "-a" "5ccbe0b5fc74bf2ba796a4a7f5a37a9b4bbf56176e6c9675460883db578d4dcb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling dns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ResponseCode`
[INFO] [stdout]  --> src/answer.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `extract_string`
[INFO] [stdout]  --> src/authority.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::record::{extract_string, Record, SoaInformation};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_dir` and `remove_dir_all`
[INFO] [stdout]   --> src/authority.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |     use std::fs::{create_dir, read_dir, remove_dir, remove_dir_all, File};
[INFO] [stdout]    |                   ^^^^^^^^^^                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/authority.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use std::path::Path;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blocklist`
[INFO] [stdout]  --> src/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::blocklist;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deserialize_domain_from_bytes`
[INFO] [stdout]   --> src/client.rs:10:95
[INFO] [stdout]    |
[INFO] [stdout] 10 |     deserialize_ipv4_from_str, deserialize_ipv6_from_str, serialize_domain_to_bytes, ToBytes, deserialize_domain_from_bytes,
[INFO] [stdout]    |                                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remove_file`
[INFO] [stdout]    --> src/client.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |     use std::fs::{remove_file, File};
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResponseCode`
[INFO] [stdout]  --> src/query.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DnsHeader`
[INFO] [stdout]  --> src/resolvers.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::header::{DnsHeader, ResourceType};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::header::ResponseCode`
[INFO] [stdout]  --> src/serialization.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::header::ResponseCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::packet::DnsPacket`
[INFO] [stdout]  --> src/serialization.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::packet::DnsPacket;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromBytes`
[INFO] [stdout]  --> src/answer.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromBytes`
[INFO] [stdout]  --> src/query.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> src/record.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{ByteOrder, NetworkEndian, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             Self::Unused => 0,
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 20 |             Self::A => 1,
[INFO] [stdout]    |             ------- matches some of the same values
[INFO] [stdout] 21 |             Self::NS => 2,
[INFO] [stdout]    |             -------- matches some of the same values
[INFO] [stdout] 22 |             Self::CName => 5,
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `flags` is never read
[INFO] [stdout]    --> src/header.rs:192:25
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut flags = 0u16;
[INFO] [stdout]     |                         ^^^^ this value is reassigned later and never used
[INFO] [stdout] 193 |         flags = self.is_response as u16;
[INFO] [stdout]     |         ------------------------------- `flags` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/query.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Err(code) => return Err(DnsQuery::new()),
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/record.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut expected_mx_info = MXInformation::new(42, "mail.foo.com".to_owned());
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_nameserver` is never used
[INFO] [stdout]    --> src/client.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn get_nameserver() -> String {
[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_error` is never used
[INFO] [stdout]   --> src/packet.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl DnsPacket {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_error(err: ResponseCode) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stub_resolver` is never used
[INFO] [stdout]  --> src/resolvers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn stub_resolver(_host: &str, req: packet::DnsPacket) -> packet::DnsPacket {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/packet.rs:45:35
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let original_bytes = bytes.clone();
[INFO] [stdout]    |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/serialization.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |             res.append(&mut Vec::from(word.as_bytes().clone()));
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.93s
[INFO] running `Command { std: "docker" "inspect" "5ccbe0b5fc74bf2ba796a4a7f5a37a9b4bbf56176e6c9675460883db578d4dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ccbe0b5fc74bf2ba796a4a7f5a37a9b4bbf56176e6c9675460883db578d4dcb", kill_on_drop: false }`
[INFO] [stdout] 5ccbe0b5fc74bf2ba796a4a7f5a37a9b4bbf56176e6c9675460883db578d4dcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bf30729a3330f9e609b8897305d26d20d5ddf86cce1dd7a6a9566c9bc97bccd7
[INFO] running `Command { std: "docker" "start" "-a" "bf30729a3330f9e609b8897305d26d20d5ddf86cce1dd7a6a9566c9bc97bccd7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ResponseCode`
[INFO] [stderr]  --> src/answer.rs:1:35
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stderr]   |                                   ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `extract_string`
[INFO] [stderr]  --> src/authority.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::record::{extract_string, Record, SoaInformation};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `create_dir` and `remove_dir_all`
[INFO] [stderr]   --> src/authority.rs:91:19
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] running 50 tests
[INFO] [stderr] 91 |     use std::fs::{create_dir, read_dir, remove_dir, remove_dir_all, File};
[INFO] [stderr]    |                   ^^^^^^^^^^                        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]   --> src/authority.rs:93:9
[INFO] [stderr]    |
[INFO] [stderr] 93 |     use std::path::Path;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::blocklist`
[INFO] [stderr]  --> src/client.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::blocklist;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `deserialize_domain_from_bytes`
[INFO] [stderr]   --> src/client.rs:10:95
[INFO] [stderr]    |
[INFO] [stderr] 10 |     deserialize_ipv4_from_str, deserialize_ipv6_from_str, serialize_domain_to_bytes, ToBytes, deserialize_domain_from_bytes,
[INFO] [stderr]    |                                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remove_file`
[INFO] [stderr]    --> src/client.rs:190:19
[INFO] [stderr]     |
[INFO] [stderr] 190 |     use std::fs::{remove_file, File};
[INFO] [stderr]     |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ResponseCode`
[INFO] [stderr]  --> src/query.rs:1:35
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::header::{ResourceType, ResponseCode};
[INFO] [stdout] test answer::tests::test_dns_answer_to_bytes ... ok
[INFO] [stderr]   |                                   ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DnsHeader`
[INFO] [stderr]  --> src/resolvers.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::header::{DnsHeader, ResourceType};
[INFO] [stderr]   |                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::header::ResponseCode`
[INFO] [stderr]  --> src/serialization.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::header::ResponseCode;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::packet::DnsPacket`
[INFO] [stderr]  --> src/serialization.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::packet::DnsPacket;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `FromBytes`
[INFO] [stderr]  --> src/answer.rs:3:63
[INFO] [stderr]   |
[INFO] [stderr] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stderr]   |                                                               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `FromBytes`
[INFO] [stderr]  --> src/query.rs:3:63
[INFO] [stderr]   |
[INFO] [stderr] 3 |     deserialize_domain_from_bytes, serialize_domain_to_bytes, FromBytes, ToBytes,
[INFO] [stderr]   |                                                               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ByteOrder`
[INFO] [stderr]  --> src/record.rs:3:17
[INFO] [stderr]   |
[INFO] [stderr] 3 | use byteorder::{ByteOrder, NetworkEndian, WriteBytesExt};
[INFO] [stderr]   |                 ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/header.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/header.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 19 |             Self::Unused => 0,
[INFO] [stderr]    |             ------------ matches some of the same values
[INFO] [stderr] 20 |             Self::A => 1,
[INFO] [stderr]    |             ------- matches some of the same values
[INFO] [stderr] 21 |             Self::NS => 2,
[INFO] [stderr]    |             -------- matches some of the same values
[INFO] [stderr] 22 |             Self::CName => 5,
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 26 |             _ => 0, // FIXME should this be 0?
[INFO] [stderr]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `flags` is never read
[INFO] [stderr]    --> src/header.rs:192:25
[INFO] [stderr]     |
[INFO] [stderr] 192 |         let mut flags = 0u16;
[INFO] [stderr]     |                         ^^^^ this value is reassigned later and never used
[INFO] [stderr] 193 |         flags = self.is_response as u16;
[INFO] [stderr]     |         ------------------------------- `flags` is overwritten here before the previous value is read
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `code`
[INFO] [stderr]   --> src/query.rs:40:17
[INFO] [stderr]    |
[INFO] [stderr] 40 |             Err(code) => return Err(DnsQuery::new()),
[INFO] [stderr]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/record.rs:265:13
[INFO] [stderr]     |
[INFO] [stderr] 265 |         let mut expected_mx_info = MXInformation::new(42, "mail.foo.com".to_owned());
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_nameserver` is never used
[INFO] [stderr]    --> src/client.rs:178:4
[INFO] [stderr]     |
[INFO] [stderr] 178 | fn get_nameserver() -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_error` is never used
[INFO] [stderr]   --> src/packet.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl DnsPacket {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn new_error(err: ResponseCode) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `stub_resolver` is never used
[INFO] [stderr]  --> src/resolvers.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn stub_resolver(_host: &str, req: packet::DnsPacket) -> packet::DnsPacket {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/packet.rs:45:35
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let original_bytes = bytes.clone();
[INFO] [stderr]    |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/serialization.rs:25:54
[INFO] [stderr]    |
[INFO] [stderr] 25 |             res.append(&mut Vec::from(word.as_bytes().clone()));
[INFO] [stderr]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: `dns` (bin "dns" test) generated 23 warnings (run `cargo fix --bin "dns" -p dns --tests` to apply 15 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dns-f54950914e8a1fe3)
[INFO] [stdout] test answer::tests::test_from_bytes_and_to_bytes ... ok
[INFO] [stdout] test authority::tests::test_authority_new_from_yaml ... ok
[INFO] [stdout] test blocklist::tests::test_validate_blocklist_entry ... ok
[INFO] [stdout] test client::tests::accepts_single_question_only ... ok
[INFO] [stdout] test client::tests::test_client_blocklist ... ok
[INFO] [stdout] test client::tests::test_inverse_query ... ok
[INFO] [stdout] test answer::tests::test_dns_answer_from_bytes ... ok
[INFO] [stdout] test client::tests::test_query_hits_cache ... ok
[INFO] [stdout] test header::tests::test_header_from_bytes ... ok
[INFO] [stdout] test authority::tests::test_authorities_with_real_files ... ok
[INFO] [stdout] test header::tests::test_header_from_bytes_with_more_nonzero_flags ... ok
[INFO] [stdout] test header::tests::test_header_from_bytes_with_more_nonzero_flags_and_opcode ... ok
[INFO] [stdout] test header::tests::test_header_from_bytes_with_nonzero_counts ... ok
[INFO] [stdout] test header::tests::test_header_to_bytes_all_zero ... ok
[INFO] [stdout] test header::tests::test_multibit_from_bytes_and_bounds ... ok
[INFO] [stdout] test header::tests::test_response_header_to_bytes ... ok
[INFO] [stdout] test header::tests::test_z_in_bounds ... ok
[INFO] [stdout] test packet::tests::test_packet_from_bytes_with_many_answers ... ok
[INFO] [stdout] test packet::tests::test_packet_from_bytes_with_one_answer ... ok
[INFO] [stdout] test client::tests::test_gives_error_for_invalid_domain ... ok
[INFO] [stdout] test packet::tests::test_request_from_bytes_with_many_questions ... ok
[INFO] [stdout] test packet::tests::test_request_from_bytes_with_one_question ... ok
[INFO] [stdout] test header::tests::test_z_out_of_bounds ... ok
[INFO] [stdout] test packet::tests::test_request_from_bytes_zero_questions ... ok
[INFO] [stdout] test query::tests::test_query_from_bytes_multiple_queries ... ok
[INFO] [stdout] test query::tests::test_dns_query_to_bytes ... ok
[INFO] [stdout] test record::tests::test_soa_info_from_yaml ... ok
[INFO] [stdout] test packet::tests::test_packet_from_bytes_with_pointers ... ok
[INFO] [stdout] test serialization::tests::test_deserialize_domain_from_bytes ... ok
[INFO] [stdout] test record::tests::test_soa_info_to_bytes ... ok
[INFO] [stdout] test serialization::tests::test_deserialize_domain_from_bytes_with_pointer ... ok
[INFO] [stdout] test serialization::tests::test_deserialize_ipv4_from_str ... ok
[INFO] [stdout] test record::tests::test_mx_info_from_yaml ... ok
[INFO] [stdout] test serialization::tests::test_deserialize_ipv6_from_str ... ok
[INFO] [stdout] test serialization::tests::test_deserialize_domain_from_bytes_with_subdomain ... ok
[INFO] [stdout] test serialization::tests::test_expand_pointers ... ok
[INFO] [stdout] test packet::tests::test_packet_additional_and_authority ... ok
[INFO] [stdout] test serialization::tests::test_serialize_domain_to_bytes ... ok
[INFO] [stdout] test record::tests::test_record_from_yaml ... ok
[INFO] [stdout] test serialization::tests::test_serialize_domain_to_bytes_with_subdomain ... ok
[INFO] [stdout] test query::tests::test_query_from_bytes ... ok
[INFO] [stdout] test query::tests::test_query_from_bytes_with_subdomain ... ok
[INFO] [stdout] test client::tests::test_authoritative_query ... ok
[INFO] [stdout] test packet::tests::test_packet_to_bytes_and_from_bytes ... ok
[INFO] [stdout] test authority::tests::test_create_authorities_directory_if_absent ... FAILED
[INFO] [stdout] test authority::tests::test_fails_with_zero_soa_records - should panic ... ok
[INFO] [stdout] test authority::tests::test_fails_with_two_soa_records - should panic ... ok
[INFO] [stdout] test tests::test_invalid_yaml_fails_early - should panic ... ok
[INFO] [stdout] test record::tests::test_mx_info_to_bytes ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- authority::tests::test_create_authorities_directory_if_absent stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'authority::tests::test_create_authorities_directory_if_absent' (23) panicked at src/authority.rs:63:44:
[INFO] [stdout] Could not create the authorities directory: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6416ffdad748 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6416ffdad748 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6416ffdad748 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6416ffdad748 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6416ffdc37fa - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6416ffdc37fa - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x6416ffdb2912 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x6416ffdb2912 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x6416ffd8a636 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6416ffd8a636 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6416ffda4cf9 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6416ffcecf6c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x6416ffcecf6c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x6416ffda4eb2 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x6416ffda4eb2 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6416ffd8a6f2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x6416ffd7f419 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6416ffd8b66d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6416ffdc3f8c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6416ffdc3d02 - core[28b146924c2f19c6]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/result.rs:1872:5
[INFO] [stdout]   20:     0x6416ffcc592c - <core[28b146924c2f19c6]::result::Result<(), std[929523f510218772]::io::error::Error>>::expect
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x6416ffcca881 - dns[37be3c072652702a]::authority::authorities
[INFO] [stdout]                                at /opt/rustwide/workdir/src/authority.rs:63:44
[INFO] [stdout]   22:     0x6416ffc9d693 - dns[37be3c072652702a]::authority::tests::test_create_authorities_directory_if_absent
[INFO] [stdout]                                at /opt/rustwide/workdir/src/authority.rs:225:9
[INFO] [stdout]   23:     0x6416ffc8df77 - dns[37be3c072652702a]::authority::tests::test_create_authorities_directory_if_absent::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/authority.rs:222:53
[INFO] [stdout]   24:     0x6416ffcdfbd6 - <dns[37be3c072652702a]::authority::tests::test_create_authorities_directory_if_absent::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6416ffce004b - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6416ffce004b - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x6416ffced8c5 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x6416ffced8c5 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x6416ffced8c5 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x6416ffced8c5 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x6416ffced8c5 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6416ffced8c5 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x6416ffced8c5 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x6416ffce8424 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x6416ffce8424 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x6416ffcf0942 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x6416ffcf0942 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x6416ffcf0942 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x6416ffcf0942 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x6416ffcf0942 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6416ffcf0942 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x6416ffcf0942 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x6416ffdaca9f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   44:     0x6416ffdaca9f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x77617419eaa4 - <unknown>
[INFO] [stdout]   46:     0x77617422ba64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     authority::tests::test_create_authorities_directory_if_absent
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 49 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin dns`
[INFO] running `Command { std: "docker" "inspect" "bf30729a3330f9e609b8897305d26d20d5ddf86cce1dd7a6a9566c9bc97bccd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf30729a3330f9e609b8897305d26d20d5ddf86cce1dd7a6a9566c9bc97bccd7", kill_on_drop: false }`
[INFO] [stdout] bf30729a3330f9e609b8897305d26d20d5ddf86cce1dd7a6a9566c9bc97bccd7
