[INFO] cloning repository https://github.com/Kr328/dnsmessage-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kr328/dnsmessage-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKr328%2Fdnsmessage-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKr328%2Fdnsmessage-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f894e713252681f3c99a85b308a0391cf72d635 [INFO] checking Kr328/dnsmessage-rs against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKr328%2Fdnsmessage-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kr328/dnsmessage-rs [INFO] finished tweaking git repo https://github.com/Kr328/dnsmessage-rs [INFO] tweaked toml for git repo https://github.com/Kr328/dnsmessage-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kr328/dnsmessage-rs 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest Rust 1.95.0-nightly compatible versions [INFO] [stderr] Adding simple-dns v0.10.1 (available: v0.11.2) [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] [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1efbeddab6cf73a0c5fbe64355b47913326fadda6fa3e044f2a6c8761440d9 [INFO] running `Command { std: "docker" "start" "-a" "1d1efbeddab6cf73a0c5fbe64355b47913326fadda6fa3e044f2a6c8761440d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1efbeddab6cf73a0c5fbe64355b47913326fadda6fa3e044f2a6c8761440d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1efbeddab6cf73a0c5fbe64355b47913326fadda6fa3e044f2a6c8761440d9", kill_on_drop: false }` [INFO] [stdout] 1d1efbeddab6cf73a0c5fbe64355b47913326fadda6fa3e044f2a6c8761440d9 [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=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] 69de3c9928696c100bdbbc151f2de3930122ce64638d6aedf6eba8925dae5cf9 [INFO] running `Command { std: "docker" "start" "-a" "69de3c9928696c100bdbbc151f2de3930122ce64638d6aedf6eba8925dae5cf9", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking simple-dns v0.10.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking dnsmessage v0.2.3 (/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:279:23 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn into_inner(self) -> B { [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:283:35 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn map_inner>(self) -> Packet { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | fn parse_question(packet: &[u8], mut offset: usize) -> Result<(Question, usize), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn parse_question(packet: &[u8], mut offset: usize) -> Result<(Question>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | packet: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 316 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 316 | ) -> Result, &[u8]>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn parse_resource(packet: &[u8], mut offset: usize) -> Result<(Resource, usize), Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 419 | fn parse_resource(packet: &[u8], mut offset: usize) -> Result<(Resource, &[u8]>, usize), Error> { [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:450:19 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn header(&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:465:26 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn questions_len(&self) -> u16 { [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:469:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn answers_len(&self) -> u16 { [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:473:28 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn authorities_len(&self) -> u16 { [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:477:28 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn additionals_len(&self) -> u16 { [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:481:22 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn questions(&self) -> impl Iterator>, Error>> + '_ { [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:508:20 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn answers(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [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:512:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn authorities(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [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:516:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn additionals(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:560:21 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn question(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 560 | pub fn question(&self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn resource(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | pub fn resource(&self) -> Result, &'_ [u8]>, Error> { [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:620:23 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 620 | pub fn set_header(&mut self, header: Header) -> Result<(), Error> { [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:630:29 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 630 | pub fn questions_cursor(&mut self) -> QuestionsCursor<'_> { [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:652:27 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn answers_cursor(&mut self) -> ResourcesCursor<'_> { [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:656:31 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 656 | pub fn authorities_cursor(&mut self) -> ResourcesCursor<'_> { [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:660:31 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 660 | pub fn additionals_cursor(&mut self) -> ResourcesCursor<'_> { [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:279:23 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn into_inner(self) -> B { [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:283:35 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn map_inner>(self) -> Packet { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | fn parse_question(packet: &[u8], mut offset: usize) -> Result<(Question, usize), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn parse_question(packet: &[u8], mut offset: usize) -> Result<(Question>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | packet: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 316 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 316 | ) -> Result, &[u8]>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn parse_resource(packet: &[u8], mut offset: usize) -> Result<(Resource, usize), Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 419 | fn parse_resource(packet: &[u8], mut offset: usize) -> Result<(Resource, &[u8]>, usize), Error> { [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:450:19 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn header(&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:465:26 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn questions_len(&self) -> u16 { [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:469:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn answers_len(&self) -> u16 { [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:473:28 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn authorities_len(&self) -> u16 { [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:477:28 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn additionals_len(&self) -> u16 { [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:481:22 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn questions(&self) -> impl Iterator>, Error>> + '_ { [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:508:20 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn answers(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [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:512:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn authorities(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [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:516:24 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn additionals(&self) -> impl Iterator, &'_ [u8]>, Error>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:560:21 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn question(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 560 | pub fn question(&self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn resource(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | pub fn resource(&self) -> Result, &'_ [u8]>, Error> { [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:620:23 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 620 | pub fn set_header(&mut self, header: Header) -> Result<(), Error> { [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:630:29 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 630 | pub fn questions_cursor(&mut self) -> QuestionsCursor<'_> { [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:652:27 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn answers_cursor(&mut self) -> ResourcesCursor<'_> { [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:656:31 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 656 | pub fn authorities_cursor(&mut self) -> ResourcesCursor<'_> { [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:660:31 [INFO] [stdout] | [INFO] [stdout] 243 | impl Deref for Packet { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 244 | type Target = B; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 660 | pub fn additionals_cursor(&mut self) -> ResourcesCursor<'_> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dnsmessage` (lib) due to 16 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dnsmessage` (lib test) due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "69de3c9928696c100bdbbc151f2de3930122ce64638d6aedf6eba8925dae5cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69de3c9928696c100bdbbc151f2de3930122ce64638d6aedf6eba8925dae5cf9", kill_on_drop: false }` [INFO] [stdout] 69de3c9928696c100bdbbc151f2de3930122ce64638d6aedf6eba8925dae5cf9