[INFO] fetching crate distributions 0.0.2... [INFO] checking distributions-0.0.2 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate distributions 0.0.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate distributions 0.0.2 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate distributions 0.0.2 [INFO] finished tweaking crates.io crate distributions 0.0.2 [INFO] tweaked toml for crates.io crate distributions 0.0.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] [stderr] Downloaded GSL v0.4.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fadadcd45c47a01d8352d7f668602e68fffb0746e83a2a1debd16bc5b96ec53a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fadadcd45c47a01d8352d7f668602e68fffb0746e83a2a1debd16bc5b96ec53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadadcd45c47a01d8352d7f668602e68fffb0746e83a2a1debd16bc5b96ec53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadadcd45c47a01d8352d7f668602e68fffb0746e83a2a1debd16bc5b96ec53a", kill_on_drop: false }` [INFO] [stdout] fadadcd45c47a01d8352d7f668602e68fffb0746e83a2a1debd16bc5b96ec53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40cd54153e2b23bc3922f1aec73ef667fbbf2625c288d873321eab8f0d7d16d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a40cd54153e2b23bc3922f1aec73ef667fbbf2625c288d873321eab8f0d7d16d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Compiling GSL v0.4.31 [INFO] [stderr] Checking distributions v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/gaussian.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{r#mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for integer literal [INFO] [stdout] --> src/gaussian.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | for _ in range(0,20i) { [INFO] [stdout] | ^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/uniform.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{r#mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/uniform.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/uniform.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/gaussian.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::distributions::{Sample, Normal,IndependentSample}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/gaussian.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/gaussian.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/uniform.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::distributions::{Sample, Normal,IndependentSample}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/uniform.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/gaussian.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{r#mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for integer literal [INFO] [stdout] --> src/gaussian.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | for _ in range(0,20i) { [INFO] [stdout] | ^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/uniform.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{r#mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/uniform.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/uniform.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/uniform.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/uniform.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/gaussian.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::distributions::{Sample, Normal,IndependentSample}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/gaussian.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/gaussian.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/uniform.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::distributions::{Sample, Normal,IndependentSample}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/uniform.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand::{mod, Rng, task_rng, TaskRng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/uniform.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/gaussian.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/uniform.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Normal` [INFO] [stdout] --> src/gaussian.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | distri: Normal::new(mu,sigma), [INFO] [stdout] | ^^^^^^ use of undeclared type `Normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Normal` [INFO] [stdout] --> src/gaussian.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | distri: Normal::new(mu,sigma), [INFO] [stdout] | ^^^^^^ use of undeclared type `Normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Normal` in this scope [INFO] [stdout] --> src/gaussian.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | distri: Normal, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::num::FpCategory::Normal` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 11 | distri: std::num::FpCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | distri: std::path::Component, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sample` in this scope [INFO] [stdout] --> src/gaussian.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sample for Gaussian { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IndependentSample` in this scope [INFO] [stdout] --> src/gaussian.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl IndependentSample for Gaussian { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/gaussian.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | for _ in range(0,20i) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sample` in this scope [INFO] [stdout] --> src/uniform.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sample for Uniform { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IndependentSample` in this scope [INFO] [stdout] --> src/uniform.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl IndependentSample for Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Normal` in this scope [INFO] [stdout] --> src/gaussian.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | distri: Normal, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::num::FpCategory::Normal` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 11 | distri: std::num::FpCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | distri: std::path::Component, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sample` in this scope [INFO] [stdout] --> src/gaussian.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sample for Gaussian { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IndependentSample` in this scope [INFO] [stdout] --> src/gaussian.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl IndependentSample for Gaussian { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/gaussian.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | for _ in range(0,20i) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sample` in this scope [INFO] [stdout] --> src/uniform.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sample for Uniform { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IndependentSample` in this scope [INFO] [stdout] --> src/uniform.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl IndependentSample for Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/uniform.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/uniform.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for _ in range(0u, 99u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributions` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a40cd54153e2b23bc3922f1aec73ef667fbbf2625c288d873321eab8f0d7d16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40cd54153e2b23bc3922f1aec73ef667fbbf2625c288d873321eab8f0d7d16d", kill_on_drop: false }` [INFO] [stdout] a40cd54153e2b23bc3922f1aec73ef667fbbf2625c288d873321eab8f0d7d16d