[INFO] cloning repository https://github.com/languint/relic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/languint/relic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanguint%2Frelic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanguint%2Frelic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0cd7b96e43940dae6962f2ac599401bb25430b0 [INFO] checking languint/relic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanguint%2Frelic" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/languint/relic [INFO] finished tweaking git repo https://github.com/languint/relic [INFO] tweaked toml for git repo https://github.com/languint/relic written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/languint/relic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/languint/relic already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5756f0ebe2583d1771ed762565af8f8ceac3969ec1118640df0b8b373b924f2f [INFO] running `Command { std: "docker" "start" "-a" "5756f0ebe2583d1771ed762565af8f8ceac3969ec1118640df0b8b373b924f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5756f0ebe2583d1771ed762565af8f8ceac3969ec1118640df0b8b373b924f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5756f0ebe2583d1771ed762565af8f8ceac3969ec1118640df0b8b373b924f2f", kill_on_drop: false }` [INFO] [stdout] 5756f0ebe2583d1771ed762565af8f8ceac3969ec1118640df0b8b373b924f2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3366f4b696dd1c57bfd8d1a1e4b556e679f40e014b1b107d2c9c46704f78805 [INFO] running `Command { std: "docker" "start" "-a" "c3366f4b696dd1c57bfd8d1a1e4b556e679f40e014b1b107d2c9c46704f78805", kill_on_drop: false }` [INFO] [stderr] Checking relic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/game/game_move.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{Board, defs::Square}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/game/game_move.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{Board, defs::Square}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/board.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EMPTY` is never used [INFO] [stdout] --> src/board.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 17 | impl Board { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 18 | pub const EMPTY: Board = Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CastlingRights` is never constructed [INFO] [stdout] --> src/board/castling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct CastlingRights(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `WK`, `WQ`, `BK`, `BQ`, `ALL`, and `NONE` are never used [INFO] [stdout] --> src/board/castling.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl CastlingRights { [INFO] [stdout] | ------------------- associated constants in this implementation [INFO] [stdout] 4 | pub const WK: CastlingRights = CastlingRights(0b0001); [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub const WQ: CastlingRights = CastlingRights(0b0010); [INFO] [stdout] | ^^ [INFO] [stdout] 6 | pub const BK: CastlingRights = CastlingRights(0b0100); [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub const BQ: CastlingRights = CastlingRights(0b1000); [INFO] [stdout] | ^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub const ALL: CastlingRights = CastlingRights(0b1111); [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub const NONE: CastlingRights = CastlingRights(0b0000); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Piece` is never used [INFO] [stdout] --> src/board/defs.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/board/defs.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NrOf` is never constructed [INFO] [stdout] --> src/defs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NrOf; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `PIECES` and `COLORS` are never used [INFO] [stdout] --> src/defs.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 2 | impl NrOf { [INFO] [stdout] | --------- associated constants in this implementation [INFO] [stdout] 3 | pub const PIECES: usize = 6; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pub const COLORS: usize = 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameMove` is never constructed [INFO] [stdout] --> src/game/game_move.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GameMove(u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `FLAG_MASK`, `TARGET_MASK`, `SOURCE_MASK`, `FLAG_SHIFT`, and `TARGET_SHIFT` are never used [INFO] [stdout] --> src/game/game_move.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl GameMove { [INFO] [stdout] | ------------- associated constants in this implementation [INFO] [stdout] 7 | pub const FLAG_MASK: u16 = 0b1111000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub const TARGET_MASK: u16 = 0b0000111111000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub const SOURCE_MASK: u16 = 0b0000000000111111; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub const FLAG_SHIFT: usize = 12; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub const TARGET_SHIFT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveFlags` is never constructed [INFO] [stdout] --> src/game/game_move.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MoveFlags; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/game/game_move.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveFlags { [INFO] [stdout] | -------------- associated constants in this implementation [INFO] [stdout] 17 | pub const NONE: u16 = 0b0000; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub const EN_PASSANT: u16 = 0b0001; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub const CAPTURE: u16 = 0b0010; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub const PROMOTE_KNIGHT: u16 = 0b0100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub const PROMOTE_BISHOP: u16 = 0b0101; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub const PROMOTE_ROOK: u16 = 0b0110; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | pub const PROMOTE_QUEEN: u16 = 0b0111; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/game_move.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl GameMove { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new(source: Square, target: Square, flags: u16) -> GameMove { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flag`, `target`, and `source` are never used [INFO] [stdout] --> src/game/game_move.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl GameMove { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 38 | #[inline] [INFO] [stdout] 39 | pub fn flag(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn target(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn source(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_HISTORY` is never used [INFO] [stdout] --> src/game/history.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MAX_HISTORY: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `History` is never constructed [INFO] [stdout] --> src/game/history.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct History { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `peek`, `pop`, and `clear` are never used [INFO] [stdout] --> src/game/history.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub fn push(&mut self, board: Board) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn peek(&self) -> Option<&Board> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/board/defs.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `EN_PASSANT`, `CAPTURE`, `PROMOTE_KNIGHT`, `PROMOTE_BISHOP`, `PROMOTE_ROOK`, and `PROMOTE_QUEEN` are never used [INFO] [stdout] --> src/game/game_move.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveFlags { [INFO] [stdout] | -------------- associated constants in this implementation [INFO] [stdout] 17 | pub const NONE: u16 = 0b0000; [INFO] [stdout] 18 | pub const EN_PASSANT: u16 = 0b0001; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub const CAPTURE: u16 = 0b0010; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub const PROMOTE_KNIGHT: u16 = 0b0100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub const PROMOTE_BISHOP: u16 = 0b0101; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub const PROMOTE_ROOK: u16 = 0b0110; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | pub const PROMOTE_QUEEN: u16 = 0b0111; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pop` and `clear` are never used [INFO] [stdout] --> src/game/history.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "c3366f4b696dd1c57bfd8d1a1e4b556e679f40e014b1b107d2c9c46704f78805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3366f4b696dd1c57bfd8d1a1e4b556e679f40e014b1b107d2c9c46704f78805", kill_on_drop: false }` [INFO] [stdout] c3366f4b696dd1c57bfd8d1a1e4b556e679f40e014b1b107d2c9c46704f78805