[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] testing s5003597/rDNS against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s5003597/rDNS on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+beta-2025-01-12" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9581d13f2b14130d88a0be04a12a429daa866b47da1cf9238def6830ff8331b9 [INFO] running `Command { std: "docker" "start" "-a" "9581d13f2b14130d88a0be04a12a429daa866b47da1cf9238def6830ff8331b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9581d13f2b14130d88a0be04a12a429daa866b47da1cf9238def6830ff8331b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9581d13f2b14130d88a0be04a12a429daa866b47da1cf9238def6830ff8331b9", kill_on_drop: false }` [INFO] [stdout] 9581d13f2b14130d88a0be04a12a429daa866b47da1cf9238def6830ff8331b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00fa9262c2f7fec7c29a2b784ddd82480b5b045c3e06bcce34b6a488c10f44d2 [INFO] running `Command { std: "docker" "start" "-a" "00fa9262c2f7fec7c29a2b784ddd82480b5b045c3e06bcce34b6a488c10f44d2", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling 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)]` 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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "00fa9262c2f7fec7c29a2b784ddd82480b5b045c3e06bcce34b6a488c10f44d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00fa9262c2f7fec7c29a2b784ddd82480b5b045c3e06bcce34b6a488c10f44d2", kill_on_drop: false }` [INFO] [stdout] 00fa9262c2f7fec7c29a2b784ddd82480b5b045c3e06bcce34b6a488c10f44d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2bec43aaf626ec82a235b939e10eb5bf636145ef5ac6115047cf39d29d9e69e [INFO] running `Command { std: "docker" "start" "-a" "d2bec43aaf626ec82a235b939e10eb5bf636145ef5ac6115047cf39d29d9e69e", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcXSEvfI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-881a28050740af2c.rlib,libgetopts-1ec82257904e6c1a.rlib,libunicode_width-4f5c184aada24a03.rlib,librustc_std_workspace_std-75e27242e8cac7c5.rlib}" "/opt/rustwide/target/debug/deps/{librand-2735722c4b654ba0.rlib,librand_xorshift-92ac98183552b96b.rlib,librand_pcg-7772a11e5dddfbb2.rlib,librand_hc-c97ae378aa7a942a.rlib,librand_chacha-f0bf385574b3e149.rlib,librand_isaac-6218428e2c120df5.rlib,librand_core-281d692deaf7190d.rlib,librand_os-79687f1a3dc7060f.rlib,liblibc-932403a4fbf5d792.rlib,librand_jitter-11596fd52f5ef0c0.rlib,librand_core-3f421aae51251530.rlib}" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-2e6eca6bf1681754.rlib,libpanic_unwind-6419b8734ab2f0cb.rlib,libobject-784ada497c5d935e.rlib,libmemchr-9267ffe866ca370f.rlib,libaddr2line-36f3ec5f8f15f213.rlib,libgimli-a0a71c3c5fe00164.rlib,librustc_demangle-95f237535246c825.rlib,libstd_detect-e0bd23c2b0917c59.rlib,libhashbrown-22a7802a8abbef9e.rlib,librustc_std_workspace_alloc-eb0228d54dd99343.rlib,libminiz_oxide-e6c6f516ce70276d.rlib,libadler-af73ed2b2e212982.rlib,libunwind-0000b4ce778574a2.rlib,libcfg_if-1a94dbdc43bc518f.rlib,liblibc-b957950176a614bc.rlib,liballoc-2b137d666ae9b5cb.rlib,librustc_std_workspace_core-4cf833632aafa84c.rlib,libcore-65c2c6d2d6ae570b.rlib,libcompiler_builtins-678c764df5f831e4.rlib}" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rdns-a46837a0073abc65" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdns` (bin "rdns" test) due to 1 previous error; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2bec43aaf626ec82a235b939e10eb5bf636145ef5ac6115047cf39d29d9e69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bec43aaf626ec82a235b939e10eb5bf636145ef5ac6115047cf39d29d9e69e", kill_on_drop: false }` [INFO] [stdout] d2bec43aaf626ec82a235b939e10eb5bf636145ef5ac6115047cf39d29d9e69e