[INFO] crate distributions 0.0.2 is already in cache [INFO] testing distributions-0.0.2 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate distributions 0.0.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate distributions 0.0.2 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b18aea43f183d962d56de6428246bad03cba3f7050604883a3652531152ba060 [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" "b18aea43f183d962d56de6428246bad03cba3f7050604883a3652531152ba060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b18aea43f183d962d56de6428246bad03cba3f7050604883a3652531152ba060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18aea43f183d962d56de6428246bad03cba3f7050604883a3652531152ba060", kill_on_drop: false }` [INFO] [stdout] b18aea43f183d962d56de6428246bad03cba3f7050604883a3652531152ba060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba45560c5d70220724e9c525cb33b390240084a4fcdf1ca00621683fc70e3eb2 [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" "ba45560c5d70220724e9c525cb33b390240084a4fcdf1ca00621683fc70e3eb2", kill_on_drop: false }` [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling GSL v0.4.31 [INFO] [stderr] Compiling 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] [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[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 or module `Normal` [INFO] [stdout] --> src/gaussian.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | distri: Normal::new(mu,sigma), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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[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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(non_ascii_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0554, 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] running `Command { std: "docker" "inspect" "ba45560c5d70220724e9c525cb33b390240084a4fcdf1ca00621683fc70e3eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba45560c5d70220724e9c525cb33b390240084a4fcdf1ca00621683fc70e3eb2", kill_on_drop: false }` [INFO] [stdout] ba45560c5d70220724e9c525cb33b390240084a4fcdf1ca00621683fc70e3eb2