[INFO] cloning repository https://github.com/raphaelpaiva/rust_gameoflife [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raphaelpaiva/rust_gameoflife" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphaelpaiva%2Frust_gameoflife", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphaelpaiva%2Frust_gameoflife'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06b5a849465f3de00e3e88863944ed2fa3902052 [INFO] checking raphaelpaiva/rust_gameoflife against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphaelpaiva%2Frust_gameoflife" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raphaelpaiva/rust_gameoflife on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-68/source/.cargo/config [INFO] started tweaking git repo https://github.com/raphaelpaiva/rust_gameoflife [INFO] finished tweaking git repo https://github.com/raphaelpaiva/rust_gameoflife [INFO] tweaked toml for git repo https://github.com/raphaelpaiva/rust_gameoflife written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/raphaelpaiva/rust_gameoflife already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134a7e6bb20311deb249a3ee0d8fb86ebdd4f28d1737b31c85dcc178de61320f [INFO] running `Command { std: "docker" "start" "-a" "134a7e6bb20311deb249a3ee0d8fb86ebdd4f28d1737b31c85dcc178de61320f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134a7e6bb20311deb249a3ee0d8fb86ebdd4f28d1737b31c85dcc178de61320f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134a7e6bb20311deb249a3ee0d8fb86ebdd4f28d1737b31c85dcc178de61320f", kill_on_drop: false }` [INFO] [stdout] 134a7e6bb20311deb249a3ee0d8fb86ebdd4f28d1737b31c85dcc178de61320f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fa1cdc55049a7779ffad7c97fd41c59be5985edd9268228d8066d6f47f7ca74 [INFO] running `Command { std: "docker" "start" "-a" "7fa1cdc55049a7779ffad7c97fd41c59be5985edd9268228d8066d6f47f7ca74", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rust_gol v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(location: Point2D, alive: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pause` [INFO] [stdout] --> src/game.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpause` [INFO] [stdout] --> src/game.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn unpause(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/game.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(location: Point2D, alive: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pause` [INFO] [stdout] --> src/game.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpause` [INFO] [stdout] --> src/game.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn unpause(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.96s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_gol v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:345:29 [INFO] [stdout] | [INFO] [stdout] 345 | println!("Point: {:?}", Point2D::new(0, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Point2D::new(0, 0), Point2D::new(0, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:346:36 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Point2D::new(0, 0), Point2D::new(0, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 347 | assert_ne!(Point2D::new(10, 0), Point2D::new(230, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:347:37 [INFO] [stdout] | [INFO] [stdout] 347 | assert_ne!(Point2D::new(10, 0), Point2D::new(230, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/game.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | let center_alive = Cell::new_alive(Point2D::new(0, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 344 | use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:349:40 [INFO] [stdout] | [INFO] [stdout] 349 | let center_alive = Cell::new_alive(Point2D::new(0, 0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/game.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(center_alive, Cell::new_alive(Point2D::new(0, 0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 344 | use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:352:46 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(center_alive, Cell::new_alive(Point2D::new(0, 0))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/game.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | assert_ne!(center_alive, Cell::new_dead(Point2D::new(0, 0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 344 | use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | assert_ne!(center_alive, Cell::new_dead(Point2D::new(0, 0))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/game.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 354 | assert_ne!(center_alive, Cell::new_alive(Point2D::new(10, 0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 344 | use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Cell; [INFO] [stdout] | [INFO] [stdout] 344 | use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point2D` [INFO] [stdout] --> src/game.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | assert_ne!(center_alive, Cell::new_alive(Point2D::new(10, 0))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 | use crate::game::Point2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_gol` due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(location: Point2D, alive: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pause` [INFO] [stdout] --> src/game.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpause` [INFO] [stdout] --> src/game.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn unpause(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7fa1cdc55049a7779ffad7c97fd41c59be5985edd9268228d8066d6f47f7ca74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa1cdc55049a7779ffad7c97fd41c59be5985edd9268228d8066d6f47f7ca74", kill_on_drop: false }` [INFO] [stdout] 7fa1cdc55049a7779ffad7c97fd41c59be5985edd9268228d8066d6f47f7ca74