[INFO] cloning repository https://github.com/KlotzAndrew/quick-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KlotzAndrew/quick-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fquick-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fquick-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14af115e0811d45cb96bcc07d7754895e083d9bc [INFO] testing KlotzAndrew/quick-chess against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fquick-chess" "/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/KlotzAndrew/quick-chess on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KlotzAndrew/quick-chess [INFO] finished tweaking git repo https://github.com/KlotzAndrew/quick-chess [INFO] tweaked toml for git repo https://github.com/KlotzAndrew/quick-chess written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/KlotzAndrew/quick-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33e085bf04d8e72077f4e376f47044ebac1400fc6e2237ac7122edf3d954e4be [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" "33e085bf04d8e72077f4e376f47044ebac1400fc6e2237ac7122edf3d954e4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33e085bf04d8e72077f4e376f47044ebac1400fc6e2237ac7122edf3d954e4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e085bf04d8e72077f4e376f47044ebac1400fc6e2237ac7122edf3d954e4be", kill_on_drop: false }` [INFO] [stdout] 33e085bf04d8e72077f4e376f47044ebac1400fc6e2237ac7122edf3d954e4be [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 671a8d6ecab7e33a779ad0d25450e16ecb765ecfa7368649d6ed19b8297dc792 [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" "671a8d6ecab7e33a779ad0d25450e16ecb765ecfa7368649d6ed19b8297dc792", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling quick-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/logs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/moves.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn apply_move(board: Board, last_move: &str) -> Board { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_square` [INFO] [stdout] --> src/moves.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let from_square = bitboard_to_square(Bitboard(m.from)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_square` [INFO] [stdout] --> src/moves.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let to_square = bitboard_to_square(Bitboard(m.to)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/board.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn print(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/board.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn print(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rank_of` [INFO] [stdout] --> src/moves.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rank_of(square: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_of` [INFO] [stdout] --> src/moves.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn file_of(square: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "671a8d6ecab7e33a779ad0d25450e16ecb765ecfa7368649d6ed19b8297dc792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671a8d6ecab7e33a779ad0d25450e16ecb765ecfa7368649d6ed19b8297dc792", kill_on_drop: false }` [INFO] [stdout] 671a8d6ecab7e33a779ad0d25450e16ecb765ecfa7368649d6ed19b8297dc792 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", 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] d91fcb664b41ba74c289492dd03d49656d7804de6969f26c5402e5e98b010e6f [INFO] running `Command { std: "docker" "start" "-a" "d91fcb664b41ba74c289492dd03d49656d7804de6969f26c5402e5e98b010e6f", kill_on_drop: false }` [INFO] [stderr] Compiling quick-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/logs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/moves.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn apply_move(board: Board, last_move: &str) -> Board { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_square` [INFO] [stdout] --> src/moves.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let from_square = bitboard_to_square(Bitboard(m.from)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_square` [INFO] [stdout] --> src/moves.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let to_square = bitboard_to_square(Bitboard(m.to)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/moves.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let bb = Bitboard(1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rank_of` [INFO] [stdout] --> src/moves.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rank_of(square: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_of` [INFO] [stdout] --> src/moves.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn file_of(square: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.27s [INFO] running `Command { std: "docker" "inspect" "d91fcb664b41ba74c289492dd03d49656d7804de6969f26c5402e5e98b010e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d91fcb664b41ba74c289492dd03d49656d7804de6969f26c5402e5e98b010e6f", kill_on_drop: false }` [INFO] [stdout] d91fcb664b41ba74c289492dd03d49656d7804de6969f26c5402e5e98b010e6f [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d99dcc3bdfdbb94cb3a9f19d0d4018faac51eb50ee0d9a03e216447ef22d9e6d [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" "d99dcc3bdfdbb94cb3a9f19d0d4018faac51eb50ee0d9a03e216447ef22d9e6d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stderr] --> src/logs.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last_move` [INFO] [stderr] --> src/moves.rs:11:33 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn apply_move(board: Board, last_move: &str) -> Board { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_square` [INFO] [stderr] --> src/moves.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | let from_square = bitboard_to_square(Bitboard(m.from)); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_square` [INFO] [stderr] --> src/moves.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | let to_square = bitboard_to_square(Bitboard(m.to)); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_square` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bb` [INFO] [stderr] --> src/moves.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | let bb = Bitboard(1); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rank_of` [INFO] [stderr] --> src/moves.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn rank_of(square: u32) -> u32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `file_of` [INFO] [stderr] --> src/moves.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn file_of(square: u32) -> u32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `quick-chess` (bin "quick-chess" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/quick_chess-06b3940a9d3a5264) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test board::tests::test_print_board ... ok [INFO] [stdout] test moves::tests::test_pawn_move ... ok [INFO] [stdout] test moves::tests::test_move_string ... ok [INFO] [stdout] test board::tests::test_print_bitboard ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d99dcc3bdfdbb94cb3a9f19d0d4018faac51eb50ee0d9a03e216447ef22d9e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99dcc3bdfdbb94cb3a9f19d0d4018faac51eb50ee0d9a03e216447ef22d9e6d", kill_on_drop: false }` [INFO] [stdout] d99dcc3bdfdbb94cb3a9f19d0d4018faac51eb50ee0d9a03e216447ef22d9e6d