[INFO] fetching crate gpu-sw 1.0.4... [INFO] testing gpu-sw-1.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gpu-sw 1.0.4 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gpu-sw 1.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb698bef8a12d5a6da2e1233913b033ac90bd43e505b8c0f1b2f448d658be628 [INFO] running `Command { std: "docker" "start" "-a" "cb698bef8a12d5a6da2e1233913b033ac90bd43e505b8c0f1b2f448d658be628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb698bef8a12d5a6da2e1233913b033ac90bd43e505b8c0f1b2f448d658be628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb698bef8a12d5a6da2e1233913b033ac90bd43e505b8c0f1b2f448d658be628", kill_on_drop: false }` [INFO] [stdout] cb698bef8a12d5a6da2e1233913b033ac90bd43e505b8c0f1b2f448d658be628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 24c32187ed1df132b529bfe42faead188a765fac75069531ad9b17eacc669583 [INFO] running `Command { std: "docker" "start" "-a" "24c32187ed1df132b529bfe42faead188a765fac75069531ad9b17eacc669583", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Compiling 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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)), i); [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-1949cf8c6b5b557f/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)), 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: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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | let 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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: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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 107 | let 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: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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn col(input: &Array, col_num: i64) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/index.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn set_col(inout: &mut Array, new_col: &Array, col_num: i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpu-sw` (lib) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "24c32187ed1df132b529bfe42faead188a765fac75069531ad9b17eacc669583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c32187ed1df132b529bfe42faead188a765fac75069531ad9b17eacc669583", kill_on_drop: false }` [INFO] [stdout] 24c32187ed1df132b529bfe42faead188a765fac75069531ad9b17eacc669583