[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsquidarth%2Fdns-resolver" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/squidarth/dns-resolver on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/squidarth/dns-resolver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 380a2caa16591df2b8834a7c8074f1016b9194bdeee1f6ed855d19b89f772f32 [INFO] running `Command { std: "docker" "start" "-a" "380a2caa16591df2b8834a7c8074f1016b9194bdeee1f6ed855d19b89f772f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "380a2caa16591df2b8834a7c8074f1016b9194bdeee1f6ed855d19b89f772f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380a2caa16591df2b8834a7c8074f1016b9194bdeee1f6ed855d19b89f772f32", kill_on_drop: false }` [INFO] [stdout] 380a2caa16591df2b8834a7c8074f1016b9194bdeee1f6ed855d19b89f772f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60c84846697195b38821e35048d18f7638b14b30d014bdc95521c297c9848f66 [INFO] running `Command { std: "docker" "start" "-a" "60c84846697195b38821e35048d18f7638b14b30d014bdc95521c297c9848f66", 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)]` 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: 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)]` 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: function is never used: `set_bit_at` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_u16_to_two_u8s_be` [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn convert_u16_to_two_u8s_be(integer: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serializeHeader` [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serializeMessage` [INFO] [stdout] --> src/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec { [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)]` 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>, [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, [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 | 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 [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) -> (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 { [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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 { [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) -> Message { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_bit_at` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_u16_to_two_u8s_be` [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn convert_u16_to_two_u8s_be(integer: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serializeHeader` [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn serializeHeader(message_header: MessageHeader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serializeMessage` [INFO] [stdout] --> src/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn serializeMessage(message: Message) -> Vec { [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)]` 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>, [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, [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 | 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 [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) -> (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 { [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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 { [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) -> Message { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.08s [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60c84846697195b38821e35048d18f7638b14b30d014bdc95521c297c9848f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c84846697195b38821e35048d18f7638b14b30d014bdc95521c297c9848f66", kill_on_drop: false }` [INFO] [stdout] 60c84846697195b38821e35048d18f7638b14b30d014bdc95521c297c9848f66