[INFO] fetching crate ckb-gdb-remote-protocol 0.117.0... [INFO] checking ckb-gdb-remote-protocol-0.117.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate ckb-gdb-remote-protocol 0.117.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ckb-gdb-remote-protocol 0.117.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.8.0 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded strum v0.8.0 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded environment v0.1.1 [INFO] [stderr] Downloaded fastrand v2.0.0 [INFO] [stderr] Downloaded cargo-platform v0.1.4 [INFO] [stderr] Downloaded bytecount v0.6.7 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded serde_derive v1.0.188 [INFO] [stderr] Downloaded serde v1.0.188 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] [stderr] Downloaded pulldown-cmark v0.9.3 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded serde_json v1.0.107 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded walkdir v2.4.0 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded rustix v0.38.21 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded errno v0.3.3 [INFO] [stderr] Downloaded skeptic v0.13.7 [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 libc v0.2.148 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b6b6e6b2118fb33952d61a56fcfc476ee17660815b923ca6eba695d70987d1 [INFO] running `Command { std: "docker" "start" "-a" "d2b6b6e6b2118fb33952d61a56fcfc476ee17660815b923ca6eba695d70987d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b6b6e6b2118fb33952d61a56fcfc476ee17660815b923ca6eba695d70987d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b6b6e6b2118fb33952d61a56fcfc476ee17660815b923ca6eba695d70987d1", kill_on_drop: false }` [INFO] [stdout] d2b6b6e6b2118fb33952d61a56fcfc476ee17660815b923ca6eba695d70987d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 680717787d16d241793524bcd6d8b448da1398652e4ce2d4af74b0a8a16f6e9e [INFO] running `Command { std: "docker" "start" "-a" "680717787d16d241793524bcd6d8b448da1398652e4ce2d4af74b0a8a16f6e9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking strum v0.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking which v1.0.5 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking ckb-gdb-remote-protocol v0.117.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.188 [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 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] --> 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] 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] 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" "680717787d16d241793524bcd6d8b448da1398652e4ce2d4af74b0a8a16f6e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680717787d16d241793524bcd6d8b448da1398652e4ce2d4af74b0a8a16f6e9e", kill_on_drop: false }` [INFO] [stdout] 680717787d16d241793524bcd6d8b448da1398652e4ce2d4af74b0a8a16f6e9e