[INFO] cloning repository https://github.com/eesyDev/tic_tac_toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eesyDev/tic_tac_toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeesyDev%2Ftic_tac_toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeesyDev%2Ftic_tac_toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5005e02e01fa69ee1a02e0a0b54a36e9622d7375 [INFO] checking eesyDev/tic_tac_toe against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeesyDev%2Ftic_tac_toe" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eesyDev/tic_tac_toe [INFO] finished tweaking git repo https://github.com/eesyDev/tic_tac_toe [INFO] tweaked toml for git repo https://github.com/eesyDev/tic_tac_toe written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eesyDev/tic_tac_toe on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eesyDev/tic_tac_toe 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebbe08c23ff401174faf6f1f58d61cc758ae2131d5ee56ed296d7e9bd74e0b21 [INFO] running `Command { std: "docker" "start" "-a" "ebbe08c23ff401174faf6f1f58d61cc758ae2131d5ee56ed296d7e9bd74e0b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebbe08c23ff401174faf6f1f58d61cc758ae2131d5ee56ed296d7e9bd74e0b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbe08c23ff401174faf6f1f58d61cc758ae2131d5ee56ed296d7e9bd74e0b21", kill_on_drop: false }` [INFO] [stdout] ebbe08c23ff401174faf6f1f58d61cc758ae2131d5ee56ed296d7e9bd74e0b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71bdca6494c42e37c89fe13ac3c25fdb970babcd3d9f6b799c8155e368748269 [INFO] running `Command { std: "docker" "start" "-a" "71bdca6494c42e37c89fe13ac3c25fdb970babcd3d9f6b799c8155e368748269", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking fontdb v0.14.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling softbuffer v0.2.1 [INFO] [stderr] Checking x11rb-protocol v0.11.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking etagere v0.2.15 [INFO] [stderr] Checking lru v0.11.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking rustybuzz v0.8.0 [INFO] [stderr] Checking tiny-skia-path v0.10.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking tiny-skia v0.10.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking x11rb v0.11.1 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking iced_core v0.10.0 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking iced_graphics v0.9.0 [INFO] [stderr] Checking iced_futures v0.7.0 [INFO] [stderr] Checking iced_style v0.9.0 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking iced_runtime v0.1.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking window_clipboard v0.3.0 [INFO] [stderr] Checking cosmic-text v0.9.0 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking iced_tiny_skia v0.1.0 [INFO] [stderr] Checking glyphon v0.3.0 [INFO] [stderr] Checking iced_wgpu v0.11.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking iced_renderer v0.1.0 [INFO] [stderr] Checking iced_widget v0.1.3 [INFO] [stderr] Checking iced_winit v0.10.1 [INFO] [stderr] Checking iced v0.10.0 [INFO] [stderr] Checking tic_tac_toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alignment` [INFO] [stdout] --> src/main.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | Element, Sandbox, Settings, Length, alignment [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `button` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use iced::widget::{button, Button, Column, Container, Text, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alignment` [INFO] [stdout] --> src/main.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | Element, Sandbox, Settings, Length, alignment [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `button` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use iced::widget::{button, Button, Column, Container, Text, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | Message::PlayerMove(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PlayerMove`, `XPlayerWon`, `OPlayerWon`, and `Draw` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 23 | PlayerMove(Player), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | CellPressed(usize, usize), [INFO] [stdout] 25 | XPlayerWon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | OPlayerWon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | Draw [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Win(Player) [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Win(Player) [INFO] [stdout] 10 + Win(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Draw` are never constructed [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TicTacToeApp::run(Settings::default()); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = TicTacToeApp::run(Settings::default()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | Message::PlayerMove(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PlayerMove`, `XPlayerWon`, `OPlayerWon`, and `Draw` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 23 | PlayerMove(Player), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | CellPressed(usize, usize), [INFO] [stdout] 25 | XPlayerWon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | OPlayerWon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | Draw [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Win(Player) [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Win(Player) [INFO] [stdout] 10 + Win(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Draw` are never constructed [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TicTacToeApp::run(Settings::default()); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = TicTacToeApp::run(Settings::default()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "71bdca6494c42e37c89fe13ac3c25fdb970babcd3d9f6b799c8155e368748269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71bdca6494c42e37c89fe13ac3c25fdb970babcd3d9f6b799c8155e368748269", kill_on_drop: false }` [INFO] [stdout] 71bdca6494c42e37c89fe13ac3c25fdb970babcd3d9f6b799c8155e368748269