[INFO] fetching crate libp2p 0.56.0... [INFO] testing libp2p-0.56.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate libp2p 0.56.0 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p 0.56.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea75c342a717af308e06d1f55ac25d699fa867aaa6c4993488d9b6607ad15b18 [INFO] running `Command { std: "docker" "start" "-a" "ea75c342a717af308e06d1f55ac25d699fa867aaa6c4993488d9b6607ad15b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea75c342a717af308e06d1f55ac25d699fa867aaa6c4993488d9b6607ad15b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea75c342a717af308e06d1f55ac25d699fa867aaa6c4993488d9b6607ad15b18", kill_on_drop: false }` [INFO] [stdout] ea75c342a717af308e06d1f55ac25d699fa867aaa6c4993488d9b6607ad15b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe4f20288409875cf4c780bb45245ac59f14ea1ceeb4f514b280ae80c555dc7f [INFO] running `Command { std: "docker" "start" "-a" "fe4f20288409875cf4c780bb45245ac59f14ea1ceeb4f514b280ae80c555dc7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [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 bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling hkdf v0.12.4 [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 quote v1.0.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [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 lru v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.100 [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 pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [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 icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.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-connection-limits v0.6.0 [INFO] [stderr] Compiling libp2p-allow-block-list 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 30.57s [INFO] running `Command { std: "docker" "inspect" "fe4f20288409875cf4c780bb45245ac59f14ea1ceeb4f514b280ae80c555dc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4f20288409875cf4c780bb45245ac59f14ea1ceeb4f514b280ae80c555dc7f", kill_on_drop: false }` [INFO] [stdout] fe4f20288409875cf4c780bb45245ac59f14ea1ceeb4f514b280ae80c555dc7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ab3c8e80a00963b5ae3c23cab3737e9de147c71e21c263e2e0296f4881f17d4 [INFO] running `Command { std: "docker" "start" "-a" "3ab3c8e80a00963b5ae3c23cab3737e9de147c71e21c263e2e0296f4881f17d4", 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 rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [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 rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling multihash v0.19.3 [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 libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-mplex v0.43.1 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.6.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.6.0 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p v0.56.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libp2p-tcp v0.44.0 [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 14.14s [INFO] running `Command { std: "docker" "inspect" "3ab3c8e80a00963b5ae3c23cab3737e9de147c71e21c263e2e0296f4881f17d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab3c8e80a00963b5ae3c23cab3737e9de147c71e21c263e2e0296f4881f17d4", kill_on_drop: false }` [INFO] [stdout] 3ab3c8e80a00963b5ae3c23cab3737e9de147c71e21c263e2e0296f4881f17d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9c0dc960243895fa4435bbd98e50d0af1d359cdbb768d0845974bedda3d26b9 [INFO] running `Command { std: "docker" "start" "-a" "e9c0dc960243895fa4435bbd98e50d0af1d359cdbb768d0845974bedda3d26b9", 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.21s [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 147) ... 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 179) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 100) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 270) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SwarmBuilder (line 15) ... ok [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 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/rustdoctestEw2AER/rust_out.long-type-14263138195826238326.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/rustdoctestWQJ7d5/rust_out.long-type-3288476360901615212.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/rustdoctestLFks6d/rust_out.long-type-7106217967554069746.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 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/rustdoctestaTio5J/rust_out.long-type-3423570924230101472.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/rustdoctestbPX8ZF/rust_out.long-type-16572323381679119468.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 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/rustdoctestxwKL5k/rust_out.long-type-17922546232363971556.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] [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 0.73s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9c0dc960243895fa4435bbd98e50d0af1d359cdbb768d0845974bedda3d26b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c0dc960243895fa4435bbd98e50d0af1d359cdbb768d0845974bedda3d26b9", kill_on_drop: false }` [INFO] [stdout] e9c0dc960243895fa4435bbd98e50d0af1d359cdbb768d0845974bedda3d26b9