[INFO] fetching crate ckb-gdb-remote-protocol 0.117.0... [INFO] testing ckb-gdb-remote-protocol-0.117.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ckb-gdb-remote-protocol 0.117.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ckb-gdb-remote-protocol 0.117.0 [INFO] finished tweaking crates.io crate ckb-gdb-remote-protocol 0.117.0 [INFO] tweaked toml for crates.io crate ckb-gdb-remote-protocol 0.117.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ckb-gdb-remote-protocol 0.117.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ckb-gdb-remote-protocol 0.117.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 strum v0.8.0 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded strum_macros v0.8.0 [INFO] [stderr] Downloaded environment v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded cargo-platform v0.1.4 [INFO] [stderr] Downloaded errno v0.3.3 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded pulldown-cmark v0.9.3 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded assert_cli v0.5.4 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] [stderr] Downloaded rustix v0.38.21 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b93aadb3ca225fe70f72736a088801afea6d3a2863dac9b443ac4c6742cfece5 [INFO] running `Command { std: "docker" "start" "-a" "b93aadb3ca225fe70f72736a088801afea6d3a2863dac9b443ac4c6742cfece5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b93aadb3ca225fe70f72736a088801afea6d3a2863dac9b443ac4c6742cfece5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93aadb3ca225fe70f72736a088801afea6d3a2863dac9b443ac4c6742cfece5", kill_on_drop: false }` [INFO] [stdout] b93aadb3ca225fe70f72736a088801afea6d3a2863dac9b443ac4c6742cfece5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a87b6f77dfcf0794981e234c9a87703b82c51ea1df8f0f5838edc057690d969 [INFO] running `Command { std: "docker" "start" "-a" "7a87b6f77dfcf0794981e234c9a87703b82c51ea1df8f0f5838edc057690d969", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ckb-gdb-remote-protocol v0.117.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 398 | / named!( [INFO] [stdout] 399 | | gdbfeature>, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 400 | | map!(map_res!(is_not_s!(";="), str::from_utf8), |s| { [INFO] [stdout] 401 | | match GDBFeature::from_str(s) { [INFO] [stdout] ... | [INFO] [stdout] 405 | | }) [INFO] [stdout] 406 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 399 - gdbfeature>, [INFO] [stdout] 399 + gdbfeature>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command<'_>> { [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/sigs.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Signal` [INFO] [stdout] ... [INFO] [stdout] 8 | pub enum Signal { [INFO] [stdout] | ------ `Signal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7a87b6f77dfcf0794981e234c9a87703b82c51ea1df8f0f5838edc057690d969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a87b6f77dfcf0794981e234c9a87703b82c51ea1df8f0f5838edc057690d969", kill_on_drop: false }` [INFO] [stdout] 7a87b6f77dfcf0794981e234c9a87703b82c51ea1df8f0f5838edc057690d969 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c33be939620c2adc06a9b306ed21f55597ef44592e11b4d68fa8d8810833db63 [INFO] running `Command { std: "docker" "start" "-a" "c33be939620c2adc06a9b306ed21f55597ef44592e11b4d68fa8d8810833db63", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling environment v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling ckb-gdb-remote-protocol v0.117.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 398 | / named!( [INFO] [stdout] 399 | | gdbfeature>, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 400 | | map!(map_res!(is_not_s!(";="), str::from_utf8), |s| { [INFO] [stdout] 401 | | match GDBFeature::from_str(s) { [INFO] [stdout] ... | [INFO] [stdout] 405 | | }) [INFO] [stdout] 406 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 399 - gdbfeature>, [INFO] [stdout] 399 + gdbfeature>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command<'_>> { [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/sigs.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Signal` [INFO] [stdout] ... [INFO] [stdout] 8 | pub enum Signal { [INFO] [stdout] | ------ `Signal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.4 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stdout] error[E0432]: unresolved import `gdb_remote_protocol` [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gdb_remote_protocol::{process_packets_from, Error, Handler, ProcessType, StopReason}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `gdb_remote_protocol` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 17 | use ckb_gdb_remote_protocol::{process_packets_from, Error, Handler, ProcessType, StopReason}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdb_remote_protocol` [INFO] [stdout] --> examples/noop-server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gdb_remote_protocol::{process_packets_from, Error, Handler, ProcessType, StopReason}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `gdb_remote_protocol` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use ckb_gdb_remote_protocol::{process_packets_from, Error, Handler, ProcessType, StopReason}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-gdb-remote-protocol` (example "noop-server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ckb-gdb-remote-protocol` (test "integration") due to 1 previous error [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 398 | / named!( [INFO] [stdout] 399 | | gdbfeature>, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 400 | | map!(map_res!(is_not_s!(";="), str::from_utf8), |s| { [INFO] [stdout] 401 | | match GDBFeature::from_str(s) { [INFO] [stdout] ... | [INFO] [stdout] 405 | | }) [INFO] [stdout] 406 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 399 - gdbfeature>, [INFO] [stdout] 399 + gdbfeature>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | fn parse_vfile_close(i: &[u8]) -> IResult<&[u8], Command<'_>> { [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/sigs.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Signal` [INFO] [stdout] ... [INFO] [stdout] 8 | pub enum Signal { [INFO] [stdout] | ------ `Signal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c33be939620c2adc06a9b306ed21f55597ef44592e11b4d68fa8d8810833db63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33be939620c2adc06a9b306ed21f55597ef44592e11b4d68fa8d8810833db63", kill_on_drop: false }` [INFO] [stdout] c33be939620c2adc06a9b306ed21f55597ef44592e11b4d68fa8d8810833db63