[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/utkuce/wav2midi on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/gyng/synthrs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded apodize v1.0.0 [INFO] [stderr] Downloaded rimd v0.0.1 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a53a9e929b94b00e98712c8bc1a9fea782b13d7d49ac30e9ecad01acf9b389e6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a53a9e929b94b00e98712c8bc1a9fea782b13d7d49ac30e9ecad01acf9b389e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53a9e929b94b00e98712c8bc1a9fea782b13d7d49ac30e9ecad01acf9b389e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53a9e929b94b00e98712c8bc1a9fea782b13d7d49ac30e9ecad01acf9b389e6", kill_on_drop: false }` [INFO] [stdout] a53a9e929b94b00e98712c8bc1a9fea782b13d7d49ac30e9ecad01acf9b389e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a4c42633e134f6b30a34b4edd0b3e50496c0f1879babe1786ec10f1f3db44c0 [INFO] running `Command { std: "docker" "start" "-a" "8a4c42633e134f6b30a34b4edd0b3e50496c0f1879babe1786ec10f1f3db44c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking apodize v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [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 num-rational v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking synthrs v0.1.0 (https://github.com/gyng/synthrs#265ca00e) [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rimd v0.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [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:17 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array` [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] 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:57 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^ expected `i64`, found `u64` [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:17 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array` [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] 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:53 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^ expected `i64`, found `u64` [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:17 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array` [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] 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:57 [INFO] [stdout] | [INFO] [stdout] 26 | set_col(&result, &magnitude(&col(stft, index)), index); [INFO] [stdout] | ^^^^^ expected `i64`, found `u64` [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:17 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^^^^^^^ expected `i64`, found `u64` [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: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] 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:53 [INFO] [stdout] | [INFO] [stdout] 39 | set_col(&result, &phase(&col(stft, index)), index); [INFO] [stdout] | ^^^^^ expected `i64`, found `u64` [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:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let predicted_m = col(&m, index-1); [INFO] [stdout] | ^^^^^^^ expected `i64`, found `u64` [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] 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] 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] 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] 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 13 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut arrayfire::Array<_>` [INFO] [stdout] found reference `&arrayfire::Array>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spectrogram.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | set_col(&array, &new_col, index as u64); [INFO] [stdout] | ^^^^^^^^^^^^ expected `i64`, found `u64` [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] 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] 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] 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] 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] 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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a4c42633e134f6b30a34b4edd0b3e50496c0f1879babe1786ec10f1f3db44c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4c42633e134f6b30a34b4edd0b3e50496c0f1879babe1786ec10f1f3db44c0", kill_on_drop: false }` [INFO] [stdout] 8a4c42633e134f6b30a34b4edd0b3e50496c0f1879babe1786ec10f1f3db44c0