[INFO] cloning repository https://github.com/caelansar/dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caelansar/dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaelansar%2Fdns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaelansar%2Fdns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b8a034059cd3c227980a955b9f10ddcbdb3e7df [INFO] checking caelansar/dns against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaelansar%2Fdns" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caelansar/dns [INFO] finished tweaking git repo https://github.com/caelansar/dns [INFO] tweaked toml for git repo https://github.com/caelansar/dns written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caelansar/dns on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caelansar/dns 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e13cefea4eb090d64835a5e95871afe3edb43ade9f6bd15d174f74098eb76bff [INFO] running `Command { std: "docker" "start" "-a" "e13cefea4eb090d64835a5e95871afe3edb43ade9f6bd15d174f74098eb76bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e13cefea4eb090d64835a5e95871afe3edb43ade9f6bd15d174f74098eb76bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13cefea4eb090d64835a5e95871afe3edb43ade9f6bd15d174f74098eb76bff", kill_on_drop: false }` [INFO] [stdout] e13cefea4eb090d64835a5e95871afe3edb43ade9f6bd15d174f74098eb76bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13eff00e555a9b16e02249c56247d85cb6d032fb224f40f60164d2d484b01e34 [INFO] running `Command { std: "docker" "start" "-a" "13eff00e555a9b16e02249c56247d85cb6d032fb224f40f60164d2d484b01e34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn step(&mut self, step: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn read_u8(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn read_u16(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_u32(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_name(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn write_u8(&mut self, val: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_u16(&mut self, val: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_u32(&mut self, val: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_name_len(&self, name: impl AsRef) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn write_name(&mut self, name: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn step(&mut self, step: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn read_u8(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn read_u16(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_u32(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for PacketReader { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 14 | type Target = R; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_name(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn write_u8(&mut self, val: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_u16(&mut self, val: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_u32(&mut self, val: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_name_len(&self, name: impl AsRef) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/packet.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 109 | impl Deref for PacketWriter { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 110 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn write_name(&mut self, name: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "13eff00e555a9b16e02249c56247d85cb6d032fb224f40f60164d2d484b01e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13eff00e555a9b16e02249c56247d85cb6d032fb224f40f60164d2d484b01e34", kill_on_drop: false }` [INFO] [stdout] 13eff00e555a9b16e02249c56247d85cb6d032fb224f40f60164d2d484b01e34