[INFO] fetching crate vm-memory 0.16.2... [INFO] checking vm-memory-0.16.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate vm-memory 0.16.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking crates.io crate vm-memory 0.16.2 [INFO] finished tweaking crates.io crate vm-memory 0.16.2 [INFO] tweaked toml for crates.io crate vm-memory 0.16.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vm-memory 0.16.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vm-memory 0.16.2 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 126e35326fb3ccf41ecf5c439962798aa439bf8cfc38037db8081275e13454dd [INFO] running `Command { std: "docker" "start" "-a" "126e35326fb3ccf41ecf5c439962798aa439bf8cfc38037db8081275e13454dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "126e35326fb3ccf41ecf5c439962798aa439bf8cfc38037db8081275e13454dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126e35326fb3ccf41ecf5c439962798aa439bf8cfc38037db8081275e13454dd", kill_on_drop: false }` [INFO] [stdout] 126e35326fb3ccf41ecf5c439962798aa439bf8cfc38037db8081275e13454dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 935bfcbbf4b1171c85556dcacc6ae12a04cefb16166318815fe3483d5bf36229 [INFO] running `Command { std: "docker" "start" "-a" "935bfcbbf4b1171c85556dcacc6ae12a04cefb16166318815fe3483d5bf36229", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking vmm-sys-util v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking vm-memory v0.16.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn slice_at(&self, offset: usize) -> ::S; [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn slice_at(&self, offset: usize) -> >::S; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/mod.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | fn slice_at(&self, offset: usize) -> Option<::S> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn slice_at(&self, offset: usize) -> Option<>::S> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bytes.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_bytes(&mut self) -> VolatileSlice { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn as_bytes(&mut self) -> VolatileSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 271 | ) -> Result>> { [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 271 | ) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_volatile_slice(&self) -> Result>> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 299 | fn as_volatile_slice(&self) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:816:18 [INFO] [stdout] | [INFO] [stdout] 816 | fn get_slice(&self, addr: GuestAddress, count: usize) -> Result>> { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 816 | fn get_slice(&self, addr: GuestAddress, count: usize) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_slice(&self, offset: usize, count: usize) -> Result>>; [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn get_slice(&self, offset: usize, count: usize) -> Result>>; [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | fn as_volatile_slice(&self) -> VolatileSlice> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn as_volatile_slice(&self) -> VolatileSlice<'_, BS<'_, Self::B>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_ref(&self, offset: usize) -> Result>> { [INFO] [stdout] | ^^^^^ --------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn get_ref(&self, offset: usize) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result>> { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:1002:18 [INFO] [stdout] | [INFO] [stdout] 1002 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1002 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn slice_at(&self, offset: usize) -> ::S; [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn slice_at(&self, offset: usize) -> >::S; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/mod.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | fn slice_at(&self, offset: usize) -> Option<::S> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn slice_at(&self, offset: usize) -> Option<>::S> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/backend/atomic_bitmap.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn slice_at(&self, offset: usize) -> ::S { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | fn slice_at(&self, offset: usize) -> >::S { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bitmap/backend/atomic_bitmap_arc.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn slice_at(&self, offset: usize) -> ::S { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn slice_at(&self, offset: usize) -> >::S { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bytes.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_bytes(&mut self) -> VolatileSlice { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn as_bytes(&mut self) -> VolatileSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 271 | ) -> Result>> { [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 271 | ) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_volatile_slice(&self) -> Result>> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 299 | fn as_volatile_slice(&self) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/guest_memory.rs:816:18 [INFO] [stdout] | [INFO] [stdout] 816 | fn get_slice(&self, addr: GuestAddress, count: usize) -> Result>> { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 816 | fn get_slice(&self, addr: GuestAddress, count: usize) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_slice(&self, offset: usize, count: usize) -> Result>>; [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn get_slice(&self, offset: usize, count: usize) -> Result>>; [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | fn as_volatile_slice(&self) -> VolatileSlice> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn as_volatile_slice(&self) -> VolatileSlice<'_, BS<'_, Self::B>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_ref(&self, offset: usize) -> Result>> { [INFO] [stdout] | ^^^^^ --------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn get_ref(&self, offset: usize) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result>> { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volatile_memory.rs:1002:18 [INFO] [stdout] | [INFO] [stdout] 1002 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1002 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.53s [INFO] running `Command { std: "docker" "inspect" "935bfcbbf4b1171c85556dcacc6ae12a04cefb16166318815fe3483d5bf36229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935bfcbbf4b1171c85556dcacc6ae12a04cefb16166318815fe3483d5bf36229", kill_on_drop: false }` [INFO] [stdout] 935bfcbbf4b1171c85556dcacc6ae12a04cefb16166318815fe3483d5bf36229