[INFO] fetching crate radish-database 0.1.0... [INFO] testing radish-database-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate radish-database 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate radish-database 0.1.0 [INFO] finished tweaking crates.io crate radish-database 0.1.0 [INFO] tweaked toml for crates.io crate radish-database 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate radish-database 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding rmp-serde v0.15.5 (available: v1.3.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8bad8d61e97e2c77d77fafb1b86422bf3a3aaaa1fa16a25f230321b829c7bb5 [INFO] running `Command { std: "docker" "start" "-a" "c8bad8d61e97e2c77d77fafb1b86422bf3a3aaaa1fa16a25f230321b829c7bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8bad8d61e97e2c77d77fafb1b86422bf3a3aaaa1fa16a25f230321b829c7bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8bad8d61e97e2c77d77fafb1b86422bf3a3aaaa1fa16a25f230321b829c7bb5", kill_on_drop: false }` [INFO] [stdout] c8bad8d61e97e2c77d77fafb1b86422bf3a3aaaa1fa16a25f230321b829c7bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946da657d7e85aeccb3d56bca9eecd973908bba51fc8e370cf1e3dc45ea871f1 [INFO] running `Command { std: "docker" "start" "-a" "946da657d7e85aeccb3d56bca9eecd973908bba51fc8e370cf1e3dc45ea871f1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling radish-types v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling radish-database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strings.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | let mut cnt = Self::strings_unwrap_mut_container(&mut cnt)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strings.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | let mut cnt = cnt.remove(0).expect("key should be created, but not"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strings.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | for mut cnt in cnts { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StandardUniform: rand::distr::Distribution` is not satisfied [INFO] [stdout] --> src/set.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let index = rand::random::() % set.len(); [INFO] [stdout] | ^^^^^ the trait `rand::distr::Distribution` is not implemented for `StandardUniform` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rand::distr::Distribution`: [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<()>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F, G)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 33 others [INFO] [stdout] note: required by a bound in `rand::random` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/lib.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn random() -> T [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 173 | where [INFO] [stdout] 174 | StandardUniform: Distribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StandardUniform: rand::distr::Distribution` is not satisfied [INFO] [stdout] --> src/set.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | let index = rand::random::() % set.len(); [INFO] [stdout] | ^^^^^ the trait `rand::distr::Distribution` is not implemented for `StandardUniform` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rand::distr::Distribution`: [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<()>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F, G)>` [INFO] [stdout] `StandardUniform` implements `rand::distr::Distribution<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 33 others [INFO] [stdout] note: required by a bound in `rand::random` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/lib.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn random() -> T [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 173 | where [INFO] [stdout] 174 | StandardUniform: Distribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `random` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radish-database` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "946da657d7e85aeccb3d56bca9eecd973908bba51fc8e370cf1e3dc45ea871f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946da657d7e85aeccb3d56bca9eecd973908bba51fc8e370cf1e3dc45ea871f1", kill_on_drop: false }` [INFO] [stdout] 946da657d7e85aeccb3d56bca9eecd973908bba51fc8e370cf1e3dc45ea871f1