[INFO] fetching crate stockfish 0.2.11... [INFO] testing stockfish-0.2.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate stockfish 0.2.11 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stockfish 0.2.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 487c6e6f74e14274256e843ff8e3a3b4e23eeebcd79e928fdf7e811461fa2a13 [INFO] running `Command { std: "docker" "start" "-a" "487c6e6f74e14274256e843ff8e3a3b4e23eeebcd79e928fdf7e811461fa2a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "487c6e6f74e14274256e843ff8e3a3b4e23eeebcd79e928fdf7e811461fa2a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487c6e6f74e14274256e843ff8e3a3b4e23eeebcd79e928fdf7e811461fa2a13", kill_on_drop: false }` [INFO] [stdout] 487c6e6f74e14274256e843ff8e3a3b4e23eeebcd79e928fdf7e811461fa2a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7351cc9f7207e486e4614cbc887ed8d5bb22c3e83f16d38dcc196d163e908da4 [INFO] running `Command { std: "docker" "start" "-a" "7351cc9f7207e486e4614cbc887ed8d5bb22c3e83f16d38dcc196d163e908da4", 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.96s [INFO] running `Command { std: "docker" "inspect" "7351cc9f7207e486e4614cbc887ed8d5bb22c3e83f16d38dcc196d163e908da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7351cc9f7207e486e4614cbc887ed8d5bb22c3e83f16d38dcc196d163e908da4", kill_on_drop: false }` [INFO] [stdout] 7351cc9f7207e486e4614cbc887ed8d5bb22c3e83f16d38dcc196d163e908da4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2ac0b956577bcda1606ddbdf57c0506cf544f4c3127004ec908cb0c4a8c391 [INFO] running `Command { std: "docker" "start" "-a" "dd2ac0b956577bcda1606ddbdf57c0506cf544f4c3127004ec908cb0c4a8c391", 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.85s [INFO] running `Command { std: "docker" "inspect" "dd2ac0b956577bcda1606ddbdf57c0506cf544f4c3127004ec908cb0c4a8c391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2ac0b956577bcda1606ddbdf57c0506cf544f4c3127004ec908cb0c4a8c391", kill_on_drop: false }` [INFO] [stdout] dd2ac0b956577bcda1606ddbdf57c0506cf544f4c3127004ec908cb0c4a8c391 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b05c3a1b52e55d95b43561de8b34ef36418c83233905986d7baa534a55fbe2d0 [INFO] running `Command { std: "docker" "start" "-a" "b05c3a1b52e55d95b43561de8b34ef36418c83233905986d7baa534a55fbe2d0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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::get_board_display (line 442) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::ensure_ready (line 135) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::go_based_on_times (line 303) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::get_board_display (line 431) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::get_fen (line 156) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::play_move (line 189) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_fen_position (line 89) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::play_moves (line 216) ... 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::quit (line 653) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_option (line 517) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::go (line 249) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_threads (line 571) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::reset_position (line 111) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_depth (line 336) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::print_board (line 492) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_skill_level (line 620) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::set_elo (line 592) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::new (line 30) ... FAILED [INFO] [stdout] test src/stockfish.rs - stockfish::Stockfish::setup_for_new_game (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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::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_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::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::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::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::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::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_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::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_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::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::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::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::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::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::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: 0x62a396b88452 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62a396b88452 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62a396b88452 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62a396b88452 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62a396b9763f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62a396b9763f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x62a396b5d001 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62a396b5d001 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x62a396b669e2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62a396b6907f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x62a396b68ed9 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x62a396b69705 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x62a396b6959a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x62a396b66b19 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x62a396b5196d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x62a396b9ae10 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x62a396b9a636 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x62a396b336ef - rust_out::main::_doctest_main_src_stockfish_rs_30_0::h0ad5710dc688861f [INFO] [stdout] 18: 0x62a396b33676 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x62a396b33583 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x62a396b33566 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x62a396b33549 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x62a396b5e900 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x62a396b5e900 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x62a396b5e900 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x62a396b5e900 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x62a396b5e900 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x62a396b5e900 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x62a396b5e900 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x62a396b5e900 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x62a396b5e900 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x62a396b33531 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x62a396b33765 - main [INFO] [stdout] 33: 0x7e7d2959a1ca - [INFO] [stdout] 34: 0x7e7d2959a28b - __libc_start_main [INFO] [stdout] 35: 0x62a396b33445 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [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] [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.56s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.75s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b05c3a1b52e55d95b43561de8b34ef36418c83233905986d7baa534a55fbe2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05c3a1b52e55d95b43561de8b34ef36418c83233905986d7baa534a55fbe2d0", kill_on_drop: false }` [INFO] [stdout] b05c3a1b52e55d95b43561de8b34ef36418c83233905986d7baa534a55fbe2d0