[INFO] fetching crate distributions 0.0.2... [INFO] testing distributions-0.0.2 against beta-2022-04-10 for beta-1.61-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-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb67501598490696f91e5e7acf41383071ba9a9e5e678069830843a59a3d7c3e [INFO] running `Command { std: "docker" "start" "-a" "eb67501598490696f91e5e7acf41383071ba9a9e5e678069830843a59a3d7c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb67501598490696f91e5e7acf41383071ba9a9e5e678069830843a59a3d7c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb67501598490696f91e5e7acf41383071ba9a9e5e678069830843a59a3d7c3e", kill_on_drop: false }` [INFO] [stdout] eb67501598490696f91e5e7acf41383071ba9a9e5e678069830843a59a3d7c3e [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a9d5f8c525702033e49e87e88d712b303b1a303574d433b0378724177a6214 [INFO] running `Command { std: "docker" "start" "-a" "48a9d5f8c525702033e49e87e88d712b303b1a303574d433b0378724177a6214", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [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: 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: escape `mod` to use it as an identifier [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 number 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 numeric types (`u32`, `isize`, `f32`, 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: escape `mod` to use it as an identifier [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 number 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 numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number 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 numeric types (`u32`, `isize`, `f32`, 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 `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] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [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] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `non_ascii_idents` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_ascii_idents` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(non_ascii_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributions` due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "48a9d5f8c525702033e49e87e88d712b303b1a303574d433b0378724177a6214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a9d5f8c525702033e49e87e88d712b303b1a303574d433b0378724177a6214", kill_on_drop: false }` [INFO] [stdout] 48a9d5f8c525702033e49e87e88d712b303b1a303574d433b0378724177a6214