[INFO] cloning repository https://github.com/0xhappyboy/hex-matrix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xhappyboy/hex-matrix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhappyboy%2Fhex-matrix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhappyboy%2Fhex-matrix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c0053547fbd2acee655ceda60e2348e9b13f183
[INFO] testing 0xhappyboy/hex-matrix against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhappyboy%2Fhex-matrix" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xhappyboy/hex-matrix
[INFO] finished tweaking git repo https://github.com/0xhappyboy/hex-matrix
[INFO] tweaked toml for git repo https://github.com/0xhappyboy/hex-matrix written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xhappyboy/hex-matrix on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xhappyboy/hex-matrix 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4055e3c0838de31df8ed46fc2a3fe42650f44bf70612e542a19c3870db0f04f0
[INFO] running `Command { std: "docker" "start" "-a" "4055e3c0838de31df8ed46fc2a3fe42650f44bf70612e542a19c3870db0f04f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4055e3c0838de31df8ed46fc2a3fe42650f44bf70612e542a19c3870db0f04f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4055e3c0838de31df8ed46fc2a3fe42650f44bf70612e542a19c3870db0f04f0", kill_on_drop: false }`
[INFO] [stdout] 4055e3c0838de31df8ed46fc2a3fe42650f44bf70612e542a19c3870db0f04f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edd1109005d549b6d9c2615231ad33a25f4475c87bc6b398ec28adec28df6f94
[INFO] running `Command { std: "docker" "start" "-a" "edd1109005d549b6d9c2615231ad33a25f4475c87bc6b398ec28adec28df6f94", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling hex-matrix v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/matrix.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     default,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/matrix.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for (i, v) in self.lines.iter().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/matrix.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 for i in 0..(max_line_number - line_number.to_string().len()) {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/matrix.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut max_line_number = String::from(format!("{}", (max_line_count * width))).len();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.35s
[INFO] running `Command { std: "docker" "inspect" "edd1109005d549b6d9c2615231ad33a25f4475c87bc6b398ec28adec28df6f94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edd1109005d549b6d9c2615231ad33a25f4475c87bc6b398ec28adec28df6f94", kill_on_drop: false }`
[INFO] [stdout] edd1109005d549b6d9c2615231ad33a25f4475c87bc6b398ec28adec28df6f94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64b4404fa1b83d778fe91c025b9949af02e2d3e981722d4f40a39c9622c7b727
[INFO] running `Command { std: "docker" "start" "-a" "64b4404fa1b83d778fe91c025b9949af02e2d3e981722d4f40a39c9622c7b727", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/matrix.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     default,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/matrix.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for (i, v) in self.lines.iter().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/matrix.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 for i in 0..(max_line_number - line_number.to_string().len()) {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/matrix.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut max_line_number = String::from(format!("{}", (max_line_count * width))).len();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hex-matrix v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Line`
[INFO] [stdout]  --> examples/main.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hex_matrix::matrix::{Line, Matrix};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/matrix.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     default,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/main.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |     for (i, v) in lines.iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/matrix.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for (i, v) in self.lines.iter().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/matrix.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 for i in 0..(max_line_number - line_number.to_string().len()) {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/matrix.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut max_line_number = String::from(format!("{}", (max_line_count * width))).len();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "64b4404fa1b83d778fe91c025b9949af02e2d3e981722d4f40a39c9622c7b727", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64b4404fa1b83d778fe91c025b9949af02e2d3e981722d4f40a39c9622c7b727", kill_on_drop: false }`
[INFO] [stdout] 64b4404fa1b83d778fe91c025b9949af02e2d3e981722d4f40a39c9622c7b727
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 61db3de1d63f297b225b97bf5af4f9079e48da32e0f7b03f45c44a623f84f7c2
[INFO] running `Command { std: "docker" "start" "-a" "61db3de1d63f297b225b97bf5af4f9079e48da32e0f7b03f45c44a623f84f7c2", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `default`
[INFO] [stderr]  --> src/matrix.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     default,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/matrix.rs:81:14
[INFO] [stderr]    |
[INFO] [stderr] 81 |         for (i, v) in self.lines.iter().enumerate() {
[INFO] [stderr]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/matrix.rs:179:21
[INFO] [stderr]     |
[INFO] [stderr] 179 |                 for i in 0..(max_line_number - line_number.to_string().len()) {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/matrix.rs:160:13
[INFO] [stderr]     |
[INFO] [stderr] 160 |         let mut max_line_number = String::from(format!("{}", (max_line_count * width))).len();
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hex-matrix` (lib) generated 4 warnings (run `cargo fix --lib -p hex-matrix` to apply 2 suggestions)
[INFO] [stderr] warning: `hex-matrix` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: unused import: `Line`
[INFO] [stderr]  --> examples/main.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | use hex_matrix::matrix::{Line, Matrix};
[INFO] [stderr]   |                          ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> examples/main.rs:39:10
[INFO] [stderr]    |
[INFO] [stderr] 39 |     for (i, v) in lines.iter().enumerate() {
[INFO] [stderr]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hex-matrix` (example "main") generated 2 warnings (run `cargo fix --example "main"` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hex_matrix-53853c0e9219ad33)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hex_matrix
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::reset (line 90) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::line_count (line 120) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::lines (line 134) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::get_line_by_index (line 106) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix (line 58) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::print_matrix (line 75) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::reset (line 90) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:92:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::line_count (line 120) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:122:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `println`
[INFO] [stdout]  --> src/matrix.rs:124:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | println("{}", m.line_count());
[INFO] [stdout]   | ^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 6 | println!("{}", m.line_count());
[INFO] [stdout]   |        +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::lines (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:136:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Line` in this scope
[INFO] [stdout]  --> src/matrix.rs:138:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let lines : Vec<Line> = m.lines();
[INFO] [stdout]   |                 ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Line;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::get_line_by_index (line 106) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:108:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]  --> src/matrix.rs:110:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | let line = m.get_line_by_index(index);
[INFO] [stdout]   |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/matrix.rs - matrix::Matrix (line 58) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:60:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::print_matrix (line 75) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]  --> src/matrix.rs:77:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut m = Matrix::new(20, arr.to_vec());
[INFO] [stdout]   |             ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hex_matrix::matrix::Matrix;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/matrix.rs - matrix::Matrix (line 58)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix::get_line_by_index (line 106)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix::line_count (line 120)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix::lines (line 134)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix::print_matrix (line 75)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix::reset (line 90)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "61db3de1d63f297b225b97bf5af4f9079e48da32e0f7b03f45c44a623f84f7c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61db3de1d63f297b225b97bf5af4f9079e48da32e0f7b03f45c44a623f84f7c2", kill_on_drop: false }`
[INFO] [stdout] 61db3de1d63f297b225b97bf5af4f9079e48da32e0f7b03f45c44a623f84f7c2
