[INFO] fetching crate stockfish 0.2.11... [INFO] testing stockfish-0.2.11 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate stockfish 0.2.11 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate stockfish 0.2.11 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate stockfish 0.2.11 [INFO] tweaked toml for crates.io crate stockfish 0.2.11 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stockfish 0.2.11 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stockfish 0.2.11 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded interactive_process v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 943a4e973fa86aa53858747f0329e7ff58ebf00b899990c312d2567930eed5be [INFO] running `Command { std: "docker" "start" "-a" "943a4e973fa86aa53858747f0329e7ff58ebf00b899990c312d2567930eed5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "943a4e973fa86aa53858747f0329e7ff58ebf00b899990c312d2567930eed5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943a4e973fa86aa53858747f0329e7ff58ebf00b899990c312d2567930eed5be", kill_on_drop: false }` [INFO] [stdout] 943a4e973fa86aa53858747f0329e7ff58ebf00b899990c312d2567930eed5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8edb34206830fb7b85c7820df9a5c0766e7daf926b76bae083d70776e4c69f69 [INFO] running `Command { std: "docker" "start" "-a" "8edb34206830fb7b85c7820df9a5c0766e7daf926b76bae083d70776e4c69f69", kill_on_drop: false }` [INFO] [stderr] Compiling interactive_process v0.1.3 [INFO] [stderr] Compiling stockfish v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "8edb34206830fb7b85c7820df9a5c0766e7daf926b76bae083d70776e4c69f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8edb34206830fb7b85c7820df9a5c0766e7daf926b76bae083d70776e4c69f69", kill_on_drop: false }` [INFO] [stdout] 8edb34206830fb7b85c7820df9a5c0766e7daf926b76bae083d70776e4c69f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4a00ef210537de1c5c9652132c8772fe35769c2a7e7f3f91e4e64275ba5782 [INFO] running `Command { std: "docker" "start" "-a" "ac4a00ef210537de1c5c9652132c8772fe35769c2a7e7f3f91e4e64275ba5782", kill_on_drop: false }` [INFO] [stderr] Compiling stockfish v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "ac4a00ef210537de1c5c9652132c8772fe35769c2a7e7f3f91e4e64275ba5782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4a00ef210537de1c5c9652132c8772fe35769c2a7e7f3f91e4e64275ba5782", kill_on_drop: false }` [INFO] [stdout] ac4a00ef210537de1c5c9652132c8772fe35769c2a7e7f3f91e4e64275ba5782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05da15e5684bf2fa765de81f7534e1982dd6c465e0eb04b2ff4c7b5a3a9c9dbc [INFO] running `Command { std: "docker" "start" "-a" "05da15e5684bf2fa765de81f7534e1982dd6c465e0eb04b2ff4c7b5a3a9c9dbc", 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/stockfish-f5729205c0d9ea72) [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 stockfish [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::reset_position (line 111) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::ensure_ready (line 135) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::print_board (line 492) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::get_fen (line 156) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::quit (line 653) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_depth (line 336) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::get_board_display (line 431) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::get_board_display (line 442) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::play_moves (line 216) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::play_move (line 189) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::go_based_on_times (line 303) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::go (line 249) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_option (line 517) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_hash (line 552) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::go_for (line 274) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::setup_for_new_game (line 69) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_fen_position (line 89) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_elo (line 592) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_threads (line 571) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_skill_level (line 620) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::new (line 30) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/stockfish.rs - stockfish::Stockfish::reset_position (line 111) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::ensure_ready (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::print_board (line 492) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::get_fen (line 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::quit (line 653) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_depth (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::get_board_display (line 431) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::get_board_display (line 442) stdout ---- [INFO] [stdout] error: expected item, found `+` [INFO] [stdout] --> src/stockfish.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 1 | +---+---+---+---+---+---+---+---+ [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stockfish.rs - stockfish::Stockfish::play_moves (line 216) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::play_move (line 189) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::go_based_on_times (line 303) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::go (line 249) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_option (line 517) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_hash (line 552) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::go_for (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 6 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::setup_for_new_game (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_fen_position (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_elo (line 592) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_threads (line 571) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::set_skill_level (line 620) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stockfish` [INFO] [stdout] --> src/stockfish.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stockfish = Stockfish::new("stockfish.exe")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Stockfish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stockfish::Stockfish; [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/stockfish.rs - stockfish::Stockfish::new (line 30) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (159) panicked at src/stockfish.rs:6:49: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x610dfc8705f2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x610dfc8705f2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x610dfc8705f2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x610dfc8705f2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x610dfc87f7ff - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x610dfc87f7ff - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x610dfc845863 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x610dfc845863 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x610dfc84ef82 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x610dfc85161f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x610dfc851479 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x610dfc851bf5 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x610dfc851a8a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x610dfc84f0b9 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x610dfc839cfd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x610dfc882ff0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x610dfc8827f6 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 17: 0x610dfc81b62f - rust_out::main::_doctest_main_src_stockfish_rs_30_0::h2ca7cd2c5b6b3576 [INFO] [stdout] 18: 0x610dfc81b5b6 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 19: 0x610dfc81b4c3 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 20: 0x610dfc81b4a6 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 21: 0x610dfc81b489 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 22: 0x610dfc846ff0 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x610dfc846ff0 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x610dfc846ff0 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x610dfc846ff0 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x610dfc846ff0 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x610dfc846ff0 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x610dfc846ff0 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x610dfc846ff0 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x610dfc846ff0 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x610dfc81b471 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 32: 0x610dfc81b6a5 - main [INFO] [stdout] 33: 0x7287ff1a51ca - [INFO] [stdout] 34: 0x7287ff1a528b - __libc_start_main [INFO] [stdout] 35: 0x610dfc81b385 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::ensure_ready (line 135) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::get_board_display (line 431) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::get_board_display (line 442) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::get_fen (line 156) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::go (line 249) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::go_based_on_times (line 303) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::go_for (line 274) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::new (line 30) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::play_move (line 189) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::play_moves (line 216) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::print_board (line 492) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::quit (line 653) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::reset_position (line 111) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_depth (line 336) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_elo (line 592) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_fen_position (line 89) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_hash (line 552) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_option (line 517) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_skill_level (line 620) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::set_threads (line 571) [INFO] [stdout] src/stockfish.rs - stockfish::Stockfish::setup_for_new_game (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.55s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "05da15e5684bf2fa765de81f7534e1982dd6c465e0eb04b2ff4c7b5a3a9c9dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05da15e5684bf2fa765de81f7534e1982dd6c465e0eb04b2ff4c7b5a3a9c9dbc", kill_on_drop: false }` [INFO] [stdout] 05da15e5684bf2fa765de81f7534e1982dd6c465e0eb04b2ff4c7b5a3a9c9dbc