[INFO] cloning repository code0100fun/rust-fft [INFO] running `"git" "clone" "--bare" "git://github.com/code0100fun/rust-fft.git" "work/cache/sources/gh/code0100fun/rust-fft"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/code0100fun/rust-fft'... [INFO] running `"git" "clone" "work/cache/sources/gh/code0100fun/rust-fft" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/code0100fun/rust-fft"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/code0100fun/rust-fft'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/code0100fun/rust-fft" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/code0100fun/rust-fft"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/code0100fun/rust-fft'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f5600ab6728b85cf90ebf19fd2e9c7a6b19f45f2 [INFO] sha for GitHub repo code0100fun/rust-fft: f5600ab6728b85cf90ebf19fd2e9c7a6b19f45f2 [INFO] validating manifest of code0100fun/rust-fft on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of code0100fun/rust-fft on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing code0100fun/rust-fft [INFO] finished frobbing code0100fun/rust-fft [INFO] frobbed toml for code0100fun/rust-fft written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/code0100fun/rust-fft/Cargo.toml [INFO] started frobbing code0100fun/rust-fft [INFO] finished frobbing code0100fun/rust-fft [INFO] frobbed toml for code0100fun/rust-fft written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/code0100fun/rust-fft/Cargo.toml [INFO] crate code0100fun/rust-fft already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/code0100fun/rust-fft/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing code0100fun/rust-fft against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-7/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/code0100fun/rust-fft:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] cf75569ddf86764db870d0848fde34dd3c6737500e681a9172401177dfc6d77f [INFO] running `"docker" "start" "-a" "cf75569ddf86764db870d0848fde34dd3c6737500e681a9172401177dfc6d77f"` [INFO] [stderr] warning: path `/opt/crater/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/crater/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] 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/27812 [INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable [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/27812 [INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, 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" "cf75569ddf86764db870d0848fde34dd3c6737500e681a9172401177dfc6d77f"` [INFO] running `"docker" "rm" "-f" "cf75569ddf86764db870d0848fde34dd3c6737500e681a9172401177dfc6d77f"` [INFO] [stdout] cf75569ddf86764db870d0848fde34dd3c6737500e681a9172401177dfc6d77f