[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/39a30ef0d2c7eddebffaa053ebabccadc94fec12 against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/utkuce/wav2midi on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "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 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "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] Downloading crates ... [INFO] [stderr] Downloaded apodize v1.0.0 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49fbbf53ecd0554380477a5a12237723e51db1d92c0ef2829bc2bdce4d88d6f3 [INFO] running `Command { std: "docker" "start" "-a" "49fbbf53ecd0554380477a5a12237723e51db1d92c0ef2829bc2bdce4d88d6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49fbbf53ecd0554380477a5a12237723e51db1d92c0ef2829bc2bdce4d88d6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49fbbf53ecd0554380477a5a12237723e51db1d92c0ef2829bc2bdce4d88d6f3", kill_on_drop: false }` [INFO] [stdout] 49fbbf53ecd0554380477a5a12237723e51db1d92c0ef2829bc2bdce4d88d6f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac39b54fdc87ab015227dfa8ba2f81ede125b605ac97a2e927eded0b717027bd [INFO] running `Command { std: "docker" "start" "-a" "ac39b54fdc87ab015227dfa8ba2f81ede125b605ac97a2e927eded0b717027bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking apodize v1.0.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [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] Checking num v0.1.43 [INFO] [stderr] Checking rimd v0.0.1 [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]: 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]: 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: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]: 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]: 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: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: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: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]: 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wav2midi` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac39b54fdc87ab015227dfa8ba2f81ede125b605ac97a2e927eded0b717027bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac39b54fdc87ab015227dfa8ba2f81ede125b605ac97a2e927eded0b717027bd", kill_on_drop: false }` [INFO] [stdout] ac39b54fdc87ab015227dfa8ba2f81ede125b605ac97a2e927eded0b717027bd