[INFO] cloning repository https://github.com/bknshn/girigiri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bknshn/girigiri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbknshn%2Fgirigiri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbknshn%2Fgirigiri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a8a0147481f14fca1795d905d3a63c64b9c7df1 [INFO] checking bknshn/girigiri against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbknshn%2Fgirigiri" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bknshn/girigiri on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bknshn/girigiri [INFO] finished tweaking git repo https://github.com/bknshn/girigiri [INFO] tweaked toml for git repo https://github.com/bknshn/girigiri written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/bknshn/girigiri already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f05fdde5c2a1b87f5ca16df92332978bab1f19f7785e645d66dd1fc9c6b62c8 [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" "5f05fdde5c2a1b87f5ca16df92332978bab1f19f7785e645d66dd1fc9c6b62c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f05fdde5c2a1b87f5ca16df92332978bab1f19f7785e645d66dd1fc9c6b62c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f05fdde5c2a1b87f5ca16df92332978bab1f19f7785e645d66dd1fc9c6b62c8", kill_on_drop: false }` [INFO] [stdout] 5f05fdde5c2a1b87f5ca16df92332978bab1f19f7785e645d66dd1fc9c6b62c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c96b6653a622722e38024df48975b53a7af43f6cc86249f45f0f8293e1dbdcdd [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" "c96b6653a622722e38024df48975b53a7af43f6cc86249f45f0f8293e1dbdcdd", kill_on_drop: false }` [INFO] [stderr] Checking girigiri v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `shogi::color::*` [INFO] [stdout] --> src/engine/alphabeta/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use shogi::color::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | pub static ref HASH_KEY_MASK: u64 = 2u64.pow(HASH_SHIFT_SIZE) - 1; [INFO] [stdout] 65 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | pub static ref BOARD_HASH: [[u64; 81]; 32] = { [INFO] [stdout] 71 | | let mut m: [[u64; 81]; 32] = [[0; 81]; 32]; [INFO] [stdout] 72 | | for piece in 0..32 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }; [INFO] [stdout] 88 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | pub static ref BOARD_HASH: [[u64; 81]; 32] = { [INFO] [stdout] 71 | | let mut m: [[u64; 81]; 32] = [[0; 81]; 32]; [INFO] [stdout] 72 | | for piece in 0..32 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }; [INFO] [stdout] 88 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/movable.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | pub static ref SHORT_MOVABLE: [Vec; 32] = [ [INFO] [stdout] 13 | | // white [INFO] [stdout] 14 | | vec![Down], // pawn [INFO] [stdout] ... | [INFO] [stdout] 86 | | ]; [INFO] [stdout] 87 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/movable.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | pub static ref SHORT_MOVABLE: [Vec; 32] = [ [INFO] [stdout] 13 | | // white [INFO] [stdout] 14 | | vec![Down], // pawn [INFO] [stdout] ... | [INFO] [stdout] 86 | | ]; [INFO] [stdout] 87 | | } [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/csa/player.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | Err(why) => panic!("couldn't create {}: {}", file_path, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shogi::color::*` [INFO] [stdout] --> src/engine/alphabeta/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use shogi::color::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | pub static ref HASH_KEY_MASK: u64 = 2u64.pow(HASH_SHIFT_SIZE) - 1; [INFO] [stdout] 65 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | pub static ref BOARD_HASH: [[u64; 81]; 32] = { [INFO] [stdout] 71 | | let mut m: [[u64; 81]; 32] = [[0; 81]; 32]; [INFO] [stdout] 72 | | for piece in 0..32 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }; [INFO] [stdout] 88 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/hash.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | pub static ref BOARD_HASH: [[u64; 81]; 32] = { [INFO] [stdout] 71 | | let mut m: [[u64; 81]; 32] = [[0; 81]; 32]; [INFO] [stdout] 72 | | for piece in 0..32 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }; [INFO] [stdout] 88 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/movable.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | pub static ref SHORT_MOVABLE: [Vec; 32] = [ [INFO] [stdout] 13 | | // white [INFO] [stdout] 14 | | vec![Down], // pawn [INFO] [stdout] ... | [INFO] [stdout] 86 | | ]; [INFO] [stdout] 87 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/shogi/movable.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | pub static ref SHORT_MOVABLE: [Vec; 32] = [ [INFO] [stdout] 13 | | // white [INFO] [stdout] 14 | | vec![Down], // pawn [INFO] [stdout] ... | [INFO] [stdout] 86 | | ]; [INFO] [stdout] 87 | | } [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/csa/player.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | Err(why) => panic!("couldn't create {}: {}", file_path, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &mut self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &mut self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/hash.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | m[piece][pos] = rand::thread_rng().gen_range(0, u64::max_value()); [INFO] [stdout] | ^^^ expected enum `position::Position`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `girigiri` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/position.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | &self[pos as usize] [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `position::Position`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shogi/hash.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | m[piece][pos] = rand::thread_rng().gen_range(0, u64::max_value()); [INFO] [stdout] | ^^^ expected enum `position::Position`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c96b6653a622722e38024df48975b53a7af43f6cc86249f45f0f8293e1dbdcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96b6653a622722e38024df48975b53a7af43f6cc86249f45f0f8293e1dbdcdd", kill_on_drop: false }` [INFO] [stdout] c96b6653a622722e38024df48975b53a7af43f6cc86249f45f0f8293e1dbdcdd