[INFO] cloning repository https://github.com/inda21plusplus/ollejer-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inda21plusplus/ollejer-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda21plusplus%2Follejer-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda21plusplus%2Follejer-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea9943b9f2b67e54a477acad577557f70d669293 [INFO] testing inda21plusplus/ollejer-chess against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda21plusplus%2Follejer-chess" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inda21plusplus/ollejer-chess on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inda21plusplus/ollejer-chess [INFO] finished tweaking git repo https://github.com/inda21plusplus/ollejer-chess [INFO] tweaked toml for git repo https://github.com/inda21plusplus/ollejer-chess written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate git repo https://github.com/inda21plusplus/ollejer-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mint v0.5.7 [INFO] [stderr] Downloaded ggez v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbfc2e1efde1b995362fc6fb11ff82fdabb1228b72490d6f26c92fabec2d3372 [INFO] running `Command { std: "docker" "start" "-a" "bbfc2e1efde1b995362fc6fb11ff82fdabb1228b72490d6f26c92fabec2d3372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbfc2e1efde1b995362fc6fb11ff82fdabb1228b72490d6f26c92fabec2d3372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfc2e1efde1b995362fc6fb11ff82fdabb1228b72490d6f26c92fabec2d3372", kill_on_drop: false }` [INFO] [stdout] bbfc2e1efde1b995362fc6fb11ff82fdabb1228b72490d6f26c92fabec2d3372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd7f697a7d1d7787e1b06c953139b8b4e5360990c9584c303ac85f57e426282 [INFO] running `Command { std: "docker" "start" "-a" "5cd7f697a7d1d7787e1b06c953139b8b4e5360990c9584c303ac85f57e426282", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling mint v0.5.7 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ollejer-chess v0.1.0 (/opt/rustwide/workdir/ollejer-chess) [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> ollejer-chess/src/movement.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | _ => panic!("Error! Cant get move from unknown piece."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> ollejer-chess/src/rules.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | _ => panic!("Error! Cant get move from unknown piece."), //WARNING WTF IS THIS GHOST [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rook` [INFO] [stdout] --> ollejer-chess/src/board.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | rook: Piece, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> ollejer-chess/src/board.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | destination: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result` is assigned to, but never used [INFO] [stdout] --> ollejer-chess/src/board.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let result: Result<(), &'static str>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> ollejer-chess/src/board.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | result = match read_promotion() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> ollejer-chess/src/board.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | result = match read_promotion() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> ollejer-chess/src/board.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | result = Ok(()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> ollejer-chess/src/board.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | let turn = match turn { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_knight_color` [INFO] [stdout] --> ollejer-chess/src/rules.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | this_knight_color if this_piece_color == target_piece.color => continue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_knight_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `largest` is never read [INFO] [stdout] --> ollejer-chess/src/rules.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut largest = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `smallest` is never read [INFO] [stdout] --> ollejer-chess/src/rules.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut smallest = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> ollejer-chess/src/rules.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | pos: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `halfmove_clock` [INFO] [stdout] --> ollejer-chess/src/board.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | halfmove_clock: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fullmove_clock` [INFO] [stdout] --> ollejer-chess/src/board.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | fullmove_clock: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> ollejer-chess/src/board.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 456 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 456 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> ollejer-chess/src/board.rs:462:30 [INFO] [stdout] | [INFO] [stdout] 462 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 462 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 462 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_piece_UNSAFE` should have a snake case name [INFO] [stdout] --> ollejer-chess/src/board.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn set_piece_UNSAFE(&mut self, position: usize, piece: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_piece_unsafe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_from_FEN` should have a snake case name [INFO] [stdout] --> ollejer-chess/src/board.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn new_from_FEN(fen: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_from_fen` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `claxon` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name claxon /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/claxon-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=361f45b0c1978552 -C extra-filename=-361f45b0c1978552 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5cd7f697a7d1d7787e1b06c953139b8b4e5360990c9584c303ac85f57e426282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd7f697a7d1d7787e1b06c953139b8b4e5360990c9584c303ac85f57e426282", kill_on_drop: false }` [INFO] [stdout] 5cd7f697a7d1d7787e1b06c953139b8b4e5360990c9584c303ac85f57e426282