[INFO] fetching crate moonalloy 0.3.4... [INFO] testing moonalloy-0.3.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate moonalloy 0.3.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate moonalloy 0.3.4 [INFO] finished tweaking crates.io crate moonalloy 0.3.4 [INFO] tweaked toml for crates.io crate moonalloy 0.3.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate moonalloy 0.3.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0eeabcaaece170d095843ad4985d2c0bddb51a49386a3d465ae3927c22cd45e [INFO] running `Command { std: "docker" "start" "-a" "c0eeabcaaece170d095843ad4985d2c0bddb51a49386a3d465ae3927c22cd45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0eeabcaaece170d095843ad4985d2c0bddb51a49386a3d465ae3927c22cd45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0eeabcaaece170d095843ad4985d2c0bddb51a49386a3d465ae3927c22cd45e", kill_on_drop: false }` [INFO] [stdout] c0eeabcaaece170d095843ad4985d2c0bddb51a49386a3d465ae3927c22cd45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07f1232cfd1ee7334e847c00aefceb32735586647894d78c1400b69f8ce5f11f [INFO] running `Command { std: "docker" "start" "-a" "07f1232cfd1ee7334e847c00aefceb32735586647894d78c1400b69f8ce5f11f", kill_on_drop: false }` [INFO] [stderr] Compiling moonalloy v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "07f1232cfd1ee7334e847c00aefceb32735586647894d78c1400b69f8ce5f11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f1232cfd1ee7334e847c00aefceb32735586647894d78c1400b69f8ce5f11f", kill_on_drop: false }` [INFO] [stdout] 07f1232cfd1ee7334e847c00aefceb32735586647894d78c1400b69f8ce5f11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148600a07246449d522d7cd0a6221eb6af14b2a28ffcd679f29d5823bb68ff9e [INFO] running `Command { std: "docker" "start" "-a" "148600a07246449d522d7cd0a6221eb6af14b2a28ffcd679f29d5823bb68ff9e", kill_on_drop: false }` [INFO] [stderr] Compiling moonalloy v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "148600a07246449d522d7cd0a6221eb6af14b2a28ffcd679f29d5823bb68ff9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148600a07246449d522d7cd0a6221eb6af14b2a28ffcd679f29d5823bb68ff9e", kill_on_drop: false }` [INFO] [stdout] 148600a07246449d522d7cd0a6221eb6af14b2a28ffcd679f29d5823bb68ff9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 252f23318bfdfa0ee0c6a42c4ceab5f17c1db821c27c7d1297ed7d465dc005e9 [INFO] running `Command { std: "docker" "start" "-a" "252f23318bfdfa0ee0c6a42c4ceab5f17c1db821c27c7d1297ed7d465dc005e9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moonalloy-7fdf049b12e68f37) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test linalg::array::test::test_concat ... ok [INFO] [stdout] test linalg::array::test::test_iterator ... ok [INFO] [stdout] test linalg::array::test::test_neg ... ok [INFO] [stdout] test linalg::array::test::test_mult ... ok [INFO] [stdout] test linalg::array::test::test_get ... ok [INFO] [stdout] test linalg::array::test::test_add ... ok [INFO] [stdout] test linalg::array::test::test_new ... ok [INFO] [stdout] test linalg::array::test::test_ones ... ok [INFO] [stdout] test linalg::array::test::test_scalar_mult ... ok [INFO] [stdout] test linalg::array::test::test_sub ... ok [INFO] [stdout] test linalg::array::test::test_sum ... ok [INFO] [stdout] test linalg::array::test::test_set ... ok [INFO] [stdout] test linalg::array::test::test_zeros ... ok [INFO] [stdout] test linalg::matrix::test::test_add ... ok [INFO] [stdout] test linalg::matrix::test::test_get ... ok [INFO] [stdout] test linalg::matrix::test::test_elem_mult ... ok [INFO] [stdout] test linalg::array::test::test_splice ... ok [INFO] [stdout] test linalg::matrix::test::test_identity ... ok [INFO] [stdout] test linalg::matrix::test::test_iterator ... ok [INFO] [stdout] test linalg::matrix::test::test_neg ... ok [INFO] [stdout] test linalg::matrix::test::test_ones ... ok [INFO] [stdout] test linalg::matrix::test::test_scalar ... ok [INFO] [stdout] test linalg::matrix::test::test_set ... ok [INFO] [stdout] test linalg::matrix::test::test_sub ... ok [INFO] [stdout] test linalg::matrix::test::test_index ... ok [INFO] [stdout] test linalg::methods::test::test_backsubstitution ... ok [INFO] [stdout] test linalg::matrix::test::test_zeros ... ok [INFO] [stdout] test linalg::methods::test::test_row_echelon_form ... ok [INFO] [stdout] test linalg::methods::test::test_gauss_elimination ... ok [INFO] [stdout] test linalg::matrix::test::test_swap ... ok [INFO] [stdout] test linalg::matrix::test::test_transpose ... ok [INFO] [stdout] test linalg::matrix::test::test_mult ... ok [INFO] [stdout] test linalg::array::test::test_index_out_of_bounds - should panic ... ok [INFO] [stdout] test linalg::matrix::test::test_index_out_of_bounds_columns - should panic ... ok [INFO] [stdout] test linalg::matrix::test::test_index_out_of_bounds_rows - should panic ... ok [INFO] [stdout] test linalg::array::test::test_dotp ... ok [INFO] [stdout] test linalg::array::test::test_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/array_tests.rs (/opt/rustwide/target/debug/deps/array_tests-efce96c6322cd551) [INFO] [stdout] [INFO] [stderr] Doc-tests moonalloy [INFO] [stdout] running 1 test [INFO] [stdout] test test_array_dotp_on_itself ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::set (line 569) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::splice (line 602) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::scalar_sub (line 170) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::dotp (line 362) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::concat (line 384) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::average (line 89) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::plus (line 238) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::mult (line 320) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::scalar_add (line 136) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::ones (line 512) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::new (line 25) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::scalar_mult (line 204) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::minus (line 279) ... ok [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::identity (line 164) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::norm (line 110) ... ok [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::new (line 52) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::sum (line 68) ... ok [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::of (line 91) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::plus (line 218) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::of (line 461) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::from (line 52) ... ok [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::zeros (line 125) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::mult (line 449) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::get (line 503) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::minus (line 307) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::ones (line 145) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::elem_mult (line 360) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::set (line 571) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::zeros (line 493) ... ok [INFO] [stdout] test src/linalg/methods.rs - linalg::methods::gauss_elimination (line 17) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::splice (line 532) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::scalar (line 266) ... FAILED [INFO] [stdout] test src/linalg/matrix.rs - linalg::matrix::Matrix::transpose (line 405) ... FAILED [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::to_string (line 427) ... ok [INFO] [stdout] test src/linalg/array.rs - linalg::array::Array::get (line 536) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/linalg/array.rs - linalg::array::Array::set (line 569) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `array` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/linalg/array.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 9 | array.set(5.0, 1); [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 7 | let mut array = Array::from(&mut [1.0, 2.0, 3.0]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/array.rs - linalg::array::Array::splice (line 602) stdout ---- [INFO] [stdout] error[E0423]: expected function, found macro `assert_eq` [INFO] [stdout] --> src/linalg/array.rs:607:1 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq(Array::from(&mut [2.0, 3.0]), array.splice(1, 3)); [INFO] [stdout] | ^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Array::from(&mut [2.0, 3.0]), array.splice(1, 3)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/array.rs - linalg::array::Array::concat (line 384) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linalg/array.rs:392:57 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(Array::from(&mut [1.0, 2.0, 3.0, 4.0, 5.0]), a.dotp(&b)); [INFO] [stdout] | ^^^^^^^^^^ expected `Array`, found `f64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::identity (line 164) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/linalg/matrix.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq(Matrix::new(&mut [Array::from(&mut [1.0, 0.0]), Array::from(&mut [0.0, 1.0)]), mat); [INFO] [stdout] | - ^ ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::new (line 52) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/linalg/matrix.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0)]); [INFO] [stdout] | - ^ ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::of (line 91) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/linalg/matrix.rs:96:76 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq(Matrix::new(&mut [Array::from(&mut [3.0, 3.0]), Array::from(&mut [3.0, 3.0)]), mat); [INFO] [stdout] | - ^ ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::plus (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:220:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:221:57 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a.plus(&b)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a.plus(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:223:60 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a.plus(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a + b); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a + b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:225:60 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [3.0, 5.0]), Array::from(&mut [8.0, 13.0])]), a + b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::zeros (line 125) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/linalg/matrix.rs:130:76 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq(Matrix::new(&mut [Array::from(&mut [0.0, 0.0]), Array::from(&mut [0.0, 0.0)]), mat); [INFO] [stdout] | - ^ ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::mult (line 449) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:452:27 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:452:57 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [10.0, 19.0]), Array::from(&mut [21.0, 50.0])]), a.mult(&b)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:454:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [10.0, 19.0]), Array::from(&mut [21.0, 50.0])]), a.mult(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:454:62 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [10.0, 19.0]), Array::from(&mut [21.0, 50.0])]), a.mult(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::get (line 503) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:505:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:505:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::minus (line 307) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:309:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:310:27 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:310:57 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a.minus(&b)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a.minus(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:312:62 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a.minus(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a - b); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:314:30 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a - b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:314:62 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -1.0]), Array::from(&mut [-2.0, -3.0])]), a - b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::ones (line 145) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/linalg/matrix.rs:150:76 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq(Matrix::new(&mut [Array::from(&mut [1.0, 1.0]), Array::from(&mut [1.0, 1.0)]), mat); [INFO] [stdout] | - ^ ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::elem_mult (line 360) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:362:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:363:27 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:363:57 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Matrix::new(&mut [Array::from(&mut [2.0, 3.0]), Array::from(&mut [5.0, 8.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a.elem_mult(&b)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:365:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a.elem_mult(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:365:60 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a.elem_mult(&b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a * b); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a * b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:367:60 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Matrix::new(&mut [Array::from(&mut [2.0, 6.0]), Array::from(&mut [15.0, 40.0])]), a * b); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::set (line 571) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:573:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:573:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/methods.rs - linalg::methods::gauss_elimination (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/methods.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [3.0, 2.0]), Array::from(&mut [-6.0, 6.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/methods.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [3.0, 2.0]), Array::from(&mut [-6.0, 6.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/methods.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [3.0, 2.0]), Array::from(&mut [-6.0, 6.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/methods.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = Array::from(&mut [7.0, 6.0]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/methods.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Array::from(&mut [-1.0, 2.0]), gauss_elimination(a, b)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gauss_elimination` in this scope [INFO] [stdout] --> src/linalg/methods.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Array::from(&mut [-1.0, 2.0]), gauss_elimination(a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::methods::gauss_elimination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::splice (line 532) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:534:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:534:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Array::from(&mut [3.0, 5.0]), a.splice(1, 0, 2)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::scalar (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), a.scalar(-1.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), a.scalar(-1.0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:270:62 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), a.scalar(-1.0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), -a); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), -a); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Matrix::new(&mut [Array::from(&mut [-1.0, -2.0]), Array::from(&mut [-3.0, -5.0])]), -a); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/linalg/matrix.rs - linalg::matrix::Matrix::transpose (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:407:27 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:407:57 [INFO] [stdout] | [INFO] [stdout] 4 | let a = Matrix::new(&mut [Array::from(&mut [1.0, 2.0]), Array::from(&mut [3.0, 5.0])]); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/linalg/matrix.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [1.0, 3.0]), Array::from(&mut [2.0, 5.0])]), a.transpose()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::matrix::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:409:30 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [1.0, 3.0]), Array::from(&mut [2.0, 5.0])]), a.transpose()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/linalg/matrix.rs:409:60 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Matrix::new(&mut [Array::from(&mut [1.0, 3.0]), Array::from(&mut [2.0, 5.0])]), a.transpose()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use moonalloy::linalg::array::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/linalg/array.rs - linalg::array::Array::concat (line 384) [INFO] [stdout] src/linalg/array.rs - linalg::array::Array::set (line 569) [INFO] [stdout] src/linalg/array.rs - linalg::array::Array::splice (line 602) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::elem_mult (line 360) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::get (line 503) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::identity (line 164) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::minus (line 307) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::mult (line 449) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::new (line 52) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::of (line 91) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::ones (line 145) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::plus (line 218) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::scalar (line 266) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::set (line 571) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::splice (line 532) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::transpose (line 405) [INFO] [stdout] src/linalg/matrix.rs - linalg::matrix::Matrix::zeros (line 125) [INFO] [stdout] src/linalg/methods.rs - linalg::methods::gauss_elimination (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "252f23318bfdfa0ee0c6a42c4ceab5f17c1db821c27c7d1297ed7d465dc005e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252f23318bfdfa0ee0c6a42c4ceab5f17c1db821c27c7d1297ed7d465dc005e9", kill_on_drop: false }` [INFO] [stdout] 252f23318bfdfa0ee0c6a42c4ceab5f17c1db821c27c7d1297ed7d465dc005e9