[INFO] fetching crate tokio-stomp-2 0.3.0... [INFO] testing tokio-stomp-2-0.3.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tokio-stomp-2 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tokio-stomp-2 0.3.0 [INFO] finished tweaking crates.io crate tokio-stomp-2 0.3.0 [INFO] tweaked toml for crates.io crate tokio-stomp-2 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-stomp-2 0.3.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-2 0.3.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 tracing-core v0.1.31 [INFO] [stderr] Downloaded proc-macro2 v1.0.63 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded syn v2.0.22 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded anyhow v1.0.71 [INFO] [stderr] Downloaded tokio-util v0.7.8 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded tokio v1.28.2 [INFO] [stderr] Downloaded futures v0.3.28 [INFO] [stderr] Downloaded custom_debug_derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 36c3256927bcecaed0e170e4667b6253f69e0e00f9caa349bc187bec7264528a [INFO] running `Command { std: "docker" "start" "-a" "36c3256927bcecaed0e170e4667b6253f69e0e00f9caa349bc187bec7264528a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36c3256927bcecaed0e170e4667b6253f69e0e00f9caa349bc187bec7264528a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c3256927bcecaed0e170e4667b6253f69e0e00f9caa349bc187bec7264528a", kill_on_drop: false }` [INFO] [stdout] 36c3256927bcecaed0e170e4667b6253f69e0e00f9caa349bc187bec7264528a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2f7b869c33d0ada80f415ee8d28c98d7b486335d01063911d5ea4db7e5653403 [INFO] running `Command { std: "docker" "start" "-a" "2f7b869c33d0ada80f415ee8d28c98d7b486335d01063911d5ea4db7e5653403", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling custom_debug_derive v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-stomp-2 v0.3.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:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[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] 34 | 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/lib.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | pub(crate) fn to_frame(&self) -> Frame { [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] 372 | pub(crate) fn to_frame(&self) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2f7b869c33d0ada80f415ee8d28c98d7b486335d01063911d5ea4db7e5653403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7b869c33d0ada80f415ee8d28c98d7b486335d01063911d5ea4db7e5653403", kill_on_drop: false }` [INFO] [stdout] 2f7b869c33d0ada80f415ee8d28c98d7b486335d01063911d5ea4db7e5653403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f88f40a1daddec3be45ed3bff10c49b872f0f559bda3882e7112def44c42a59b [INFO] running `Command { std: "docker" "start" "-a" "f88f40a1daddec3be45ed3bff10c49b872f0f559bda3882e7112def44c42a59b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-stomp-2 v0.3.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:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[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] 34 | 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/lib.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | pub(crate) fn to_frame(&self) -> Frame { [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] 372 | pub(crate) fn to_frame(&self) -> Frame<'_> { [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:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[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] 34 | 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/lib.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | fn to_frame(&self) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | pub(crate) fn to_frame(&self) -> Frame { [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] 372 | pub(crate) fn to_frame(&self) -> Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f88f40a1daddec3be45ed3bff10c49b872f0f559bda3882e7112def44c42a59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88f40a1daddec3be45ed3bff10c49b872f0f559bda3882e7112def44c42a59b", kill_on_drop: false }` [INFO] [stdout] f88f40a1daddec3be45ed3bff10c49b872f0f559bda3882e7112def44c42a59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a4c21f8284e0406efb5074a8029347a3bb983397f7fd1dcfa85ce11b050b309b [INFO] running `Command { std: "docker" "start" "-a" "a4c21f8284e0406efb5074a8029347a3bb983397f7fd1dcfa85ce11b050b309b", 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:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | #[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] 34 | 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/lib.rs:132:17 [INFO] [stderr] | [INFO] [stderr] 132 | fn to_frame(&self) -> Frame { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 132 | fn to_frame(&self) -> Frame<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/frame.rs:372:28 [INFO] [stderr] | [INFO] [stderr] 372 | pub(crate) fn to_frame(&self) -> Frame { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 372 | pub(crate) fn to_frame(&self) -> Frame<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tokio-stomp-2` (lib) generated 3 warnings (run `cargo fix --lib -p tokio-stomp-2` to apply 2 suggestions) [INFO] [stderr] warning: `tokio-stomp-2` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_stomp_2-0ec13577935c4cdf) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test frame::tests::parse_and_serialize_client_disconnect ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_client_send_message_minimum ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_client_send_message_recommended ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_client_connect_without_heartbeat ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_client_connect_with_heartbeat ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_stomp_2 [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" "a4c21f8284e0406efb5074a8029347a3bb983397f7fd1dcfa85ce11b050b309b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c21f8284e0406efb5074a8029347a3bb983397f7fd1dcfa85ce11b050b309b", kill_on_drop: false }` [INFO] [stdout] a4c21f8284e0406efb5074a8029347a3bb983397f7fd1dcfa85ce11b050b309b