[INFO] fetching crate libp2p-identity 0.2.9... [INFO] checking libp2p-identity-0.2.9 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate libp2p-identity 0.2.9 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libp2p-identity 0.2.9 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-identity 0.2.9 [INFO] finished tweaking crates.io crate libp2p-identity 0.2.9 [INFO] tweaked toml for crates.io crate libp2p-identity 0.2.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6827ee4fe74378bf01e9aa731379cf18b409ad8b1a848e183a750609a655f9a9 [INFO] running `Command { std: "docker" "start" "-a" "6827ee4fe74378bf01e9aa731379cf18b409ad8b1a848e183a750609a655f9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6827ee4fe74378bf01e9aa731379cf18b409ad8b1a848e183a750609a655f9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6827ee4fe74378bf01e9aa731379cf18b409ad8b1a848e183a750609a655f9a9", kill_on_drop: false }` [INFO] [stdout] 6827ee4fe74378bf01e9aa731379cf18b409ad8b1a848e183a750609a655f9a9 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8894d8ad9567e0dc3ebc0e73340c9f293755fd9ed87e6a1b8fd92ce8a25e5727 [INFO] running `Command { std: "docker" "start" "-a" "8894d8ad9567e0dc3ebc0e73340c9f293755fd9ed87e6a1b8fd92ce8a25e5727", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking libp2p-identity v0.2.9 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating benches/peer_id.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `libp2p_identity::PeerId` [INFO] [stdout] --> benches/peer_id.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_identity::{Keypair, PeerId}; [INFO] [stdout] | ^^^^^^ no `PeerId` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | pub use peer_id::{ParseError, PeerId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `peerid` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(feature = "peerid")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/serde.rs from 2021 edition to 2024 [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `Keypair` in the current scope [INFO] [stdout] --> benches/peer_id.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let peer_id_bytes = Keypair::generate_ed25519().public().to_peer_id().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Keypair`, consider using `Keypair::from_protobuf_encoding` which returns `Result` [INFO] [stdout] --> /tmp/fixit/src/keypair.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `Keypair` in the current scope [INFO] [stdout] --> benches/peer_id.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let peer_id = Keypair::generate_ed25519().public().to_peer_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Keypair`, consider using `Keypair::from_protobuf_encoding` which returns `Result` [INFO] [stdout] --> /tmp/fixit/src/keypair.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate_ed25519` found for struct `Keypair` in the current scope [INFO] [stdout] --> benches/peer_id.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|_| Keypair::generate_ed25519().public().to_peer_id()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Keypair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Keypair`, consider using `Keypair::from_protobuf_encoding` which returns `Result` [INFO] [stdout] --> /tmp/fixit/src/keypair.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn from_protobuf_encoding(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-identity` (bench "peer_id") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating tests/keypair_api.rs from 2021 edition to 2024 [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" "8894d8ad9567e0dc3ebc0e73340c9f293755fd9ed87e6a1b8fd92ce8a25e5727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8894d8ad9567e0dc3ebc0e73340c9f293755fd9ed87e6a1b8fd92ce8a25e5727", kill_on_drop: false }` [INFO] [stdout] 8894d8ad9567e0dc3ebc0e73340c9f293755fd9ed87e6a1b8fd92ce8a25e5727