[INFO] updating cached repository https://github.com/code0100fun/rust-fft [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f5600ab6728b85cf90ebf19fd2e9c7a6b19f45f2 [INFO] testing code0100fun/rust-fft against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frust-fft" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/code0100fun/rust-fft on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/code0100fun/rust-fft [INFO] finished tweaking git repo https://github.com/code0100fun/rust-fft [INFO] tweaked toml for git repo https://github.com/code0100fun/rust-fft written to work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/code0100fun/rust-fft already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/big/crater/work/builds/worker-6/source/src/fft.rs` was erroneously implicitly accepted for library `fft`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/big/crater/work/builds/worker-6/source/src/fft.rs` was erroneously implicitly accepted for library `fft`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] ecc2b7fb3b9c9f6236ad5c11cff41df2b543831c37c12d67ee47e8d5b8aa45bc [INFO] running `"docker" "start" "-a" "ecc2b7fb3b9c9f6236ad5c11cff41df2b543831c37c12d67ee47e8d5b8aa45bc"` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/fft.rs` was erroneously implicitly accepted for library `fft`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] Compiling rust-fft v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/fft.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::FloatMath` [INFO] [stderr] --> src/fft.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::num::FloatMath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `FloatMath` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/fft.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | use std::rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/fft.rs:69:18 [INFO] [stderr] | [INFO] [stderr] 69 | for i in range(0, length) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use num::iter::range; [INFO] [stderr] | [INFO] [stderr] 6 | use num::range; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PI_2` in module `consts` [INFO] [stderr] --> src/fft.rs:79:30 [INFO] [stderr] | [INFO] [stderr] 79 | let theta = (consts::PI_2 * k) / n; [INFO] [stderr] | ^^^^ not found in `consts` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/fft.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(slicing_syntax)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/fft.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(macro_rules)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/fft.rs:137:3 [INFO] [stderr] | [INFO] [stderr] 137 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(soft_unstable)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] warning: unused import: `test::Bencher` [INFO] [stderr] --> src/fft.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use test::Bencher; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/fft.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/fft.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use test::Bencher; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `rust-fft`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ecc2b7fb3b9c9f6236ad5c11cff41df2b543831c37c12d67ee47e8d5b8aa45bc"` [INFO] running `"docker" "rm" "-f" "ecc2b7fb3b9c9f6236ad5c11cff41df2b543831c37c12d67ee47e8d5b8aa45bc"` [INFO] [stdout] ecc2b7fb3b9c9f6236ad5c11cff41df2b543831c37c12d67ee47e8d5b8aa45bc