[INFO] fetching crate tokio-stomp 0.4.0... [INFO] testing tokio-stomp-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate tokio-stomp 0.4.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-stomp 0.4.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded futures-io v0.3.29 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded custom_debug_derive v0.5.1 [INFO] [stderr] Downloaded socket2 v0.5.5 [INFO] [stderr] Downloaded futures-executor v0.3.29 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded futures v0.3.29 [INFO] [stderr] Downloaded bytes v1.5.0 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded mio v0.8.10 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded syn v2.0.40 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded yansi v0.5.1 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded futures-macro v0.3.29 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded tokio v1.35.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35db77f6bab9c9fef34ce6d6b7a68b0b4fdc1e1ddb95a23c255cf0663bfc1f7c [INFO] running `Command { std: "docker" "start" "-a" "35db77f6bab9c9fef34ce6d6b7a68b0b4fdc1e1ddb95a23c255cf0663bfc1f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35db77f6bab9c9fef34ce6d6b7a68b0b4fdc1e1ddb95a23c255cf0663bfc1f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35db77f6bab9c9fef34ce6d6b7a68b0b4fdc1e1ddb95a23c255cf0663bfc1f7c", kill_on_drop: false }` [INFO] [stdout] 35db77f6bab9c9fef34ce6d6b7a68b0b4fdc1e1ddb95a23c255cf0663bfc1f7c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd73c640fa0cc333bf0db93093e01f30e73f1e88a7b1e80259a43361d34b05e [INFO] running `Command { std: "docker" "start" "-a" "ebd73c640fa0cc333bf0db93093e01f30e73f1e88a7b1e80259a43361d34b05e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [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 memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nom v7.1.3 [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 25.49s [INFO] running `Command { std: "docker" "inspect" "ebd73c640fa0cc333bf0db93093e01f30e73f1e88a7b1e80259a43361d34b05e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd73c640fa0cc333bf0db93093e01f30e73f1e88a7b1e80259a43361d34b05e", kill_on_drop: false }` [INFO] [stdout] ebd73c640fa0cc333bf0db93093e01f30e73f1e88a7b1e80259a43361d34b05e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96d85d318701c74b8e54d414512f23ff89124d60d492a4ec7eddd5695e1ec665 [INFO] running `Command { std: "docker" "start" "-a" "96d85d318701c74b8e54d414512f23ff89124d60d492a4ec7eddd5695e1ec665", kill_on_drop: false }` [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [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 8.91s [INFO] running `Command { std: "docker" "inspect" "96d85d318701c74b8e54d414512f23ff89124d60d492a4ec7eddd5695e1ec665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d85d318701c74b8e54d414512f23ff89124d60d492a4ec7eddd5695e1ec665", kill_on_drop: false }` [INFO] [stdout] 96d85d318701c74b8e54d414512f23ff89124d60d492a4ec7eddd5695e1ec665 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 107041f61d972cfde794a578c5206c0e361cc4e878bdc65129cb3586e400ff39 [INFO] running `Command { std: "docker" "start" "-a" "107041f61d972cfde794a578c5206c0e361cc4e878bdc65129cb3586e400ff39", 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.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_stomp-f4a283f4e062e311) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test frame::tests::parse_and_serialize_message_header_value_with_colon ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message_body_like_header ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_connect ... ok [INFO] [stdout] test frame::tests::parse_a_incomplete_message ... ok [INFO] [stdout] test frame::tests::parse_and_serialize_message_with_body_start_with_newline ... ok [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] [stderr] Doc-tests tokio_stomp [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" "107041f61d972cfde794a578c5206c0e361cc4e878bdc65129cb3586e400ff39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107041f61d972cfde794a578c5206c0e361cc4e878bdc65129cb3586e400ff39", kill_on_drop: false }` [INFO] [stdout] 107041f61d972cfde794a578c5206c0e361cc4e878bdc65129cb3586e400ff39