[INFO] fetching crate libp2p-identify 0.44.0... [INFO] checking libp2p-identify-0.44.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate libp2p-identify 0.44.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate libp2p-identify 0.44.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-identify 0.44.0 [INFO] finished tweaking crates.io crate libp2p-identify 0.44.0 [INFO] tweaked toml for crates.io crate libp2p-identify 0.44.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-swarm-derive v0.34.1 [INFO] [stderr] Downloaded quick-protobuf-codec v0.2.0 [INFO] [stderr] Downloaded lru v0.12.3 [INFO] [stderr] Downloaded asynchronous-codec v0.6.2 [INFO] [stderr] Downloaded libp2p-identity v0.2.8 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded futures-bounded v0.2.3 [INFO] [stderr] Downloaded libp2p-swarm v0.44.1 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded multiaddr v0.18.1 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded bs58 v0.5.1 [INFO] [stderr] Downloaded multihash v0.19.1 [INFO] [stderr] Downloaded libp2p-core v0.41.2 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df827ea5cb93accf1bb45933dd994d9e966e8d2145e1668fba525ff0985a804c [INFO] running `Command { std: "docker" "start" "-a" "df827ea5cb93accf1bb45933dd994d9e966e8d2145e1668fba525ff0985a804c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df827ea5cb93accf1bb45933dd994d9e966e8d2145e1668fba525ff0985a804c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df827ea5cb93accf1bb45933dd994d9e966e8d2145e1668fba525ff0985a804c", kill_on_drop: false }` [INFO] [stdout] df827ea5cb93accf1bb45933dd994d9e966e8d2145e1668fba525ff0985a804c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94efd4184b1d059e016c37c26f54fc1129663dbfed64e5354defc8fe56ca9256 [INFO] running `Command { std: "docker" "start" "-a" "94efd4184b1d059e016c37c26f54fc1129663dbfed64e5354defc8fe56ca9256", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking value-bag v1.8.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures-bounded v0.2.3 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking quick-protobuf-codec v0.2.0 [INFO] [stderr] Checking libp2p-identity v0.2.8 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking libp2p-core v0.41.2 [INFO] [stderr] Checking libp2p-swarm v0.44.1 [INFO] [stderr] Checking libp2p-identify v0.44.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/behaviour.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/behaviour.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_identity::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:492:31 [INFO] [stdout] | [INFO] [stdout] 492 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::PeerId::from_public_key [INFO] [stdout] libp2p_identity::PeerId::from_bytes [INFO] [stdout] libp2p_identity::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | 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_identity::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:493:37 [INFO] [stdout] | [INFO] [stdout] 493 | let other_peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::PeerId::from_public_key [INFO] [stdout] libp2p_identity::PeerId::from_bytes [INFO] [stdout] libp2p_identity::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn from_multihash(multihash: Multihash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_swarm_test::SwarmExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_swarm::SwarmExt; [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:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | identity::Keypair::generate_ed25519() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `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-6f17d22bba15001f/libp2p-identity-0.2.8/src/keypair.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn ed25519_from_bytes(bytes: impl AsMut<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | 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` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut swarm1 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut swarm2 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | 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` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let mut swarm1 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | let mut swarm2 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut swarm1 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | let mut swarm2 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let ([e1, e2], [e3, e4]) = libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 179 | 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 undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] --> tests/smoke.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let swarm1_received_info = match libp2p_swarm_test::drive(&mut swarm1, &mut swarm2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 196 | 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` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | let mut swarm1 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let mut swarm2 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | let mut swarm1 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope [INFO] [stdout] --> tests/smoke.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | let mut swarm2 = Swarm::new_ephemeral(|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-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn new( [INFO] [stdout] 360 | | transport: transport::Boxed<(PeerId, StreamMuxerBox)>, [INFO] [stdout] 361 | | behaviour: TBehaviour, [INFO] [stdout] 362 | | local_peer_id: PeerId, [INFO] [stdout] 363 | | config: Config, [INFO] [stdout] 364 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-identify` (test "smoke") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94efd4184b1d059e016c37c26f54fc1129663dbfed64e5354defc8fe56ca9256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94efd4184b1d059e016c37c26f54fc1129663dbfed64e5354defc8fe56ca9256", kill_on_drop: false }` [INFO] [stdout] 94efd4184b1d059e016c37c26f54fc1129663dbfed64e5354defc8fe56ca9256 [INFO] checking libp2p-identify-0.44.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate libp2p-identify 0.44.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate libp2p-identify 0.44.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-identify 0.44.0 [INFO] finished tweaking crates.io crate libp2p-identify 0.44.0 [INFO] tweaked toml for crates.io crate libp2p-identify 0.44.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cff27964c4ec9ef5d8e9d9223747fb0ff8d3d6562b1e920f277c03cc6db91a45 [INFO] running `Command { std: "docker" "start" "-a" "cff27964c4ec9ef5d8e9d9223747fb0ff8d3d6562b1e920f277c03cc6db91a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cff27964c4ec9ef5d8e9d9223747fb0ff8d3d6562b1e920f277c03cc6db91a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff27964c4ec9ef5d8e9d9223747fb0ff8d3d6562b1e920f277c03cc6db91a45", kill_on_drop: false }` [INFO] [stdout] cff27964c4ec9ef5d8e9d9223747fb0ff8d3d6562b1e920f277c03cc6db91a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f96601f7b316b166cd2348d42524f07b37d0e16cdae530675a2828bf5c237831 [INFO] running `Command { std: "docker" "start" "-a" "f96601f7b316b166cd2348d42524f07b37d0e16cdae530675a2828bf5c237831", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking value-bag v1.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.1 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures-bounded v0.2.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking quick-protobuf-codec v0.2.0 [INFO] [stderr] Checking libp2p-identity v0.2.8 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking libp2p-core v0.41.2 [INFO] [stderr] Checking libp2p-swarm v0.44.1 [INFO] [stderr] Checking libp2p-identify v0.44.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/behaviour.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-identify` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_identity::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:492:31 [INFO] [stdout] | [INFO] [stdout] 492 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::PeerId::from_public_key [INFO] [stdout] libp2p_identity::PeerId::from_bytes [INFO] [stdout] libp2p_identity::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn from_multihash(multihash: Multihash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_identity::PeerId` in the current scope [INFO] [stdout] --> src/behaviour.rs:493:37 [INFO] [stdout] | [INFO] [stdout] 493 | let other_peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `libp2p_identity::PeerId` consider using one of the following associated functions: [INFO] [stdout] libp2p_identity::PeerId::from_public_key [INFO] [stdout] libp2p_identity::PeerId::from_bytes [INFO] [stdout] libp2p_identity::PeerId::from_multihash [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn from_multihash(multihash: Multihash) -> Result { [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:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | identity::Keypair::generate_ed25519() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `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-6f17d22bba15001f/libp2p-identity-0.2.8/src/keypair.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn ed25519_from_bytes(bytes: impl AsMut<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/behaviour.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f96601f7b316b166cd2348d42524f07b37d0e16cdae530675a2828bf5c237831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96601f7b316b166cd2348d42524f07b37d0e16cdae530675a2828bf5c237831", kill_on_drop: false }` [INFO] [stdout] f96601f7b316b166cd2348d42524f07b37d0e16cdae530675a2828bf5c237831