[INFO] fetching crate dht 6.1.0... [INFO] checking dht-6.1.0 against try#213ba58857e42241934d114390dfcd0779fc4662 for pr-148943 [INFO] extracting crate dht 6.1.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dht 6.1.0 on toolchain 213ba58857e42241934d114390dfcd0779fc4662 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+213ba58857e42241934d114390dfcd0779fc4662" "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" "+213ba58857e42241934d114390dfcd0779fc4662" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+213ba58857e42241934d114390dfcd0779fc4662" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0aa358d56cd385589c6d3b144fb43c96206640f34938730c1249fdb23cff787f [INFO] running `Command { std: "docker" "start" "-a" "0aa358d56cd385589c6d3b144fb43c96206640f34938730c1249fdb23cff787f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0aa358d56cd385589c6d3b144fb43c96206640f34938730c1249fdb23cff787f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa358d56cd385589c6d3b144fb43c96206640f34938730c1249fdb23cff787f", kill_on_drop: false }` [INFO] [stdout] 0aa358d56cd385589c6d3b144fb43c96206640f34938730c1249fdb23cff787f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+213ba58857e42241934d114390dfcd0779fc4662" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15593b3837191cb599069dd3542f5c16a3b60d4a4041e6b521e9ec887edc25c8 [INFO] running `Command { std: "docker" "start" "-a" "15593b3837191cb599069dd3542f5c16a3b60d4a4041e6b521e9ec887edc25c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking signature v3.0.0-rc.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking block-buffer v0.11.0-rc.5 [INFO] [stderr] Checking crypto-common v0.2.0-rc.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ed25519 v3.0.0-rc.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking digest v0.11.0-rc.3 [INFO] [stderr] Checking sha2 v0.11.0-rc.2 [INFO] [stderr] Checking streaming-stats v0.1.29 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking histo v1.0.0 [INFO] [stderr] Checking ctrlc v3.5.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 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 futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_bencode v0.2.4 [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" "15593b3837191cb599069dd3542f5c16a3b60d4a4041e6b521e9ec887edc25c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15593b3837191cb599069dd3542f5c16a3b60d4a4041e6b521e9ec887edc25c8", kill_on_drop: false }` [INFO] [stdout] 15593b3837191cb599069dd3542f5c16a3b60d4a4041e6b521e9ec887edc25c8