[INFO] fetching crate fusen 0.2.0... [INFO] testing fusen-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fusen 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate fusen 0.2.0 [INFO] finished tweaking crates.io crate fusen 0.2.0 [INFO] tweaked toml for crates.io crate fusen 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fusen 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding bzip2 v0.4.4 (available: v0.6.1) [INFO] [stderr] Adding fusen-common v0.2.0 (available: v0.8.9) [INFO] [stderr] Adding fusen-macro v0.2.0 (available: v0.6.3) [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dce0ef54dee44f87a83c71ec8511849996403a6ec8815b8dcc27a43538d985c [INFO] running `Command { std: "docker" "start" "-a" "3dce0ef54dee44f87a83c71ec8511849996403a6ec8815b8dcc27a43538d985c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dce0ef54dee44f87a83c71ec8511849996403a6ec8815b8dcc27a43538d985c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dce0ef54dee44f87a83c71ec8511849996403a6ec8815b8dcc27a43538d985c", kill_on_drop: false }` [INFO] [stdout] 3dce0ef54dee44f87a83c71ec8511849996403a6ec8815b8dcc27a43538d985c [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c658078cd602f520881dd3157872a6f1cf7177458c36826c8d43bf70ce13e8 [INFO] running `Command { std: "docker" "start" "-a" "39c658078cd602f520881dd3157872a6f1cf7177458c36826c8d43bf70ce13e8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling compact_str v0.4.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ignore-result v0.2.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [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 serde_derive v1.0.228 [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] Compiling fusen-macro v0.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.14.1 [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 serde v1.0.228 [INFO] [stderr] Compiling fusen-common v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling protobuf-json-mapping v3.7.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [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 fusen 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)]` (part of `#[warn(unused)]`) 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[E0282]: type annotations needed [INFO] [stdout] --> src/route/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let sender_read_lock = sender.read().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | if let Some(socket_sender) = sender_read_lock.clone() { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `sender_read_lock` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let sender_read_lock: /* Type */ = sender.read().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut sender_write_lock = sender.write().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | let sender = match sender_write_lock.as_ref() { [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `sender_write_lock` an explicit type [INFO] [stdout] | [INFO] [stdout] 81 | let mut sender_write_lock: /* Type */ = sender.write().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/mod.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | Some(sender) => sender.clone(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/mod.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | ... sender.write().await.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fusen` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39c658078cd602f520881dd3157872a6f1cf7177458c36826c8d43bf70ce13e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c658078cd602f520881dd3157872a6f1cf7177458c36826c8d43bf70ce13e8", kill_on_drop: false }` [INFO] [stdout] 39c658078cd602f520881dd3157872a6f1cf7177458c36826c8d43bf70ce13e8