[INFO] cloning repository https://github.com/pawanjay176/libp2p_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pawanjay176/libp2p_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanjay176%2Flibp2p_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanjay176%2Flibp2p_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1033440c2317a5783b119dd7a0a254b71db481a1 [INFO] checking pawanjay176/libp2p_test against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanjay176%2Flibp2p_test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pawanjay176/libp2p_test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pawanjay176/libp2p_test [INFO] finished tweaking git repo https://github.com/pawanjay176/libp2p_test [INFO] tweaked toml for git repo https://github.com/pawanjay176/libp2p_test written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/pawanjay176/libp2p_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c78b60c3457dc0a9b94228420b4450688db710de6d5bfee9404c715773657a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c78b60c3457dc0a9b94228420b4450688db710de6d5bfee9404c715773657a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c78b60c3457dc0a9b94228420b4450688db710de6d5bfee9404c715773657a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c78b60c3457dc0a9b94228420b4450688db710de6d5bfee9404c715773657a4", kill_on_drop: false }` [INFO] [stdout] 8c78b60c3457dc0a9b94228420b4450688db710de6d5bfee9404c715773657a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 231ad55dcfbb1790592364b3dd7c71446b3d0dfb0ad1e02825254335e904afda [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "231ad55dcfbb1790592364b3dd7c71446b3d0dfb0ad1e02825254335e904afda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking data-encoding v2.3.1 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking if-addrs v0.6.5 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking lru v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking uint v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking slog-async v2.5.0 [INFO] [stderr] Checking stream-cipher v0.7.1 [INFO] [stderr] Checking aes-soft v0.5.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking poly1305 v0.6.1 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking aes v0.5.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking aes-gcm v0.7.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Compiling eth2_ssz_derive v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling minicbor-derive v0.5.0 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking minicbor v0.6.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-io-timeout v0.4.0 [INFO] [stderr] Checking unsigned-varint v0.3.3 (https://github.com/sigp/unsigned-varint?branch=latest-codecs#76fc4234) [INFO] [stderr] Compiling libp2p-core v0.23.1 [INFO] [stderr] Compiling libp2p-identify v0.23.0 [INFO] [stderr] Compiling libp2p-noise v0.25.0 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking futures_codec v0.4.1 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking multistream-select v0.8.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking parity-multiaddr v0.9.3 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking ethbloom v0.6.4 [INFO] [stderr] Checking ethereum-types v0.5.2 [INFO] [stderr] Checking eth2_ssz v0.1.2 [INFO] [stderr] Checking libp2p-swarm v0.23.0 [INFO] [stderr] Checking libp2p-mplex v0.23.1 [INFO] [stderr] Checking libp2p-tcp v0.23.0 [INFO] [stderr] Checking libp2p v0.29.1 [INFO] [stderr] Checking libp2p_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::rpc::methods::StatusMessage` [INFO] [stdout] --> src/rpc/codec/base.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::rpc::methods::StatusMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusMessage` in `rpc::methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `types` [INFO] [stdout] --> src/rpc/codec/base.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use types::{Epoch, Hash256, Slot}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> src/rpc/codec/base.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | type Spec = types::MainnetEthSpec; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/rpc/codec/base.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | ... let message = hex::decode("ff060000734e615070590032000006e71e7b54989925efd6c9cbcb8ceb9b5f71216f5137282bf6a1e3b50f64e42d6c7fb347abe0... [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Status` found for enum `protocol::Protocol` in the current scope [INFO] [stdout] --> src/rpc/codec/base.rs:176:39 [INFO] [stdout] | [INFO] [stdout] 176 | ProtocolId::new(Protocol::Status, Version::V1, Encoding::SSZSnappy); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `protocol::Protocol` [INFO] [stdout] | [INFO] [stdout] ::: src/rpc/protocol.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Protocol { [INFO] [stdout] | ----------------- variant or associated item `Status` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/rpc/codec/base.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | SSZSnappyOutboundCodec::::new(snappy_protocol_id, 1_048_576); [INFO] [stdout] | ^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Status` found for enum `protocol::Protocol` in the current scope [INFO] [stdout] --> src/rpc/codec/base.rs:240:39 [INFO] [stdout] | [INFO] [stdout] 240 | ProtocolId::new(Protocol::Status, Version::V1, Encoding::SSZSnappy); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `protocol::Protocol` [INFO] [stdout] | [INFO] [stdout] ::: src/rpc/protocol.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Protocol { [INFO] [stdout] | ----------------- variant or associated item `Status` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/rpc/codec/base.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | SSZSnappyOutboundCodec::::new(snappy_protocol_id, 1_048_576); [INFO] [stdout] | ^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ssz::Encode` [INFO] [stdout] --> src/rpc/codec/base.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use ssz::Encode; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p_test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "231ad55dcfbb1790592364b3dd7c71446b3d0dfb0ad1e02825254335e904afda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231ad55dcfbb1790592364b3dd7c71446b3d0dfb0ad1e02825254335e904afda", kill_on_drop: false }` [INFO] [stdout] 231ad55dcfbb1790592364b3dd7c71446b3d0dfb0ad1e02825254335e904afda