[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] testing utkuce/wav2midi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkuce%2Fwav2midi" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/utkuce/wav2midi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3df1a6b0b6045379bc0a5a39a3c319efe79c559b578c753b7fd867b6e747e1e [INFO] running `Command { std: "docker" "start" "-a" "b3df1a6b0b6045379bc0a5a39a3c319efe79c559b578c753b7fd867b6e747e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3df1a6b0b6045379bc0a5a39a3c319efe79c559b578c753b7fd867b6e747e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3df1a6b0b6045379bc0a5a39a3c319efe79c559b578c753b7fd867b6e747e1e", kill_on_drop: false }` [INFO] [stdout] b3df1a6b0b6045379bc0a5a39a3c319efe79c559b578c753b7fd867b6e747e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa05cd6156f365cc9355733077df3bd964723de7963d6e68771e2f1ec18f5e2a [INFO] running `Command { std: "docker" "start" "-a" "aa05cd6156f365cc9355733077df3bd964723de7963d6e68771e2f1ec18f5e2a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling apodize v1.0.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling rimd v0.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling synthrs v0.1.0 (https://github.com/gyng/synthrs#77e062f3) [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Compiling 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: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[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `f64: ImplicitPromote<{integer}>` found in the `arrayfire` crate: [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] and 3 more [INFO] [stdout] note: required by a bound in `arrayfire::mul` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:476:1 [INFO] [stdout] | [INFO] [stdout] 476 | overloaded_binary_func!("Multiplication of two Arrays", mul, mul_helper, af_mul); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arrayfire::mul` [INFO] [stdout] = note: this error originates in the macro `overloaded_binary_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul::(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ImplicitPromote` found in the `arrayfire` crate: [INFO] [stdout] - impl ImplicitPromote for i16; [INFO] [stdout] - impl ImplicitPromote for i32; [INFO] [stdout] - impl ImplicitPromote for i64; [INFO] [stdout] - impl ImplicitPromote for u16; [INFO] [stdout] and 3 more [INFO] [stdout] note: required by a bound in `arrayfire::mul` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:476:1 [INFO] [stdout] | [INFO] [stdout] 476 | overloaded_binary_func!("Multiplication of two Arrays", mul, mul_helper, af_mul); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arrayfire::mul` [INFO] [stdout] = note: this error originates in the macro `overloaded_binary_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul::(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let predicted_p = mul(&col(&p, index-1),&2, true) - col(&p, index-2); [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ConstGenerator` found in the `arrayfire` crate: [INFO] [stdout] - impl ConstGenerator for i16; [INFO] [stdout] - impl ConstGenerator for i32; [INFO] [stdout] - impl ConstGenerator for i64; [INFO] [stdout] - impl ConstGenerator for u16; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Convertable` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let rectified = (&a + abs(&a))/2; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `f64: ImplicitPromote<{integer}>` found in the `arrayfire` crate: [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] - impl ImplicitPromote for f64; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Div<{integer}>` for `arrayfire::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let rectified = (&a + abs(&a))/2; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ImplicitPromote` found in the `arrayfire` crate: [INFO] [stdout] - impl ImplicitPromote for i16; [INFO] [stdout] - impl ImplicitPromote for i32; [INFO] [stdout] - impl ImplicitPromote for i64; [INFO] [stdout] - impl ImplicitPromote for u16; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Div<{integer}>` for `arrayfire::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let rectified = (&a + abs(&a))/2; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ConstGenerator` found in the `arrayfire` crate: [INFO] [stdout] - impl ConstGenerator for i16; [INFO] [stdout] - impl ConstGenerator for i32; [INFO] [stdout] - impl ConstGenerator for i64; [INFO] [stdout] - impl ConstGenerator for u16; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Div<{integer}>` for `arrayfire::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | let distance = sqrt(&(pow(&rectified, &2, true) + pow(&b, &2, true))); [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ConstGenerator` found in the `arrayfire` crate: [INFO] [stdout] - impl ConstGenerator for i16; [INFO] [stdout] - impl ConstGenerator for i32; [INFO] [stdout] - impl ConstGenerator for i64; [INFO] [stdout] - impl ConstGenerator for u16; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Convertable` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/spectrogram.rs:108:59 [INFO] [stdout] | [INFO] [stdout] 108 | let distance = sqrt(&(pow(&rectified, &2, true) + pow(&b, &2, true))); [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ConstGenerator` found in the `arrayfire` crate: [INFO] [stdout] - impl ConstGenerator for i16; [INFO] [stdout] - impl ConstGenerator for i32; [INFO] [stdout] - impl ConstGenerator for i64; [INFO] [stdout] - impl ConstGenerator for u16; [INFO] [stdout] and 3 more [INFO] [stdout] = note: required because of the requirements on the impl of `Convertable` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wav2midi` due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "aa05cd6156f365cc9355733077df3bd964723de7963d6e68771e2f1ec18f5e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa05cd6156f365cc9355733077df3bd964723de7963d6e68771e2f1ec18f5e2a", kill_on_drop: false }` [INFO] [stdout] aa05cd6156f365cc9355733077df3bd964723de7963d6e68771e2f1ec18f5e2a