[INFO] fetching crate gpu-sw 1.0.4... [INFO] checking gpu-sw-1.0.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate gpu-sw 1.0.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate gpu-sw 1.0.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gpu-sw 1.0.4 [INFO] finished tweaking crates.io crate gpu-sw 1.0.4 [INFO] tweaked toml for crates.io crate gpu-sw 1.0.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c68a3f87e902b725677fcc62defd508e7f874d81522adf0ba9c99d4e99efd5 [INFO] running `Command { std: "docker" "start" "-a" "c5c68a3f87e902b725677fcc62defd508e7f874d81522adf0ba9c99d4e99efd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c68a3f87e902b725677fcc62defd508e7f874d81522adf0ba9c99d4e99efd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c68a3f87e902b725677fcc62defd508e7f874d81522adf0ba9c99d4e99efd5", kill_on_drop: false }` [INFO] [stdout] c5c68a3f87e902b725677fcc62defd508e7f874d81522adf0ba9c99d4e99efd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b894ff1c41883041660d4ef2d63d541d8f9a28d2228fe40154c43fbb48dbd87 [INFO] running `Command { std: "docker" "start" "-a" "5b894ff1c41883041660d4ef2d63d541d8f9a28d2228fe40154c43fbb48dbd87", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Checking gpu-sw v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let prvs_rw = row(&dp_mt, i - 1); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 90 | let prvs_rw = row(&dp_mt, (i - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let mut prvs_rw_tl = cols(&prvs_rw, 1, dp_mt_dms[1] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 91 | let mut prvs_rw_tl = cols(&prvs_rw, 1, (dp_mt_dms[1] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] -... [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, (i - 1).try_into().unwrap()), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let prvs_rw = row(&dp_mt, i - 1); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 90 | let prvs_rw = row(&dp_mt, (i - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:65 [INFO] [stdout] | [INFO] [stdout] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] -... [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, (dp_mt_dms[1] - 1).try_into().unwrap()), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:124 [INFO] [stdout] | [INFO] [stdout] 92 | ..._dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, (dp_mt_dms[1] - 1).try_into().unwrap()), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let mut prvs_rw_tl = cols(&prvs_rw, 1, dp_mt_dms[1] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 91 | let mut prvs_rw_tl = cols(&prvs_rw, 1, (dp_mt_dms[1] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] -... [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, (i - 1).try_into().unwrap()), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, (dp_mt_dms[1] - 2).try_into().unwrap()), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:65 [INFO] [stdout] | [INFO] [stdout] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] -... [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, (dp_mt_dms[1] - 1).try_into().unwrap()), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:84 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, (i - 1).try_into().unwrap()), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:95 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, (dp_mt_dms[1] - 2).try_into().unwrap()), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:92:124 [INFO] [stdout] | [INFO] [stdout] 92 | ..._dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, dp_mt_dms[1] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 92 | replace(&mut prvs_rw_tl, &eq(&cols(&row(&src_mt, i - 1), 1, dp_mt_dms[1] - 1), &VRTCL, false), &add(&cols(&prvs_rw, 1, (dp_mt_dms[1] - 1).try_into().unwrap()), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, r... [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i.try_into().unwrap()), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, (dp_mt_dms[1] - 2).try_into().unwrap()), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:84 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, (i - 1).try_into().unwrap()), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:94:95 [INFO] [stdout] | [INFO] [stdout] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, dp_mt_dms[1] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cols(input: &Array, first: i64, last: 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] 94 | let prvs_rw_hd = add(&cols(&prvs_rw, 0, dp_mt_dms[1] - 2), &cols(&row(&scr_mt, i - 1), 0, (dp_mt_dms[1] - 2).try_into().unwrap()), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, r... [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn row(input: &Array, row_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] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i.try_into().unwrap()), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | ... = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), ... [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, r... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn set_row(inout: &mut Array, new_row: &Array, row_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] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 83 | ... dp_mt = constant(0. as AlgnScr, Dim4::new(&[scr_mt_dms[0] + 1, scr_mt_dms[1] + 1, 1, 1])); [INFO] [stdout] | --------------------------------------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 98 | ... = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | let prvs_clmn = col(&dp_mt, i - 1); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | let prvs_clmn = col(&dp_mt, (i - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | let mut prvs_clmn_tl = rows(&prvs_clmn, 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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 mut prvs_clmn_tl = rows(&prvs_clmn, 1, (dp_mt_dms[0] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms... [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, (i - 1).try_into().unwrap()), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | ... = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), ... [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, r... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn set_row(inout: &mut Array, new_row: &Array, row_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] 98 | dp_mt = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms... [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, (dp_mt_dms[0] - 1).try_into().unwrap()), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 83 | ... dp_mt = constant(0. as AlgnScr, Dim4::new(&[scr_mt_dms[0] + 1, scr_mt_dms[1] + 1, 1, 1])); [INFO] [stdout] | --------------------------------------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 98 | ... = set_row(&dp_mt, &join(1, &col(&row(&dp_mt, i), 0), &maxof(&maxof(&prvs_rw_tl, &prvs_rw_hd, false), &constant(0. as AlgnScr, rw_tl_dms), false)), ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:129 [INFO] [stdout] | [INFO] [stdout] 104 | ...ms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, (dp_mt_dms[0] - 1).try_into().unwrap()), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | let prvs_clmn = col(&dp_mt, i - 1); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | let prvs_clmn = col(&dp_mt, (i - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, (dp_mt_dms[0] - 2).try_into().unwrap()), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | let mut prvs_clmn_tl = rows(&prvs_clmn, 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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 mut prvs_clmn_tl = rows(&prvs_clmn, 1, (dp_mt_dms[0] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, (i - 1).try_into().unwrap()), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:99 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, (dp_mt_dms[0] - 2).try_into().unwrap()), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms... [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, (i - 1).try_into().unwrap()), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i.try_into().unwrap()), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms... [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, (dp_mt_dms[0] - 1).try_into().unwrap()), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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 crnt_clmn_tl = rows(&col(&dp_mt, i), 1, (dp_mt_dms[0] - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:104:129 [INFO] [stdout] | [INFO] [stdout] 104 | ...ms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, dp_mt_dms[0] - 1), &gp_opn_pnlty, false)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 104 | replace(&mut prvs_clmn_tl, &eq(&rows(&col(&src_mt, i - 1), 1, dp_mt_dms[0] - 1), &HRZNTL, false), &add(&rows(&prvs_clmn, 1, (dp_mt_dms[0] - 1).try_into().unwrap()), &gp_opn_pnlty, false)); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i.try_into().unwrap()), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:109:53 [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, (dp_mt_dms[0] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, (dp_mt_dms[0] - 2).try_into().unwrap()), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | --- ^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, (i - 1).try_into().unwrap()), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:112:59 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i.try_into().unwrap()), 0), &src_clmn_tl), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:106:99 [INFO] [stdout] | [INFO] [stdout] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, dp_mt_dms[0] - 2), false); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 106 | let prvs_clmn_hd = add(&rows(&prvs_clmn, 0, dp_mt_dms[0] - 2), &rows(&col(&scr_mt, i - 1), 0, (dp_mt_dms[0] - 2).try_into().unwrap()), false); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i.try_into().unwrap()), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 86 | let mut src_mt = constant(DGNL, Dim4::new(&[1, dp_mt_dms[1], 1, 1])); [INFO] [stdout] | --------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | let crnt_clmn_tl = rows(&col(&dp_mt, i), 1, dp_mt_dms[0] - 1); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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 crnt_clmn_tl = rows(&col(&dp_mt, i), 1, (dp_mt_dms[0] - 1).try_into().unwrap()); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:113:56 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i.try_into().unwrap()), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i.try_into().unwrap()), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:109:53 [INFO] [stdout] | [INFO] [stdout] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, dp_mt_dms[0] - 1).copy(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn rows(input: &Array, first: i64, last: 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] 109 | let mut src_clmn_tl = rows(&col(&src_mt, i), 1, (dp_mt_dms[0] - 1).try_into().unwrap()).copy(); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut dp_mt = constant(0. as AlgnScr, Dim4::new(&[scr_mt_dms[0] + 1, scr_mt_dms[1] + 1, 1, 1])); [INFO] [stdout] | --------------------------------------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:112:59 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i.try_into().unwrap()), 0), &src_clmn_tl), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 86 | let mut src_mt = constant(DGNL, Dim4::new(&[1, dp_mt_dms[1], 1, 1])); [INFO] [stdout] | --------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 112 | src_mt = set_col(&src_mt, &join(0, &row(&col(&src_mt, i), 0), &src_clmn_tl), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:113:56 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | --- ^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i.try_into().unwrap()), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lb.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^^ - expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/lb.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut Array<_>` [INFO] [stdout] found reference `&Array<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lb.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut dp_mt = constant(0. as AlgnScr, Dim4::new(&[scr_mt_dms[0] + 1, scr_mt_dms[1] + 1, 1, 1])); [INFO] [stdout] | --------------------------------------------------------------------------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 113 | dp_mt = set_col(&dp_mt, &join(0, &row(&col(&dp_mt, i), 0), &maxof(&prvs_clmn_tl, &mx, false)), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Array` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 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 `gpu-sw` (lib) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 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 `gpu-sw` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "5b894ff1c41883041660d4ef2d63d541d8f9a28d2228fe40154c43fbb48dbd87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b894ff1c41883041660d4ef2d63d541d8f9a28d2228fe40154c43fbb48dbd87", kill_on_drop: false }` [INFO] [stdout] 5b894ff1c41883041660d4ef2d63d541d8f9a28d2228fe40154c43fbb48dbd87