[INFO] cloning repository https://github.com/utkuce/wav2midi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/utkuce/wav2midi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39a30ef0d2c7eddebffaa053ebabccadc94fec12 [INFO] checking utkuce/wav2midi against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/utkuce/wav2midi on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/utkuce/wav2midi [INFO] finished tweaking git repo https://github.com/utkuce/wav2midi [INFO] tweaked toml for git repo https://github.com/utkuce/wav2midi written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/gyng/synthrs` [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.5.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.5) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.5) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] [stderr] Downloaded rimd v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd15c56c5f0e421013398a242efbbfb0d616331b0d261be253555ae911c27199 [INFO] running `Command { std: "docker" "start" "-a" "bd15c56c5f0e421013398a242efbbfb0d616331b0d261be253555ae911c27199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd15c56c5f0e421013398a242efbbfb0d616331b0d261be253555ae911c27199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd15c56c5f0e421013398a242efbbfb0d616331b0d261be253555ae911c27199", kill_on_drop: false }` [INFO] [stdout] bd15c56c5f0e421013398a242efbbfb0d616331b0d261be253555ae911c27199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a79eb34df5b6d8b38637727556144728f26b6ce83b778f081dc363d6c5783ab9 [INFO] running `Command { std: "docker" "start" "-a" "a79eb34df5b6d8b38637727556144728f26b6ce83b778f081dc363d6c5783ab9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking apodize v1.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rimd v0.0.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking synthrs v0.1.0 (https://github.com/gyng/synthrs#77e062f3) [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Checking wav2midi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index.try_into().unwrap())), index); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index.try_into().unwrap())), index); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ ----- expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ ----- expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index.try_into().unwrap())), index); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index.try_into().unwrap())), index); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ ----- expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ ----- expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^^ ------------ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, (index as u64).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/spectrogram.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^^ ------------ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/spectrogram.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, (index as u64).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let predicted_m = col(&m, index-1); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | let predicted_m = col(&m, (index-1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let predicted_m = col(&m, index-1); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | let predicted_m = col(&m, (index-1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, (index-1).try_into().unwrap()),&2, true) - col(&p, index-2); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, (index-1).try_into().unwrap()),&2, true) - col(&p, index-2); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:103:69 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, (index-2).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:103:69 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | --- ^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, (index-2).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let a = col(&m, index) - predicted_m; [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 105 | let a = col(&m, index.try_into().unwrap()) - predicted_m; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let a = col(&m, index) - predicted_m; [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 105 | let a = col(&m, index.try_into().unwrap()) - predicted_m; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let b = col(&p, index) - predicted_p; [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 107 | let b = col(&p, index.try_into().unwrap()) - predicted_p; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let b = col(&p, index) - predicted_p; [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 107 | let b = col(&p, index.try_into().unwrap()) - predicted_p; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wav2midi` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wav2midi` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "a79eb34df5b6d8b38637727556144728f26b6ce83b778f081dc363d6c5783ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79eb34df5b6d8b38637727556144728f26b6ce83b778f081dc363d6c5783ab9", kill_on_drop: false }` [INFO] [stdout] a79eb34df5b6d8b38637727556144728f26b6ce83b778f081dc363d6c5783ab9