[INFO] fetching crate ckb-gdb-remote-protocol 0.117.0... [INFO] checking ckb-gdb-remote-protocol-0.117.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ckb-gdb-remote-protocol 0.117.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ckb-gdb-remote-protocol 0.117.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e079af5dd6d2a691cf1072367e2414eb95e93718908f5fceff0fe1c4e3d0dd0 [INFO] running `Command { std: "docker" "start" "-a" "2e079af5dd6d2a691cf1072367e2414eb95e93718908f5fceff0fe1c4e3d0dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e079af5dd6d2a691cf1072367e2414eb95e93718908f5fceff0fe1c4e3d0dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e079af5dd6d2a691cf1072367e2414eb95e93718908f5fceff0fe1c4e3d0dd0", kill_on_drop: false }` [INFO] [stdout] 2e079af5dd6d2a691cf1072367e2414eb95e93718908f5fceff0fe1c4e3d0dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c76e2d4b170ce0c831d8b0d329a4aedcc922245a822b5649564fe4f4b542a363 [INFO] running `Command { std: "docker" "start" "-a" "c76e2d4b170ce0c831d8b0d329a4aedcc922245a822b5649564fe4f4b542a363", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking memchr v2.6.3 [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 camino v1.1.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking strum v0.8.0 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking which v1.0.5 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking ckb-gdb-remote-protocol v0.117.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] 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] [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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "c76e2d4b170ce0c831d8b0d329a4aedcc922245a822b5649564fe4f4b542a363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76e2d4b170ce0c831d8b0d329a4aedcc922245a822b5649564fe4f4b542a363", kill_on_drop: false }` [INFO] [stdout] c76e2d4b170ce0c831d8b0d329a4aedcc922245a822b5649564fe4f4b542a363