[INFO] fetching crate krpc-core 0.2.0... [INFO] checking krpc-core-0.2.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate krpc-core 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate krpc-core 0.2.0 [INFO] finished tweaking crates.io crate krpc-core 0.2.0 [INFO] tweaked toml for crates.io crate krpc-core 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate krpc-core 0.2.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 186 packages to latest compatible versions [INFO] [stderr] Adding bzip2 v0.4.4 (available: v0.6.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding zookeeper-client v0.6.4 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-json-mapping v3.7.2 [INFO] [stderr] Downloaded krpc-common v0.2.0 [INFO] [stderr] Downloaded compact_str v0.4.1 [INFO] [stderr] Downloaded ignore-result v0.2.0 [INFO] [stderr] Downloaded krpc-macro v0.2.0 [INFO] [stderr] Downloaded zookeeper-client v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 377acc83c6352767043ef432bf27a438a9dfb579798879d009229424f2f2d77e [INFO] running `Command { std: "docker" "start" "-a" "377acc83c6352767043ef432bf27a438a9dfb579798879d009229424f2f2d77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "377acc83c6352767043ef432bf27a438a9dfb579798879d009229424f2f2d77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377acc83c6352767043ef432bf27a438a9dfb579798879d009229424f2f2d77e", kill_on_drop: false }` [INFO] [stdout] 377acc83c6352767043ef432bf27a438a9dfb579798879d009229424f2f2d77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c512b01e5b764cb630f64d524c47f7c6c0035e253cd2048f30cd540df92a6c [INFO] running `Command { std: "docker" "start" "-a" "40c512b01e5b764cb630f64d524c47f7c6c0035e253cd2048f30cd540df92a6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking compact_str v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking ignore-result v0.2.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking prost v0.14.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking prost-types v0.14.1 [INFO] [stderr] Checking protobuf-json-mapping v3.7.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking zookeeper-client v0.6.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking krpc-common v0.2.0 [INFO] [stderr] Checking krpc-macro v0.2.0 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking krpc-core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/route/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/route/mod.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | .choose(&mut rand::thread_rng()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/route/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/route/mod.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | .choose(&mut rand::thread_rng()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `Vec` in the current scope [INFO] [stdout] --> src/route/mod.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 72 | let socket_info = vec_info [INFO] [stdout] | ___________________________- [INFO] [stdout] 73 | | .choose(&mut rand::thread_rng()) [INFO] [stdout] | |_____________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IndexedRandom` which provides `choose` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] help: there is a method `choose_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | .choose_mut(&mut rand::thread_rng()) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `Vec` in the current scope [INFO] [stdout] --> src/route/mod.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 72 | let socket_info = vec_info [INFO] [stdout] | ___________________________- [INFO] [stdout] 73 | | .choose(&mut rand::thread_rng()) [INFO] [stdout] | |_____________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IndexedRandom` which provides `choose` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] help: there is a method `choose_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | .choose_mut(&mut rand::thread_rng()) [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 `krpc-core` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `krpc-core` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40c512b01e5b764cb630f64d524c47f7c6c0035e253cd2048f30cd540df92a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c512b01e5b764cb630f64d524c47f7c6c0035e253cd2048f30cd540df92a6c", kill_on_drop: false }` [INFO] [stdout] 40c512b01e5b764cb630f64d524c47f7c6c0035e253cd2048f30cd540df92a6c