[INFO] fetching crate krpc-core 0.2.0... [INFO] testing krpc-core-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate krpc-core 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate krpc-core 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded krpc-macro v0.2.0 [INFO] [stderr] Downloaded zookeeper-client v0.6.4 [INFO] [stderr] Downloaded compact_str v0.4.1 [INFO] [stderr] Downloaded krpc-common v0.2.0 [INFO] [stderr] Downloaded protobuf-json-mapping v3.7.2 [INFO] [stderr] Downloaded ignore-result v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09b6968bb1e98ce97c4e347886bf4611ce530dabf2c366a67f24ce676da400e2 [INFO] running `Command { std: "docker" "start" "-a" "09b6968bb1e98ce97c4e347886bf4611ce530dabf2c366a67f24ce676da400e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09b6968bb1e98ce97c4e347886bf4611ce530dabf2c366a67f24ce676da400e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b6968bb1e98ce97c4e347886bf4611ce530dabf2c366a67f24ce676da400e2", kill_on_drop: false }` [INFO] [stdout] 09b6968bb1e98ce97c4e347886bf4611ce530dabf2c366a67f24ce676da400e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2334b7c7d8a37e8e738847d385db42f5d266d7e8c274f15dbffb3e9622700539 [INFO] running `Command { std: "docker" "start" "-a" "2334b7c7d8a37e8e738847d385db42f5d266d7e8c274f15dbffb3e9622700539", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling compact_str v0.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ignore-result v0.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling strum v0.23.0 [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 pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling krpc-common v0.2.0 [INFO] [stderr] Compiling krpc-macro v0.2.0 [INFO] [stderr] Compiling protobuf-json-mapping v3.7.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling zookeeper-client v0.6.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling 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] 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) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2334b7c7d8a37e8e738847d385db42f5d266d7e8c274f15dbffb3e9622700539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2334b7c7d8a37e8e738847d385db42f5d266d7e8c274f15dbffb3e9622700539", kill_on_drop: false }` [INFO] [stdout] 2334b7c7d8a37e8e738847d385db42f5d266d7e8c274f15dbffb3e9622700539