[INFO] fetching crate libp2p 0.56.0... [INFO] testing libp2p-0.56.0 against try#981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 for pr-145277 [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 981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e38606a32f29ff1e3621d02cc66a03c35c9c60302e2f4743bbb573ae91ecfaa3 [INFO] running `Command { std: "docker" "start" "-a" "e38606a32f29ff1e3621d02cc66a03c35c9c60302e2f4743bbb573ae91ecfaa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38606a32f29ff1e3621d02cc66a03c35c9c60302e2f4743bbb573ae91ecfaa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38606a32f29ff1e3621d02cc66a03c35c9c60302e2f4743bbb573ae91ecfaa3", kill_on_drop: false }` [INFO] [stdout] e38606a32f29ff1e3621d02cc66a03c35c9c60302e2f4743bbb573ae91ecfaa3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df56e88d12f5687cfaa876181f3a0206622680e91bc016fb2a4a7d9688cf4af1 [INFO] running `Command { std: "docker" "start" "-a" "df56e88d12f5687cfaa876181f3a0206622680e91bc016fb2a4a7d9688cf4af1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [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 slab v0.4.9 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lru v0.12.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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [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 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_properties v1.5.1 [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)]` 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 43.08s [INFO] running `Command { std: "docker" "inspect" "df56e88d12f5687cfaa876181f3a0206622680e91bc016fb2a4a7d9688cf4af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df56e88d12f5687cfaa876181f3a0206622680e91bc016fb2a4a7d9688cf4af1", kill_on_drop: false }` [INFO] [stdout] df56e88d12f5687cfaa876181f3a0206622680e91bc016fb2a4a7d9688cf4af1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df63ef223807e95c3e41acfa801fad6aa006438de54ce1c75cd7499c487194b4 [INFO] running `Command { std: "docker" "start" "-a" "df63ef223807e95c3e41acfa801fad6aa006438de54ce1c75cd7499c487194b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-sink 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 paste v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling netlink-packet-core v0.7.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 rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [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-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] [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)]` 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)]` 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)]` 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 22.98s [INFO] running `Command { std: "docker" "inspect" "df63ef223807e95c3e41acfa801fad6aa006438de54ce1c75cd7499c487194b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df63ef223807e95c3e41acfa801fad6aa006438de54ce1c75cd7499c487194b4", kill_on_drop: false }` [INFO] [stdout] df63ef223807e95c3e41acfa801fad6aa006438de54ce1c75cd7499c487194b4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96f20925836b4032175777d841ff976cad437f4a440fb4cdcce2b5aca04b8d92 [INFO] running `Command { std: "docker" "start" "-a" "96f20925836b4032175777d841ff976cad437f4a440fb4cdcce2b5aca04b8d92", 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)]` 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: `libp2p` (lib) generated 6 warnings [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)]` 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 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.37s [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 317) - compile ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 215) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 270) ... FAILED [INFO] [stdout] test src/tutorials/ping.rs - tutorials::ping (line 147) ... 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/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 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] 7 | 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] 16 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 17 | | .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/rustdoctestEnoIkB/rust_out.long-type-15761617858925675819.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] 6 | 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] 15 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .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/rustdoctest5pIt6H/rust_out.long-type-12629993995965585187.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] 6 | 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] 15 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .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/rustdoctestKA2NIF/rust_out.long-type-5152936636988110161.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] 6 | 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] 15 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .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/rustdoctesteq1Rvv/rust_out.long-type-1208318514170619103.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] 6 | 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] 15 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .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/rustdoctesta2Co1I/rust_out.long-type-4087199912797970544.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] 6 | 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] 15 | let mut swarm = libp2p::SwarmBuilder::with_new_identity() [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .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/rustdoctestLMcb21/rust_out.long-type-1302693058529950517.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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96f20925836b4032175777d841ff976cad437f4a440fb4cdcce2b5aca04b8d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f20925836b4032175777d841ff976cad437f4a440fb4cdcce2b5aca04b8d92", kill_on_drop: false }` [INFO] [stdout] 96f20925836b4032175777d841ff976cad437f4a440fb4cdcce2b5aca04b8d92