[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#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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 ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded rand v0.8.3 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f764873df1dffa4bfcdb186a26778afb51291840c9f864df6e29b743f597edd3 [INFO] running `Command { std: "docker" "start" "-a" "f764873df1dffa4bfcdb186a26778afb51291840c9f864df6e29b743f597edd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f764873df1dffa4bfcdb186a26778afb51291840c9f864df6e29b743f597edd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f764873df1dffa4bfcdb186a26778afb51291840c9f864df6e29b743f597edd3", kill_on_drop: false }` [INFO] [stdout] f764873df1dffa4bfcdb186a26778afb51291840c9f864df6e29b743f597edd3 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe4eddb24d14fb104d30e283b0ca2bd3f37ddcdfdd9cfd226ccdd8b6e7222dbb [INFO] running `Command { std: "docker" "start" "-a" "fe4eddb24d14fb104d30e283b0ca2bd3f37ddcdfdd9cfd226ccdd8b6e7222dbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [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 getrandom v0.1.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.65s [INFO] running `Command { std: "docker" "inspect" "fe4eddb24d14fb104d30e283b0ca2bd3f37ddcdfdd9cfd226ccdd8b6e7222dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4eddb24d14fb104d30e283b0ca2bd3f37ddcdfdd9cfd226ccdd8b6e7222dbb", kill_on_drop: false }` [INFO] [stdout] fe4eddb24d14fb104d30e283b0ca2bd3f37ddcdfdd9cfd226ccdd8b6e7222dbb [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4dda205954b6707aa133d224478254225f21f53d4694bdf48f6da9a608a0eff [INFO] running `Command { std: "docker" "start" "-a" "a4dda205954b6707aa133d224478254225f21f53d4694bdf48f6da9a608a0eff", 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)]` 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 required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/standard_normal.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ one version of crate `rand` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | extern crate rand_distr; [INFO] [stdout] | ------------------------ one version of crate `rand` used here, as a dependency of crate `rand_distr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_distr-0.4.0/src/normal.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StandardNormal; [INFO] [stdout] | ------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.3/src/distributions/uniform.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait SampleUniform: Sized { [INFO] [stdout] | ------------------------------ this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] 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 required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/normal.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ one version of crate `rand` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | extern crate rand_distr; [INFO] [stdout] | ------------------------ one version of crate `rand` used here, as a dependency of crate `rand_distr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_distr-0.4.0/src/normal.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Normal [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.3/src/distributions/uniform.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait SampleUniform: Sized { [INFO] [stdout] | ------------------------------ this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `practice06_rand` (example "standard_normal") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a4dda205954b6707aa133d224478254225f21f53d4694bdf48f6da9a608a0eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4dda205954b6707aa133d224478254225f21f53d4694bdf48f6da9a608a0eff", kill_on_drop: false }` [INFO] [stdout] a4dda205954b6707aa133d224478254225f21f53d4694bdf48f6da9a608a0eff