[INFO] cloning repository https://github.com/EasyToFindName/ultimate-tic-tac-toe-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EasyToFindName/ultimate-tic-tac-toe-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyToFindName%2Fultimate-tic-tac-toe-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyToFindName%2Fultimate-tic-tac-toe-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 490f6110762a5cec18ffb3132c22534748d5d73d [INFO] checking EasyToFindName/ultimate-tic-tac-toe-game against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyToFindName%2Fultimate-tic-tac-toe-game" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EasyToFindName/ultimate-tic-tac-toe-game on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EasyToFindName/ultimate-tic-tac-toe-game [INFO] finished tweaking git repo https://github.com/EasyToFindName/ultimate-tic-tac-toe-game [INFO] tweaked toml for git repo https://github.com/EasyToFindName/ultimate-tic-tac-toe-game written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/EasyToFindName/ultimate-tic-tac-toe-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcf8a4463fc1431ed651eee7305b04fdb606280f35c0e32d6e921a3350d17e9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fcf8a4463fc1431ed651eee7305b04fdb606280f35c0e32d6e921a3350d17e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf8a4463fc1431ed651eee7305b04fdb606280f35c0e32d6e921a3350d17e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf8a4463fc1431ed651eee7305b04fdb606280f35c0e32d6e921a3350d17e9c", kill_on_drop: false }` [INFO] [stdout] fcf8a4463fc1431ed651eee7305b04fdb606280f35c0e32d6e921a3350d17e9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ce9299875bae80c9cd0bc8416b391b12b26bf3be4805be0130b9b2f8a0e8b63 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ce9299875bae80c9cd0bc8416b391b12b26bf3be4805be0130b9b2f8a0e8b63", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking futures v0.1.24 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking tic_tac_toe v0.1.0 (/opt/rustwide/workdir/tic-tac-toe) [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling actix-web v0.7.8 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_board.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(g.get_winner(0, 0), Some(GameElem::X)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `game_logic::game_elements::Winner`, found enum `game_logic::game_elements::GameElem` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_board.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(g.get_winner(0, 0), Some(GameElem::X)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `game_logic::game_elements::Winner` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_elements.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Winner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `game_logic::game_elements::Winner` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `game_logic::game_elements::Winner` doesn't implement `Debug` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_board.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(g.get_winner(0, 0), Some(GameElem::X)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `game_logic::game_elements::Winner` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `game_logic::game_elements::Winner` [INFO] [stdout] = note: add `#[derive(Debug)]` to `game_logic::game_elements::Winner` or manually `impl Debug for game_logic::game_elements::Winner` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_board.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(g.get_winner(0, 2), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `game_logic::game_elements::Winner` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_elements.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Winner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `game_logic::game_elements::Winner` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `game_logic::game_elements::Winner` doesn't implement `Debug` [INFO] [stdout] --> tic-tac-toe/src/game_logic/game_board.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(g.get_winner(0, 2), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `game_logic::game_elements::Winner` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `game_logic::game_elements::Winner` [INFO] [stdout] = note: add `#[derive(Debug)]` to `game_logic::game_elements::Winner` or manually `impl Debug for game_logic::game_elements::Winner` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tic_tac_toe` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3ce9299875bae80c9cd0bc8416b391b12b26bf3be4805be0130b9b2f8a0e8b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce9299875bae80c9cd0bc8416b391b12b26bf3be4805be0130b9b2f8a0e8b63", kill_on_drop: false }` [INFO] [stdout] 3ce9299875bae80c9cd0bc8416b391b12b26bf3be4805be0130b9b2f8a0e8b63