[INFO] updating cached repository https://github.com/s5003597/rDNS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 651ca6e5bb8a4640539d894c7f1a7ee064939cd2 [INFO] testing s5003597/rDNS against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs5003597%2FrDNS" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s5003597/rDNS on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db05ddabbf3c069f7c8208bdb74dc9952480b7389d01838b87cd122fa01d00c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db05ddabbf3c069f7c8208bdb74dc9952480b7389d01838b87cd122fa01d00c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db05ddabbf3c069f7c8208bdb74dc9952480b7389d01838b87cd122fa01d00c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db05ddabbf3c069f7c8208bdb74dc9952480b7389d01838b87cd122fa01d00c9", kill_on_drop: false }` [INFO] [stdout] db05ddabbf3c069f7c8208bdb74dc9952480b7389d01838b87cd122fa01d00c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6dc427f1c5f3db070e1263165b7adb90096b2bfc804ec17c63fc30b374144ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a6dc427f1c5f3db070e1263165b7adb90096b2bfc804ec17c63fc30b374144ed", 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] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_2` [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] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "a6dc427f1c5f3db070e1263165b7adb90096b2bfc804ec17c63fc30b374144ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6dc427f1c5f3db070e1263165b7adb90096b2bfc804ec17c63fc30b374144ed", kill_on_drop: false }` [INFO] [stdout] a6dc427f1c5f3db070e1263165b7adb90096b2bfc804ec17c63fc30b374144ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f55433a88e95dd4547819a00ae22da69c4e1c6b46685bf172577e091940bdd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "78f55433a88e95dd4547819a00ae22da69c4e1c6b46685bf172577e091940bdd", 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] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_2` [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] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "78f55433a88e95dd4547819a00ae22da69c4e1c6b46685bf172577e091940bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f55433a88e95dd4547819a00ae22da69c4e1c6b46685bf172577e091940bdd", kill_on_drop: false }` [INFO] [stdout] 78f55433a88e95dd4547819a00ae22da69c4e1c6b46685bf172577e091940bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2845b729f992a2f9214c8375702b811512eb9335e30c12e03c39cc477b5cf9e4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2845b729f992a2f9214c8375702b811512eb9335e30c12e03c39cc477b5cf9e4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read(&mut self) -> Result<(u8), (Error)> { [INFO] [stderr] | ^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:36:44 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read(&mut self) -> Result<(u8), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> { [INFO] [stderr] | ^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:48:55 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn get(&mut self, pos: usize) -> Result<(u8), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:55:69 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:55:78 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_range(&mut self, start: usize, len: usize) -> Result<(&[u8]), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:63:42 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn read_u16(&mut self) -> Result<(u16), (Error)> { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn read_u16(&mut self) -> Result<(u16), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:67:42 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn read_u32(&mut self) -> Result<(u32), (Error)> { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:67:49 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn read_u32(&mut self) -> Result<(u32), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:76:69 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn read_qname(&mut self, outstr: &mut String) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:129:52 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn write(&mut self, val: u8) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:138:55 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn write_u8(&mut self, val: u8) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:143:57 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn write_u16(&mut self, val: u16) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:150:57 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn write_u32(&mut self, val: u32) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bytepacketbuffer.rs:159:62 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn write_qname(&mut self, qname: &str) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/header.rs:49:73 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/header.rs:76:70 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dns_packet.rs:35:65 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dns_packet.rs:35:78 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from_buffer(buffer: &mut BytePacketBuffer) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dns_packet.rs:63:74 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/questions.rs:19:73 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn read(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/questions.rs:27:74 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn write(&mut self, buffer: &mut BytePacketBuffer) -> Result<(), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/record.rs:49:58 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/record.rs:49:71 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn read(buffer: &mut BytePacketBuffer) -> Result<(DnsRecord), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/record.rs:141:66 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/record.rs:141:75 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn write(&self, buffer: &mut BytePacketBuffer) -> Result<(usize), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:25:73 [INFO] [stderr] | [INFO] [stderr] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:25:86 [INFO] [stderr] | [INFO] [stderr] 25 | fn lookup(qname: &str, qtype: QueryType, server: (&str, u16)) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:105:62 [INFO] [stderr] | [INFO] [stderr] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:105:75 [INFO] [stderr] | [INFO] [stderr] 105 | fn recursive_lookup(qname: &str, qtype: QueryType) -> Result<(DnsPacket), (Error)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_2` [INFO] [stderr] --> src/main.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn test_2() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 32 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rdns-d9c69d82dd322790 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2845b729f992a2f9214c8375702b811512eb9335e30c12e03c39cc477b5cf9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2845b729f992a2f9214c8375702b811512eb9335e30c12e03c39cc477b5cf9e4", kill_on_drop: false }` [INFO] [stdout] 2845b729f992a2f9214c8375702b811512eb9335e30c12e03c39cc477b5cf9e4