[INFO] fetching crate midgard-rs 0.0.5... [INFO] testing midgard-rs-0.0.5 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate midgard-rs 0.0.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate midgard-rs 0.0.5 [INFO] finished tweaking crates.io crate midgard-rs 0.0.5 [INFO] tweaked toml for crates.io crate midgard-rs 0.0.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midgard-rs 0.0.5 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 244 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b88c65838b214eb43acb4a757af499afa2175f136fcb27d4c68051a95fe10570 [INFO] running `Command { std: "docker" "start" "-a" "b88c65838b214eb43acb4a757af499afa2175f136fcb27d4c68051a95fe10570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88c65838b214eb43acb4a757af499afa2175f136fcb27d4c68051a95fe10570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88c65838b214eb43acb4a757af499afa2175f136fcb27d4c68051a95fe10570", kill_on_drop: false }` [INFO] [stdout] b88c65838b214eb43acb4a757af499afa2175f136fcb27d4c68051a95fe10570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 257a9ca7d39906ef37b05145ddf3754e2d72561acbced38846c8b94fe65b4260 [INFO] running `Command { std: "docker" "start" "-a" "257a9ca7d39906ef37b05145ddf3754e2d72561acbced38846c8b94fe65b4260", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_with v3.14.1 [INFO] [stderr] Compiling serde-aux v4.7.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling midgard-rs v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.64s [INFO] running `Command { std: "docker" "inspect" "257a9ca7d39906ef37b05145ddf3754e2d72561acbced38846c8b94fe65b4260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257a9ca7d39906ef37b05145ddf3754e2d72561acbced38846c8b94fe65b4260", kill_on_drop: false }` [INFO] [stdout] 257a9ca7d39906ef37b05145ddf3754e2d72561acbced38846c8b94fe65b4260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f5be6d88f3b273f0fe41308dcf2d07af5117c8c9c6708ecfc8e169e8eaca5fb [INFO] running `Command { std: "docker" "start" "-a" "8f5be6d88f3b273f0fe41308dcf2d07af5117c8c9c6708ecfc8e169e8eaca5fb", kill_on_drop: false }` [INFO] [stderr] Compiling midgard-rs v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/members.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/members.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let random_usize = thread_rng().gen_range(0..member_list.get_members().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/members.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let random_usize_2 = thread_rng().gen_range(0..member_list.get_members().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/members.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/pools.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | let random_usize = thread_rng().gen_range(0..pool_list.get_pools().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 120 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/endpoints/pools.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | let random_usize = thread_rng().gen_range(0..pool_list.get_pools().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 120 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/midgard/mod.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 66 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/midgard/endpoints/borrowers.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | let address_1 = borrowers.get_borrowers().choose(&mut rand::thread_rng()).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/midgard/endpoints/borrowers.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | let address_2 = borrowers.get_borrowers().choose(&mut rand::thread_rng()).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `midgard-rs` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f5be6d88f3b273f0fe41308dcf2d07af5117c8c9c6708ecfc8e169e8eaca5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5be6d88f3b273f0fe41308dcf2d07af5117c8c9c6708ecfc8e169e8eaca5fb", kill_on_drop: false }` [INFO] [stdout] 8f5be6d88f3b273f0fe41308dcf2d07af5117c8c9c6708ecfc8e169e8eaca5fb