[INFO] updating cached repository bknshn/girigiri
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/bknshn/girigiri
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/bknshn/girigiri" "work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/bknshn/girigiri"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/bknshn/girigiri'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/bknshn/girigiri" "work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/bknshn/girigiri"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/bknshn/girigiri'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6a8a0147481f14fca1795d905d3a63c64b9c7df1
[INFO] sha for GitHub repo bknshn/girigiri: 6a8a0147481f14fca1795d905d3a63c64b9c7df1
[INFO] validating manifest of bknshn/girigiri on toolchain 1.37.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of bknshn/girigiri on toolchain beta-2019-08-13
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing bknshn/girigiri
[INFO] finished frobbing bknshn/girigiri
[INFO] frobbed toml for bknshn/girigiri written to work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/bknshn/girigiri/Cargo.toml
[INFO] started frobbing bknshn/girigiri
[INFO] finished frobbing bknshn/girigiri
[INFO] frobbed toml for bknshn/girigiri written to work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/bknshn/girigiri/Cargo.toml
[INFO] crate bknshn/girigiri already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] documenting bknshn/girigiri against beta-2019-08-13 for beta-1.38-rustdoc-1
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-rustdoc-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/bknshn/girigiri:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] ead6ebe720e9504a5abfb624808b53b35daed37e02966a90b437aa04e4b96aa0
[INFO] running `"docker" "start" "-a" "ead6ebe720e9504a5abfb624808b53b35daed37e02966a90b437aa04e4b96aa0"`
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking girigiri v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]  Documenting girigiri v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: unused import: `shogi::color::*`
[INFO] [stderr]  --> src/engine/alphabeta/eval.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use shogi::color::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` 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/shogi/hash.rs:63:1
[INFO] [stderr]    |
[INFO] [stderr] 63 | / lazy_static! {
[INFO] [stderr] 64 | |     pub static ref HASH_KEY_MASK: u64 = 2u64.pow(HASH_SHIFT_SIZE) - 1;
[INFO] [stderr] 65 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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/shogi/hash.rs:69:1
[INFO] [stderr]    |
[INFO] [stderr] 69 | / lazy_static! {
[INFO] [stderr] 70 | |     pub static ref BOARD_HASH: [[u64; 81]; 32] = {
[INFO] [stderr] 71 | |         let mut m: [[u64; 81]; 32] = [[0; 81]; 32];
[INFO] [stderr] 72 | |         for piece in 0..32 {
[INFO] [stderr] ...  |
[INFO] [stderr] 87 | |     };
[INFO] [stderr] 88 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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/shogi/hash.rs:69:1
[INFO] [stderr]    |
[INFO] [stderr] 69 | / lazy_static! {
[INFO] [stderr] 70 | |     pub static ref BOARD_HASH: [[u64; 81]; 32] = {
[INFO] [stderr] 71 | |         let mut m: [[u64; 81]; 32] = [[0; 81]; 32];
[INFO] [stderr] 72 | |         for piece in 0..32 {
[INFO] [stderr] ...  |
[INFO] [stderr] 87 | |     };
[INFO] [stderr] 88 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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/shogi/movable.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | / lazy_static! {
[INFO] [stderr] 12 | |     pub static ref SHORT_MOVABLE: [Vec<Direction>; 32] = [
[INFO] [stderr] 13 | |         // white
[INFO] [stderr] 14 | |         vec![Down],                                                         // pawn
[INFO] [stderr] ...  |
[INFO] [stderr] 86 | |     ];
[INFO] [stderr] 87 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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/shogi/movable.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | / lazy_static! {
[INFO] [stderr] 12 | |     pub static ref SHORT_MOVABLE: [Vec<Direction>; 32] = [
[INFO] [stderr] 13 | |         // white
[INFO] [stderr] 14 | |         vec![Down],                                                         // pawn
[INFO] [stderr] ...  |
[INFO] [stderr] 86 | |     ];
[INFO] [stderr] 87 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/shogi/position.rs:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 |         &self[pos as usize]
[INFO] [stderr]    |               ^^^^^^^^^^^^ expected enum `shogi::position::Position`, found usize
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `shogi::position::Position`
[INFO] [stderr]               found type `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/shogi/position.rs:31:15
[INFO] [stderr]    |
[INFO] [stderr] 31 |         &self[pos as usize]
[INFO] [stderr]    |               ^^^^^^^^^^^^ expected enum `shogi::position::Position`, found usize
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `shogi::position::Position`
[INFO] [stderr]               found type `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/shogi/position.rs:36:19
[INFO] [stderr]    |
[INFO] [stderr] 36 |         &mut self[pos as usize]
[INFO] [stderr]    |                   ^^^^^^^^^^^^ expected enum `shogi::position::Position`, found usize
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `shogi::position::Position`
[INFO] [stderr]               found type `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/shogi/position.rs:44:15
[INFO] [stderr]    |
[INFO] [stderr] 44 |         &self[pos as usize]
[INFO] [stderr]    |               ^^^^^^^^^^^^ expected enum `shogi::position::Position`, found usize
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `shogi::position::Position`
[INFO] [stderr]               found type `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/shogi/hash.rs:74:26
[INFO] [stderr]    |
[INFO] [stderr] 74 |                 m[piece][pos] = rand::thread_rng().gen_range(0, u64::max_value());
[INFO] [stderr]    |                          ^^^ expected enum `shogi::position::Position`, found integer
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `shogi::position::Position`
[INFO] [stderr]               found type `{integer}`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: Could not compile `girigiri`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: literal out of range for i8
[INFO] [stderr]  --> src/shogi/move_encode.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 | const PROMOTE_MASK: i8 = 0b10000000;
[INFO] [stderr]   |                          ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(overflowing_literals)]` on by default
[INFO] [stderr]   = note: the literal `0b10000000` (decimal `128`) does not fit into an `i8` and will become `-128i8`
[INFO] [stderr]   = help: consider using `u8` instead
[INFO] [stderr] 
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "ead6ebe720e9504a5abfb624808b53b35daed37e02966a90b437aa04e4b96aa0"`
[INFO] running `"docker" "rm" "-f" "ead6ebe720e9504a5abfb624808b53b35daed37e02966a90b437aa04e4b96aa0"`
[INFO] [stdout] ead6ebe720e9504a5abfb624808b53b35daed37e02966a90b437aa04e4b96aa0
