[INFO] fetching crate dht 6.1.0... [INFO] checking dht-6.1.0 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] extracting crate dht 6.1.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate dht 6.1.0 [INFO] finished tweaking crates.io crate dht 6.1.0 [INFO] tweaked toml for crates.io crate dht 6.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dht 6.1.0 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dht 6.1.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" "+95813608313bff49cfc1afc393a946a3c085b772" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe49a6bbc7e7bfbefdcbc589447e12c6939865cbfd0d55a231ad7f8f3cf0fbfa [INFO] running `Command { std: "docker" "start" "-a" "fe49a6bbc7e7bfbefdcbc589447e12c6939865cbfd0d55a231ad7f8f3cf0fbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe49a6bbc7e7bfbefdcbc589447e12c6939865cbfd0d55a231ad7f8f3cf0fbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe49a6bbc7e7bfbefdcbc589447e12c6939865cbfd0d55a231ad7f8f3cf0fbfa", kill_on_drop: false }` [INFO] [stdout] fe49a6bbc7e7bfbefdcbc589447e12c6939865cbfd0d55a231ad7f8f3cf0fbfa [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bac4c9f8c72120f03215cede96f3ccf7862f4f80d9028eeebb8f86482ad85a3 [INFO] running `Command { std: "docker" "start" "-a" "5bac4c9f8c72120f03215cede96f3ccf7862f4f80d9028eeebb8f86482ad85a3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking signature v3.0.0-rc.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking ed25519 v3.0.0-rc.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking streaming-stats v0.1.29 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking ctrlc v3.5.0 [INFO] [stderr] Checking histo v1.0.0 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Checking block-buffer v0.11.0-rc.5 [INFO] [stderr] Checking crypto-common v0.2.0-rc.4 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking digest v0.11.0-rc.3 [INFO] [stderr] Checking sha2 v0.11.0-rc.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dht v6.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:481:48 [INFO] [stdout] | [INFO] [stdout] 481 | let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 481 - let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] 481 + let peers = futures_lite::StreamExt::next(&mut b.get_peers(info_hash)).await.expect("No peers"); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 481 - let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] 481 + let peers = futures::StreamExt::next(&mut b.get_peers(info_hash)).await.expect("No peers"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:548:18 [INFO] [stdout] | [INFO] [stdout] 548 | .next() [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 546 ~ let response = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 547 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 546 ~ let response = futures::StreamExt::next(&mut b [INFO] [stdout] 547 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:546:28 [INFO] [stdout] | [INFO] [stdout] 546 | let response = b [INFO] [stdout] | ____________________________^ [INFO] [stdout] 547 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 548 | | .next() [INFO] [stdout] 549 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:588:18 [INFO] [stdout] | [INFO] [stdout] 588 | .next() [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 586 ~ let response = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 587 + .get_mutable(signer.verifying_key().as_bytes(), None, Some(seq))) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 586 ~ let response = futures::StreamExt::next(&mut b [INFO] [stdout] 587 + .get_mutable(signer.verifying_key().as_bytes(), None, Some(seq))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:586:17 [INFO] [stdout] | [INFO] [stdout] 586 | let response = b [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | assert!(&response.is_none()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 586 | let response: /* Type */ = b [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | .next() [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 645 ~ let _response_first = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 646 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 645 ~ let _response_first = futures::StreamExt::next(&mut b [INFO] [stdout] 646 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:645:35 [INFO] [stdout] | [INFO] [stdout] 645 | let _response_first = b [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 646 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 647 | | .next() [INFO] [stdout] 648 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:653:18 [INFO] [stdout] | [INFO] [stdout] 653 | .next() [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 651 ~ let response_second = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 652 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 651 ~ let response_second = futures::StreamExt::next(&mut b [INFO] [stdout] 652 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:651:35 [INFO] [stdout] | [INFO] [stdout] 651 | let response_second = b [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 652 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 653 | | .next() [INFO] [stdout] 654 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:889:18 [INFO] [stdout] | [INFO] [stdout] 889 | .next() [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `futures_lite::StreamExt` for the type `S` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 886 ~ let peers = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 887 + .get_signed_peers(info_hash) [INFO] [stdout] 888 + .await) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 886 ~ let peers = futures::StreamExt::next(&mut b [INFO] [stdout] 887 + .get_signed_peers(info_hash) [INFO] [stdout] 888 + .await) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:886:25 [INFO] [stdout] | [INFO] [stdout] 886 | let peers = b [INFO] [stdout] | _________________________^ [INFO] [stdout] 887 | | .get_signed_peers(info_hash) [INFO] [stdout] 888 | | .await [INFO] [stdout] 889 | | .next() [INFO] [stdout] 890 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async_dht.rs:893:46 [INFO] [stdout] | [INFO] [stdout] 893 | let mut keys = peers.iter().map(|a| a.key().to_vec()).collect::>(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 893 | let mut keys = peers.iter().map(|a: /* Type */| a.key().to_vec()).collect::>(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dht` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5bac4c9f8c72120f03215cede96f3ccf7862f4f80d9028eeebb8f86482ad85a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bac4c9f8c72120f03215cede96f3ccf7862f4f80d9028eeebb8f86482ad85a3", kill_on_drop: false }` [INFO] [stdout] 5bac4c9f8c72120f03215cede96f3ccf7862f4f80d9028eeebb8f86482ad85a3