[INFO] cloning repository https://github.com/koldun256/vyrf-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koldun256/vyrf-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac9c57c6475c29e99218a0c3b34f02e70d718067 [INFO] checking koldun256/vyrf-client against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-client" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koldun256/vyrf-client on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koldun256/vyrf-client [INFO] finished tweaking git repo https://github.com/koldun256/vyrf-client [INFO] tweaked toml for git repo https://github.com/koldun256/vyrf-client written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/koldun256/vyrf-client 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sfml v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 638d5235fb0809890ba89a57bc541aa39234fb05e3db0920cc30e6b6c829c61a [INFO] running `Command { std: "docker" "start" "-a" "638d5235fb0809890ba89a57bc541aa39234fb05e3db0920cc30e6b6c829c61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "638d5235fb0809890ba89a57bc541aa39234fb05e3db0920cc30e6b6c829c61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638d5235fb0809890ba89a57bc541aa39234fb05e3db0920cc30e6b6c829c61a", kill_on_drop: false }` [INFO] [stdout] 638d5235fb0809890ba89a57bc541aa39234fb05e3db0920cc30e6b6c829c61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 590f40b009c5bebc1900bc426373fedf91a096edb58fd00c9cb0905f5a254ca6 [INFO] running `Command { std: "docker" "start" "-a" "590f40b009c5bebc1900bc426373fedf91a096edb58fd00c9cb0905f5a254ca6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling link-cplusplus v1.0.8 [INFO] [stderr] Compiling sfml v0.20.0 [INFO] [stderr] Checking vyrf-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/view.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Text, Font, RenderWindow, RenderTarget, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/view.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Text, Font, RenderWindow, RenderTarget, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/view.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init(resources: &Resources) -> View { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_me` is assigned to, but never used [INFO] [stdout] --> src/game.rs:65:57 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_me` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_me` is never read [INFO] [stdout] --> src/game.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | ... is_me = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/view.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Resources { font: SfBox } [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/game/vec2.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vec2 { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 9 | pub const ZERO: Vec2 = Vec2 { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/view.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init(resources: &Resources) -> View { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_me` is assigned to, but never used [INFO] [stdout] --> src/game.rs:65:57 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_me` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_me` is never read [INFO] [stdout] --> src/game.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | ... is_me = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/udp_client.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [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] 59 | let _ = socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/view.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Resources { font: SfBox } [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/game/vec2.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vec2 { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 9 | pub const ZERO: Vec2 = Vec2 { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/udp_client.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [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] 59 | let _ = socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.96s [INFO] running `Command { std: "docker" "inspect" "590f40b009c5bebc1900bc426373fedf91a096edb58fd00c9cb0905f5a254ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590f40b009c5bebc1900bc426373fedf91a096edb58fd00c9cb0905f5a254ca6", kill_on_drop: false }` [INFO] [stdout] 590f40b009c5bebc1900bc426373fedf91a096edb58fd00c9cb0905f5a254ca6 [INFO] checking koldun256/vyrf-client against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-client" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koldun256/vyrf-client on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koldun256/vyrf-client [INFO] finished tweaking git repo https://github.com/koldun256/vyrf-client [INFO] tweaked toml for git repo https://github.com/koldun256/vyrf-client written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/koldun256/vyrf-client 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd81fc5953d93de9e53063b4250bb3e4af6e3e7a40e12d1e7dbce3cde5e8b073 [INFO] running `Command { std: "docker" "start" "-a" "cd81fc5953d93de9e53063b4250bb3e4af6e3e7a40e12d1e7dbce3cde5e8b073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd81fc5953d93de9e53063b4250bb3e4af6e3e7a40e12d1e7dbce3cde5e8b073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd81fc5953d93de9e53063b4250bb3e4af6e3e7a40e12d1e7dbce3cde5e8b073", kill_on_drop: false }` [INFO] [stdout] cd81fc5953d93de9e53063b4250bb3e4af6e3e7a40e12d1e7dbce3cde5e8b073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 401c3583b7974500c82cba0e6f1a171e4e6f753aee7402e3eec995b074715822 [INFO] running `Command { std: "docker" "start" "-a" "401c3583b7974500c82cba0e6f1a171e4e6f753aee7402e3eec995b074715822", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling link-cplusplus v1.0.8 [INFO] [stderr] Compiling sfml v0.20.0 [INFO] [stderr] Checking vyrf-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/view.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Text, Font, RenderWindow, RenderTarget, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/view.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Text, Font, RenderWindow, RenderTarget, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/game.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/game.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/view.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init(resources: &Resources) -> View { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_me` is assigned to, but never used [INFO] [stdout] --> src/game.rs:65:57 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_me` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_me` is never read [INFO] [stdout] --> src/game.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | ... is_me = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/view.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Resources { font: SfBox } [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/game/vec2.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vec2 { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 9 | pub const ZERO: Vec2 = Vec2 { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/game.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/game.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/udp_client.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [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] 59 | let _ = socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/view.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init(resources: &Resources) -> View { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_me` is assigned to, but never used [INFO] [stdout] --> src/game.rs:65:57 [INFO] [stdout] | [INFO] [stdout] 65 | if let GameObjectKind::Player { mut is_me, ref mut drawable } = &mut obj.kind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_me` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_me` is never read [INFO] [stdout] --> src/game.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | ... is_me = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/view.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Resources { font: SfBox } [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/game/vec2.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vec2 { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 9 | pub const ZERO: Vec2 = Vec2 { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vyrf-client` (bin "vyrf-client" test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/udp_client.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [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] 59 | let _ = socket1.send_to(&gen_payload(msg), "127.0.0.1:8080"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vyrf-client` (bin "vyrf-client") due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "401c3583b7974500c82cba0e6f1a171e4e6f753aee7402e3eec995b074715822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401c3583b7974500c82cba0e6f1a171e4e6f753aee7402e3eec995b074715822", kill_on_drop: false }` [INFO] [stdout] 401c3583b7974500c82cba0e6f1a171e4e6f753aee7402e3eec995b074715822