[INFO] updating cached repository https://github.com/zhaxzhax/p2p-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39d55193ae48e12bb2e8aa0983f319264379765e [INFO] testing zhaxzhax/p2p-net against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaxzhax%2Fp2p-net" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaxzhax/p2p-net on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhaxzhax/p2p-net [INFO] removed path dependency libp2p from git repo https://github.com/zhaxzhax/p2p-net [INFO] finished tweaking git repo https://github.com/zhaxzhax/p2p-net [INFO] tweaked toml for git repo https://github.com/zhaxzhax/p2p-net written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/zhaxzhax/p2p-net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+1.45.2" "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" "+1.45.2" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74fc68f6d004d702effe6cc3017d34c24360dcdf8e7b78bfd20662a4cec0dd5 [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" "e74fc68f6d004d702effe6cc3017d34c24360dcdf8e7b78bfd20662a4cec0dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74fc68f6d004d702effe6cc3017d34c24360dcdf8e7b78bfd20662a4cec0dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74fc68f6d004d702effe6cc3017d34c24360dcdf8e7b78bfd20662a4cec0dd5", kill_on_drop: false }` [INFO] [stdout] e74fc68f6d004d702effe6cc3017d34c24360dcdf8e7b78bfd20662a4cec0dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 770b71f30ada928f7271cfc372d115e6267a3921407cb4a2ffb8fa41a478711e [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" "770b71f30ada928f7271cfc372d115e6267a3921407cb4a2ffb8fa41a478711e", 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] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling data-encoding v2.3.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling atomic v0.4.6 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling ed25519 v1.0.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling futures-timer v1.0.3 [INFO] [stderr] Compiling async-macros v1.0.0 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling snow v0.7.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling stream-cipher v0.4.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cuckoofilter v0.3.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling salsa20-core v0.2.3 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling poly1305 v0.6.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling blake2 v0.9.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling uint v0.8.4 [INFO] [stderr] Compiling salsa20 v0.3.0 [INFO] [stderr] Compiling twofish v0.2.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling async-std v0.99.12 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling websocket-codec v0.3.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling chacha20 v0.4.3 [INFO] [stderr] Compiling chacha20poly1305 v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling libp2p-noise v0.22.0 [INFO] [stderr] Compiling libp2p-kad v0.21.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.20.0 [INFO] [stderr] Compiling libp2p-secio v0.20.0 [INFO] [stderr] Compiling libp2p-floodsub v0.20.0 [INFO] [stderr] Compiling libp2p-plaintext v0.20.0 [INFO] [stderr] Compiling libp2p-identify v0.20.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling futures_codec v0.4.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling yamux v0.4.7 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling libp2p-pnet v0.19.1 [INFO] [stderr] Compiling websocket-lite v0.3.5 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-yamux v0.20.0 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-mplex v0.20.0 [INFO] [stderr] Compiling libp2p-deflate v0.20.0 [INFO] [stderr] Compiling libp2p-uds v0.20.0 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling async-tungstenite v0.8.0 [INFO] [stderr] Compiling libp2p-request-response v0.1.1 [INFO] [stderr] Compiling libp2p-mdns v0.20.0 [INFO] [stderr] Compiling libp2p-ping v0.20.0 [INFO] [stderr] Compiling libp2p v0.23.0 [INFO] [stderr] Compiling p2p-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::{io, task}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `Env` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::gossipsub::protocol::MessageId` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GossipsubMessage` [INFO] [stdout] --> src/lib.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/lib.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> src/lib.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | libp2p::Swarm::dial_addr(&mut swarm, addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "770b71f30ada928f7271cfc372d115e6267a3921407cb4a2ffb8fa41a478711e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770b71f30ada928f7271cfc372d115e6267a3921407cb4a2ffb8fa41a478711e", kill_on_drop: false }` [INFO] [stdout] 770b71f30ada928f7271cfc372d115e6267a3921407cb4a2ffb8fa41a478711e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2fce9b04e6aad21cc44404b308c85d2b5235b9972d68863f77081969a189770 [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" "c2fce9b04e6aad21cc44404b308c85d2b5235b9972d68863f77081969a189770", 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] Compiling p2p-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::{io, task}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `Env` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::gossipsub::protocol::MessageId` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GossipsubMessage` [INFO] [stdout] --> src/lib.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/lib.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> src/lib.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | libp2p::Swarm::dial_addr(&mut swarm, addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::{io, task}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `Env` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::gossipsub::protocol::MessageId` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GossipsubMessage` [INFO] [stdout] --> src/lib.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/lib.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> src/lib.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | libp2p::Swarm::dial_addr(&mut swarm, addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "c2fce9b04e6aad21cc44404b308c85d2b5235b9972d68863f77081969a189770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2fce9b04e6aad21cc44404b308c85d2b5235b9972d68863f77081969a189770", kill_on_drop: false }` [INFO] [stdout] c2fce9b04e6aad21cc44404b308c85d2b5235b9972d68863f77081969a189770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ed5e134e4a4a6b456c169b90f4b17598ce3adac01eabcf24bf34890d5d92045a [INFO] running `Command { std: "docker" "start" "-a" "ed5e134e4a4a6b456c169b90f4b17598ce3adac01eabcf24bf34890d5d92045a", 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] warning: unused import: `io` [INFO] [stderr] --> src/lib.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use async_std::{io, task}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Env` [INFO] [stderr] --> src/lib.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use env_logger::{Builder, Env}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::gossipsub::protocol::MessageId` [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GossipsubMessage` [INFO] [stderr] --> src/lib.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::collections::hash_map::DefaultHasher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Hash`, `Hasher` [INFO] [stderr] --> src/lib.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use std::hash::{Hash, Hasher}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `peer_id` [INFO] [stderr] --> src/lib.rs:68:45 [INFO] [stderr] | [INFO] [stderr] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/lib.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | libp2p::Swarm::dial_addr(&mut swarm, addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `io` [INFO] [stderr] --> src/lib.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use async_std::{io, task}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Env` [INFO] [stderr] --> src/lib.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use env_logger::{Builder, Env}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::gossipsub::protocol::MessageId` [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GossipsubMessage` [INFO] [stderr] --> src/lib.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::collections::hash_map::DefaultHasher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Hash`, `Hasher` [INFO] [stderr] --> src/lib.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use std::hash::{Hash, Hasher}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `peer_id` [INFO] [stderr] --> src/lib.rs:68:45 [INFO] [stderr] | [INFO] [stderr] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/lib.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | GossipsubEvent::Message(peer_id, id, message) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | libp2p::Swarm::dial_addr(&mut swarm, addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/p2p_net-76d07eff44597b3c [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/p2p_net-7edf46aefa1d19e9 [INFO] [stdout] [INFO] [stderr] Doc-tests p2p-net [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed5e134e4a4a6b456c169b90f4b17598ce3adac01eabcf24bf34890d5d92045a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5e134e4a4a6b456c169b90f4b17598ce3adac01eabcf24bf34890d5d92045a", kill_on_drop: false }` [INFO] [stdout] ed5e134e4a4a6b456c169b90f4b17598ce3adac01eabcf24bf34890d5d92045a