[INFO] fetching crate cbor-data 0.8.18... [INFO] checking cbor-data-0.8.18 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate cbor-data 0.8.18 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cbor-data 0.8.18 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cbor-data 0.8.18 [INFO] tweaked toml for crates.io crate cbor-data 0.8.18 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cbor-data 0.8.18 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 cbor-data 0.8.18 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libipld-core v0.14.0 [INFO] [stderr] Downloaded libipld-macro v0.14.0 [INFO] [stderr] Downloaded multihash-derive v0.8.1 [INFO] [stderr] Downloaded cached v0.30.0 [INFO] [stderr] Downloaded cbor-data-derive v0.8.18 [INFO] [stderr] Downloaded cid v0.8.6 [INFO] [stderr] Downloaded libipld-cbor v0.14.0 [INFO] [stderr] Downloaded libipld v0.14.0 [INFO] [stderr] Downloaded multihash v0.16.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cbf933bdeb01c71f050042b4a21127307d0ab3f9d7393235c38a03234f7a28ab [INFO] running `Command { std: "docker" "start" "-a" "cbf933bdeb01c71f050042b4a21127307d0ab3f9d7393235c38a03234f7a28ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbf933bdeb01c71f050042b4a21127307d0ab3f9d7393235c38a03234f7a28ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf933bdeb01c71f050042b4a21127307d0ab3f9d7393235c38a03234f7a28ab", kill_on_drop: false }` [INFO] [stdout] cbf933bdeb01c71f050042b4a21127307d0ab3f9d7393235c38a03234f7a28ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e2117fed1a9bcfb8b9633a4e027550a112067090f82b0a6facf26c278f80c437 [INFO] running `Command { std: "docker" "start" "-a" "e2117fed1a9bcfb8b9633a4e027550a112067090f82b0a6facf26c278f80c437", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking cbor-data v0.8.18 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn try_number(&self) -> Result { [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] 228 | pub fn try_number(&self) -> Result, TypeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn try_bytes(&self) -> Result, TypeError> { [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] 248 | pub fn try_bytes(&self) -> Result, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn try_str(&self) -> Result, TypeError> { [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] 258 | pub fn try_str(&self) -> Result, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn try_array(&self) -> Result>, TypeError> { [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] 268 | pub fn try_array(&self) -> Result>, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn try_dict(&self) -> Result, Cow>, TypeError> { [INFO] [stdout] | ^^^^^ --------- --------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 278 | pub fn try_dict(&self) -> Result, Cow<'_, Cbor>>, TypeError> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builder/low_level.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy(&mut self) -> Bytes { [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] 9 | pub fn copy(&mut self) -> Bytes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builder/writers.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn non_tracking(&mut self, max_definite: Option) -> ArrayWriter { [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] 22 | fn non_tracking(&mut self, max_definite: Option) -> ArrayWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/canonical.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn canonical(bytes: &[u8], builder: W) -> Result<(&[u8], W::Output), InternalError> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 24 | fn canonical(bytes: &[u8], builder: W) -> Result<(&[u8], W::Output), InternalError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | fn frag_err(position: &[u8], is_string: bool) -> InternalError { [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] 30 | fn frag_err(position: &[u8], is_string: bool) -> InternalError<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | bytes: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<(Cow<[u8]>, &[u8]), InternalError> { [INFO] [stdout] | --------- ----- ------------- the lifetimes get resolved as `'_` [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] 43 | ) -> Result<(Cow<'_, [u8]>, &[u8]), InternalError<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn rec(bytes: &[u8], tag: Option) -> Result<(&Cbor, &[u8]), InternalError> { [INFO] [stdout] | ^^^^^ ----- ----- ------------- the lifetimes get resolved as `'_` [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] 86 | fn rec(bytes: &[u8], tag: Option) -> Result<(&Cbor, &[u8]), InternalError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/reader.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn tags(bytes: &[u8]) -> Option<(Tags, &[u8])> { [INFO] [stdout] | ^^^^^ ---- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 115 | pub(crate) fn tags(bytes: &[u8]) -> Option<(Tags<'_>, &[u8])> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/validated/mod.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | fn item(bytes: &[u8]) -> ItemKind { [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] 87 | fn item(bytes: &[u8]) -> ItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/validated/mod.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn tagged_item(bytes: &[u8]) -> (Tags, ItemKind) { [INFO] [stdout] | ^^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 120 | pub fn tagged_item(bytes: &[u8]) -> (Tags<'_>, ItemKind<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/value/mod.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn as_number(&self) -> Option<&Number> { [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] 122 | pub fn as_number(&self) -> Option<&Number<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cbor-data-derive v0.8.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn try_number(&self) -> Result { [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] 228 | pub fn try_number(&self) -> Result, TypeError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn try_bytes(&self) -> Result, TypeError> { [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] 248 | pub fn try_bytes(&self) -> Result, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn try_str(&self) -> Result, TypeError> { [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] 258 | pub fn try_str(&self) -> Result, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn try_array(&self) -> Result>, TypeError> { [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] 268 | pub fn try_array(&self) -> Result>, TypeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn try_dict(&self) -> Result, Cow>, TypeError> { [INFO] [stdout] | ^^^^^ --------- --------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 278 | pub fn try_dict(&self) -> Result, Cow<'_, Cbor>>, TypeError> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builder/low_level.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy(&mut self) -> Bytes { [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] 9 | pub fn copy(&mut self) -> Bytes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builder/writers.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn non_tracking(&mut self, max_definite: Option) -> ArrayWriter { [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] 22 | fn non_tracking(&mut self, max_definite: Option) -> ArrayWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/canonical.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn canonical(bytes: &[u8], builder: W) -> Result<(&[u8], W::Output), InternalError> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 24 | fn canonical(bytes: &[u8], builder: W) -> Result<(&[u8], W::Output), InternalError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | fn frag_err(position: &[u8], is_string: bool) -> InternalError { [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] 30 | fn frag_err(position: &[u8], is_string: bool) -> InternalError<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | bytes: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Result<(Cow<[u8]>, &[u8]), InternalError> { [INFO] [stdout] | --------- ----- ------------- the lifetimes get resolved as `'_` [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] 43 | ) -> Result<(Cow<'_, [u8]>, &[u8]), InternalError<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/check.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn rec(bytes: &[u8], tag: Option) -> Result<(&Cbor, &[u8]), InternalError> { [INFO] [stdout] | ^^^^^ ----- ----- ------------- the lifetimes get resolved as `'_` [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] 86 | fn rec(bytes: &[u8], tag: Option) -> Result<(&Cbor, &[u8]), InternalError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/reader.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn tags(bytes: &[u8]) -> Option<(Tags, &[u8])> { [INFO] [stdout] | ^^^^^ ---- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 115 | pub(crate) fn tags(bytes: &[u8]) -> Option<(Tags<'_>, &[u8])> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/validated/mod.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | fn item(bytes: &[u8]) -> ItemKind { [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] 87 | fn item(bytes: &[u8]) -> ItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/validated/mod.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn tagged_item(bytes: &[u8]) -> (Tags, ItemKind) { [INFO] [stdout] | ^^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 120 | pub fn tagged_item(bytes: &[u8]) -> (Tags<'_>, ItemKind<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/value/mod.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn as_number(&self) -> Option<&Number> { [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] 122 | pub fn as_number(&self) -> Option<&Number<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.08s [INFO] running `Command { std: "docker" "inspect" "e2117fed1a9bcfb8b9633a4e027550a112067090f82b0a6facf26c278f80c437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2117fed1a9bcfb8b9633a4e027550a112067090f82b0a6facf26c278f80c437", kill_on_drop: false }` [INFO] [stdout] e2117fed1a9bcfb8b9633a4e027550a112067090f82b0a6facf26c278f80c437