[INFO] fetching crate libp2p-mdns 0.48.0... [INFO] testing libp2p-mdns-0.48.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libp2p-mdns 0.48.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate libp2p-mdns 0.48.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libp2p-mdns 0.48.0 [INFO] tweaked toml for crates.io crate libp2p-mdns 0.48.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p-mdns 0.48.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libp2p-mdns 0.48.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f297c6a054267a59e090f223054c96bd18cd069ec5fd77f476510428b1120b5 [INFO] running `Command { std: "docker" "start" "-a" "2f297c6a054267a59e090f223054c96bd18cd069ec5fd77f476510428b1120b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f297c6a054267a59e090f223054c96bd18cd069ec5fd77f476510428b1120b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f297c6a054267a59e090f223054c96bd18cd069ec5fd77f476510428b1120b5", kill_on_drop: false }` [INFO] [stdout] 2f297c6a054267a59e090f223054c96bd18cd069ec5fd77f476510428b1120b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b075e5119108e5373156a9c825b61e8a0a160afaceea48576077ef43d4ea8c [INFO] running `Command { std: "docker" "start" "-a" "71b075e5119108e5373156a9c825b61e8a0a160afaceea48576077ef43d4ea8c", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hickory-proto v0.25.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-mdns v0.48.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.92s [INFO] running `Command { std: "docker" "inspect" "71b075e5119108e5373156a9c825b61e8a0a160afaceea48576077ef43d4ea8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b075e5119108e5373156a9c825b61e8a0a160afaceea48576077ef43d4ea8c", kill_on_drop: false }` [INFO] [stdout] 71b075e5119108e5373156a9c825b61e8a0a160afaceea48576077ef43d4ea8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8258b0e38cc453458d83c834c72471821b8aa9d8eda2c045e18b882734f81eb4 [INFO] running `Command { std: "docker" "start" "-a" "8258b0e38cc453458d83c834c72471821b8aa9d8eda2c045e18b882734f81eb4", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `libp2p-swarm-test/tokio` in required-features of target `use-tokio`: dependency `libp2p-swarm-test` does not exist [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [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 hickory-proto v0.25.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-mdns v0.48.0 (/opt/rustwide/workdir) [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/behaviour/iface/dns.rs:410:45 [INFO] [stdout] | [INFO] [stdout] 410 | let my_peer_id = identity::Keypair::generate_ed25519().public().to_peer_id(); [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 `random` found for struct `libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/behaviour/iface/query.rs:321:31 [INFO] [stdout] | [INFO] [stdout] 321 | 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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-mdns` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8258b0e38cc453458d83c834c72471821b8aa9d8eda2c045e18b882734f81eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8258b0e38cc453458d83c834c72471821b8aa9d8eda2c045e18b882734f81eb4", kill_on_drop: false }` [INFO] [stdout] 8258b0e38cc453458d83c834c72471821b8aa9d8eda2c045e18b882734f81eb4