[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#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice06_rand" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice06_rand 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] 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aa9af142eb36cc4b797d71ed3ce118051653b2d4438db1f9ce6fd5f5f46d19cc [INFO] running `Command { std: "docker" "start" "-a" "aa9af142eb36cc4b797d71ed3ce118051653b2d4438db1f9ce6fd5f5f46d19cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9af142eb36cc4b797d71ed3ce118051653b2d4438db1f9ce6fd5f5f46d19cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9af142eb36cc4b797d71ed3ce118051653b2d4438db1f9ce6fd5f5f46d19cc", kill_on_drop: false }` [INFO] [stdout] aa9af142eb36cc4b797d71ed3ce118051653b2d4438db1f9ce6fd5f5f46d19cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f6ae7063984c20d40bfd4531bfe17a517c3bb3e6f185e74763eb835be4e0faf4 [INFO] running `Command { std: "docker" "start" "-a" "f6ae7063984c20d40bfd4531bfe17a517c3bb3e6f185e74763eb835be4e0faf4", 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 getrandom v0.1.14 [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 4.23s [INFO] running `Command { std: "docker" "inspect" "f6ae7063984c20d40bfd4531bfe17a517c3bb3e6f185e74763eb835be4e0faf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ae7063984c20d40bfd4531bfe17a517c3bb3e6f185e74763eb835be4e0faf4", kill_on_drop: false }` [INFO] [stdout] f6ae7063984c20d40bfd4531bfe17a517c3bb3e6f185e74763eb835be4e0faf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a9e172d7298d930d4d6d4144cdc331db5d309c92254c80ac0e948b5bec40269 [INFO] running `Command { std: "docker" "start" "-a" "3a9e172d7298d930d4d6d4144cdc331db5d309c92254c80ac0e948b5bec40269", 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 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 "standard_normal") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `practice06_rand` (example "normal") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a9e172d7298d930d4d6d4144cdc331db5d309c92254c80ac0e948b5bec40269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9e172d7298d930d4d6d4144cdc331db5d309c92254c80ac0e948b5bec40269", kill_on_drop: false }` [INFO] [stdout] 3a9e172d7298d930d4d6d4144cdc331db5d309c92254c80ac0e948b5bec40269