[INFO] cloning repository https://github.com/walston/chess-keypad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/walston/chess-keypad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalston%2Fchess-keypad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalston%2Fchess-keypad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cf1be0c178d7b5ab377899acd82850d54d63d97 [INFO] checking walston/chess-keypad against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalston%2Fchess-keypad" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/walston/chess-keypad [INFO] finished tweaking git repo https://github.com/walston/chess-keypad [INFO] tweaked toml for git repo https://github.com/walston/chess-keypad written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/walston/chess-keypad on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/walston/chess-keypad 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking walston/chess-keypad against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalston%2Fchess-keypad" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/walston/chess-keypad [INFO] finished tweaking git repo https://github.com/walston/chess-keypad [INFO] tweaked toml for git repo https://github.com/walston/chess-keypad written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/walston/chess-keypad on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/walston/chess-keypad 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9427e2f896dc27b8b1f01cdf7e5178f7ce53bbf4fcd374194698c36f217aeef [INFO] running `Command { std: "docker" "start" "-a" "e9427e2f896dc27b8b1f01cdf7e5178f7ce53bbf4fcd374194698c36f217aeef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9427e2f896dc27b8b1f01cdf7e5178f7ce53bbf4fcd374194698c36f217aeef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9427e2f896dc27b8b1f01cdf7e5178f7ce53bbf4fcd374194698c36f217aeef", kill_on_drop: false }` [INFO] [stdout] e9427e2f896dc27b8b1f01cdf7e5178f7ce53bbf4fcd374194698c36f217aeef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b148e8779b049fded554d93932a4a2bd98d4f3572834f0e3d84d129768b09d26 [INFO] running `Command { std: "docker" "start" "-a" "b148e8779b049fded554d93932a4a2bd98d4f3572834f0e3d84d129768b09d26", kill_on_drop: false }` [INFO] [stderr] Checking chess-keypad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Key` is never used [INFO] [stdout] --> src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Key { [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 `Pawn` is never constructed [INFO] [stdout] --> src/lib.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Pawn; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rook` is never constructed [INFO] [stdout] --> src/lib.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Rook; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knight` is never constructed [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Knight; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bishop` is never constructed [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Bishop; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queen` is never constructed [INFO] [stdout] --> src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Queen; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `King` is never constructed [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct King; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Piece` is never used [INFO] [stdout] --> src/lib.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Piece = dyn Move; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Move` is never used [INFO] [stdout] --> src/lib.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `pieces::Move` is not dyn compatible [INFO] [stdout] --> src/lib.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | let pieces: Vec = vec![Rook{}, Knight{}, Bishop{}, Queen{}, King{}]; [INFO] [stdout] | ^^^^ `pieces::Move` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Move { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] 27 | fn next(_start: &char) -> Option> { [INFO] [stdout] | ^^^^ ...because associated function `next` has no `self` parameter [INFO] [stdout] = help: the following types implement `pieces::Move`: [INFO] [stdout] pieces::Pawn [INFO] [stdout] pieces::Rook [INFO] [stdout] pieces::Knight [INFO] [stdout] pieces::Bishop [INFO] [stdout] pieces::Queen [INFO] [stdout] pieces::King [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `pieces::Move` for this new enum and using it instead [INFO] [stdout] help: consider turning `next` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 27 | fn next(&self, _start: &char) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `next` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 27 | fn next(_start: &char) -> Option> where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-keypad` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b148e8779b049fded554d93932a4a2bd98d4f3572834f0e3d84d129768b09d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b148e8779b049fded554d93932a4a2bd98d4f3572834f0e3d84d129768b09d26", kill_on_drop: false }` [INFO] [stdout] b148e8779b049fded554d93932a4a2bd98d4f3572834f0e3d84d129768b09d26