[INFO] fetching crate libp2p-identify 0.47.0... [INFO] testing libp2p-identify-0.47.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate libp2p-identify 0.47.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate libp2p-identify 0.47.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libp2p-identify 0.47.0 [INFO] tweaked toml for crates.io crate libp2p-identify 0.47.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p-identify 0.47.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libp2p-identify 0.47.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded libp2p-core v0.43.1 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.1 [INFO] [stderr] Downloaded libp2p-swarm v0.47.0 [INFO] [stderr] Downloaded libp2p-identity v0.2.12 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aebb2d3e0209d2965169d079c3b84726bb83b1e9693de099ec7b38f6d65f2b1 [INFO] running `Command { std: "docker" "start" "-a" "1aebb2d3e0209d2965169d079c3b84726bb83b1e9693de099ec7b38f6d65f2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aebb2d3e0209d2965169d079c3b84726bb83b1e9693de099ec7b38f6d65f2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aebb2d3e0209d2965169d079c3b84726bb83b1e9693de099ec7b38f6d65f2b1", kill_on_drop: false }` [INFO] [stdout] 1aebb2d3e0209d2965169d079c3b84726bb83b1e9693de099ec7b38f6d65f2b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f316e4aafca5e7ee15339582a09dc68470dc51cecd2a0e99a3a2094504e8c13d [INFO] running `Command { std: "docker" "start" "-a" "f316e4aafca5e7ee15339582a09dc68470dc51cecd2a0e99a3a2094504e8c13d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [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 core2 v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [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-identify v0.47.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handler.rs:433:51 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/handler.rs:433:82 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.86s [INFO] running `Command { std: "docker" "inspect" "f316e4aafca5e7ee15339582a09dc68470dc51cecd2a0e99a3a2094504e8c13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f316e4aafca5e7ee15339582a09dc68470dc51cecd2a0e99a3a2094504e8c13d", kill_on_drop: false }` [INFO] [stdout] f316e4aafca5e7ee15339582a09dc68470dc51cecd2a0e99a3a2094504e8c13d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a16817ba961ac1f20bfa2f0c44b41851182c99c6bca17181044750aca826ed7 [INFO] running `Command { std: "docker" "start" "-a" "7a16817ba961ac1f20bfa2f0c44b41851182c99c6bca17181044750aca826ed7", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling libp2p-identify v0.47.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handler.rs:433:51 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/handler.rs:433:82 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use libp2p_swarm_test::SwarmExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use libp2p_swarm_test::SwarmExt; [INFO] [stdout] 11 + use libp2p_swarm::SwarmExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | identify::Behaviour::new( [INFO] [stdout] 22 | identify::Config::new("a".to_string(), identity.public()) [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] 20 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | identify::Behaviour::new( [INFO] [stdout] 30 | identify::Config::new("c".to_string(), identity.public()) [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] 28 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] 43 + match libp2p_swarm::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | identify::Behaviour::new( [INFO] [stdout] 93 | identify::Config::new("a".to_string(), identity.public()) [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] 91 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 99 | identify::Behaviour::new( [INFO] [stdout] 100 | identify::Config::new("c".to_string(), identity.public()) [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] 98 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | identify::Behaviour::new( [INFO] [stdout] 165 | identify::Config::new("a".to_string(), identity.public()) [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] 163 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 172 | identify::Behaviour::new( [INFO] [stdout] 173 | identify::Config::new("c".to_string(), identity.public()) [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] 171 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:738:31 [INFO] [stdout] | [INFO] [stdout] 738 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_core::PeerId::from_public_key [INFO] [stdout] libp2p_core::PeerId::from_bytes [INFO] [stdout] libp2p_core::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_multihash(multihash: Multihash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:739:37 [INFO] [stdout] | [INFO] [stdout] 739 | let other_peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_core::PeerId::from_public_key [INFO] [stdout] libp2p_core::PeerId::from_bytes [INFO] [stdout] libp2p_core::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_multihash(multihash: Multihash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 235 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:235:50 [INFO] [stdout] | [INFO] [stdout] 235 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 236 | identify::Behaviour::new( [INFO] [stdout] 237 | identify::Config::new("a".to_string(), identity.public()) [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] 235 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 244 | identify::Behaviour::new( [INFO] [stdout] 245 | identify::Config::new("c".to_string(), identity.public()) [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] 243 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:306:50 [INFO] [stdout] | [INFO] [stdout] 306 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 307 | identify::Behaviour::new(identify::Config::new("a".to_string(), identity.public())) [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] 306 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:309:50 [INFO] [stdout] | [INFO] [stdout] 309 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 310 | identify::Behaviour::new( [INFO] [stdout] 311 | identify::Config::new("a".to_string(), identity.public()) [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] 309 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | let ([e1, e2], [e3, e4]) = libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 320 - let ([e1, e2], [e3, e4]) = libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await; [INFO] [stdout] 320 + let ([e1, e2], [e3, e4]) = libp2p_swarm::drive(&mut swarm1, &mut swarm2).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:337:38 [INFO] [stdout] | [INFO] [stdout] 337 | let swarm1_received_info = match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 337 - let swarm1_received_info = match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] 337 + let swarm1_received_info = match libp2p_swarm::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:358:50 [INFO] [stdout] | [INFO] [stdout] 358 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 359 | identify::Behaviour::new(identify::Config::new("a".to_string(), identity.public())) [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] 358 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 361 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 362 | identify::Behaviour::new( [INFO] [stdout] 363 | identify::Config::new("a".to_string(), identity.public()) [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] 361 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:413:50 [INFO] [stdout] | [INFO] [stdout] 413 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 414 | identify::Behaviour::new( [INFO] [stdout] 415 | identify::Config::new("a".to_string(), identity.public()) [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] 413 | let mut swarm1 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `libp2p_identity::Keypair` in the current scope [INFO] [stdout] --> src/protocol.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | identity::Keypair::generate_ed25519() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `libp2p_identity::Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::Keypair` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::Keypair::ed25519_from_bytes [INFO] [stdout] libp2p_identity::Keypair::from_protobuf_encoding [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/keypair.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn ed25519_from_bytes(bytes: impl AsMut<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:419:50 [INFO] [stdout] | [INFO] [stdout] 419 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 420 | identify::Behaviour::new( [INFO] [stdout] 421 | identify::Config::new("a".to_string(), identity.public()) [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] 419 | let mut swarm2 = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `libp2p_identity::Keypair` in the current scope [INFO] [stdout] --> src/protocol.rs:388:43 [INFO] [stdout] | [INFO] [stdout] 388 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `libp2p_identity::Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::Keypair` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::Keypair::ed25519_from_bytes [INFO] [stdout] libp2p_identity::Keypair::from_protobuf_encoding [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/keypair.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn ed25519_from_bytes(bytes: impl AsMut<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:451:35 [INFO] [stdout] | [INFO] [stdout] 451 | let mut honest_swarm = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smoke.rs:451:56 [INFO] [stdout] | [INFO] [stdout] 451 | let mut honest_swarm = Swarm::new_ephemeral_tokio(|identity| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 452 | identify::Behaviour::new( [INFO] [stdout] 453 | identify::Config::new("a".to_string(), identity.public()) [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] 451 | let mut honest_swarm = Swarm::new_ephemeral_tokio(|identity: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:457:37 [INFO] [stdout] | [INFO] [stdout] 457 | let mut spoofing_swarm = Swarm::new_ephemeral_tokio(|_unused_identity| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::::new` which returns `Swarm<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn new( [INFO] [stdout] 351 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 352 | | behaviour: TBehaviour, [INFO] [stdout] 353 | | local_peer_id: PeerId, [INFO] [stdout] 354 | | config: Config, [INFO] [stdout] 355 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `libp2p_identity::Keypair` in the current scope [INFO] [stdout] --> tests/smoke.rs:458:45 [INFO] [stdout] | [INFO] [stdout] 458 | let arbitrary_public_key = Keypair::generate_ed25519().public(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `libp2p_identity::Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::Keypair` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::Keypair::ed25519_from_bytes [INFO] [stdout] libp2p_identity::Keypair::from_protobuf_encoding [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/keypair.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn ed25519_from_bytes(bytes: impl AsMut<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-identify` (test "smoke") due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handler.rs:433:51 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/handler.rs:433:82 [INFO] [stdout] | [INFO] [stdout] 433 | error.map_upgrade_err(|e| libp2p_core::util::unreachable(e.into_inner())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-identify` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7a16817ba961ac1f20bfa2f0c44b41851182c99c6bca17181044750aca826ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a16817ba961ac1f20bfa2f0c44b41851182c99c6bca17181044750aca826ed7", kill_on_drop: false }` [INFO] [stdout] 7a16817ba961ac1f20bfa2f0c44b41851182c99c6bca17181044750aca826ed7