[INFO] cloning repository https://github.com/boulanlo/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boulanlo/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboulanlo%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboulanlo%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 596ec746d2114bde534b847665e8e03fd4389ee2
[INFO] testing boulanlo/chess against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboulanlo%2Fchess" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/boulanlo/chess
[INFO] finished tweaking git repo https://github.com/boulanlo/chess
[INFO] tweaked toml for git repo https://github.com/boulanlo/chess written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/boulanlo/chess on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/boulanlo/chess 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42394955eead6dcadb935c303a8e3ae4d95ae3aa38267ae81313dcd445c653a3
[INFO] running `Command { std: "docker" "start" "-a" "42394955eead6dcadb935c303a8e3ae4d95ae3aa38267ae81313dcd445c653a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42394955eead6dcadb935c303a8e3ae4d95ae3aa38267ae81313dcd445c653a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42394955eead6dcadb935c303a8e3ae4d95ae3aa38267ae81313dcd445c653a3", kill_on_drop: false }`
[INFO] [stdout] 42394955eead6dcadb935c303a8e3ae4d95ae3aa38267ae81313dcd445c653a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a7567986e408e0138edcd4957f9666fa63f1fef7a5495d007383b461db2fe343
[INFO] running `Command { std: "docker" "start" "-a" "a7567986e408e0138edcd4957f9666fa63f1fef7a5495d007383b461db2fe343", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling const_fn v0.4.3
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde_json v1.0.60
[INFO] [stderr]    Compiling syn v1.0.53
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling plotters-backend v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling plotters-svg v0.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling half v1.7.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling criterion-plot v0.4.3
[INFO] [stderr]    Compiling plotters v0.3.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling serde_cbor v0.11.1
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling tinytemplate v1.2.0
[INFO] [stderr]    Compiling criterion v0.3.4
[INFO] [stderr]    Compiling rayon_logs v0.1.3
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `data`, `functions`, `threads`, and `sizes` are never read
[INFO] [stdout]    --> src/bench.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct BenchmarkResult {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 170 |     data: Vec<Vec<Vec<Vec<u64>>>>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 171 |     functions: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 172 |     threads: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 173 |     sizes: Vec<usize>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let results = Benchmark::new()
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate` is never used
[INFO] [stdout]  --> src/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn generate(generator: &BoardGenerator) -> Board {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.43s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "a7567986e408e0138edcd4957f9666fa63f1fef7a5495d007383b461db2fe343", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7567986e408e0138edcd4957f9666fa63f1fef7a5495d007383b461db2fe343", kill_on_drop: false }`
[INFO] [stdout] a7567986e408e0138edcd4957f9666fa63f1fef7a5495d007383b461db2fe343
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 648b4fd401832853f2eaa24d79dca27f21c4e7158f8ae068c5da7d67492dfd0a
[INFO] running `Command { std: "docker" "start" "-a" "648b4fd401832853f2eaa24d79dca27f21c4e7158f8ae068c5da7d67492dfd0a", kill_on_drop: false }`
[INFO] [stdout] warning: fields `data`, `functions`, `threads`, and `sizes` are never read
[INFO] [stdout]    --> src/bench.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct BenchmarkResult {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 170 |     data: Vec<Vec<Vec<Vec<u64>>>>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 171 |     functions: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 172 |     threads: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 173 |     sizes: Vec<usize>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let results = Benchmark::new()
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate` is never used
[INFO] [stdout]  --> src/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn generate(generator: &BoardGenerator) -> Board {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `functions`, `threads`, and `sizes` are never read
[INFO] [stdout]    --> src/bench.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct BenchmarkResult {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 170 |     data: Vec<Vec<Vec<Vec<u64>>>>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 171 |     functions: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 172 |     threads: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 173 |     sizes: Vec<usize>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "648b4fd401832853f2eaa24d79dca27f21c4e7158f8ae068c5da7d67492dfd0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "648b4fd401832853f2eaa24d79dca27f21c4e7158f8ae068c5da7d67492dfd0a", kill_on_drop: false }`
[INFO] [stdout] 648b4fd401832853f2eaa24d79dca27f21c4e7158f8ae068c5da7d67492dfd0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1afb870dd0b9c0da9e5c3f30c1c264ee4db7b3bd935558f7ecb9d6de2e3cb7e2
[INFO] running `Command { std: "docker" "start" "-a" "1afb870dd0b9c0da9e5c3f30c1c264ee4db7b3bd935558f7ecb9d6de2e3cb7e2", kill_on_drop: false }`
[INFO] [stderr] warning: fields `data`, `functions`, `threads`, and `sizes` are never read
[INFO] [stderr]    --> src/bench.rs:170:5
[INFO] [stderr]     |
[INFO] [stderr] 169 | pub struct BenchmarkResult {
[INFO] [stderr]     |            --------------- fields in this struct
[INFO] [stderr] 170 |     data: Vec<Vec<Vec<Vec<u64>>>>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 171 |     functions: Vec<String>,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 172 |     threads: Vec<usize>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 173 |     sizes: Vec<usize>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `chess` (lib) generated 1 warning
[INFO] [stderr] warning: unused variable: `results`
[INFO] [stderr]   --> src/main.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let results = Benchmark::new()
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate` is never used
[INFO] [stderr]  --> src/main.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn generate(generator: &BoardGenerator) -> Board {
[INFO] [stderr]   |    ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `chess` (bin "chess" test) generated 2 warnings (run `cargo fix --bin "chess" -p chess --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `chess` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/chess/58804475cee8e39d/deps/chess-58804475cee8e39d)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/chess/63e3973a39bff785/deps/chess-63e3973a39bff785)
[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 chess
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/utils.rs - utils::Direction::get_vector (line 20) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::Position::new (line 57) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::Position::line (line 76) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/utils.rs - utils::Direction::get_vector (line 20) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction`
[INFO] [stdout]   --> src/utils.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(Direction::North.get_vector(), (0, -1))
[INFO] [stdout]    |            ^^^^^^^^^ use of undeclared type `Direction`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 20 + use chess::Direction;
[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/utils.rs - utils::Position::new (line 57) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position`
[INFO] [stdout]   --> src/utils.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 | let position = Position::new(3, 4);
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Position`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 57 + use chess::Position;
[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/utils.rs - utils::Position::line (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position`
[INFO] [stdout]   --> src/utils.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 | let position = Position::new(2, 3);
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Position`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use chess::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction`
[INFO] [stdout]   --> src/utils.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |     position.line(Direction::North),
[INFO] [stdout]    |                   ^^^^^^^^^ use of undeclared type `Direction`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 76 + use chess::Direction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position`
[INFO] [stdout]   --> src/utils.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         Position::new(2,2),
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Position`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use chess::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position`
[INFO] [stdout]   --> src/utils.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Position::new(2,1),
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Position`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use chess::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position`
[INFO] [stdout]   --> src/utils.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         Position::new(2, 0)
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Position`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use chess::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/utils.rs - utils::Direction::get_vector (line 20)
[INFO] [stdout]     src/utils.rs - utils::Position::line (line 76)
[INFO] [stdout]     src/utils.rs - utils::Position::new (line 57)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1afb870dd0b9c0da9e5c3f30c1c264ee4db7b3bd935558f7ecb9d6de2e3cb7e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1afb870dd0b9c0da9e5c3f30c1c264ee4db7b3bd935558f7ecb9d6de2e3cb7e2", kill_on_drop: false }`
[INFO] [stdout] 1afb870dd0b9c0da9e5c3f30c1c264ee4db7b3bd935558f7ecb9d6de2e3cb7e2
