[INFO] cloning repository https://github.com/carlos1798/2048-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlos1798/2048-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos1798%2F2048-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos1798%2F2048-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d5920b81ec7833248b965b2a0f15e8329c9b7fc [INFO] building carlos1798/2048-in-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos1798%2F2048-in-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carlos1798/2048-in-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carlos1798/2048-in-rust [INFO] finished tweaking git repo https://github.com/carlos1798/2048-in-rust [INFO] tweaked toml for git repo https://github.com/carlos1798/2048-in-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/carlos1798/2048-in-rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68fd09a9b6b10e8d4883815c2306172af5bced9d0acb1c4601420f9b5ce18cfc [INFO] running `Command { std: "docker" "start" "-a" "68fd09a9b6b10e8d4883815c2306172af5bced9d0acb1c4601420f9b5ce18cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68fd09a9b6b10e8d4883815c2306172af5bced9d0acb1c4601420f9b5ce18cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fd09a9b6b10e8d4883815c2306172af5bced9d0acb1c4601420f9b5ce18cfc", kill_on_drop: false }` [INFO] [stdout] 68fd09a9b6b10e8d4883815c2306172af5bced9d0acb1c4601420f9b5ce18cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6910f7728327e8954196243e35e1b0a287e9f5b641d69476742abf935167fc78 [INFO] running `Command { std: "docker" "start" "-a" "6910f7728327e8954196243e35e1b0a287e9f5b641d69476742abf935167fc78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling dosmilochenta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::text::{Span, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `Line`, `MapResolution`, `Map`, `Rectangle`, and `self` [INFO] [stdout] --> src/main.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use tui::widgets::canvas::{self, Canvas, Line, Map, MapResolution, Rectangle}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Paragraph`, and `Widget` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use tui::widgets::{Block, BorderType, Borders, Paragraph, Widget}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:55 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb(20, (20), (1)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:61 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb((20), 20, (1)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:67 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb((20), (20), 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/main.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let chunks = Layout::default() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/main.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | for (j, cell) in row.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fiveonetwo` [INFO] [stdout] --> src/main.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let fiveonetwo: Block = Block::default() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fiveonetwo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let white: Block = Block::default() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut block = Block::default() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | let res = run_app(&mut terminal, game); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let mut game = Game::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `die` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 19 | start: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | die: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepare_board` and `print_board` are never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn prepare_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn print_board(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | / execute!( [INFO] [stdout] 370 | | terminal.backend_mut(), [INFO] [stdout] 371 | | LeaveAlternateScreen, [INFO] [stdout] 372 | | DisableMouseCapture [INFO] [stdout] 373 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "6910f7728327e8954196243e35e1b0a287e9f5b641d69476742abf935167fc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6910f7728327e8954196243e35e1b0a287e9f5b641d69476742abf935167fc78", kill_on_drop: false }` [INFO] [stdout] 6910f7728327e8954196243e35e1b0a287e9f5b641d69476742abf935167fc78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d8ed9b3ed88017e1228fd2201a1364ed95069d76af695f250cd449f026a216f [INFO] running `Command { std: "docker" "start" "-a" "5d8ed9b3ed88017e1228fd2201a1364ed95069d76af695f250cd449f026a216f", kill_on_drop: false }` [INFO] [stderr] Compiling dosmilochenta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::text::{Span, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `Line`, `MapResolution`, `Map`, `Rectangle`, and `self` [INFO] [stdout] --> src/main.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use tui::widgets::canvas::{self, Canvas, Line, Map, MapResolution, Rectangle}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Paragraph`, and `Widget` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use tui::widgets::{Block, BorderType, Borders, Paragraph, Widget}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:55 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb(20, (20), (1)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:61 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb((20), 20, (1)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:300:67 [INFO] [stdout] | [INFO] [stdout] 300 | .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - .style(Style::default().bg(Color::Rgb((20), (20), (1)))); [INFO] [stdout] 300 + .style(Style::default().bg(Color::Rgb((20), (20), 1))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/main.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let chunks = Layout::default() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/main.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | for (j, cell) in row.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fiveonetwo` [INFO] [stdout] --> src/main.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let fiveonetwo: Block = Block::default() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fiveonetwo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let white: Block = Block::default() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut block = Block::default() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | let res = run_app(&mut terminal, game); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let mut game = Game::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `die` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 19 | start: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | die: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepare_board` and `print_board` are never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn prepare_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn print_board(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | / execute!( [INFO] [stdout] 370 | | terminal.backend_mut(), [INFO] [stdout] 371 | | LeaveAlternateScreen, [INFO] [stdout] 372 | | DisableMouseCapture [INFO] [stdout] 373 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "5d8ed9b3ed88017e1228fd2201a1364ed95069d76af695f250cd449f026a216f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d8ed9b3ed88017e1228fd2201a1364ed95069d76af695f250cd449f026a216f", kill_on_drop: false }` [INFO] [stdout] 5d8ed9b3ed88017e1228fd2201a1364ed95069d76af695f250cd449f026a216f