[INFO] fetching crate libp2p 0.56.0... [INFO] testing libp2p-0.56.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libp2p 0.56.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p 0.56.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55ffbd623017ae94d01669ffac3099af04928c2507f0ed5136cb28cfd7f4d5a1 [INFO] running `Command { std: "docker" "start" "-a" "55ffbd623017ae94d01669ffac3099af04928c2507f0ed5136cb28cfd7f4d5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55ffbd623017ae94d01669ffac3099af04928c2507f0ed5136cb28cfd7f4d5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ffbd623017ae94d01669ffac3099af04928c2507f0ed5136cb28cfd7f4d5a1", kill_on_drop: false }` [INFO] [stdout] 55ffbd623017ae94d01669ffac3099af04928c2507f0ed5136cb28cfd7f4d5a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5fd36c6e49fd170fb163f86073ae2d7652afe48189d82db4a9e348b274c3427 [INFO] running `Command { std: "docker" "start" "-a" "e5fd36c6e49fd170fb163f86073ae2d7652afe48189d82db4a9e348b274c3427", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ed25519 v2.2.3 [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 form_urlencoded v1.2.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [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 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 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-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 14.27s [INFO] running `Command { std: "docker" "inspect" "e5fd36c6e49fd170fb163f86073ae2d7652afe48189d82db4a9e348b274c3427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5fd36c6e49fd170fb163f86073ae2d7652afe48189d82db4a9e348b274c3427", kill_on_drop: false }` [INFO] [stdout] e5fd36c6e49fd170fb163f86073ae2d7652afe48189d82db4a9e348b274c3427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1feec73fb6c4398a0b72ede599ce8aba54c64fcfce188f00f8a806bc6e45f89 [INFO] running `Command { std: "docker" "start" "-a" "c1feec73fb6c4398a0b72ede599ce8aba54c64fcfce188f00f8a806bc6e45f89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 nix v0.26.4 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [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 rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [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 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] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-tcp v0.44.0 [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 20.59s [INFO] running `Command { std: "docker" "inspect" "c1feec73fb6c4398a0b72ede599ce8aba54c64fcfce188f00f8a806bc6e45f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1feec73fb6c4398a0b72ede599ce8aba54c64fcfce188f00f8a806bc6e45f89", kill_on_drop: false }` [INFO] [stdout] c1feec73fb6c4398a0b72ede599ce8aba54c64fcfce188f00f8a806bc6e45f89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d029eadaa278b9c37855147926c0ef8d8a112c174cbe123e654fc2f0e049c346 [INFO] running `Command { std: "docker" "start" "-a" "d029eadaa278b9c37855147926c0ef8d8a112c174cbe123e654fc2f0e049c346", 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.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libp2p-053c5a6d95ff7f1d) [INFO] [stderr] Doc-tests libp2p [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] [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 317) - compile ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 179) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SwarmBuilder (line 15) ... ok [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 147) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 270) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 100) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 215) ... 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 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] --> 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] --> 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] --> 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] --> 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/rustdoctestT0yqjH/rust_out.long-type-8633819501310962462.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 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] --> 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] --> 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] --> 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] --> 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/rustdoctestiKDeV8/rust_out.long-type-6401603302251656793.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 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] --> 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] --> 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] --> 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] --> 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/rustdoctestJv8Ma8/rust_out.long-type-12731462917807160114.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] --> 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] --> 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] --> 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] --> 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/rustdoctest87UfD2/rust_out.long-type-9560961179584813462.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] --> 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] --> 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] --> 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/rustdoctestGQhkyV/rust_out.long-type-3713528494228182775.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] --> 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] --> 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] --> 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] --> 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/rustdoctestyKNbCT/rust_out.long-type-15770266793734616903.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.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d029eadaa278b9c37855147926c0ef8d8a112c174cbe123e654fc2f0e049c346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d029eadaa278b9c37855147926c0ef8d8a112c174cbe123e654fc2f0e049c346", kill_on_drop: false }` [INFO] [stdout] d029eadaa278b9c37855147926c0ef8d8a112c174cbe123e654fc2f0e049c346