[INFO] cloning repository https://github.com/TeslasGhost/Read-Write-WAV [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TeslasGhost/Read-Write-WAV" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeslasGhost%2FRead-Write-WAV", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeslasGhost%2FRead-Write-WAV'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffa75e25db5891496bc961b7331fa0c7fcb297ed [INFO] checking TeslasGhost/Read-Write-WAV against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeslasGhost%2FRead-Write-WAV" "/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/TeslasGhost/Read-Write-WAV on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TeslasGhost/Read-Write-WAV [INFO] finished tweaking git repo https://github.com/TeslasGhost/Read-Write-WAV [INFO] tweaked toml for git repo https://github.com/TeslasGhost/Read-Write-WAV written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/TeslasGhost/Read-Write-WAV already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] ede1c32cded9a1ad797ec3d15c112eb2fd03cd3e95550a0384699e9e2a649edc [INFO] running `Command { std: "docker" "start" "-a" "ede1c32cded9a1ad797ec3d15c112eb2fd03cd3e95550a0384699e9e2a649edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ede1c32cded9a1ad797ec3d15c112eb2fd03cd3e95550a0384699e9e2a649edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede1c32cded9a1ad797ec3d15c112eb2fd03cd3e95550a0384699e9e2a649edc", kill_on_drop: false }` [INFO] [stdout] ede1c32cded9a1ad797ec3d15c112eb2fd03cd3e95550a0384699e9e2a649edc [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de060dda2b473ea2f18f44ce2216731a7d88996a532337f646c651ec2b190ba7 [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" "de060dda2b473ea2f18f44ce2216731a7d88996a532337f646c651ec2b190ba7", kill_on_drop: false }` [INFO] [stderr] Checking sample v0.6.2 [INFO] [stderr] Checking hound v3.0.0 [INFO] [stderr] Checking readwritewav v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToFrameSliceMut` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use sample::{signal, Signal, ToFrameSliceMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let start_frequency = ((begin as i32) * (sample_rate)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let end_frequency = ((end as i32) * (sample_rate)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToFrameSliceMut` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use sample::{signal, Signal, ToFrameSliceMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let start_frequency = ((begin as i32) * (sample_rate)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let end_frequency = ((end as i32) * (sample_rate)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `readwritewav` [INFO] [stdout] error[E0277]: the type `[[i16; 2]]` cannot be indexed by `std::ops::Range` [INFO] [stdout] --> src/main.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let the_slice = &frames[start_frame..end_frame]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[[i16; 2]]>` is not implemented for `std::ops::Range` [INFO] [stdout] = note: required because of the requirements on the impl of `Index>` for `Vec<[i16; 2]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the type `[[i16; 2]]` cannot be indexed by `std::ops::Range` [INFO] [stdout] --> src/main.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let the_slice = &frames[start_frame..end_frame]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[[i16; 2]]>` is not implemented for `std::ops::Range` [INFO] [stdout] = note: required because of the requirements on the impl of `Index>` for `Vec<[i16; 2]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de060dda2b473ea2f18f44ce2216731a7d88996a532337f646c651ec2b190ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de060dda2b473ea2f18f44ce2216731a7d88996a532337f646c651ec2b190ba7", kill_on_drop: false }` [INFO] [stdout] de060dda2b473ea2f18f44ce2216731a7d88996a532337f646c651ec2b190ba7