[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] building s5003597/rDNS against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s5003597/rDNS on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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-0-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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77879a8d5fa1c2370d8b7de236d6c0f0d0250f28c4ed7ee6a78b862d6f57c578 [INFO] running `Command { std: "docker" "start" "-a" "77879a8d5fa1c2370d8b7de236d6c0f0d0250f28c4ed7ee6a78b862d6f57c578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77879a8d5fa1c2370d8b7de236d6c0f0d0250f28c4ed7ee6a78b862d6f57c578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77879a8d5fa1c2370d8b7de236d6c0f0d0250f28c4ed7ee6a78b862d6f57c578", kill_on_drop: false }` [INFO] [stdout] 77879a8d5fa1c2370d8b7de236d6c0f0d0250f28c4ed7ee6a78b862d6f57c578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bfaa82531e8e0fb341efc2cd9b53b1a4c2aeb148ec17d6038b5fc0ddc23c843 [INFO] running `Command { std: "docker" "start" "-a" "8bfaa82531e8e0fb341efc2cd9b53b1a4c2aeb148ec17d6038b5fc0ddc23c843", 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_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [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] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb35 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x72544cd81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x72544d413cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x72544e328e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x72544cd81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x72544cd83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x72544cd83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x72544beeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x72544cd847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x72544bf2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x72544bf1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x72544bf1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x72544bf342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x72544c484fdc - ::span_bug:: [INFO] [stderr] 13: 0x72544c50a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x72544c4f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x72544c4efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x72544a934437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb66 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 17: 0x72544ddd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x72544ddcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x72544d407714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x72544d4076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x72544d6953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x72544d694f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x72544a467185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x72544dce98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x72544dce9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x72544dce97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x72544d89bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x72544e32cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x72544e32cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x72544e37b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x72544e37b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x72544e3701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x72544e3dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x72544e2f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x72544e2f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x72544e2f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x72544fa40ac3 - [INFO] [stderr] 38: 0x72544fad1a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T02_20_35-187.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `bytepacketbuffer::::read_u16` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `bytepacketbuffer::::read_u16` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x72544cd81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x72544d413cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x72544e328e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x72544cd81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x72544cd83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x72544cd83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x72544beeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x72544cd847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x72544bf2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x72544bf1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x72544bf1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x72544bf342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x72544c484fdc - ::span_bug:: [INFO] [stderr] 13: 0x72544c50a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x72544c4f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x72544c4efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x72544a934437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x72544ddd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x72544ddcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x72544d407714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x72544d4076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x72544d6953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x72544d694f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x72544a467185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x72544dce98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x72544dce9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x72544dce97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x72544d89bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x72544e32cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x72544e32cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x72544e37b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x72544e37b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x72544e3701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x72544e3dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x72544e2f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x72544e2f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x72544e2f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x72544fa40ac3 - [INFO] [stderr] 38: 0x72544fad1a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T02_20_35-187.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `bytepacketbuffer::::read_u32` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `bytepacketbuffer::::read_u32` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `rdns` (bin "rdns"); 31 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name rdns --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f4ca312f8f6b3b79 -C extra-filename=-1671393ac2854ef1 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern rand=/opt/rustwide/target/debug/deps/librand-b13127ee6e5bf84a.rlib --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8bfaa82531e8e0fb341efc2cd9b53b1a4c2aeb148ec17d6038b5fc0ddc23c843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bfaa82531e8e0fb341efc2cd9b53b1a4c2aeb148ec17d6038b5fc0ddc23c843", kill_on_drop: false }` [INFO] [stdout] 8bfaa82531e8e0fb341efc2cd9b53b1a4c2aeb148ec17d6038b5fc0ddc23c843