[INFO] cloning repository https://github.com/alamminsalo/fft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alamminsalo/fft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamminsalo%2Ffft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamminsalo%2Ffft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b368044f0643f7b733f93e7f795f1be786b48b8f [INFO] checking alamminsalo/fft/b368044f0643f7b733f93e7f795f1be786b48b8f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamminsalo%2Ffft" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alamminsalo/fft on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alamminsalo/fft [INFO] finished tweaking git repo https://github.com/alamminsalo/fft [INFO] tweaked toml for git repo https://github.com/alamminsalo/fft written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alamminsalo/fft already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded svg v0.5.11 [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded tui v0.2.3 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded num-complex v0.2.1 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded plotlib v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c96ccf050f5d2553c9299b8c49eb801f697aac59a7dd4981a60e7447a3699f5 [INFO] running `Command { std: "docker" "start" "-a" "0c96ccf050f5d2553c9299b8c49eb801f697aac59a7dd4981a60e7447a3699f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c96ccf050f5d2553c9299b8c49eb801f697aac59a7dd4981a60e7447a3699f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c96ccf050f5d2553c9299b8c49eb801f697aac59a7dd4981a60e7447a3699f5", kill_on_drop: false }` [INFO] [stdout] 0c96ccf050f5d2553c9299b8c49eb801f697aac59a7dd4981a60e7447a3699f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1e2404a345988e11e7e3fdd468f572a9c8b39743882a622ed8d2e22083401e1 [INFO] running `Command { std: "docker" "start" "-a" "e1e2404a345988e11e7e3fdd468f572a9c8b39743882a622ed8d2e22083401e1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking svg v0.5.11 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking plotlib v0.3.0 [INFO] [stderr] Checking tui v0.2.3 [INFO] [stderr] Checking fft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | let circle = graph_circle(&sine, 5.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | let circle = graph_circle(&sine, 5.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let circle = graph_circle(&sine, 10.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | let circle = graph_circle(&sine, 5.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | let circle = graph_circle(&sine, 5.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | let circle = graph_circle(&sine, 60.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | let circle = graph_circle(&sine, 5.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | let circle = graph_circle(&sine, 60.0); [INFO] [stdout] | ------------ ^^^^^ expected `&[(f32, f32)]`, found `&Sample` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn graph_circle(data: &[(f32,f32)], f: f32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analysis` [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let analysis = fft::analyze(&sample, ft_min, ft_max, ft_ss); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analysis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analysis` [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let analysis = fft::analyze(&sample, ft_min, ft_max, ft_ss); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analysis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fft` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1e2404a345988e11e7e3fdd468f572a9c8b39743882a622ed8d2e22083401e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e2404a345988e11e7e3fdd468f572a9c8b39743882a622ed8d2e22083401e1", kill_on_drop: false }` [INFO] [stdout] e1e2404a345988e11e7e3fdd468f572a9c8b39743882a622ed8d2e22083401e1