[INFO] fetching crate ant-libp2p-autonat 0.13.1... [INFO] checking ant-libp2p-autonat-0.13.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ant-libp2p-autonat 0.13.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ant-libp2p-autonat 0.13.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ant-libp2p-autonat 0.13.1 [INFO] tweaked toml for crates.io crate ant-libp2p-autonat 0.13.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ant-libp2p-autonat 0.13.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding futures-bounded v0.2.4 (available: v0.3.0) [INFO] [stderr] Adding libp2p-swarm-derive v0.35.0 (available: v0.35.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1166b120c3287e96815d1807534ceb24a7eb3e99f9bfd2e2c245d1e371ed9f3a [INFO] running `Command { std: "docker" "start" "-a" "1166b120c3287e96815d1807534ceb24a7eb3e99f9bfd2e2c245d1e371ed9f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1166b120c3287e96815d1807534ceb24a7eb3e99f9bfd2e2c245d1e371ed9f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1166b120c3287e96815d1807534ceb24a7eb3e99f9bfd2e2c245d1e371ed9f3a", kill_on_drop: false }` [INFO] [stdout] 1166b120c3287e96815d1807534ceb24a7eb3e99f9bfd2e2c245d1e371ed9f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f14a0a8527a18fa5f97ef9b4dccff326796a5a47bf5c896d34283f17ae162779 [INFO] running `Command { std: "docker" "start" "-a" "f14a0a8527a18fa5f97ef9b4dccff326796a5a47bf5c896d34283f17ae162779", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking libp2p-identity v0.2.12 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking ant-libp2p-core v0.42.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking ant-libp2p-swarm v0.45.2 [INFO] [stderr] Checking ant-libp2p-request-response v0.27.1 [INFO] [stderr] Checking ant-libp2p-identify v0.46.0 [INFO] [stderr] Checking ant-libp2p-autonat v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `ant_libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/v1/behaviour/as_server.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ant_libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ant_libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] ant_libp2p_core::PeerId::from_public_key [INFO] [stdout] ant_libp2p_core::PeerId::from_bytes [INFO] [stdout] ant_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 `ant_libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/v1/behaviour/as_server.rs:417:41 [INFO] [stdout] | [INFO] [stdout] 417 | .with(Protocol::P2p(PeerId::random())); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ant_libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ant_libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] ant_libp2p_core::PeerId::from_public_key [INFO] [stdout] ant_libp2p_core::PeerId::from_bytes [INFO] [stdout] ant_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 `ant_libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/v1/behaviour/as_server.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | .with(Protocol::P2p(PeerId::random())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `ant_libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ant_libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] ant_libp2p_core::PeerId::from_public_key [INFO] [stdout] ant_libp2p_core::PeerId::from_bytes [INFO] [stdout] ant_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 `ant_libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/v1/protocol.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `ant_libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ant_libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] ant_libp2p_core::PeerId::from_public_key [INFO] [stdout] ant_libp2p_core::PeerId::from_bytes [INFO] [stdout] ant_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 `ant_libp2p_core::PeerId` in the current scope [INFO] [stdout] --> src/v1/protocol.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | id: Some(PeerId::random().to_bytes()), [INFO] [stdout] | ^^^^^^ function or associated item not found in `ant_libp2p_core::PeerId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ant_libp2p_core::PeerId` consider using one of the following associated functions: [INFO] [stdout] ant_libp2p_core::PeerId::from_public_key [INFO] [stdout] ant_libp2p_core::PeerId::from_bytes [INFO] [stdout] ant_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 `ant-libp2p-autonat` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/behaviour.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | fn as_client(&mut self) -> AsClient { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | fn as_client(&mut self) -> AsClient<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1/behaviour.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 313 | fn as_server(&mut self) -> AsServer { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 313 | fn as_server(&mut self) -> AsServer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f14a0a8527a18fa5f97ef9b4dccff326796a5a47bf5c896d34283f17ae162779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14a0a8527a18fa5f97ef9b4dccff326796a5a47bf5c896d34283f17ae162779", kill_on_drop: false }` [INFO] [stdout] f14a0a8527a18fa5f97ef9b4dccff326796a5a47bf5c896d34283f17ae162779