[INFO] cloning repository https://github.com/daogangtang/learn-libp2p
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daogangtang/learn-libp2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogangtang%2Flearn-libp2p", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogangtang%2Flearn-libp2p'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5af80970091694cf447984cdcdcedf270a9d0702
[INFO] testing daogangtang/learn-libp2p against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogangtang%2Flearn-libp2p" "/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/daogangtang/learn-libp2p on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/daogangtang/learn-libp2p
[INFO] removed path dependency libp2p from git repo https://github.com/daogangtang/learn-libp2p
[INFO] finished tweaking git repo https://github.com/daogangtang/learn-libp2p
[INFO] tweaked toml for git repo https://github.com/daogangtang/learn-libp2p written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/daogangtang/learn-libp2p already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libp2p-core-derive v0.20.2
[INFO] [stderr]   Downloaded ed25519-dalek v1.0.1
[INFO] [stderr]   Downloaded quicksink v0.1.2
[INFO] [stderr]   Downloaded lru_time_cache v0.11.2
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.23.0
[INFO] [stderr]   Downloaded cuckoofilter v0.5.0
[INFO] [stderr]   Downloaded libp2p-identify v0.23.0
[INFO] [stderr]   Downloaded libp2p-request-response v0.4.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.23.0
[INFO] [stderr]   Downloaded libp2p-tcp v0.23.0
[INFO] [stderr]   Downloaded salsa20 v0.6.0
[INFO] [stderr]   Downloaded parity-multiaddr v0.9.3
[INFO] [stderr]   Downloaded libp2p-websocket v0.24.0
[INFO] [stderr]   Downloaded bs58 v0.3.1
[INFO] [stderr]   Downloaded futures_codec v0.4.1
[INFO] [stderr]   Downloaded async-tls v0.10.0
[INFO] [stderr]   Downloaded libp2p-floodsub v0.23.0
[INFO] [stderr]   Downloaded libp2p-noise v0.25.0
[INFO] [stderr]   Downloaded if-addrs-sys v0.3.1
[INFO] [stderr]   Downloaded blake2s_simd v0.5.10
[INFO] [stderr]   Downloaded pin-project-internal v1.0.1
[INFO] [stderr]   Downloaded rw-stream-sink v0.2.1
[INFO] [stderr]   Downloaded sha3 v0.9.1
[INFO] [stderr]   Downloaded libp2p-pnet v0.19.2
[INFO] [stderr]   Downloaded uint v0.8.5
[INFO] [stderr]   Downloaded block-padding v0.2.1
[INFO] [stderr]   Downloaded prost-derive v0.6.1
[INFO] [stderr]   Downloaded if-addrs v0.6.4
[INFO] [stderr]   Downloaded libp2p-plaintext v0.23.0
[INFO] [stderr]   Downloaded minicbor v0.6.0
[INFO] [stderr]   Downloaded soketto v0.4.2
[INFO] [stderr]   Downloaded pin-project v1.0.1
[INFO] [stderr]   Downloaded wasm-timer v0.2.5
[INFO] [stderr]   Downloaded multihash v0.11.4
[INFO] [stderr]   Downloaded blake2 v0.9.0
[INFO] [stderr]   Downloaded libp2p-deflate v0.23.0
[INFO] [stderr]   Downloaded libp2p-mdns v0.23.0
[INFO] [stderr]   Downloaded snow v0.7.2
[INFO] [stderr]   Downloaded libp2p-mplex v0.23.0
[INFO] [stderr]   Downloaded chacha20poly1305 v0.6.0
[INFO] [stderr]   Downloaded prost-build v0.6.1
[INFO] [stderr]   Downloaded libp2p-dns v0.23.0
[INFO] [stderr]   Downloaded libp2p-kad v0.24.0
[INFO] [stderr]   Downloaded multimap v0.8.2
[INFO] [stderr]   Downloaded prost-types v0.6.1
[INFO] [stderr]   Downloaded asn1_der_derive v0.1.2
[INFO] [stderr]   Downloaded libp2p-core v0.23.0
[INFO] [stderr]   Downloaded ed25519 v1.0.3
[INFO] [stderr]   Downloaded prost v0.6.1
[INFO] [stderr]   Downloaded multistream-select v0.8.3
[INFO] [stderr]   Downloaded libp2p-yamux v0.26.0
[INFO] [stderr]   Downloaded yamux v0.8.0
[INFO] [stderr]   Downloaded libp2p-uds v0.23.0
[INFO] [stderr]   Downloaded libp2p v0.29.0
[INFO] [stderr]   Downloaded libp2p-wasm-ext v0.23.0
[INFO] [stderr]   Downloaded x25519-dalek v1.1.0
[INFO] [stderr]   Downloaded chacha20 v0.5.0
[INFO] [stderr]   Downloaded stream-cipher v0.7.1
[INFO] [stderr]   Downloaded hex_fmt v0.3.0
[INFO] [stderr]   Downloaded tokio v0.3.0
[INFO] [stderr]   Downloaded libp2p-ping v0.23.0
[INFO] [stderr]   Downloaded minicbor-derive v0.5.0
[INFO] [stderr]   Downloaded zeroize_derive v1.0.1
[INFO] [stderr]   Downloaded unsigned-varint v0.5.1
[INFO] [stderr]   Downloaded asn1_der v0.6.3
[INFO] [stderr]   Downloaded curve25519-dalek v3.0.0
[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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed9b5737e9bdb9277cb3f699a24400d28ab32acb126a61a3b297a171e3d951d7
[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" "ed9b5737e9bdb9277cb3f699a24400d28ab32acb126a61a3b297a171e3d951d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed9b5737e9bdb9277cb3f699a24400d28ab32acb126a61a3b297a171e3d951d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed9b5737e9bdb9277cb3f699a24400d28ab32acb126a61a3b297a171e3d951d7", kill_on_drop: false }`
[INFO] [stdout] ed9b5737e9bdb9277cb3f699a24400d28ab32acb126a61a3b297a171e3d951d7
[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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 273a5a9d598b7f7c08ecae940e65c6af94ce80a1061d619ce319cc250ef8be79
[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" "273a5a9d598b7f7c08ecae940e65c6af94ce80a1061d619ce319cc250ef8be79", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (libp2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling multimap v0.8.2
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling signature v1.2.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling data-encoding v2.3.0
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.68
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling bumpalo v3.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.68
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling ipnet v2.3.0
[INFO] [stderr]    Compiling hex_fmt v0.3.0
[INFO] [stderr]    Compiling parity-send-wrapper v0.1.0
[INFO] [stderr]    Compiling lru_time_cache v0.11.2
[INFO] [stderr]    Compiling futures v0.1.30
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling humantime v2.0.1
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling atomic v0.5.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling ed25519 v1.0.3
[INFO] [stderr]    Compiling quicksink v0.1.2
[INFO] [stderr]    Compiling tokio v0.3.0
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling blake2s_simd v0.5.10
[INFO] [stderr]    Compiling blake2b_simd v0.5.10
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling if-addrs v0.6.4
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling futures-lite v1.11.1
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling polling v2.0.1
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling snow v0.7.2
[INFO] [stderr]    Compiling uint v0.8.5
[INFO] [stderr]    Compiling dns-parser v0.8.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling prost-build v0.6.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling lru v0.6.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling block-cipher v0.8.0
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling flate2 v1.0.18
[INFO] [stderr]    Compiling tokio-stdin-stdout v0.1.5
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling async-global-executor v1.4.0
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling stream-cipher v0.7.1
[INFO] [stderr]    Compiling aes-soft v0.5.0
[INFO] [stderr]    Compiling blake2 v0.9.0
[INFO] [stderr]    Compiling polyval v0.4.1
[INFO] [stderr]    Compiling poly1305 v0.6.1
[INFO] [stderr]    Compiling hmac-drbg v0.2.0
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling salsa20 v0.6.0
[INFO] [stderr]    Compiling aes v0.5.0
[INFO] [stderr]    Compiling ghash v0.3.0
[INFO] [stderr]    Compiling aes-gcm v0.7.0
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling cuckoofilter v0.5.0
[INFO] [stderr]    Compiling env_logger v0.8.1
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling webpki-roots v0.20.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.68
[INFO] [stderr]    Compiling async-tls v0.10.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.68
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling minicbor-derive v0.5.0
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling libp2p-core-derive v0.20.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.68
[INFO] [stderr]    Compiling asn1_der v0.6.3
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling curve25519-dalek v3.0.0
[INFO] [stderr]    Compiling chacha20 v0.5.0
[INFO] [stderr]    Compiling chacha20poly1305 v0.6.0
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling x25519-dalek v1.1.0
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling prost v0.6.1
[INFO] [stderr]    Compiling pin-project v1.0.1
[INFO] [stderr]    Compiling js-sys v0.3.45
[INFO] [stderr]    Compiling prost-types v0.6.1
[INFO] [stderr]    Compiling minicbor v0.6.0
[INFO] [stderr]    Compiling libp2p-core v0.23.0
[INFO] [stderr]    Compiling libp2p-kad v0.24.0
[INFO] [stderr]    Compiling libp2p-floodsub v0.23.0
[INFO] [stderr]    Compiling libp2p-identify v0.23.0
[INFO] [stderr]    Compiling libp2p-gossipsub v0.23.0
[INFO] [stderr]    Compiling libp2p-plaintext v0.23.0
[INFO] [stderr]    Compiling libp2p-noise v0.25.0
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.18
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling futures_codec v0.4.1
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling yamux v0.8.0
[INFO] [stderr]    Compiling soketto v0.4.2
[INFO] [stderr]    Compiling libp2p-pnet v0.19.2
[INFO] [stderr]    Compiling unsigned-varint v0.5.1
[INFO] [stderr]    Compiling multihash v0.11.4
[INFO] [stderr]    Compiling multistream-select v0.8.3
[INFO] [stderr]    Compiling parity-multiaddr v0.9.3
[INFO] [stderr]    Compiling libp2p-swarm v0.23.0
[INFO] [stderr]    Compiling libp2p-wasm-ext v0.23.0
[INFO] [stderr]    Compiling libp2p-mplex v0.23.0
[INFO] [stderr]    Compiling libp2p-dns v0.23.0
[INFO] [stderr]    Compiling libp2p-uds v0.23.0
[INFO] [stderr]    Compiling libp2p-websocket v0.24.0
[INFO] [stderr]    Compiling libp2p-tcp v0.23.0
[INFO] [stderr]    Compiling libp2p-yamux v0.26.0
[INFO] [stderr]    Compiling libp2p-deflate v0.23.0
[INFO] [stderr]    Compiling libp2p-mdns v0.23.0
[INFO] [stderr]    Compiling libp2p-ping v0.23.0
[INFO] [stderr]    Compiling libp2p-request-response v0.4.0
[INFO] [stderr]    Compiling libp2p v0.29.0
[INFO] [stderr]    Compiling learn-libp2p v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `libp2p::secio`, `libp2p::tokio_codec`
[INFO] [stdout]   --> src/ping_listen3.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     secio,
[INFO] [stdout]    |     ^^^^^ no `secio` in the root
[INFO] [stdout] ...
[INFO] [stdout] 13 |     tokio_codec::{FramedRead, LinesCodec}
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `tokio_codec` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener`
[INFO] [stdout]  --> src/ping_listen.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpStream`
[INFO] [stdout]  --> src/ping_listen.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libp2p::secio`, `libp2p::tokio_codec`
[INFO] [stdout]   --> src/chat.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     secio,
[INFO] [stdout]    |     ^^^^^ no `secio` in the root
[INFO] [stdout] 62 |     mplex,
[INFO] [stdout] 63 |     tokio_codec::{FramedRead, LinesCodec}
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `tokio_codec` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `runtime` in `tokio`
[INFO] [stdout]   --> src/ping_listen.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut runtime = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]    |                              ^^^^^^^ could not find `runtime` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Future`, `Stream`
[INFO] [stdout]  --> src/ping_listen.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::{Future, Stream};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OutboundUpgrade`
[INFO] [stdout]  --> src/ping_listen.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libp2p::core::upgrade::{InboundUpgrade, OutboundUpgrade};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stdout]   --> src/ping_listen.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Ping::<()>::default().upgrade_inbound(c.unwrap(), b"/ipfs/ping/1.0.0")
[INFO] [stdout]    |                    ^^ unexpected type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `CommonTransport` in `libp2p`
[INFO] [stdout]   --> src/ping_listen3.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let transport = libp2p::CommonTransport::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ could not find `CommonTransport` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `PingListen` in `ping`
[INFO] [stdout]   --> src/ping_listen3.rs:41:39
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let behaviour = libp2p::ping::PingListen::new();
[INFO] [stdout]    |                                       ^^^^^^^^^^ could not find `PingListen` in `ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-libp2p`
[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] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener`
[INFO] [stdout]  --> src/ping_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpStream`
[INFO] [stdout]  --> src/ping_client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `CommonTransport` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let transport = libp2p::CommonTransport::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ could not find `CommonTransport` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `TopicBuilder` in `floodsub`
[INFO] [stdout]   --> src/chat.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let floodsub_topic = libp2p::floodsub::TopicBuilder::new("chat").build();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ could not find `TopicBuilder` in `floodsub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:89:44
[INFO] [stdout]    |
[INFO] [stdout] 89 |     struct MyBehaviour<TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite> {
[INFO] [stdout]    |                                            ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:89:74
[INFO] [stdout]    |
[INFO] [stdout] 89 |     struct MyBehaviour<TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite> {
[INFO] [stdout]    |                                                                          ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `topology` in `core`
[INFO] [stdout]   --> src/ping_listen3.rs:43:64
[INFO] [stdout]    |
[INFO] [stdout] 43 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |                                                                ^^^^^^^^ could not find `topology` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen3.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 Async::Ready(Some(x)) => {
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen3.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen3.rs:72:38
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                                      ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen3.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |         Ok(Async::NotReady)
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stdout]   --> src/ping_listen3.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     tokio::run(futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |            ^^^ not found in `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::stream::futures_unordered::fmt::run;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NetworkBehaviour`, `mplex`, `yamux`
[INFO] [stdout]   --> src/ping_listen3.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  |     NetworkBehaviour, Transport,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     mplex,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     yamux,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 |     impl<TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite> MyBehaviour<TSubstream> {
[INFO] [stdout]    |                              ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |     impl<TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite> MyBehaviour<TSubstream> {
[INFO] [stdout]    |                                                            ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:98:35
[INFO] [stdout]    |
[INFO] [stdout] 98 |         where TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite
[INFO] [stdout]    |                                   ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio_io` in `libp2p`
[INFO] [stdout]   --> src/chat.rs:98:65
[INFO] [stdout]    |
[INFO] [stdout] 98 |         where TSubstream: libp2p::tokio_io::AsyncRead + libp2p::tokio_io::AsyncWrite
[INFO] [stdout]    |                                                                 ^^^^^^^^ could not find `tokio_io` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `swarm` in `core`
[INFO] [stdout]   --> src/chat.rs:97:112
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...floodsub::Floodsub<TSubstream> as libp2p::core::swarm::NetworkBehaviour<TTopology>>::OutEvent)
[INFO] [stdout]    |                                                    ^^^^^ could not find `swarm` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `topology` in `core`
[INFO] [stdout]    --> src/chat.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]     |                                                                ^^^^^^^^ could not find `topology` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `runtime` in `tokio`
[INFO] [stdout]   --> src/ping_client.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut runtime = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]    |                              ^^^^^^^ could not find `runtime` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Future`, `Stream`
[INFO] [stdout]  --> src/ping_client.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::{Future, Stream};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InboundUpgrade`
[INFO] [stdout]  --> src/ping_client.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libp2p::core::upgrade::{InboundUpgrade, OutboundUpgrade};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 Async::Ready(Some(line)) => swarm.floodsub.publish(&floodsub_topic, line.as_bytes()),
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/ping_listen3.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             upgrade::apply(out.stream, upgrade, cp).map_err(|e| e.into_io_error())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ ----------  -------  -- supplied 3 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 4 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 Async::Ready(None) => panic!("Stdin closed"),
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:143:17
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 Async::NotReady => break,
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:149:17
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 Async::Ready(Some(_)) => {
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:152:17
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]     |                                      ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]    --> src/chat.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 156 |         Ok(Async::NotReady)
[INFO] [stdout]     |            ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stdout]    --> src/chat.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     tokio::run(futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]     |            ^^^ not found in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 57  | use crate::stream::futures_unordered::fmt::run;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stdout]   --> src/ping_client.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |             Ping::<()>::default().upgrade_outbound(c, b"/ipfs/ping/1.0.0")
[INFO] [stdout]    |                    ^^ unexpected type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libp2p::secio`, `libp2p::tokio_codec`
[INFO] [stdout]   --> src/ping_client2.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     secio,
[INFO] [stdout]    |     ^^^^^ no `secio` in the root
[INFO] [stdout] 11 |     mplex,
[INFO] [stdout] 12 |     tokio_codec::{FramedRead, LinesCodec}
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `tokio_codec` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libp2p::secio`, `libp2p::tokio_codec`
[INFO] [stdout]   --> src/ping_listen2.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     secio,
[INFO] [stdout]    |     ^^^^^ no `secio` in the root
[INFO] [stdout] 11 |     mplex,
[INFO] [stdout] 12 |     tokio_codec::{FramedRead, LinesCodec}
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `tokio_codec` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `CommonTransport` in `libp2p`
[INFO] [stdout]   --> src/ping_client2.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let transport = libp2p::CommonTransport::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ could not find `CommonTransport` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `PeriodicPing` in `ping`
[INFO] [stdout]   --> src/ping_client2.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let behaviour = libp2p::ping::PeriodicPing::new();
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ could not find `PeriodicPing` in `ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `topology` in `core`
[INFO] [stdout]   --> src/ping_client2.rs:36:64
[INFO] [stdout]    |
[INFO] [stdout] 36 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |                                                                ^^^^^^^^ could not find `topology` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client2.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 Async::Ready(Some(x)) => {
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client2.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client2.rs:67:38
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                                      ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libp2p::secio`, `libp2p::tokio_codec`
[INFO] [stdout]   --> src/ping_client3.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     secio,
[INFO] [stdout]    |     ^^^^^ no `secio` in the root
[INFO] [stdout] ...
[INFO] [stdout] 13 |     tokio_codec::{FramedRead, LinesCodec}
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `tokio_codec` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client2.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         Ok(Async::NotReady)
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stdout]   --> src/ping_client2.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |     tokio::run(task);
[INFO] [stdout]    |            ^^^ not found in `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::stream::futures_unordered::fmt::run;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NetworkBehaviour`
[INFO] [stdout]  --> src/ping_client2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/ping_client2.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             upgrade::apply_outbound(out.stream, upgrade).map_err(|e| e.into_io_error())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ ----------  ------- supplied 2 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `CommonTransport` in `libp2p`
[INFO] [stdout]   --> src/ping_listen2.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let transport = libp2p::CommonTransport::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ could not find `CommonTransport` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `PingListen` in `ping`
[INFO] [stdout]   --> src/ping_listen2.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let behaviour = libp2p::ping::PingListen::new();
[INFO] [stdout]    |                                       ^^^^^^^^^^ could not find `PingListen` in `ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `topology` in `core`
[INFO] [stdout]   --> src/ping_listen2.rs:36:64
[INFO] [stdout]    |
[INFO] [stdout] 36 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |                                                                ^^^^^^^^ could not find `topology` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen2.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Async::Ready(Some(x)) => {
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen2.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen2.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                                      ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_listen2.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Ok(Async::NotReady)
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stdout]   --> src/ping_listen2.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     tokio::run(futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |            ^^^ not found in `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::stream::futures_unordered::fmt::run;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NetworkBehaviour`
[INFO] [stdout]  --> src/ping_listen2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/ping_listen2.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             upgrade::apply_outbound(out.stream, upgrade).map_err(|e| e.into_io_error())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ ----------  ------- supplied 2 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `CommonTransport` in `libp2p`
[INFO] [stdout]   --> src/ping_client3.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let transport = libp2p::CommonTransport::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ could not find `CommonTransport` in `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `PeriodicPing` in `ping`
[INFO] [stdout]   --> src/ping_client3.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let behaviour = libp2p::ping::PeriodicPing::new();
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ could not find `PeriodicPing` in `ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `topology` in `core`
[INFO] [stdout]   --> src/ping_client3.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |                                                                ^^^^^^^^ could not find `topology` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client3.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 Async::Ready(Some(x)) => {
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client3.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client3.rs:72:38
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 Async::Ready(None) | Async::NotReady => break,
[INFO] [stdout]    |                                      ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async`
[INFO] [stdout]   --> src/ping_client3.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |         Ok(Async::NotReady)
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stdout]   --> src/ping_client3.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     tokio::run(task);
[INFO] [stdout]    |            ^^^ not found in `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::stream::futures_unordered::fmt::run;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NetworkBehaviour`, `mplex`, `yamux`
[INFO] [stdout]   --> src/ping_client3.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  |     NetworkBehaviour, Transport,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     mplex,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     yamux,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/ping_client3.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             upgrade::apply(out.stream, upgrade, cp).map_err(|e| e.into_io_error())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ ----------  -------  -- supplied 3 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 4 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_io_error` found for enum `UpgradeError<_>` in the current scope
[INFO] [stdout]   --> src/ping_client2.rs:29:72
[INFO] [stdout]    |
[INFO] [stdout] 29 |             upgrade::apply_outbound(out.stream, upgrade).map_err(|e| e.into_io_error())
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^ method not found in `UpgradeError<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_io_error` found for enum `UpgradeError<_>` in the current scope
[INFO] [stdout]   --> src/ping_listen3.rs:36:67
[INFO] [stdout]    |
[INFO] [stdout] 36 |             upgrade::apply(out.stream, upgrade, cp).map_err(|e| e.into_io_error())
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^ method not found in `UpgradeError<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/ping_listen3.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ ---------  ---------  -----------------------------------------------  ------------- supplied 4 arguments
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/ping_client2.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ ---------  ---------  -----------------------------------------------  ------------- supplied 4 arguments
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/ping_client2.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let task = futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ takes 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let task = futures::future::poll_fn(move |_| {
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/ping_listen3.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |     tokio::run(futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ takes 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 65 |     tokio::run(futures::future::poll_fn(move |_| {
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `ExpandedSwarm<_, _, _, _, _>` in the current scope
[INFO] [stdout]   --> src/ping_client2.rs:63:25
[INFO] [stdout]    |
[INFO] [stdout] 63 |             match swarm.poll().expect("Error while polling swarm") {
[INFO] [stdout]    |                         ^^^^ method not found in `ExpandedSwarm<_, _, _, _, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `swarm` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_io_error` found for enum `UpgradeError<_>` in the current scope
[INFO] [stdout]   --> src/ping_client3.rs:34:67
[INFO] [stdout]    |
[INFO] [stdout] 34 |             upgrade::apply(out.stream, upgrade, cp).map_err(|e| e.into_io_error())
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^ method not found in `UpgradeError<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/ping_client3.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ ---------  ---------  -----------------------------------------------  ------------- supplied 4 arguments
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `ExpandedSwarm<_, _, _, _, _>` in the current scope
[INFO] [stdout]   --> src/ping_listen3.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |             match swarm.poll().expect("Error while polling swarm") {
[INFO] [stdout]    |                         ^^^^ method not found in `ExpandedSwarm<_, _, _, _, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `swarm` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]  --> src/ping_client2.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]  --> src/ping_listen3.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/ping_client3.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let task = futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ takes 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let task = futures::future::poll_fn(move |_| {
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `ExpandedSwarm<_, _, _, _, _>` in the current scope
[INFO] [stdout]   --> src/ping_client3.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |             match swarm.poll().expect("Error while polling swarm") {
[INFO] [stdout]    |                         ^^^^ method not found in `ExpandedSwarm<_, _, _, _, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `swarm` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]  --> src/ping_client3.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_io_error` found for enum `UpgradeError<_>` in the current scope
[INFO] [stdout]   --> src/ping_listen2.rs:29:72
[INFO] [stdout]    |
[INFO] [stdout] 29 |             upgrade::apply_outbound(out.stream, upgrade).map_err(|e| e.into_io_error())
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^ method not found in `UpgradeError<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/ping_listen2.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         libp2p::Swarm::new(transport, behaviour, libp2p::core::topology::MemoryTopology::empty(), local_pub_key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ ---------  ---------  -----------------------------------------------  ------------- supplied 4 arguments
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/ping_listen2.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     tokio::run(futures::future::poll_fn(move || -> Result<_, ()> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ takes 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 58 |     tokio::run(futures::future::poll_fn(move |_| {
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `ExpandedSwarm<_, _, _, _, _>` in the current scope
[INFO] [stdout]   --> src/ping_listen2.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |             match swarm.poll().expect("Error while polling swarm") {
[INFO] [stdout]    |                         ^^^^ method not found in `ExpandedSwarm<_, _, _, _, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `swarm` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]  --> src/ping_listen2.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NetworkBehaviour, Transport,
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "273a5a9d598b7f7c08ecae940e65c6af94ce80a1061d619ce319cc250ef8be79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "273a5a9d598b7f7c08ecae940e65c6af94ce80a1061d619ce319cc250ef8be79", kill_on_drop: false }`
[INFO] [stdout] 273a5a9d598b7f7c08ecae940e65c6af94ce80a1061d619ce319cc250ef8be79
