[INFO] fetching crate mainline 6.0.1... [INFO] checking mainline-6.0.1 against try#213ba58857e42241934d114390dfcd0779fc4662 for pr-148943 [INFO] extracting crate mainline 6.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate mainline 6.0.1 [INFO] finished tweaking crates.io crate mainline 6.0.1 [INFO] tweaked toml for crates.io crate mainline 6.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mainline 6.0.1 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 mainline 6.0.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 49822424a2e19aef09c71ad7c5a16447f71e6b5e6f349b3f35bcb2a7b8cd9b1f [INFO] running `Command { std: "docker" "start" "-a" "49822424a2e19aef09c71ad7c5a16447f71e6b5e6f349b3f35bcb2a7b8cd9b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49822424a2e19aef09c71ad7c5a16447f71e6b5e6f349b3f35bcb2a7b8cd9b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49822424a2e19aef09c71ad7c5a16447f71e6b5e6f349b3f35bcb2a7b8cd9b1f", kill_on_drop: false }` [INFO] [stdout] 49822424a2e19aef09c71ad7c5a16447f71e6b5e6f349b3f35bcb2a7b8cd9b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8fae90630b001a7e7f3100b9e9481601195e6e8c18912adba2adff86436d25d1 [INFO] running `Command { std: "docker" "start" "-a" "8fae90630b001a7e7f3100b9e9481601195e6e8c18912adba2adff86436d25d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking signature v3.0.0-rc.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking block-buffer v0.11.0-rc.5 [INFO] [stderr] Checking crypto-common v0.2.0-rc.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking ed25519 v3.0.0-rc.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking streaming-stats v0.1.29 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking digest v0.11.0-rc.3 [INFO] [stderr] Checking sha2 v0.11.0-rc.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking lru v0.16.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking histo v1.0.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking mainline v6.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/rpc/socket.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/rpc/socket.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/async_dht.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | 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] 409 - let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] 409 + 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] 409 - let peers = b.get_peers(info_hash).next().await.expect("No peers"); [INFO] [stdout] 409 + 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:409:25 [INFO] [stdout] | [INFO] [stdout] 409 | 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:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | .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] 474 ~ let response = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 475 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 474 ~ let response = futures::StreamExt::next(&mut b [INFO] [stdout] 475 + .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:474:28 [INFO] [stdout] | [INFO] [stdout] 474 | let response = b [INFO] [stdout] | ____________________________^ [INFO] [stdout] 475 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 476 | | .next() [INFO] [stdout] 477 | | .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:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .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] 514 ~ let response = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 515 + .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] 514 ~ let response = futures::StreamExt::next(&mut b [INFO] [stdout] 515 + .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:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let response = b [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | 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] 514 | 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:575:18 [INFO] [stdout] | [INFO] [stdout] 575 | .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] 573 ~ let _response_first = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 574 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 573 ~ let _response_first = futures::StreamExt::next(&mut b [INFO] [stdout] 574 + .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:573:35 [INFO] [stdout] | [INFO] [stdout] 573 | let _response_first = b [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 574 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 575 | | .next() [INFO] [stdout] 576 | | .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:581:18 [INFO] [stdout] | [INFO] [stdout] 581 | .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] 579 ~ let response_second = futures_lite::StreamExt::next(&mut b [INFO] [stdout] 580 + .get_mutable(signer.verifying_key().as_bytes(), None, None)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 579 ~ let response_second = futures::StreamExt::next(&mut b [INFO] [stdout] 580 + .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:579:35 [INFO] [stdout] | [INFO] [stdout] 579 | let response_second = b [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 580 | | .get_mutable(signer.verifying_key().as_bytes(), None, None) [INFO] [stdout] 581 | | .next() [INFO] [stdout] 582 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DHTErrorValue` is never used [INFO] [stdout] --> src/common/messages/internal.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum DHTErrorValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `mainline` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8fae90630b001a7e7f3100b9e9481601195e6e8c18912adba2adff86436d25d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fae90630b001a7e7f3100b9e9481601195e6e8c18912adba2adff86436d25d1", kill_on_drop: false }` [INFO] [stdout] 8fae90630b001a7e7f3100b9e9481601195e6e8c18912adba2adff86436d25d1