[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#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda21plusplus%2Follejer-chess" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inda21plusplus/ollejer-chess on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-19/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" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46a225bc4fc0026b85a0ebe3480f04de0c88dfc54f02c8d0fcfc7c3e854f20e0 [INFO] running `Command { std: "docker" "start" "-a" "46a225bc4fc0026b85a0ebe3480f04de0c88dfc54f02c8d0fcfc7c3e854f20e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46a225bc4fc0026b85a0ebe3480f04de0c88dfc54f02c8d0fcfc7c3e854f20e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a225bc4fc0026b85a0ebe3480f04de0c88dfc54f02c8d0fcfc7c3e854f20e0", kill_on_drop: false }` [INFO] [stdout] 46a225bc4fc0026b85a0ebe3480f04de0c88dfc54f02c8d0fcfc7c3e854f20e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b844f8ba47f99a458f5d50d6ce9c5f0895978ab165c03f065d37959e90aaba3 [INFO] running `Command { std: "docker" "start" "-a" "8b844f8ba47f99a458f5d50d6ce9c5f0895978ab165c03f065d37959e90aaba3", kill_on_drop: false }` [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 unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling mint v0.5.7 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling ollejer-chess v0.1.0 (/opt/rustwide/workdir/ollejer-chess) [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 lock_api v0.4.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] error: could not compile `ttf-parser` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name ttf_parser --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ttf-parser-0.12.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' --cfg 'feature="variable-fonts"' -C metadata=4419162c2fdf42f6 -C extra-filename=-4419162c2fdf42f6 --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: 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] note: `OneDBoard` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> ollejer-chess/src/board.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `OneDBoard` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> ollejer-chess/src/board.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b844f8ba47f99a458f5d50d6ce9c5f0895978ab165c03f065d37959e90aaba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b844f8ba47f99a458f5d50d6ce9c5f0895978ab165c03f065d37959e90aaba3", kill_on_drop: false }` [INFO] [stdout] 8b844f8ba47f99a458f5d50d6ce9c5f0895978ab165c03f065d37959e90aaba3