[INFO] updating cached repository https://github.com/code0100fun/rust-fft [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] checking code0100fun/rust-fft against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frust-fft" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/code0100fun/rust-fft on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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 /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/code0100fun/rust-fft already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/builds/worker-3/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 /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/builds/worker-3/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" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5ce7311167be1a3a7ffd0f78c0333a183fbd6dade9828f796d889dcac559b065 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5ce7311167be1a3a7ffd0f78c0333a183fbd6dade9828f796d889dcac559b065"` [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 autocfg v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking 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::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[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] | [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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/fft.rs:139:24 [INFO] [stderr] | [INFO] [stderr] 139 | static BENCH_SIZE: uint = 256 * 1024; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: 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: `#[deny(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] 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: see issue #50297 for more information [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: see issue #50297 for more information [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:138:27 [INFO] [stderr] | [INFO] [stderr] 138 | fn large_real_fft(b: &mut Bencher) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [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] | [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: 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: `#[deny(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: see issue #50297 for more information [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: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/fft.rs:142:7 [INFO] [stderr] | [INFO] [stderr] 142 | b.iter(|| { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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" "5ce7311167be1a3a7ffd0f78c0333a183fbd6dade9828f796d889dcac559b065"` [INFO] running `"docker" "rm" "-f" "5ce7311167be1a3a7ffd0f78c0333a183fbd6dade9828f796d889dcac559b065"` [INFO] [stdout] 5ce7311167be1a3a7ffd0f78c0333a183fbd6dade9828f796d889dcac559b065