[INFO] updating cached repository https://github.com/aolagers/rook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b47dab0b07ede2f3fd8195dc2d58fb6ab6416d93 [INFO] testing aolagers/rook against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faolagers%2Frook" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aolagers/rook on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aolagers/rook [INFO] finished tweaking git repo https://github.com/aolagers/rook [INFO] tweaked toml for git repo https://github.com/aolagers/rook written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/aolagers/rook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] edfd5566861c054384b5b8a1039adf4f44acf8e7fd93f409a94a994619d682f9 [INFO] running `Command { std: "docker" "start" "-a" "edfd5566861c054384b5b8a1039adf4f44acf8e7fd93f409a94a994619d682f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edfd5566861c054384b5b8a1039adf4f44acf8e7fd93f409a94a994619d682f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfd5566861c054384b5b8a1039adf4f44acf8e7fd93f409a94a994619d682f9", kill_on_drop: false }` [INFO] [stdout] edfd5566861c054384b5b8a1039adf4f44acf8e7fd93f409a94a994619d682f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda7fed72edf32bffb900380de92c42bd3f07efccc37a94b0062d427fa48b5d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fda7fed72edf32bffb900380de92c42bd3f07efccc37a94b0062d427fa48b5d7", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '0' ... '8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.09s [INFO] running `Command { std: "docker" "inspect" "fda7fed72edf32bffb900380de92c42bd3f07efccc37a94b0062d427fa48b5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda7fed72edf32bffb900380de92c42bd3f07efccc37a94b0062d427fa48b5d7", kill_on_drop: false }` [INFO] [stdout] fda7fed72edf32bffb900380de92c42bd3f07efccc37a94b0062d427fa48b5d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 174ad2ecb1537d926d770c8dd9659379466942da48bc70aae8aadf815c1f113d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "174ad2ecb1537d926d770c8dd9659379466942da48bc70aae8aadf815c1f113d", kill_on_drop: false }` [INFO] [stderr] Compiling rook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '0' ... '8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '0' ... '8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game = Pos::from_fen("8/8/8/8/8/ppp5/2p5/K7 w KQkq - 0 1"); [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut game = Pos::from_fen("P7/P7/P7/P7/P7/P7/P6r/KP5r w KQkq - 0 1"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "174ad2ecb1537d926d770c8dd9659379466942da48bc70aae8aadf815c1f113d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174ad2ecb1537d926d770c8dd9659379466942da48bc70aae8aadf815c1f113d", kill_on_drop: false }` [INFO] [stdout] 174ad2ecb1537d926d770c8dd9659379466942da48bc70aae8aadf815c1f113d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5c853ee3a86f56d51df7eaa1d45e5e6d85abad22ed7fd2b662b1fb4f3f07a52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5c853ee3a86f56d51df7eaa1d45e5e6d85abad22ed7fd2b662b1fb4f3f07a52", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/board.rs:133:48 [INFO] [stderr] | [INFO] [stderr] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/pos.rs:87:25 [INFO] [stderr] | [INFO] [stderr] 87 | n @ '0' ... '8' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hash.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref HASH: Mutex> = { [INFO] [stderr] 51 | | Mutex::new(HashMap::new()) [INFO] [stderr] 52 | | }; [INFO] [stderr] ... | [INFO] [stderr] 65 | | }; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hash.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref HASH: Mutex> = { [INFO] [stderr] 51 | | Mutex::new(HashMap::new()) [INFO] [stderr] 52 | | }; [INFO] [stderr] ... | [INFO] [stderr] 65 | | }; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/board.rs:133:48 [INFO] [stderr] | [INFO] [stderr] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/pos.rs:87:25 [INFO] [stderr] | [INFO] [stderr] 87 | n @ '0' ... '8' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/movegenerator.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / lazy_static! { [INFO] [stderr] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stderr] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stderr] 228 | | for i in 0..64 { [INFO] [stderr] ... | [INFO] [stderr] 291 | | }; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hash.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref HASH: Mutex> = { [INFO] [stderr] 51 | | Mutex::new(HashMap::new()) [INFO] [stderr] 52 | | }; [INFO] [stderr] ... | [INFO] [stderr] 65 | | }; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/hash.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref HASH: Mutex> = { [INFO] [stderr] 51 | | Mutex::new(HashMap::new()) [INFO] [stderr] 52 | | }; [INFO] [stderr] ... | [INFO] [stderr] 65 | | }; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/lib.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/lib.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/lib.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/lib.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let mut game = Pos::from_fen("8/8/8/8/8/ppp5/2p5/K7 w KQkq - 0 1"); [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: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let mut game = Pos::from_fen("P7/P7/P7/P7/P7/P7/P6r/KP5r w KQkq - 0 1"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rook-c6b6675b2ec8f55c [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test bitboard::bit_moves ... ok [INFO] [stdout] test dont_move_making_discovered_check ... ok [INFO] [stdout] test bitboard::bit_ops ... ok [INFO] [stdout] test dont_move_into_check ... ok [INFO] [stdout] test pawn_double_start ... ok [INFO] [stdout] test is_checkmate ... ok [INFO] [stdout] test perft2 ... FAILED [INFO] [stdout] test hash::full_hashing ... FAILED [INFO] [stdout] test perft1 ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- perft2 stdout ---- [INFO] [stdout] thread 'perft2' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `2810`, [INFO] [stdout] right: `2812`', src/lib.rs:43:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x565395a50e05 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x565395a50e05 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x565395a50e05 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x565395a50e05 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x565395a78aec - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5653959ec405 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x565395a4b401 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x565395a53560 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x565395a53560 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x565395a53560 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x565395a5325a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x565395a53ba3 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x565395a5379b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x565395a5370b - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x5653959e104a - rook::perft2::h01be635d299afec9 [INFO] [stdout] at src/lib.rs:43 [INFO] [stdout] 15: 0x5653959e09ea - rook::perft2::{{closure}}::h5ba3abb5869c6f0e [INFO] [stdout] at src/lib.rs:39 [INFO] [stdout] 16: 0x5653959dd3de - core::ops::function::FnOnce::call_once::h9c8ee6402c3dbf7e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x565395a1397c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x565395a1397c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x565395a1397c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x565395a1397c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x565395a1397c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x565395a1397c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x565395a1397c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5653959eb8f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5653959f0985 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5653959f0985 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5653959f0985 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x5653959f0985 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x5653959f0985 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5653959f0985 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5653959f0985 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x565395a59dea - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x565395a59dea - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x565395a59dea - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7f91ae566609 - start_thread [INFO] [stdout] 36: 0x7f91ae472103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- hash::full_hashing stdout ---- [INFO] [stdout] thread 'hash::full_hashing' panicked at 'assertion failed: p1h != full_hash(&p_cast)', src/hash.rs:81:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x565395a50e05 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x565395a50e05 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x565395a50e05 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x565395a50e05 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x565395a78aec - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5653959ec405 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x565395a4b401 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x565395a53560 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x565395a53560 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x565395a53560 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x565395a5325a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x565395a53ba3 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x565395a2bd39 - std::panicking::begin_panic::h8f9546fb7972aa21 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:456 [INFO] [stdout] 13: 0x5653959eb271 - rook::hash::full_hashing::h9aacd42c169e576a [INFO] [stdout] at src/hash.rs:81 [INFO] [stdout] 14: 0x5653959eb01a - rook::hash::full_hashing::{{closure}}::hc2f9b905f705d93d [INFO] [stdout] at src/hash.rs:69 [INFO] [stdout] 15: 0x5653959dc70e - core::ops::function::FnOnce::call_once::h2dc50fae6d71f614 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 16: 0x565395a1397c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 17: 0x565395a1397c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x565395a1397c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 19: 0x565395a1397c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 20: 0x565395a1397c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x565395a1397c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x565395a1397c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5653959eb8f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5653959f0985 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5653959f0985 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5653959f0985 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 27: 0x5653959f0985 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 28: 0x5653959f0985 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5653959f0985 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5653959f0985 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 31: 0x565395a59dea - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 32: 0x565395a59dea - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x565395a59dea - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7f91ae566609 - start_thread [INFO] [stdout] 35: 0x7f91ae472103 - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] hash::full_hashing [INFO] [stdout] perft2 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "c5c853ee3a86f56d51df7eaa1d45e5e6d85abad22ed7fd2b662b1fb4f3f07a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c853ee3a86f56d51df7eaa1d45e5e6d85abad22ed7fd2b662b1fb4f3f07a52", kill_on_drop: false }` [INFO] [stdout] c5c853ee3a86f56d51df7eaa1d45e5e6d85abad22ed7fd2b662b1fb4f3f07a52