[INFO] updating cached repository TeslasGhost/Read-Write-WAV [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/TeslasGhost/Read-Write-WAV [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/TeslasGhost/Read-Write-WAV" "work/ex/beta-1.38-1/sources/1.37.0/gh/TeslasGhost/Read-Write-WAV"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/TeslasGhost/Read-Write-WAV'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/TeslasGhost/Read-Write-WAV" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TeslasGhost/Read-Write-WAV"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TeslasGhost/Read-Write-WAV'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ffa75e25db5891496bc961b7331fa0c7fcb297ed [INFO] sha for GitHub repo TeslasGhost/Read-Write-WAV: ffa75e25db5891496bc961b7331fa0c7fcb297ed [INFO] validating manifest of TeslasGhost/Read-Write-WAV on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of TeslasGhost/Read-Write-WAV on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing TeslasGhost/Read-Write-WAV [INFO] finished frobbing TeslasGhost/Read-Write-WAV [INFO] frobbed toml for TeslasGhost/Read-Write-WAV written to work/ex/beta-1.38-1/sources/1.37.0/gh/TeslasGhost/Read-Write-WAV/Cargo.toml [INFO] started frobbing TeslasGhost/Read-Write-WAV [INFO] finished frobbing TeslasGhost/Read-Write-WAV [INFO] frobbed toml for TeslasGhost/Read-Write-WAV written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TeslasGhost/Read-Write-WAV/Cargo.toml [INFO] crate TeslasGhost/Read-Write-WAV already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing TeslasGhost/Read-Write-WAV against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/TeslasGhost/Read-Write-WAV:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 1278bbe23d411fa1a7574fedac49a40726f2d5255747262d1de1396947aa9672 [INFO] running `"docker" "start" "-a" "1278bbe23d411fa1a7574fedac49a40726f2d5255747262d1de1396947aa9672"` [INFO] [stderr] Compiling hound v3.0.0 [INFO] [stderr] Compiling sample v0.6.2 [INFO] [stderr] Compiling readwritewav v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `ToFrameSliceMut` [INFO] [stderr] --> src/main.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | use sample::{signal, Signal, ToFrameSliceMut}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:150:27 [INFO] [stderr] | [INFO] [stderr] 150 | let start_frequency = ((begin as i32) * (sample_rate)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | let end_frequency = ((end as i32) * (sample_rate)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[[i16; 2]]` cannot be indexed by `std::ops::Range` [INFO] [stderr] --> src/main.rs:126:22 [INFO] [stderr] | [INFO] [stderr] 126 | let the_slice = &frames[start_frame..end_frame]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[[i16; 2]]>` is not implemented for `std::ops::Range` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index>` for `std::vec::Vec<[i16; 2]>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `readwritewav`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1278bbe23d411fa1a7574fedac49a40726f2d5255747262d1de1396947aa9672"` [INFO] running `"docker" "rm" "-f" "1278bbe23d411fa1a7574fedac49a40726f2d5255747262d1de1396947aa9672"` [INFO] [stdout] 1278bbe23d411fa1a7574fedac49a40726f2d5255747262d1de1396947aa9672