[INFO] fetching crate ckb-gdb-remote-protocol 0.117.0... [INFO] checking ckb-gdb-remote-protocol-0.117.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cli v0.5.4 [INFO] [stderr] Downloaded bytecount v0.6.7 [INFO] [stderr] Downloaded cargo-platform v0.1.4 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded environment v0.1.1 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded difference v1.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1028f2015c574fe5f5f441fcf312147244d936665334b2b410ca0e621036623 [INFO] running `Command { std: "docker" "start" "-a" "f1028f2015c574fe5f5f441fcf312147244d936665334b2b410ca0e621036623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1028f2015c574fe5f5f441fcf312147244d936665334b2b410ca0e621036623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1028f2015c574fe5f5f441fcf312147244d936665334b2b410ca0e621036623", kill_on_drop: false }` [INFO] [stdout] f1028f2015c574fe5f5f441fcf312147244d936665334b2b410ca0e621036623 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de81e97503e31090e5fb4c9d1a3a4ae9952021552084ce55aa257ea02b79c76 [INFO] running `Command { std: "docker" "start" "-a" "1de81e97503e31090e5fb4c9d1a3a4ae9952021552084ce55aa257ea02b79c76", 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 camino v1.1.6 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking strum v0.8.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking which v1.0.5 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking ckb-gdb-remote-protocol v0.117.0 (/opt/rustwide/workdir) [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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] [stderr] error: could not compile `ckb-gdb-remote-protocol` (example "noop-server") due to 1 previous error [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `ckb-gdb-remote-protocol` (test "integration") due to 1 previous error [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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" "1de81e97503e31090e5fb4c9d1a3a4ae9952021552084ce55aa257ea02b79c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de81e97503e31090e5fb4c9d1a3a4ae9952021552084ce55aa257ea02b79c76", kill_on_drop: false }` [INFO] [stdout] 1de81e97503e31090e5fb4c9d1a3a4ae9952021552084ce55aa257ea02b79c76