[INFO] cloning repository https://github.com/Yayformee/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yayformee/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYayformee%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYayformee%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18ba414953344904f637981eec83b3613d55ef89 [INFO] checking Yayformee/chess/18ba414953344904f637981eec83b3613d55ef89 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYayformee%2Fchess" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yayformee/chess 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/Yayformee/chess [INFO] finished tweaking git repo https://github.com/Yayformee/chess [INFO] tweaked toml for git repo https://github.com/Yayformee/chess written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yayformee/chess 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aec99cc5d64b3349dc4d4ec7552b740d2b3cdfa96399124e7145b99dd7f995ae [INFO] running `Command { std: "docker" "start" "-a" "aec99cc5d64b3349dc4d4ec7552b740d2b3cdfa96399124e7145b99dd7f995ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec99cc5d64b3349dc4d4ec7552b740d2b3cdfa96399124e7145b99dd7f995ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec99cc5d64b3349dc4d4ec7552b740d2b3cdfa96399124e7145b99dd7f995ae", kill_on_drop: false }` [INFO] [stdout] aec99cc5d64b3349dc4d4ec7552b740d2b3cdfa96399124e7145b99dd7f995ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0d4c06d6f6674087ae1ff2ab84192b905628661d5d8a421dd4c299a1ce542f [INFO] running `Command { std: "docker" "start" "-a" "3f0d4c06d6f6674087ae1ff2ab84192b905628661d5d8a421dd4c299a1ce542f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking chess v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/board.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/board.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `str_words` [INFO] [stdout] --> src/main.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `str_words` [INFO] [stdout] --> src/main.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, io, unicode, collections, str_words)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: Clone` is not satisfied [INFO] [stdout] --> src/color.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, PartialEq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Color` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Color` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | pub enum Color{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: Clone` is not satisfied [INFO] [stdout] --> src/color.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, PartialEq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Color` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Color` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | pub enum Color{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tile: Clone` is not satisfied [INFO] [stdout] --> src/board.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Copy, PartialEq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Tile` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [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 `Tile: Clone` is not satisfied [INFO] [stdout] --> src/board.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Copy, PartialEq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Tile` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [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 `Tile: Clone` is not satisfied [INFO] [stdout] --> src/board.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 65 | pub struct ChessBoard{ [INFO] [stdout] 66 | board: [[Tile; 8]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Tile`, which is required by `[[Tile; 8]; 8]: Clone` [INFO] [stdout] | [INFO] [stdout] = note: required for `[Tile; 8]` to implement `Clone` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[[Tile; 8]; 8]` to implement `Clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tile: Clone` is not satisfied [INFO] [stdout] --> src/board.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 65 | pub struct ChessBoard{ [INFO] [stdout] 66 | board: [[Tile; 8]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Tile`, which is required by `[[Tile; 8]; 8]: Clone` [INFO] [stdout] | [INFO] [stdout] = note: required for `[Tile; 8]` to implement `Clone` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[[Tile; 8]; 8]` to implement `Clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, y) = (input.char_at(0), input.char_at(1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, y) = (input.char_at(0), input.char_at(1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, y) = (input.char_at(0), input.char_at(1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, y) = (input.char_at(0), input.char_at(1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `chars` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `words` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut words = input.words(); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `words` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match input.words().count(){ [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `words` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut words = input.words(); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `words` found for reference `&str` in the current scope [INFO] [stdout] --> src/chess_move.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match input.words().count(){ [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (bin "chess") due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chess` (bin "chess" test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3f0d4c06d6f6674087ae1ff2ab84192b905628661d5d8a421dd4c299a1ce542f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0d4c06d6f6674087ae1ff2ab84192b905628661d5d8a421dd4c299a1ce542f", kill_on_drop: false }` [INFO] [stdout] 3f0d4c06d6f6674087ae1ff2ab84192b905628661d5d8a421dd4c299a1ce542f