[INFO] cloning repository https://github.com/dandelion-blanc/practice06_rand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dandelion-blanc/practice06_rand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d857b5846baed4f677c328d816170b65fc486d7 [INFO] testing dandelion-blanc/practice06_rand against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dandelion-blanc/practice06_rand [INFO] finished tweaking git repo https://github.com/dandelion-blanc/practice06_rand [INFO] tweaked toml for git repo https://github.com/dandelion-blanc/practice06_rand written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dandelion-blanc/practice06_rand already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing dandelion-blanc/practice06_rand against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dandelion-blanc/practice06_rand [INFO] finished tweaking git repo https://github.com/dandelion-blanc/practice06_rand [INFO] tweaked toml for git repo https://github.com/dandelion-blanc/practice06_rand written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dandelion-blanc/practice06_rand already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded rand_distr v0.4.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e11293e2e0a731bc9427f3dd352e4f73363021b72fad4cc3128dca077f864d20 [INFO] running `Command { std: "docker" "start" "-a" "e11293e2e0a731bc9427f3dd352e4f73363021b72fad4cc3128dca077f864d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e11293e2e0a731bc9427f3dd352e4f73363021b72fad4cc3128dca077f864d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11293e2e0a731bc9427f3dd352e4f73363021b72fad4cc3128dca077f864d20", kill_on_drop: false }` [INFO] [stdout] e11293e2e0a731bc9427f3dd352e4f73363021b72fad4cc3128dca077f864d20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1665fa2f5db10cfcfd16dab12dcc04bbd62cfde41fb4fc89d105f3e068dba407 [INFO] running `Command { std: "docker" "start" "-a" "1665fa2f5db10cfcfd16dab12dcc04bbd62cfde41fb4fc89d105f3e068dba407", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.4.0 [INFO] [stderr] Compiling practice06_rand v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "1665fa2f5db10cfcfd16dab12dcc04bbd62cfde41fb4fc89d105f3e068dba407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1665fa2f5db10cfcfd16dab12dcc04bbd62cfde41fb4fc89d105f3e068dba407", kill_on_drop: false }` [INFO] [stdout] 1665fa2f5db10cfcfd16dab12dcc04bbd62cfde41fb4fc89d105f3e068dba407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f605c7b40ed0df61f42107f17072f13344ae7397062fc3c44169de1e22b1388 [INFO] running `Command { std: "docker" "start" "-a" "8f605c7b40ed0df61f42107f17072f13344ae7397062fc3c44169de1e22b1388", kill_on_drop: false }` [INFO] [stderr] Compiling practice06_rand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> examples/normal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand_distr::StandardNormal: rand::distributions::Distribution<_>` is not satisfied [INFO] [stdout] --> examples/standard_normal.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | let val :f64 = thread_rng().sample(StandardNormal); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ the trait `rand::distributions::Distribution<_>` is not implemented for `rand_distr::StandardNormal` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/distributions/mod.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | pub trait Distribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.3/src/distributions/mod.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | pub trait Distribution { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this is the found trait [INFO] [stdout] | this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `rand::distributions::Distribution`: [INFO] [stdout] `&'a D` implements `rand::distributions::Distribution` [INFO] [stdout] `UnitSphereSurface` implements `rand::distributions::Distribution<[f64; 3]>` [INFO] [stdout] `rand::distributions::Alphanumeric` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Bernoulli` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Beta` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Binomial` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Cauchy` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::ChiSquared` implements `rand::distributions::Distribution` [INFO] [stdout] and 91 others [INFO] [stdout] note: required by a bound in `rand::Rng::sample` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | fn sample>(&mut self, distr: D) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Rng::sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `practice06_rand` (example "standard_normal") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `rand_distr::Normal: rand::distributions::Distribution<_>` is not satisfied [INFO] [stdout] --> examples/normal.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | let x :f64 = rng.sample(normal); [INFO] [stdout] | ------ ^^^^^^ the trait `rand::distributions::Distribution<_>` is not implemented for `rand_distr::Normal` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/distributions/mod.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | pub trait Distribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.3/src/distributions/mod.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | pub trait Distribution { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `rand::distributions::Distribution`: [INFO] [stdout] `&'a D` implements `rand::distributions::Distribution` [INFO] [stdout] `UnitSphereSurface` implements `rand::distributions::Distribution<[f64; 3]>` [INFO] [stdout] `rand::distributions::Alphanumeric` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Bernoulli` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Beta` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Binomial` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::Cauchy` implements `rand::distributions::Distribution` [INFO] [stdout] `rand::distributions::ChiSquared` implements `rand::distributions::Distribution` [INFO] [stdout] and 91 others [INFO] [stdout] note: required by a bound in `rand::Rng::sample` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | fn sample>(&mut self, distr: D) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Rng::sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> examples/normal.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `practice06_rand` (example "normal") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f605c7b40ed0df61f42107f17072f13344ae7397062fc3c44169de1e22b1388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f605c7b40ed0df61f42107f17072f13344ae7397062fc3c44169de1e22b1388", kill_on_drop: false }` [INFO] [stdout] 8f605c7b40ed0df61f42107f17072f13344ae7397062fc3c44169de1e22b1388