[INFO] cloning repository https://github.com/hashkid/peer-discovery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hashkid/peer-discovery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhashkid%2Fpeer-discovery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhashkid%2Fpeer-discovery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b131a26fd2db7195c0f12baf8c792d63d8d5449e [INFO] testing hashkid/peer-discovery against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhashkid%2Fpeer-discovery" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hashkid/peer-discovery [INFO] finished tweaking git repo https://github.com/hashkid/peer-discovery [INFO] tweaked toml for git repo https://github.com/hashkid/peer-discovery written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hashkid/peer-discovery on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hashkid/peer-discovery already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded libp2p-yamux v0.46.0 [INFO] [stderr] Downloaded libp2p v0.54.1 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.0 [INFO] [stderr] Downloaded libp2p-upnp v0.3.0 [INFO] [stderr] Downloaded libp2p-core v0.42.0 [INFO] [stderr] Downloaded libp2p-quic v0.11.1 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.4.0 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded libp2p-kad v0.46.2 [INFO] [stderr] Downloaded hickory-resolver v0.24.1 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded cbor4ii v0.3.3 [INFO] [stderr] Downloaded async-io v2.3.4 [INFO] [stderr] Downloaded if-watch v3.2.0 [INFO] [stderr] Downloaded libp2p-metrics v0.15.0 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded netlink-sys v0.8.6 [INFO] [stderr] Downloaded libp2p-connection-limits v0.4.0 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded libp2p-dns v0.42.0 [INFO] [stderr] Downloaded libp2p-mdns v0.46.0 [INFO] [stderr] Downloaded futures-ticker v0.0.3 [INFO] [stderr] Downloaded libp2p-identify v0.45.0 [INFO] [stderr] Downloaded libp2p-noise v0.45.0 [INFO] [stderr] Downloaded rcgen v0.11.3 [INFO] [stderr] Downloaded libp2p-tls v0.5.0 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded libp2p-gossipsub v0.47.0 [INFO] [stderr] Downloaded hickory-proto v0.24.1 [INFO] [stderr] Downloaded libp2p-swarm v0.45.1 [INFO] [stderr] Downloaded libp2p-request-response v0.27.0 [INFO] [stderr] Downloaded netlink-packet-utils v0.5.2 [INFO] [stderr] Downloaded xml-rs v0.8.21 [INFO] [stderr] Downloaded libp2p-tcp v0.42.0 [INFO] [stderr] Downloaded yamux v0.13.3 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b93325faa9f1ff2c333aa3ad79d94680c97c432dc424ef9ad95dc61a8e660ad [INFO] running `Command { std: "docker" "start" "-a" "5b93325faa9f1ff2c333aa3ad79d94680c97c432dc424ef9ad95dc61a8e660ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b93325faa9f1ff2c333aa3ad79d94680c97c432dc424ef9ad95dc61a8e660ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b93325faa9f1ff2c333aa3ad79d94680c97c432dc424ef9ad95dc61a8e660ad", kill_on_drop: false }` [INFO] [stdout] 5b93325faa9f1ff2c333aa3ad79d94680c97c432dc424ef9ad95dc61a8e660ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a5ac35071280429af6ceac950ca3ffc60c0303a618b4d3c913c98140ab0eb8a [INFO] running `Command { std: "docker" "start" "-a" "4a5ac35071280429af6ceac950ca3ffc60c0303a618b4d3c913c98140ab0eb8a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling netlink-packet-core v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling netlink-packet-route v0.12.0 [INFO] [stderr] Compiling quinn-udp v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling libp2p-identity v0.2.9 [INFO] [stderr] Compiling multiaddr v0.18.1 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.3 [INFO] [stderr] Compiling libp2p-core v0.42.0 [INFO] [stderr] Compiling libp2p-yamux v0.46.0 [INFO] [stderr] Compiling libp2p-noise v0.45.0 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling quinn-proto v0.11.8 [INFO] [stderr] Compiling libp2p-tls v0.5.0 [INFO] [stderr] Compiling netlink-sys v0.8.6 [INFO] [stderr] Compiling libp2p-swarm v0.45.1 [INFO] [stderr] Compiling netlink-proto v0.10.0 [INFO] [stderr] Compiling rtnetlink v0.10.1 [INFO] [stderr] Compiling if-watch v3.2.0 [INFO] [stderr] Compiling libp2p-kad v0.46.2 [INFO] [stderr] Compiling libp2p-identify v0.45.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.47.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.4.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.4.0 [INFO] [stderr] Compiling quinn v0.11.5 [INFO] [stderr] Compiling libp2p-mdns v0.46.0 [INFO] [stderr] Compiling libp2p-tcp v0.42.0 [INFO] [stderr] Compiling libp2p-quic v0.11.1 [INFO] [stderr] Compiling libp2p v0.54.1 [INFO] [stderr] Compiling peer_discover v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::args, num::NonZeroUsize, str::FromStr, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetRecordOk`, `RecordKey`, and `Record` [INFO] [stdout] --> src/main.rs:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | use libp2p::{futures::StreamExt, identify, identity::Keypair, kad::{store::MemoryStore, GetRecordOk, Record, RecordKey}, noise, swarm::{N... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_search` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let to_search = PeerId::random(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_search` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn discover(swarm: &mut Swarm, to_search: PeerId) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put` is never used [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn put(swarm: &mut Swarm) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "4a5ac35071280429af6ceac950ca3ffc60c0303a618b4d3c913c98140ab0eb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5ac35071280429af6ceac950ca3ffc60c0303a618b4d3c913c98140ab0eb8a", kill_on_drop: false }` [INFO] [stdout] 4a5ac35071280429af6ceac950ca3ffc60c0303a618b4d3c913c98140ab0eb8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9367430696e220f50d45dc97c6ec8f2094f382d54456091c415b9b82e70cb472 [INFO] running `Command { std: "docker" "start" "-a" "9367430696e220f50d45dc97c6ec8f2094f382d54456091c415b9b82e70cb472", kill_on_drop: false }` [INFO] [stderr] Compiling peer_discover v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::args, num::NonZeroUsize, str::FromStr, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetRecordOk`, `RecordKey`, and `Record` [INFO] [stdout] --> src/main.rs:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | use libp2p::{futures::StreamExt, identify, identity::Keypair, kad::{store::MemoryStore, GetRecordOk, Record, RecordKey}, noise, swarm::{N... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_search` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let to_search = PeerId::random(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_search` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn discover(swarm: &mut Swarm, to_search: PeerId) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put` is never used [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn put(swarm: &mut Swarm) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "9367430696e220f50d45dc97c6ec8f2094f382d54456091c415b9b82e70cb472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9367430696e220f50d45dc97c6ec8f2094f382d54456091c415b9b82e70cb472", kill_on_drop: false }` [INFO] [stdout] 9367430696e220f50d45dc97c6ec8f2094f382d54456091c415b9b82e70cb472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 397d5bb0e7f867416f92b769750047521e94b23035d28400fa57054a1ada3e92 [INFO] running `Command { std: "docker" "start" "-a" "397d5bb0e7f867416f92b769750047521e94b23035d28400fa57054a1ada3e92", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `env::args` [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{env::args, num::NonZeroUsize, str::FromStr, time::Duration}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GetRecordOk`, `RecordKey`, and `Record` [INFO] [stderr] --> src/main.rs:3:89 [INFO] [stderr] | [INFO] [stderr] 3 | use libp2p::{futures::StreamExt, identify, identity::Keypair, kad::{store::MemoryStore, GetRecordOk, Record, RecordKey}, noise, swarm::{N... [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_search` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let to_search = PeerId::random(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_search` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `discover` is never used [INFO] [stderr] --> src/main.rs:150:4 [INFO] [stderr] | [INFO] [stderr] 150 | fn discover(swarm: &mut Swarm, to_search: PeerId) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `put` is never used [INFO] [stderr] --> src/main.rs:158:4 [INFO] [stderr] | [INFO] [stderr] 158 | fn put(swarm: &mut Swarm) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `peer_discover` (bin "peer_discover" test) generated 5 warnings (run `cargo fix --bin "peer_discover" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/peer_discover-afc026626e7c754f) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "397d5bb0e7f867416f92b769750047521e94b23035d28400fa57054a1ada3e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397d5bb0e7f867416f92b769750047521e94b23035d28400fa57054a1ada3e92", kill_on_drop: false }` [INFO] [stdout] 397d5bb0e7f867416f92b769750047521e94b23035d28400fa57054a1ada3e92