[INFO] cloning repository https://github.com/s5003597/rDNS
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s5003597/rDNS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 651ca6e5bb8a4640539d894c7f1a7ee064939cd2
[INFO] checking s5003597/rDNS against master#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/s5003597/rDNS
[INFO] finished tweaking git repo https://github.com/s5003597/rDNS
[INFO] tweaked toml for git repo https://github.com/s5003597/rDNS written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/s5003597/rDNS on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/s5003597/rDNS 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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860
[INFO] running `Command { std: "docker" "start" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rdns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:36:38
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                      ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout] 36 +     pub fn read(&mut self) -> Result<u8 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:36:44
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                            ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout] 36 +     pub fn read(&mut self) -> Result<(u8), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                                 ^  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout] 48 +     pub fn get(&mut self, pos: usize) -> Result<u8 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:48:55
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout] 48 +     pub fn get(&mut self, pos: usize) -> Result<(u8), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:55:69
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout]    |                                                                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout] 55 +     pub fn get_range(&mut self, start: usize, len: usize) -> Result<&[u8] , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:55:78
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout]    |                                                                              ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout] 55 +     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:63:42
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout] 63 +     pub fn read_u16(&mut self) -> Result<u16 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:63:49
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout]    |                                                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout] 63 +     pub fn read_u16(&mut self) -> Result<(u16), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:67:42
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout] 67 +     pub fn read_u32(&mut self) -> Result<u32 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:67:49
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout]    |                                                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout] 67 +     pub fn read_u32(&mut self) -> Result<(u32), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:76:69
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), (Error)> {
[INFO] [stdout] 76 +     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:129:52
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn write(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 129 -     pub fn write(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout] 129 +     pub fn write(&mut self, val: u8) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:138:55
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn write_u8(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                       ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -     pub fn write_u8(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout] 138 +     pub fn write_u8(&mut self, val: u8) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn write_u16(&mut self, val: u16) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                         ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -     pub fn write_u16(&mut self, val: u16) -> Result<(), (Error)> {
[INFO] [stdout] 143 +     pub fn write_u16(&mut self, val: u16) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:150:57
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn write_u32(&mut self, val: u32) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                         ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -     pub fn write_u32(&mut self, val: u32) -> Result<(), (Error)> {
[INFO] [stdout] 150 +     pub fn write_u32(&mut self, val: u32) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:159:62
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn write_qname(&mut self, qname: &str) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                              ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -     pub fn write_qname(&mut self, qname: &str) -> Result<(), (Error)> {
[INFO] [stdout] 159 +     pub fn write_qname(&mut self, qname: &str) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/header.rs:49:73
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                         ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 49 +     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/header.rs:76:70
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                      ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 76 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:35:65
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                 ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 35 +     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<DnsPacket , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:35:78
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                              ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 35 +     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:63:74
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 63 +     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/questions.rs:19:73
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                         ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 19 +     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/questions.rs:27:74
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 27 +     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/record.rs:49:58
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout]    |                                                          ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout] 49 +     pub fn read(buffer: &mut BytePacketBuffer) -> Result<DnsRecord , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/record.rs:49:71
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout]    |                                                                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout] 49 +     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record.rs:141:66
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout]     |                                                                  ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout] 141 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<usize , (Error)> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record.rs:141:75
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout]     |                                                                           ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout] 141 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:25:73
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                         ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 - fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 25 + fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<DnsPacket, (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:25:86
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                                      ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 - fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 25 + fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:105:62
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]     |                                                              ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 - fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 105 + fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<DnsPacket, (Error)> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:105:75
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]     |                                                                           ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 - fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 105 + fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/main.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn test_2() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:36:38
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                      ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout] 36 +     pub fn read(&mut self) -> Result<u8 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:36:44
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                            ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -     pub fn read(&mut self) -> Result<(u8), (Error)> {
[INFO] [stdout] 36 +     pub fn read(&mut self) -> Result<(u8), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                                 ^  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout] 48 +     pub fn get(&mut self, pos: usize) -> Result<u8 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:48:55
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout]    |                                                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> {
[INFO] [stdout] 48 +     pub fn get(&mut self, pos: usize) -> Result<(u8), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:55:69
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout]    |                                                                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout] 55 +     pub fn get_range(&mut self, start: usize, len: usize) -> Result<&[u8] , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:55:78
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout]    |                                                                              ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> {
[INFO] [stdout] 55 +     pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:63:42
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout] 63 +     pub fn read_u16(&mut self) -> Result<u16 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:63:49
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout]    |                                                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn read_u16(&mut self) -> Result<(u16), (Error)> {
[INFO] [stdout] 63 +     pub fn read_u16(&mut self) -> Result<(u16), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:67:42
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout] 67 +     pub fn read_u32(&mut self) -> Result<u32 , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:67:49
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout]    |                                                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     pub fn read_u32(&mut self) -> Result<(u32), (Error)> {
[INFO] [stdout] 67 +     pub fn read_u32(&mut self) -> Result<(u32), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/bytepacketbuffer.rs:76:69
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), (Error)> {
[INFO] [stdout] 76 +     pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:129:52
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn write(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 129 -     pub fn write(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout] 129 +     pub fn write(&mut self, val: u8) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:138:55
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn write_u8(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                       ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -     pub fn write_u8(&mut self, val: u8) -> Result<(), (Error)> {
[INFO] [stdout] 138 +     pub fn write_u8(&mut self, val: u8) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn write_u16(&mut self, val: u16) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                         ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -     pub fn write_u16(&mut self, val: u16) -> Result<(), (Error)> {
[INFO] [stdout] 143 +     pub fn write_u16(&mut self, val: u16) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:150:57
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn write_u32(&mut self, val: u32) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                         ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -     pub fn write_u32(&mut self, val: u32) -> Result<(), (Error)> {
[INFO] [stdout] 150 +     pub fn write_u32(&mut self, val: u32) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/bytepacketbuffer.rs:159:62
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn write_qname(&mut self, qname: &str) -> Result<(), (Error)> {
[INFO] [stdout]     |                                                              ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -     pub fn write_qname(&mut self, qname: &str) -> Result<(), (Error)> {
[INFO] [stdout] 159 +     pub fn write_qname(&mut self, qname: &str) -> Result<(), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/header.rs:49:73
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                         ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 49 +     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/header.rs:76:70
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                      ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 76 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:35:65
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                 ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 35 +     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<DnsPacket , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:35:78
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                              ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 35 +     pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/dns_packet.rs:63:74
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 63 +     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/questions.rs:19:73
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                         ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 19 +     pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/questions.rs:27:74
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> {
[INFO] [stdout] 27 +     pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/record.rs:49:58
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout]    |                                                          ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout] 49 +     pub fn read(buffer: &mut BytePacketBuffer) -> Result<DnsRecord , (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/record.rs:49:71
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout]    |                                                                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> {
[INFO] [stdout] 49 +     pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), Error > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record.rs:141:66
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout]     |                                                                  ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout] 141 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<usize , (Error)> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record.rs:141:75
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout]     |                                                                           ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> {
[INFO] [stdout] 141 +     pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), Error > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:25:73
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                         ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 - fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 25 + fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<DnsPacket, (Error)> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:25:86
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]    |                                                                                      ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 - fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 25 + fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:105:62
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]     |                                                              ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 - fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 105 + fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<DnsPacket, (Error)> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:105:75
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout]     |                                                                           ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 - fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> {
[INFO] [stdout] 105 + fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/main.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn test_2() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860", kill_on_drop: false }`
[INFO] [stdout] 458c515e2694fa6c17b189200ba6f73cee90b92c6519a4fd13880d5262681860
