[INFO] cloning repository https://github.com/tramos200018/tictactoe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tramos200018/tictactoe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftramos200018%2Ftictactoe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftramos200018%2Ftictactoe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 188611101da05ca9e957ea8c8eaa5bb62c8c4582 [INFO] checking tramos200018/tictactoe against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftramos200018%2Ftictactoe" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 62% (2538/4044) Updating files: 63% (2548/4044) Updating files: 64% (2589/4044) Updating files: 65% (2629/4044) Updating files: 66% (2670/4044) Updating files: 67% (2710/4044) Updating files: 68% (2750/4044) Updating files: 69% (2791/4044) Updating files: 70% (2831/4044) Updating files: 71% (2872/4044) Updating files: 71% (2886/4044) Updating files: 72% (2912/4044) Updating files: 73% (2953/4044) Updating files: 74% (2993/4044) Updating files: 75% (3033/4044) Updating files: 76% (3074/4044) Updating files: 76% (3089/4044) Updating files: 77% (3114/4044) Updating files: 78% (3155/4044) Updating files: 79% (3195/4044) Updating files: 80% (3236/4044) Updating files: 81% (3276/4044) Updating files: 81% (3310/4044) Updating files: 82% (3317/4044) Updating files: 83% (3357/4044) Updating files: 83% (3383/4044) Updating files: 84% (3397/4044) Updating files: 85% (3438/4044) Updating files: 86% (3478/4044) Updating files: 87% (3519/4044) Updating files: 88% (3559/4044) Updating files: 89% (3600/4044) Updating files: 90% (3640/4044) Updating files: 90% (3658/4044) Updating files: 91% (3681/4044) Updating files: 92% (3721/4044) Updating files: 93% (3761/4044) Updating files: 94% (3802/4044) Updating files: 95% (3842/4044) Updating files: 96% (3883/4044) Updating files: 96% (3921/4044) Updating files: 97% (3923/4044) Updating files: 98% (3964/4044) Updating files: 99% (4004/4044) Updating files: 100% (4044/4044) Updating files: 100% (4044/4044), done. [INFO] validating manifest of git repo https://github.com/tramos200018/tictactoe on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tramos200018/tictactoe [INFO] finished tweaking git repo https://github.com/tramos200018/tictactoe [INFO] tweaked toml for git repo https://github.com/tramos200018/tictactoe written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/tramos200018/tictactoe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e1491e85c67f879673537c634b7c9b1b1f51fd4ab62c6d76732a258f1a59791 [INFO] running `Command { std: "docker" "start" "-a" "0e1491e85c67f879673537c634b7c9b1b1f51fd4ab62c6d76732a258f1a59791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e1491e85c67f879673537c634b7c9b1b1f51fd4ab62c6d76732a258f1a59791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1491e85c67f879673537c634b7c9b1b1f51fd4ab62c6d76732a258f1a59791", kill_on_drop: false }` [INFO] [stdout] 0e1491e85c67f879673537c634b7c9b1b1f51fd4ab62c6d76732a258f1a59791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13f9845aff7a8869452ef2b62356def6eca378f9996a150313d14b3ebcc3763e [INFO] running `Command { std: "docker" "start" "-a" "13f9845aff7a8869452ef2b62356def6eca378f9996a150313d14b3ebcc3763e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking pollster v0.2.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking winit_input_helper v0.6.0 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking pixels v0.2.0 [INFO] [stderr] Checking tictactoe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{borrow::Borrow, os::macos::raw::stat, task::RawWakerVTable}; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{borrow::Borrow, os::macos::raw::stat, task::RawWakerVTable}; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Rect, Rgba, Vec2i}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{Rect, Rgba, Vec2i}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Borrow`, `task::RawWakerVTable` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{borrow::Borrow, os::macos::raw::stat, task::RawWakerVTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::{dpi::LogicalSize, event}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Borrow`, `task::RawWakerVTable` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{borrow::Borrow, os::macos::raw::stat, task::RawWakerVTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::{dpi::LogicalSize, event}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/tiles.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::types::{Rect, Rgba, Vec2i}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tile`, `Tilemap`, `Tileset` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use tiles::{Tile, Tilemap, Tileset}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/tiles.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::types::{Rect, Rgba, Vec2i}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/animation.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/animation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/sprite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixels`, `SurfaceTexture` [INFO] [stdout] --> src/collision.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use pixels::{Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/collision.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{time::Instant, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/collision.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `VirtualKeyCode` [INFO] [stdout] --> src/collision.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop` [INFO] [stdout] --> src/collision.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::WindowBuilder` [INFO] [stdout] --> src/collision.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit_input_helper::WinitInputHelper` [INFO] [stdout] --> src/collision.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winit_input_helper::WinitInputHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mobile`, `rect_touching` [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | use collision::{rect_touching, Mobile, Wall}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:295:47 [INFO] [stdout] | [INFO] [stdout] 295 | ... let cross_x = (i * WIDTH / 3 + 75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | ... let cross_y = (j * HEIGHT / 3 + 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | if (state.model[0][0] == CIRCLE && state.model[0][1] == CIRCLE && state.model[0][2] == CIRCLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | } else if (state.model[1][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 506 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 507 | | && state.model[1][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 505 ~ } else if state.model[1][0] == CIRCLE [INFO] [stdout] 506 + && state.model[1][1] == CIRCLE [INFO] [stdout] 507 + && state.model[1][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:510:15 [INFO] [stdout] | [INFO] [stdout] 510 | } else if (state.model[2][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 511 | | && state.model[2][1] == CIRCLE [INFO] [stdout] 512 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 ~ } else if state.model[2][0] == CIRCLE [INFO] [stdout] 511 + && state.model[2][1] == CIRCLE [INFO] [stdout] 512 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:515:15 [INFO] [stdout] | [INFO] [stdout] 515 | } else if (state.model[0][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 516 | | && state.model[1][0] == CIRCLE [INFO] [stdout] 517 | | && state.model[2][0] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 ~ } else if state.model[0][0] == CIRCLE [INFO] [stdout] 516 + && state.model[1][0] == CIRCLE [INFO] [stdout] 517 + && state.model[2][0] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:520:15 [INFO] [stdout] | [INFO] [stdout] 520 | } else if (state.model[0][1] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 521 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 522 | | && state.model[2][1] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 ~ } else if state.model[0][1] == CIRCLE [INFO] [stdout] 521 + && state.model[1][1] == CIRCLE [INFO] [stdout] 522 + && state.model[2][1] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tile`, `Tilemap`, `Tileset` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use tiles::{Tile, Tilemap, Tileset}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:525:15 [INFO] [stdout] | [INFO] [stdout] 525 | } else if (state.model[0][2] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 526 | | && state.model[1][2] == CIRCLE [INFO] [stdout] 527 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 525 ~ } else if state.model[0][2] == CIRCLE [INFO] [stdout] 526 + && state.model[1][2] == CIRCLE [INFO] [stdout] 527 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | } else if (state.model[0][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 531 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 532 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 530 ~ } else if state.model[0][0] == CIRCLE [INFO] [stdout] 531 + && state.model[1][1] == CIRCLE [INFO] [stdout] 532 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/animation.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/animation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 535 | } else if (state.model[0][2] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 536 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 537 | | && state.model[2][0] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 535 ~ } else if state.model[0][2] == CIRCLE [INFO] [stdout] 536 + && state.model[1][1] == CIRCLE [INFO] [stdout] 537 + && state.model[2][0] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/sprite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:545:8 [INFO] [stdout] | [INFO] [stdout] 545 | if (state.model[0][0] == CROSS && state.model[0][1] == CROSS && state.model[0][2] == CROSS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 547 | } else if (state.model[1][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 548 | | && state.model[1][1] == CROSS [INFO] [stdout] 549 | | && state.model[1][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 547 ~ } else if state.model[1][0] == CROSS [INFO] [stdout] 548 + && state.model[1][1] == CROSS [INFO] [stdout] 549 + && state.model[1][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixels`, `SurfaceTexture` [INFO] [stdout] --> src/collision.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use pixels::{Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | } else if (state.model[2][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 553 | | && state.model[2][1] == CROSS [INFO] [stdout] 554 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 552 ~ } else if state.model[2][0] == CROSS [INFO] [stdout] 553 + && state.model[2][1] == CROSS [INFO] [stdout] 554 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/collision.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{time::Instant, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | } else if (state.model[0][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 558 | | && state.model[1][0] == CROSS [INFO] [stdout] 559 | | && state.model[2][0] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 557 ~ } else if state.model[0][0] == CROSS [INFO] [stdout] 558 + && state.model[1][0] == CROSS [INFO] [stdout] 559 + && state.model[2][0] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/collision.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | } else if (state.model[0][1] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 563 | | && state.model[1][1] == CROSS [INFO] [stdout] 564 | | && state.model[2][1] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 562 ~ } else if state.model[0][1] == CROSS [INFO] [stdout] 563 + && state.model[1][1] == CROSS [INFO] [stdout] 564 + && state.model[2][1] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `VirtualKeyCode` [INFO] [stdout] --> src/collision.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop` [INFO] [stdout] --> src/collision.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | } else if (state.model[0][2] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 568 | | && state.model[1][2] == CROSS [INFO] [stdout] 569 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 567 ~ } else if state.model[0][2] == CROSS [INFO] [stdout] 568 + && state.model[1][2] == CROSS [INFO] [stdout] 569 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::WindowBuilder` [INFO] [stdout] --> src/collision.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | } else if (state.model[0][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 573 | | && state.model[1][1] == CROSS [INFO] [stdout] 574 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 ~ } else if state.model[0][0] == CROSS [INFO] [stdout] 573 + && state.model[1][1] == CROSS [INFO] [stdout] 574 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit_input_helper::WinitInputHelper` [INFO] [stdout] --> src/collision.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winit_input_helper::WinitInputHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:577:15 [INFO] [stdout] | [INFO] [stdout] 577 | } else if (state.model[0][2] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 578 | | && state.model[1][1] == CROSS [INFO] [stdout] 579 | | && state.model[2][0] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 ~ } else if state.model[0][2] == CROSS [INFO] [stdout] 578 + && state.model[1][1] == CROSS [INFO] [stdout] 579 + && state.model[2][0] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:589:16 [INFO] [stdout] | [INFO] [stdout] 589 | if (state.model[i][j] != EMPTY){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mobile`, `rect_touching` [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | use collision::{rect_touching, Mobile, Wall}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | if (count == 9){ [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:295:47 [INFO] [stdout] | [INFO] [stdout] 295 | ... let cross_x = (i * WIDTH / 3 + 75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | ... let cross_y = (j * HEIGHT / 3 + 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | if (state.model[0][0] == CIRCLE && state.model[0][1] == CIRCLE && state.model[0][2] == CIRCLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | } else if (state.model[1][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 506 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 507 | | && state.model[1][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 505 ~ } else if state.model[1][0] == CIRCLE [INFO] [stdout] 506 + && state.model[1][1] == CIRCLE [INFO] [stdout] 507 + && state.model[1][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:510:15 [INFO] [stdout] | [INFO] [stdout] 510 | } else if (state.model[2][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 511 | | && state.model[2][1] == CIRCLE [INFO] [stdout] 512 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 ~ } else if state.model[2][0] == CIRCLE [INFO] [stdout] 511 + && state.model[2][1] == CIRCLE [INFO] [stdout] 512 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:515:15 [INFO] [stdout] | [INFO] [stdout] 515 | } else if (state.model[0][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 516 | | && state.model[1][0] == CIRCLE [INFO] [stdout] 517 | | && state.model[2][0] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 ~ } else if state.model[0][0] == CIRCLE [INFO] [stdout] 516 + && state.model[1][0] == CIRCLE [INFO] [stdout] 517 + && state.model[2][0] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:520:15 [INFO] [stdout] | [INFO] [stdout] 520 | } else if (state.model[0][1] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 521 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 522 | | && state.model[2][1] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 ~ } else if state.model[0][1] == CIRCLE [INFO] [stdout] 521 + && state.model[1][1] == CIRCLE [INFO] [stdout] 522 + && state.model[2][1] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:525:15 [INFO] [stdout] | [INFO] [stdout] 525 | } else if (state.model[0][2] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 526 | | && state.model[1][2] == CIRCLE [INFO] [stdout] 527 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 525 ~ } else if state.model[0][2] == CIRCLE [INFO] [stdout] 526 + && state.model[1][2] == CIRCLE [INFO] [stdout] 527 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | } else if (state.model[0][0] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 531 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 532 | | && state.model[2][2] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 530 ~ } else if state.model[0][0] == CIRCLE [INFO] [stdout] 531 + && state.model[1][1] == CIRCLE [INFO] [stdout] 532 + && state.model[2][2] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 535 | } else if (state.model[0][2] == CIRCLE [INFO] [stdout] | _______________^ [INFO] [stdout] 536 | | && state.model[1][1] == CIRCLE [INFO] [stdout] 537 | | && state.model[2][0] == CIRCLE) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 535 ~ } else if state.model[0][2] == CIRCLE [INFO] [stdout] 536 + && state.model[1][1] == CIRCLE [INFO] [stdout] 537 + && state.model[2][0] == CIRCLE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:545:8 [INFO] [stdout] | [INFO] [stdout] 545 | if (state.model[0][0] == CROSS && state.model[0][1] == CROSS && state.model[0][2] == CROSS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 547 | } else if (state.model[1][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 548 | | && state.model[1][1] == CROSS [INFO] [stdout] 549 | | && state.model[1][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 547 ~ } else if state.model[1][0] == CROSS [INFO] [stdout] 548 + && state.model[1][1] == CROSS [INFO] [stdout] 549 + && state.model[1][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | } else if (state.model[2][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 553 | | && state.model[2][1] == CROSS [INFO] [stdout] 554 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 552 ~ } else if state.model[2][0] == CROSS [INFO] [stdout] 553 + && state.model[2][1] == CROSS [INFO] [stdout] 554 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | } else if (state.model[0][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 558 | | && state.model[1][0] == CROSS [INFO] [stdout] 559 | | && state.model[2][0] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 557 ~ } else if state.model[0][0] == CROSS [INFO] [stdout] 558 + && state.model[1][0] == CROSS [INFO] [stdout] 559 + && state.model[2][0] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | } else if (state.model[0][1] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 563 | | && state.model[1][1] == CROSS [INFO] [stdout] 564 | | && state.model[2][1] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 562 ~ } else if state.model[0][1] == CROSS [INFO] [stdout] 563 + && state.model[1][1] == CROSS [INFO] [stdout] 564 + && state.model[2][1] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | } else if (state.model[0][2] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 568 | | && state.model[1][2] == CROSS [INFO] [stdout] 569 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 567 ~ } else if state.model[0][2] == CROSS [INFO] [stdout] 568 + && state.model[1][2] == CROSS [INFO] [stdout] 569 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | } else if (state.model[0][0] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 573 | | && state.model[1][1] == CROSS [INFO] [stdout] 574 | | && state.model[2][2] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 ~ } else if state.model[0][0] == CROSS [INFO] [stdout] 573 + && state.model[1][1] == CROSS [INFO] [stdout] 574 + && state.model[2][2] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:577:15 [INFO] [stdout] | [INFO] [stdout] 577 | } else if (state.model[0][2] == CROSS [INFO] [stdout] | _______________^ [INFO] [stdout] 578 | | && state.model[1][1] == CROSS [INFO] [stdout] 579 | | && state.model[2][0] == CROSS) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 ~ } else if state.model[0][2] == CROSS [INFO] [stdout] 578 + && state.model[1][1] == CROSS [INFO] [stdout] 579 + && state.model[2][0] == CROSS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:589:16 [INFO] [stdout] | [INFO] [stdout] 589 | if (state.model[i][j] != EMPTY){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | if (count == 9){ [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tictactoe` due to 2 previous errors; 40 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13f9845aff7a8869452ef2b62356def6eca378f9996a150313d14b3ebcc3763e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f9845aff7a8869452ef2b62356def6eca378f9996a150313d14b3ebcc3763e", kill_on_drop: false }` [INFO] [stdout] 13f9845aff7a8869452ef2b62356def6eca378f9996a150313d14b3ebcc3763e