[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] checking dandelion-blanc/practice06_rand against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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] checking dandelion-blanc/practice06_rand against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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_distr v0.4.0 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 177874dc931629b652594ac56db98356af923a2d061cdd539a779aaa4f296e1f [INFO] running `Command { std: "docker" "start" "-a" "177874dc931629b652594ac56db98356af923a2d061cdd539a779aaa4f296e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177874dc931629b652594ac56db98356af923a2d061cdd539a779aaa4f296e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177874dc931629b652594ac56db98356af923a2d061cdd539a779aaa4f296e1f", kill_on_drop: false }` [INFO] [stdout] 177874dc931629b652594ac56db98356af923a2d061cdd539a779aaa4f296e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d283584bf501c04034aab3e7dc3a6e26b23e20cc4dbff7906e84508f9c464c29 [INFO] running `Command { std: "docker" "start" "-a" "d283584bf501c04034aab3e7dc3a6e26b23e20cc4dbff7906e84508f9c464c29", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking practice06_rand v0.1.0 (/opt/rustwide/workdir) [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] 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::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" "d283584bf501c04034aab3e7dc3a6e26b23e20cc4dbff7906e84508f9c464c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d283584bf501c04034aab3e7dc3a6e26b23e20cc4dbff7906e84508f9c464c29", kill_on_drop: false }` [INFO] [stdout] d283584bf501c04034aab3e7dc3a6e26b23e20cc4dbff7906e84508f9c464c29