[INFO] cloning repository https://github.com/squidarth/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/squidarth/dns-resolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsquidarth%2Fdns-resolver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsquidarth%2Fdns-resolver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0bf25215b3c06aa47bf5e1c8e06a26e7bced0925
[INFO] checking squidarth/dns-resolver against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsquidarth%2Fdns-resolver" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/squidarth/dns-resolver
[INFO] finished tweaking git repo https://github.com/squidarth/dns-resolver
[INFO] tweaked toml for git repo https://github.com/squidarth/dns-resolver written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/squidarth/dns-resolver on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/squidarth/dns-resolver 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ux v0.1.3
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3aa4d35d236346bf3ddb8dbbd438dd032d7711cc8da516f82af0e1d3a3ef8367
[INFO] running `Command { std: "docker" "start" "-a" "3aa4d35d236346bf3ddb8dbbd438dd032d7711cc8da516f82af0e1d3a3ef8367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3aa4d35d236346bf3ddb8dbbd438dd032d7711cc8da516f82af0e1d3a3ef8367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3aa4d35d236346bf3ddb8dbbd438dd032d7711cc8da516f82af0e1d3a3ef8367", kill_on_drop: false }`
[INFO] [stdout] 3aa4d35d236346bf3ddb8dbbd438dd032d7711cc8da516f82af0e1d3a3ef8367
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44585ed5df4a8806cb52f1030557a8e083ef7f104174f145fd560ab069636183
[INFO] running `Command { std: "docker" "start" "-a" "44585ed5df4a8806cb52f1030557a8e083ef7f104174f145fd560ab069636183", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking ux v0.1.3
[INFO] [stderr]     Checking dns-resolver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `qr_byte`
[INFO] [stdout]    --> src/main.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let qr_byte = 0;
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qr_byte`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_addr`
[INFO] [stdout]    --> src/main.rs:174:27
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let (number_of_bytes, src_addr) = socket.recv_from(&mut buf)
[INFO] [stdout]     |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header`, `questions`, `responses`, `authority_records`, and `additional_records` are never read
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Message {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout]  8 |     header: MessageHeader,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     questions: Vec<Question>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 10 |     responses: Vec<Response>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 11 |     authority_records: Vec<Response>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     additional_records: Vec<Response>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MessageHeader {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 17 |     Id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 18 |     QR: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     OpCode: ux::u4,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     AA: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     TC: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 22 |     RD: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 23 |     RA: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     Z: ux::u3,
[INFO] [stdout]    |     ^
[INFO] [stdout] 25 |     RCode: ux::u4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     QDCount: u16,
[INFO] [stdout] 27 |     ANCount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 28 |     NSCount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     ARCount: u16
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `QName`, `QType`, and `QClass` are never read
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Question {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 34 |     QName: Vec<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     QType: u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 36 |     QClass: u16
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Question` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `Name`, `Type`, `Class`, `TTL`, `RDLength`, and `RData` are never read
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Response {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 41 |     Name: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Type: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 43 |     Class: u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     TTL: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     RDLength: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 46 |     RData: Vec<u8>
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_bit_at` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn set_bit_at(input: u8, n: u8, value: bool) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_u16_to_two_u8s_be` is never used
[INFO] [stdout]   --> src/main.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn convert_u16_to_two_u8s_be(integer: u16) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeHeader` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeMessage` is never used
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Id` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Id: u16,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QR` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     QR: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `qr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     OpCode: ux::u4,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     AA: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     TC: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `tc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RD` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     RD: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     RA: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ra`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Z` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Z: ux::u3,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     RCode: ux::u4,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `rcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QDCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     QDCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `qdcount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ANCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     ANCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ancount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `NSCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     NSCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `nscount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ARCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ARCount: u16
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `arcount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QName` should have a snake case name
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     QName: Vec<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `qname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QType` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     QType: u16,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `qtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QClass` should have a snake case name
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     QClass: u16
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `qclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Name` should have a snake case name
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Name: Vec<String>,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Type` should have a snake case name
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Type: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Type: u16,
[INFO] [stdout] 42 +     r#type: u16,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Class` should have a snake case name
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Class: u16,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TTL` should have a snake case name
[INFO] [stdout]   --> src/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     TTL: u32,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RDLength` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     RDLength: u16,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `rdlength`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RData` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     RData: Vec<u8>
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `rdata`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bufToU16` should have a snake case name
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn bufToU16(bytes: [u8;2]) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `buf_to_u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractOpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn extractOpCode(byte: u8) -> ux::u4 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `extract_op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractZ` should have a snake case name
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn extractZ(byte: u8) -> ux::u3 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `extract_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parseQuestion` should have a snake case name
[INFO] [stdout]   --> src/main.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn parseQuestion(starting_byte_position: usize, message_bytes: &mut Vec<u8>) -> (Question, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeHeader` should have a snake case name
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialize_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `serializedHeader` should have a snake case name
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut serializedHeader = vec![];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialized_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused bitwise operation that must be used
[INFO] [stdout]    --> src/main.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     u8_opcode << 3;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ the bitwise operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let _ = u8_opcode << 3;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialize_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `serializedMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut serializedMessage = vec![];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialized_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parseMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn parseMessage(bytes: &mut Vec<u8>) -> Message {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `qr_byte`
[INFO] [stdout]    --> src/main.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let qr_byte = 0;
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qr_byte`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_addr`
[INFO] [stdout]    --> src/main.rs:174:27
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let (number_of_bytes, src_addr) = socket.recv_from(&mut buf)
[INFO] [stdout]     |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header`, `questions`, `responses`, `authority_records`, and `additional_records` are never read
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Message {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout]  8 |     header: MessageHeader,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     questions: Vec<Question>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 10 |     responses: Vec<Response>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 11 |     authority_records: Vec<Response>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     additional_records: Vec<Response>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MessageHeader {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 17 |     Id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 18 |     QR: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     OpCode: ux::u4,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     AA: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     TC: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 22 |     RD: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 23 |     RA: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     Z: ux::u3,
[INFO] [stdout]    |     ^
[INFO] [stdout] 25 |     RCode: ux::u4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     QDCount: u16,
[INFO] [stdout] 27 |     ANCount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 28 |     NSCount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     ARCount: u16
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `QName`, `QType`, and `QClass` are never read
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Question {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 34 |     QName: Vec<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     QType: u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 36 |     QClass: u16
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Question` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `Name`, `Type`, `Class`, `TTL`, `RDLength`, and `RData` are never read
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Response {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 41 |     Name: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Type: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 43 |     Class: u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     TTL: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     RDLength: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 46 |     RData: Vec<u8>
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_bit_at` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn set_bit_at(input: u8, n: u8, value: bool) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_u16_to_two_u8s_be` is never used
[INFO] [stdout]   --> src/main.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn convert_u16_to_two_u8s_be(integer: u16) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeHeader` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeMessage` is never used
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Id` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Id: u16,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QR` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     QR: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `qr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     OpCode: ux::u4,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     AA: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     TC: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `tc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RD` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     RD: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     RA: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ra`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Z` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Z: ux::u3,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     RCode: ux::u4,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `rcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QDCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     QDCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `qdcount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ANCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     ANCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ancount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `NSCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     NSCount: u16,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `nscount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ARCount` should have a snake case name
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ARCount: u16
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `arcount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s
[INFO] [stdout] warning: structure field `QName` should have a snake case name
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     QName: Vec<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `qname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QType` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     QType: u16,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `qtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `QClass` should have a snake case name
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     QClass: u16
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `qclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Name` should have a snake case name
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Name: Vec<String>,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Type` should have a snake case name
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Type: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Type: u16,
[INFO] [stdout] 42 +     r#type: u16,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Class` should have a snake case name
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Class: u16,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TTL` should have a snake case name
[INFO] [stdout]   --> src/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     TTL: u32,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RDLength` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     RDLength: u16,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `rdlength`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RData` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     RData: Vec<u8>
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `rdata`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bufToU16` should have a snake case name
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn bufToU16(bytes: [u8;2]) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `buf_to_u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractOpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn extractOpCode(byte: u8) -> ux::u4 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `extract_op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractZ` should have a snake case name
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn extractZ(byte: u8) -> ux::u3 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `extract_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parseQuestion` should have a snake case name
[INFO] [stdout]   --> src/main.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn parseQuestion(starting_byte_position: usize, message_bytes: &mut Vec<u8>) -> (Question, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeHeader` should have a snake case name
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialize_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `serializedHeader` should have a snake case name
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut serializedHeader = vec![];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialized_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused bitwise operation that must be used
[INFO] [stdout]    --> src/main.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     u8_opcode << 3;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ the bitwise operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let _ = u8_opcode << 3;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serializeMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialize_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `serializedMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut serializedMessage = vec![];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serialized_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parseMessage` should have a snake case name
[INFO] [stdout]    --> src/main.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn parseMessage(bytes: &mut Vec<u8>) -> Message {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "44585ed5df4a8806cb52f1030557a8e083ef7f104174f145fd560ab069636183", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44585ed5df4a8806cb52f1030557a8e083ef7f104174f145fd560ab069636183", kill_on_drop: false }`
[INFO] [stdout] 44585ed5df4a8806cb52f1030557a8e083ef7f104174f145fd560ab069636183
