[INFO] fetching crate libp2p-identity 0.2.12... [INFO] checking libp2p-identity-0.2.12 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate libp2p-identity 0.2.12 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate libp2p-identity 0.2.12 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libp2p-identity 0.2.12 [INFO] tweaked toml for crates.io crate libp2p-identity 0.2.12 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p-identity 0.2.12 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libp2p-identity 0.2.12 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deee8f13a7091d2d572094bba3d054494080b3c14b4a3d9a69095a6dc3a13c8d [INFO] running `Command { std: "docker" "start" "-a" "deee8f13a7091d2d572094bba3d054494080b3c14b4a3d9a69095a6dc3a13c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deee8f13a7091d2d572094bba3d054494080b3c14b4a3d9a69095a6dc3a13c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deee8f13a7091d2d572094bba3d054494080b3c14b4a3d9a69095a6dc3a13c8d", kill_on_drop: false }` [INFO] [stdout] deee8f13a7091d2d572094bba3d054494080b3c14b4a3d9a69095a6dc3a13c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f515d04768bdbb2ffb50da8e15b20d3770f8e2c63c527f4fb157c6bee36cc67d [INFO] running `Command { std: "docker" "start" "-a" "f515d04768bdbb2ffb50da8e15b20d3770f8e2c63c527f4fb157c6bee36cc67d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking libp2p-identity v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.140 [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] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/keypair.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(feature = "peerid")] [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: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] --> /opt/rustwide/workdir/src/keypair.rs:262:5 [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 `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] --> /opt/rustwide/workdir/src/keypair.rs:262:5 [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 `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] --> /opt/rustwide/workdir/src/keypair.rs:262:5 [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: 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] running `Command { std: "docker" "inspect" "f515d04768bdbb2ffb50da8e15b20d3770f8e2c63c527f4fb157c6bee36cc67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f515d04768bdbb2ffb50da8e15b20d3770f8e2c63c527f4fb157c6bee36cc67d", kill_on_drop: false }` [INFO] [stdout] f515d04768bdbb2ffb50da8e15b20d3770f8e2c63c527f4fb157c6bee36cc67d