[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 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamminsalo%2Ffft" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alamminsalo/fft on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c8e574ae40cd6a0dfc4a3ad0f178144bb7a69c67c8e49b4d72e3183f12ed0a78 [INFO] running `Command { std: "docker" "start" "-a" "c8e574ae40cd6a0dfc4a3ad0f178144bb7a69c67c8e49b4d72e3183f12ed0a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e574ae40cd6a0dfc4a3ad0f178144bb7a69c67c8e49b4d72e3183f12ed0a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e574ae40cd6a0dfc4a3ad0f178144bb7a69c67c8e49b4d72e3183f12ed0a78", kill_on_drop: false }` [INFO] [stdout] c8e574ae40cd6a0dfc4a3ad0f178144bb7a69c67c8e49b4d72e3183f12ed0a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c9bd520fea229b3bc4b2cec9f9a38083c9464d5db9f6b1e2fd73b9c2efbc78a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1c9bd520fea229b3bc4b2cec9f9a38083c9464d5db9f6b1e2fd73b9c2efbc78a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking svg v0.5.11 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking plotlib v0.3.0 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking tui v0.2.3 [INFO] [stderr] Checking fft v0.1.0 (/opt/rustwide/workdir) [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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 slice, found struct `Sample` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(f32, f32)]` [INFO] [stdout] found reference `&Sample` [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] [stderr] error: could not compile `fft` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1c9bd520fea229b3bc4b2cec9f9a38083c9464d5db9f6b1e2fd73b9c2efbc78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9bd520fea229b3bc4b2cec9f9a38083c9464d5db9f6b1e2fd73b9c2efbc78a", kill_on_drop: false }` [INFO] [stdout] 1c9bd520fea229b3bc4b2cec9f9a38083c9464d5db9f6b1e2fd73b9c2efbc78a