[INFO] fetching crate rusty-matrix 0.1.2... [INFO] checking rusty-matrix-0.1.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rusty-matrix 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rusty-matrix 0.1.2 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 rusty-matrix 0.1.2 [INFO] finished tweaking crates.io crate rusty-matrix 0.1.2 [INFO] tweaked toml for crates.io crate rusty-matrix 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate rusty-matrix 0.1.2 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5f26eea76cd760dd585b00843717ddb8b94e86618fd19ec060b85ddd124146ec [INFO] running `Command { std: "docker" "start" "-a" "5f26eea76cd760dd585b00843717ddb8b94e86618fd19ec060b85ddd124146ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f26eea76cd760dd585b00843717ddb8b94e86618fd19ec060b85ddd124146ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f26eea76cd760dd585b00843717ddb8b94e86618fd19ec060b85ddd124146ec", kill_on_drop: false }` [INFO] [stdout] 5f26eea76cd760dd585b00843717ddb8b94e86618fd19ec060b85ddd124146ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ea18fae91c7325cc09402e23fe60c0dd43c39b6ca6c8305c36c635fa0af96781 [INFO] running `Command { std: "docker" "start" "-a" "ea18fae91c7325cc09402e23fe60c0dd43c39b6ca6c8305c36c635fa0af96781", kill_on_drop: false }` [INFO] [stderr] Checking rusty-matrix v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_evaluatable_checked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_evaluatable_checked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_generics, [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_generics, [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | let mut dat: Vec = [data[0][0]; X * Y].to_vec(); [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:185:48 [INFO] [stdout] | [INFO] [stdout] 185 | let mut dat: Vec = [data[0][0]; X * Y].to_vec(); [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:200:67 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_owned_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:200:71 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_owned_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) data: [T; X * Y], [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) data: [T; X * Y], [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `W` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `W` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | let mut dat: Vec = [data[0][0]; X * Y].to_vec(); [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:185:48 [INFO] [stdout] | [INFO] [stdout] 185 | let mut dat: Vec = [data[0][0]; X * Y].to_vec(); [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:200:67 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_owned_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:200:71 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_owned_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `W` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `W` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/heap_matrix.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) data: [T; X * Y], [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) data: [T; X * Y], [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | pub const fn new_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | pub const fn new_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:56 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `W` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `W` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | [T; Z * W]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `W` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `W` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Z` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Z` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | [T; Z * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dat: [T; X * Y] = [data[0][0]; X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | pub const fn new_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | pub const fn new_1d(data: [T; X * Y]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:221:56 [INFO] [stdout] | [INFO] [stdout] 221 | let mut array: [T; X * Y] = [T::default(); X * Y]; [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `X` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `X` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `Y` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `Y` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | const_fn_trait_bound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | const_fn_trait_bound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 30 | fn add(self, rhs: Self) -> Self::Output { self.mat_add(rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 40 | fn add(self, rhs: HeapMatrix) -> Self::Output { self.mat_add(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 49 | fn add(self, rhs: &Self) -> Self::Output { self.mat_add(*rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 59 | fn add(self, rhs: &HeapMatrix) -> Self::Output { self.mat_add(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 68 | fn sub(self, rhs: Self) -> Self::Output { self.mat_sub(rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:78:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 78 | fn sub(self, rhs: HeapMatrix) -> Self::Output { self.mat_sub(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 87 | fn sub(self, rhs: &Self) -> Self::Output { self.mat_sub(*rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:97:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 97 | fn sub(self, rhs: &HeapMatrix) -> Self::Output { self.mat_sub(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 30 | fn add(self, rhs: Self) -> Self::Output { self.mat_add(rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:109:68 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 109 | fn mul(self, rhs: StackMatrix) -> Self::Output { self.mat_mul(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 40 | fn add(self, rhs: HeapMatrix) -> Self::Output { self.mat_add(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 49 | fn add(self, rhs: &Self) -> Self::Output { self.mat_add(*rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 119 | fn mul(self, rhs: HeapMatrix) -> Self::Output { self.mat_mul(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_add` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_add` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 59 | fn add(self, rhs: &HeapMatrix) -> Self::Output { self.mat_add(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_add`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 131 | fn mul(self, rhs: &StackMatrix) -> Self::Output { self.mat_mul(*rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 68 | fn sub(self, rhs: Self) -> Self::Output { self.mat_sub(rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 141 | fn mul(self, rhs: &HeapMatrix) -> Self::Output { self.mat_mul(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:78:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 78 | fn sub(self, rhs: HeapMatrix) -> Self::Output { self.mat_sub(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 87 | fn sub(self, rhs: &Self) -> Self::Output { self.mat_sub(*rhs).unwrap() } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_sub` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:97:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_sub` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 97 | fn sub(self, rhs: &HeapMatrix) -> Self::Output { self.mat_sub(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_sub`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:109:68 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 109 | fn mul(self, rhs: StackMatrix) -> Self::Output { self.mat_mul(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 119 | fn mul(self, rhs: HeapMatrix) -> Self::Output { self.mat_mul(rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 131 | fn mul(self, rhs: &StackMatrix) -> Self::Output { self.mat_mul(*rhs) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 179 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mat_mul` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ method `mat_mul` not found for this struct because it doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 141 | fn mul(self, rhs: &HeapMatrix) -> Self::Output { self.mat_mul(rhs.clone()) } [INFO] [stdout] | ^^^^^^^ method cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `mat_mul`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_printable` exists for reference `&StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ doesn't satisfy `stack_matrix::StackMatrix: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 256 | write!(f, "{}", self.to_printable()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Matrix` defines an item `to_printable`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 290 | Ok(Self::new(array)) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 179 | Self::new_from_slice(&data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 294 | Self::new_from_slice(data) [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_printable` exists for reference `&StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ doesn't satisfy `_: Matrix<'_, T>` [INFO] [stdout] ... [INFO] [stdout] 256 | write!(f, "{}", self.to_printable()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T: 'a + Numeric, const X: usize, const Y: usize> Matrix<'a, T> [INFO] [stdout] | ------------- [INFO] [stdout] 261 | for StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 262 | where [INFO] [stdout] 263 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `matrix::Matrix` defines an item `to_printable`, perhaps you need to implement it [INFO] [stdout] --> src/matrix.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub trait Matrix<'a, T: Numeric>: [INFO] [stdout] 5 | | Sized + Add + Sub + Mul + Add + Sub + Mul + PartialEq [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 317 | Ok(Self::new(array)) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 290 | Ok(Self::new(array)) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new_from_slice` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 294 | Self::new_from_slice(data) [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 317 | Ok(Self::new(array)) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[T; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | let mat1 = StackMatrix::new([[100, 200], [300, 400]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | let mat1 = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let mat2 = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(mat1 + mat2, StackMatrix::new([[2, 4], [6, 8]])); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | assert_ne!(mat1 + mat2, StackMatrix::new([[10, 10], [10, 10]])); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let mat1 = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let mat2 = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | let mat1 = StackMatrix::new([[100; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | let mat2 = StackMatrix::new([[25; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(mat1 - mat2, StackMatrix::new([[75; 3]; 3])); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | let mat1 = StackMatrix::new([[100; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-matrix` (lib) due to 103 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let mat2 = StackMatrix::new([[25; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | let mat1 = StackMatrix::new([[1, 2], [3, 4], [5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let mat2 = StackMatrix::new([[1, 2, 3], [4, 5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(StackMatrix::new([[9, 12, 15], [19, 26, 33], [29, 40, 51]])) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let mat1 = StackMatrix::new([[1, 2], [3, 4], [5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | let mat2 = StackMatrix::new([[1, 2, 3], [4, 5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | let stack_mat = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(StackMatrix::new([[2, 4], [6, 8]])) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(StackMatrix::new([[10, 10], [10, 10]])) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let stack_mat = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | let stack_mat = StackMatrix::new([[100; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:207:58 [INFO] [stdout] | [INFO] [stdout] 207 | assert_eq!(stack_mat - heap_mat, Ok(StackMatrix::new([[75; 3]; 3]))); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let stack_mat = StackMatrix::new([[100; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | let stack_mat = StackMatrix::new([[1, 2], [3, 4], [5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | let stack_mat = StackMatrix::new([[1, 2], [3, 4], [5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | let stack_mat = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | Ok(StackMatrix::new([[2, 4], [6, 8]])) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | let stack_mat = StackMatrix::new([[100; 3]; 3]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(StackMatrix::new([[75; 3]; 3])) [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:271:38 [INFO] [stdout] | [INFO] [stdout] 271 | let stack_mat = StackMatrix::new([[1, 2], [3, 4], [5, 6]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StackMatrix<_, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | let stack_mat = StackMatrix::new([[1, 2], [3, 4]]); [INFO] [stdout] | ^^^ function or associated item cannot be called on `StackMatrix<_, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/implementations/stack_matrix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackMatrix [INFO] [stdout] | ------------------------------------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `[_; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/implementations/stack_matrix.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | impl StackMatrix [INFO] [stdout] | -------------------- [INFO] [stdout] 184 | where [INFO] [stdout] 185 | [T; X * Y]: Sized, [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 134 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-matrix` (lib test) due to 135 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ea18fae91c7325cc09402e23fe60c0dd43c39b6ca6c8305c36c635fa0af96781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea18fae91c7325cc09402e23fe60c0dd43c39b6ca6c8305c36c635fa0af96781", kill_on_drop: false }` [INFO] [stdout] ea18fae91c7325cc09402e23fe60c0dd43c39b6ca6c8305c36c635fa0af96781