[INFO] fetching crate tokio-stomp 0.4.0... [INFO] testing tokio-stomp-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tokio-stomp 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tokio-stomp 0.4.0 [INFO] finished tweaking crates.io crate tokio-stomp 0.4.0 [INFO] tweaked toml for crates.io crate tokio-stomp 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-stomp 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-stomp 0.4.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded syn v2.0.40 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded custom_debug_derive v0.5.1 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb748a85f6b344f878ceec2623de276c2ebcb898801b43393d9ed4e469fb9765 [INFO] running `Command { std: "docker" "start" "-a" "cb748a85f6b344f878ceec2623de276c2ebcb898801b43393d9ed4e469fb9765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb748a85f6b344f878ceec2623de276c2ebcb898801b43393d9ed4e469fb9765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb748a85f6b344f878ceec2623de276c2ebcb898801b43393d9ed4e469fb9765", kill_on_drop: false }` [INFO] [stdout] cb748a85f6b344f878ceec2623de276c2ebcb898801b43393d9ed4e469fb9765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e0d49fc9b1e18be870e56357ed9006d7cab591d42533ae3895ebd7c99f46763 [INFO] running `Command { std: "docker" "start" "-a" "9e0d49fc9b1e18be870e56357ed9006d7cab591d42533ae3895ebd7c99f46763", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tokio-stomp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(CustomDebug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FromServer` [INFO] [stdout] 31 | pub enum FromServer { [INFO] [stdout] | ---------- `FromServer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<[u8]>)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<'_, [u8]>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.62s [INFO] running `Command { std: "docker" "inspect" "9e0d49fc9b1e18be870e56357ed9006d7cab591d42533ae3895ebd7c99f46763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0d49fc9b1e18be870e56357ed9006d7cab591d42533ae3895ebd7c99f46763", kill_on_drop: false }` [INFO] [stdout] 9e0d49fc9b1e18be870e56357ed9006d7cab591d42533ae3895ebd7c99f46763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9c19e0e6e8467831ccfe267362f5262e5fd27ea7d1deec60e3233b9988e7c2 [INFO] running `Command { std: "docker" "start" "-a" "1f9c19e0e6e8467831ccfe267362f5262e5fd27ea7d1deec60e3233b9988e7c2", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stomp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(CustomDebug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FromServer` [INFO] [stdout] 31 | pub enum FromServer { [INFO] [stdout] | ---------- `FromServer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<[u8]>)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<'_, [u8]>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(CustomDebug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FromServer` [INFO] [stdout] 31 | pub enum FromServer { [INFO] [stdout] | ---------- `FromServer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<[u8]>)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<'_, [u8]>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.77s [INFO] running `Command { std: "docker" "inspect" "1f9c19e0e6e8467831ccfe267362f5262e5fd27ea7d1deec60e3233b9988e7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9c19e0e6e8467831ccfe267362f5262e5fd27ea7d1deec60e3233b9988e7c2", kill_on_drop: false }` [INFO] [stdout] 1f9c19e0e6e8467831ccfe267362f5262e5fd27ea7d1deec60e3233b9988e7c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a00c7278215146973da2725f2a772a70c85f5e44b373c6c7136f8f0e2e952241 [INFO] running `Command { std: "docker" "start" "-a" "a00c7278215146973da2725f2a772a70c85f5e44b373c6c7136f8f0e2e952241", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(CustomDebug, Clone)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FromServer` [INFO] [stderr] 31 | pub enum FromServer { [INFO] [stderr] | ---------- `FromServer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/frame.rs:119:34 [INFO] [stderr] | [INFO] [stderr] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 119 | pub(crate) fn parse_frame(input: &[u8]) -> IResult<&[u8], Frame<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/frame.rs:148:24 [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<[u8]>)> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_header(input: &[u8]) -> IResult<&[u8], (&[u8], Cow<'_, [u8]>)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tokio-stomp` (lib) generated 3 warnings (run `cargo fix --lib -p tokio-stomp` to apply 2 suggestions) [INFO] [stderr] warning: `tokio-stomp` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_stomp-5d86c4b5bed55bf3) [INFO] [stdout] running 6 tests [INFO] [stdout] test frame::tests::parse_a_incomplete_message ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message_body_like_header ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message_with_body_start_with_newline ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_connect ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message_header_value_with_colon ... ok [INFO] [stderr] Doc-tests tokio_stomp [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a00c7278215146973da2725f2a772a70c85f5e44b373c6c7136f8f0e2e952241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00c7278215146973da2725f2a772a70c85f5e44b373c6c7136f8f0e2e952241", kill_on_drop: false }` [INFO] [stdout] a00c7278215146973da2725f2a772a70c85f5e44b373c6c7136f8f0e2e952241