[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#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/utkuce/wav2midi on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded num-bigint v0.1.45 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] [stderr] Downloaded num-complex v0.1.44 [INFO] [stderr] Downloaded num-rational v0.1.43 [INFO] [stderr] Downloaded rimd v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8226b9e2e7fb2630a2c05950c7ca9b2d5e27837960bfff44819405e55a239db6 [INFO] running `Command { std: "docker" "start" "-a" "8226b9e2e7fb2630a2c05950c7ca9b2d5e27837960bfff44819405e55a239db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8226b9e2e7fb2630a2c05950c7ca9b2d5e27837960bfff44819405e55a239db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8226b9e2e7fb2630a2c05950c7ca9b2d5e27837960bfff44819405e55a239db6", kill_on_drop: false }` [INFO] [stdout] 8226b9e2e7fb2630a2c05950c7ca9b2d5e27837960bfff44819405e55a239db6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a68ab55eed75d2cad39a62a8ab317f9689e7ed17f1a1c010909121e0f6c05a [INFO] running `Command { std: "docker" "start" "-a" "40a68ab55eed75d2cad39a62a8ab317f9689e7ed17f1a1c010909121e0f6c05a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking apodize v1.0.0 [INFO] [stderr] Checking hound v3.5.1 [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-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking rimd v0.0.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking synthrs v0.1.0 (https://github.com/gyng/synthrs#77e062f3) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Checking wav2midi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub extern fn clean2d( ptr : *const raw::c_void) [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub extern fn clean1d( ptr : *const raw::c_void) [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub extern fn create_midi(frequencies: *mut raw::c_uint, f_len: raw::c_uint, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub extern fn clean2d( ptr : *const raw::c_void) [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub extern fn clean1d( ptr : *const raw::c_void) [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub extern fn create_midi(frequencies: *mut raw::c_uint, f_len: raw::c_uint, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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]: 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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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]: 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-1949cf8c6b5b557f/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]: 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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]: 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wav2midi` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wav2midi` (lib) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40a68ab55eed75d2cad39a62a8ab317f9689e7ed17f1a1c010909121e0f6c05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a68ab55eed75d2cad39a62a8ab317f9689e7ed17f1a1c010909121e0f6c05a", kill_on_drop: false }` [INFO] [stdout] 40a68ab55eed75d2cad39a62a8ab317f9689e7ed17f1a1c010909121e0f6c05a