[INFO] fetching crate libp2p 0.56.0... [INFO] testing libp2p-0.56.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate libp2p 0.56.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate libp2p 0.56.0 [INFO] finished tweaking crates.io crate libp2p 0.56.0 [INFO] tweaked toml for crates.io crate libp2p 0.56.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p 0.56.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libp2p 0.56.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-noise v0.46.1 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded send_wrapper v0.4.0 [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded asn1-rs-derive v0.6.0 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.6.0 [INFO] [stderr] Downloaded libp2p-dns v0.44.0 [INFO] [stderr] Downloaded libp2p-autonat v0.15.0 [INFO] [stderr] Downloaded quinn v0.11.7 [INFO] [stderr] Downloaded hickory-resolver v0.25.2 [INFO] [stderr] Downloaded libp2p-kad v0.48.0 [INFO] [stderr] Downloaded libp2p-gossipsub v0.49.0 [INFO] [stderr] Downloaded x509-parser v0.17.0 [INFO] [stderr] Downloaded asn1-rs v0.7.1 [INFO] [stderr] Downloaded attohttpc v0.24.1 [INFO] [stderr] Downloaded libp2p-quic v0.13.0 [INFO] [stderr] Downloaded quinn-proto v0.11.10 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded rcgen v0.13.2 [INFO] [stderr] Downloaded der-parser v10.0.0 [INFO] [stderr] Downloaded libp2p-webrtc-utils v0.4.0 [INFO] [stderr] Downloaded hickory-proto v0.25.2 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded prometheus-client v0.23.1 [INFO] [stderr] Downloaded libp2p-relay v0.21.0 [INFO] [stderr] Downloaded bimap v0.6.3 [INFO] [stderr] Downloaded libp2p-rendezvous v0.17.0 [INFO] [stderr] Downloaded soketto v0.8.1 [INFO] [stderr] Downloaded libp2p-websocket v0.45.1 [INFO] [stderr] Downloaded libp2p-mdns v0.48.0 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded libp2p-dcutr v0.14.0 [INFO] [stderr] Downloaded libp2p-identify v0.47.0 [INFO] [stderr] Downloaded libp2p-metrics v0.17.0 [INFO] [stderr] Downloaded libp2p-mplex v0.43.1 [INFO] [stderr] Downloaded libp2p-pnet v0.26.0 [INFO] [stderr] Downloaded quinn-udp v0.5.11 [INFO] [stderr] Downloaded cbor4ii v0.3.3 [INFO] [stderr] Downloaded libp2p-request-response v0.29.0 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded libp2p-tcp v0.44.0 [INFO] [stderr] Downloaded yasna v0.5.2 [INFO] [stderr] Downloaded libp2p-tls v0.6.2 [INFO] [stderr] Downloaded igd-next v0.16.1 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.1 [INFO] [stderr] Downloaded libp2p-upnp v0.5.0 [INFO] [stderr] Downloaded libp2p-webrtc-websys v0.4.0 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded libp2p-connection-limits v0.6.0 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded libp2p-floodsub v0.47.0 [INFO] [stderr] Downloaded memory-stats v1.2.0 [INFO] [stderr] Downloaded libp2p-memory-connection-limits v0.5.0 [INFO] [stderr] Downloaded libp2p-ping v0.47.0 [INFO] [stderr] Downloaded libp2p-plaintext v0.43.0 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded oid-registry v0.8.1 [INFO] [stderr] Downloaded rusticata-macros v4.1.0 [INFO] [stderr] Downloaded libp2p-uds v0.43.0 [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] [stderr] Downloaded libp2p-webtransport-websys v0.5.1 [INFO] [stderr] Downloaded yamux v0.13.4 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded libp2p-yamux v0.47.0 [INFO] [stderr] Downloaded asn1-rs-impl v0.2.0 [INFO] [stderr] Downloaded libp2p-websocket-websys v0.5.0 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] [stderr] Downloaded webpki-roots v0.26.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fabf4d098e17af7e1894936a2492d12c8338572f4c38ce294c2c7c475129ca3 [INFO] running `Command { std: "docker" "start" "-a" "7fabf4d098e17af7e1894936a2492d12c8338572f4c38ce294c2c7c475129ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fabf4d098e17af7e1894936a2492d12c8338572f4c38ce294c2c7c475129ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fabf4d098e17af7e1894936a2492d12c8338572f4c38ce294c2c7c475129ca3", kill_on_drop: false }` [INFO] [stdout] 7fabf4d098e17af7e1894936a2492d12c8338572f4c38ce294c2c7c475129ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c9f5929a4d4cf9fa92fb873c52343148d0239837382adea52d1b9b6c0ea6dd [INFO] running `Command { std: "docker" "start" "-a" "b9c9f5929a4d4cf9fa92fb873c52343148d0239837382adea52d1b9b6c0ea6dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.40 [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 syn v2.0.100 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.6.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.6.0 [INFO] [stderr] Compiling libp2p v0.56.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `IntoSecurityUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait IntoSecurityUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoMultiplexerUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait IntoMultiplexerUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectMuxerUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_muxer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SelectMuxerUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_muxer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SelectMuxerUpgrade { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectSecurityUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_security.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SelectSecurityUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_security.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SelectSecurityUpgrade { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.36s [INFO] running `Command { std: "docker" "inspect" "b9c9f5929a4d4cf9fa92fb873c52343148d0239837382adea52d1b9b6c0ea6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c9f5929a4d4cf9fa92fb873c52343148d0239837382adea52d1b9b6c0ea6dd", kill_on_drop: false }` [INFO] [stdout] b9c9f5929a4d4cf9fa92fb873c52343148d0239837382adea52d1b9b6c0ea6dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ae3e593195c14a8e8d1c3b1cbbf7ba18f24a3e27cb2e105e80c9b43fb173a8 [INFO] running `Command { std: "docker" "start" "-a" "c8ae3e593195c14a8e8d1c3b1cbbf7ba18f24a3e27cb2e105e80c9b43fb173a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-mplex v0.43.1 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-tcp v0.44.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.6.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.6.0 [INFO] [stderr] Compiling libp2p v0.56.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `IntoSecurityUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait IntoSecurityUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoMultiplexerUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait IntoMultiplexerUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectMuxerUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_muxer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SelectMuxerUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_muxer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SelectMuxerUpgrade { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectSecurityUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_security.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SelectSecurityUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_security.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SelectSecurityUpgrade { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `muxing::StreamMuxerBox` and `transport::dummy::DummyTransport` [INFO] [stdout] --> src/builder.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | use libp2p_core::{muxing::StreamMuxerBox, transport::dummy::DummyTransport}; [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 import: `libp2p_identity::PeerId` [INFO] [stdout] --> src/builder.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use libp2p_identity::PeerId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p_swarm::NetworkBehaviour` [INFO] [stdout] --> src/builder.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SwarmBuilder` [INFO] [stdout] --> src/builder.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use crate::SwarmBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoSecurityUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait IntoSecurityUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoMultiplexerUpgrade` is never used [INFO] [stdout] --> src/builder/phase.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait IntoMultiplexerUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectMuxerUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_muxer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SelectMuxerUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_muxer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SelectMuxerUpgrade { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectSecurityUpgrade` is never constructed [INFO] [stdout] --> src/builder/select_security.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SelectSecurityUpgrade(A, B); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/select_security.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SelectSecurityUpgrade { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(a: A, b: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.90s [INFO] running `Command { std: "docker" "inspect" "c8ae3e593195c14a8e8d1c3b1cbbf7ba18f24a3e27cb2e105e80c9b43fb173a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ae3e593195c14a8e8d1c3b1cbbf7ba18f24a3e27cb2e105e80c9b43fb173a8", kill_on_drop: false }` [INFO] [stdout] c8ae3e593195c14a8e8d1c3b1cbbf7ba18f24a3e27cb2e105e80c9b43fb173a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6a2d06534fd0501344deab5098cfe55e8157a01eaf15edc7def082ed246680c [INFO] running `Command { std: "docker" "start" "-a" "e6a2d06534fd0501344deab5098cfe55e8157a01eaf15edc7def082ed246680c", kill_on_drop: false }` [INFO] [stderr] warning: trait `IntoSecurityUpgrade` is never used [INFO] [stderr] --> src/builder/phase.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub trait IntoSecurityUpgrade { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `IntoMultiplexerUpgrade` is never used [INFO] [stderr] --> src/builder/phase.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | pub trait IntoMultiplexerUpgrade { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SelectMuxerUpgrade` is never constructed [INFO] [stderr] --> src/builder/select_muxer.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct SelectMuxerUpgrade(A, B); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/builder/select_muxer.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl SelectMuxerUpgrade { [INFO] [stderr] | ----------------------------------- associated function in this implementation [INFO] [stderr] 37 | pub fn new(a: A, b: B) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SelectSecurityUpgrade` is never constructed [INFO] [stderr] --> src/builder/select_security.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct SelectSecurityUpgrade(A, B); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/builder/select_security.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl SelectSecurityUpgrade { [INFO] [stderr] | -------------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn new(a: A, b: B) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `muxing::StreamMuxerBox` and `transport::dummy::DummyTransport` [INFO] [stderr] --> src/builder.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | use libp2p_core::{muxing::StreamMuxerBox, transport::dummy::DummyTransport}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p_identity::PeerId` [INFO] [stderr] --> src/builder.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | use libp2p_identity::PeerId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p_swarm::NetworkBehaviour` [INFO] [stderr] --> src/builder.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | use libp2p_swarm::NetworkBehaviour; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::SwarmBuilder` [INFO] [stderr] --> src/builder.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | use crate::SwarmBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libp2p` (lib) generated 6 warnings [INFO] [stderr] warning: `libp2p` (lib test) generated 10 warnings (6 duplicates) (run `cargo fix --lib -p libp2p --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libp2p-879e3729996be087) [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] [stderr] Doc-tests libp2p [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/tutorials/hole_punching.rs - tutorials::hole_punching (line 166) ... ignored [INFO] [stdout] test src/tutorials/hole_punching.rs - tutorials::hole_punching (line 178) ... ignored [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 270) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 179) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 215) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 317) - compile ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 147) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SwarmBuilder (line 15) ... ok [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 100) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 73) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 270) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::ping`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | use libp2p::{noise, ping, tcp, yamux, Multiaddr}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `tcp` in the root [INFO] [stdout] | | no `ping` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "ping")] [INFO] [stdout] | ---------------- the item is gated behind the `ping` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_ping as ping; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 283 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 284 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestu3DO9J/rust_out.long-type-12857180414226394954.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tutorials/ping.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | .with_swarm_config(|cfg| { [INFO] [stdout] | ^^^ [INFO] [stdout] 292 | cfg.with_idle_connection_timeout(Duration::from_secs(u64::MAX)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 291 | .with_swarm_config(|cfg: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 179) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::ping`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | use libp2p::{noise, ping, tcp, yamux}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `tcp` in the root [INFO] [stdout] | | no `ping` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "ping")] [INFO] [stdout] | ---------------- the item is gated behind the `ping` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_ping as ping; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 192 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 193 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestmBxq5A/rust_out.long-type-10346101285767018541.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 215) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::ping`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | use libp2p::{noise, ping, tcp, yamux}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `tcp` in the root [INFO] [stdout] | | no `ping` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "ping")] [INFO] [stdout] | ---------------- the item is gated behind the `ping` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_ping as ping; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 228 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 229 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestUwq8Uf/rust_out.long-type-547612864143510689.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tutorials/ping.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | .with_swarm_config(|cfg| { [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | cfg.with_idle_connection_timeout(Duration::from_secs(u64::MAX)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 236 | .with_swarm_config(|cfg: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 317) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::ping`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | use libp2p::{noise, ping, swarm::SwarmEvent, tcp, yamux, Multiaddr}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `tcp` in the root [INFO] [stdout] | | no `ping` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "ping")] [INFO] [stdout] | ---------------- the item is gated behind the `ping` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_ping as ping; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 331 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 332 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestHeNNOR/rust_out.long-type-16187884088488436629.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tutorials/ping.rs:339:29 [INFO] [stdout] | [INFO] [stdout] 339 | .with_swarm_config(|cfg| { [INFO] [stdout] | ^^^ [INFO] [stdout] 340 | cfg.with_idle_connection_timeout(Duration::from_secs(u64::MAX)) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 339 | .with_swarm_config(|cfg: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 147) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::ping`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | use libp2p::{noise, ping, tcp, yamux}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `tcp` in the root [INFO] [stdout] | | no `ping` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "ping")] [INFO] [stdout] | ---------------- the item is gated behind the `ping` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_ping as ping; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 160 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 161 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestauZ8WT/rust_out.long-type-5509121357875373402.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tutorials/ping.rs - tutorials::ping (line 100) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `libp2p::noise`, `libp2p::tcp`, `libp2p::yamux` [INFO] [stdout] --> src/tutorials/ping.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | use libp2p::{noise, tcp, yamux}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^ no `yamux` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `tcp` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 82 | #[doc(inline)] [INFO] [stdout] 83 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use libp2p_tcp as tcp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tokio` found for struct `SwarmBuilder` in the current scope [INFO] [stdout] --> src/tutorials/ping.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 113 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 114 | | .with_tokio() [INFO] [stdout] | | -^^^^^^^^^^ method not found in `SwarmBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestZwtH7u/rust_out.long-type-10821231656531291841.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 100) [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 147) [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 179) [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 215) [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 270) [INFO] [stdout] src/tutorials/ping.rs - tutorials::ping (line 317) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e6a2d06534fd0501344deab5098cfe55e8157a01eaf15edc7def082ed246680c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a2d06534fd0501344deab5098cfe55e8157a01eaf15edc7def082ed246680c", kill_on_drop: false }` [INFO] [stdout] e6a2d06534fd0501344deab5098cfe55e8157a01eaf15edc7def082ed246680c