[INFO] cloning repository https://github.com/John123Allison/regalis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/John123Allison/regalis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn123Allison%2Fregalis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn123Allison%2Fregalis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e6784256030983ad2e1b8ba68365bacb698a894 [INFO] checking John123Allison/regalis/7e6784256030983ad2e1b8ba68365bacb698a894 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn123Allison%2Fregalis" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/John123Allison/regalis on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/John123Allison/regalis [INFO] finished tweaking git repo https://github.com/John123Allison/regalis [INFO] tweaked toml for git repo https://github.com/John123Allison/regalis written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/John123Allison/regalis 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87f3129117a56a7f230e7519eba1487d81eef2fab71e52db4e29f88fc29829cc [INFO] running `Command { std: "docker" "start" "-a" "87f3129117a56a7f230e7519eba1487d81eef2fab71e52db4e29f88fc29829cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87f3129117a56a7f230e7519eba1487d81eef2fab71e52db4e29f88fc29829cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f3129117a56a7f230e7519eba1487d81eef2fab71e52db4e29f88fc29829cc", kill_on_drop: false }` [INFO] [stdout] 87f3129117a56a7f230e7519eba1487d81eef2fab71e52db4e29f88fc29829cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 730fa51c97c54614862a5f6b51a7b64d578c44c62b89de823d831368a79b596a [INFO] running `Command { std: "docker" "start" "-a" "730fa51c97c54614862a5f6b51a7b64d578c44c62b89de823d831368a79b596a", kill_on_drop: false }` [INFO] [stderr] Checking regalis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type [INFO] [stdout] --> src/model.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | piece_type: PieceType, [INFO] [stdout] | --------------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type [INFO] [stdout] --> src/model.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | piece_type: PieceType, [INFO] [stdout] | --------------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PieceType: Clone` is not satisfied [INFO] [stdout] --> src/model.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Copy, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | piece_type: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PieceType` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AssertParamIsClone` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:198:1 [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PieceType` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(Clone)] [INFO] [stdout] 50 | pub enum PieceType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PieceType: Clone` is not satisfied [INFO] [stdout] --> src/model.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Copy, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | piece_type: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `PieceType` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AssertParamIsClone` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:198:1 [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `PieceType` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(Clone)] [INFO] [stdout] 50 | pub enum PieceType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/model.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let color = self.turn; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece_type` [INFO] [stdout] --> src/model.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let piece_type: PieceType = match moving_piece_str { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/model.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let color = self.turn; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn parse_move(&self, mut user_move_string: &String) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece_type` [INFO] [stdout] --> src/model.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let piece_type: PieceType = match moving_piece_str { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn parse_move(&self, mut user_move_string: &String) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regalis` (bin "regalis") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `regalis` (bin "regalis" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "730fa51c97c54614862a5f6b51a7b64d578c44c62b89de823d831368a79b596a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730fa51c97c54614862a5f6b51a7b64d578c44c62b89de823d831368a79b596a", kill_on_drop: false }` [INFO] [stdout] 730fa51c97c54614862a5f6b51a7b64d578c44c62b89de823d831368a79b596a