[INFO] cloning repository https://github.com/iwikal/mapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwikal/mapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwikal%2Fmapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwikal%2Fmapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d39bbf4b2c07df87d13e4643e7d8a8528ceed39 [INFO] checking iwikal/mapp against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwikal%2Fmapp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iwikal/mapp on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iwikal/mapp [INFO] finished tweaking git repo https://github.com/iwikal/mapp [INFO] tweaked toml for git repo https://github.com/iwikal/mapp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iwikal/mapp 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen v0.2.55 [INFO] [stderr] Downloaded array-macro v1.0.4 [INFO] [stderr] Downloaded enum-map-derive v0.4.3 [INFO] [stderr] Downloaded enum-map v0.6.2 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded strum v0.16.0 [INFO] [stderr] Downloaded strum_macros v0.16.0 [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded enum_dispatch v0.2.0 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded ttf-parser v0.10.1 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded luminance-derive v0.6.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded luminance-gl v0.16.1 [INFO] [stderr] Downloaded ab_glyph v0.2.8 [INFO] [stderr] Downloaded glyph_brush v0.7.2 [INFO] [stderr] Downloaded luminance v0.43.2 [INFO] [stderr] Downloaded luminance-glyph v0.2.0 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded owned_ttf_parser v0.10.0 [INFO] [stderr] Downloaded rand_derive v0.5.0 [INFO] [stderr] Downloaded unicode-truncate v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.55 [INFO] [stderr] Downloaded whoami v0.6.0 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0a97bdf9170e6a4f00780ddf146e2254f17cf4adb6192060fe0a340e881f801 [INFO] running `Command { std: "docker" "start" "-a" "a0a97bdf9170e6a4f00780ddf146e2254f17cf4adb6192060fe0a340e881f801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0a97bdf9170e6a4f00780ddf146e2254f17cf4adb6192060fe0a340e881f801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a97bdf9170e6a4f00780ddf146e2254f17cf4adb6192060fe0a340e881f801", kill_on_drop: false }` [INFO] [stdout] a0a97bdf9170e6a4f00780ddf146e2254f17cf4adb6192060fe0a340e881f801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+aa067fb984d36462548bb785da221bfaf38253f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06e4de5cec00f017d662d031151d0875ee8e61c024753f7e1f72054ad9a271b [INFO] running `Command { std: "docker" "start" "-a" "e06e4de5cec00f017d662d031151d0875ee8e61c024753f7e1f72054ad9a271b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking ttf-parser v0.10.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling plen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-truncate v0.1.1 [INFO] [stderr] Checking whoami v0.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking owned_ttf_parser v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking ab_glyph v0.2.8 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Compiling luminance-derive v0.6.3 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling enum_dispatch v0.2.0 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking luminance v0.43.2 [INFO] [stderr] Checking luminance-gl v0.16.1 [INFO] [stderr] Checking luminance-glyph v0.2.0 [INFO] [stderr] Checking libplen v0.1.0 (/opt/rustwide/workdir/libplen) [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `Div`, `Mul`, `Neg`, `Sub` [INFO] [stdout] --> libplen/src/math.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Div, Mul, Neg, Sub}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> libplen/src/math.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> libplen/src/gamestate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `vec2`, `wrap_around` [INFO] [stdout] --> libplen/src/gamestate.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::math::{Vec2, vec2, wrap_around}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> libplen/src/gamestate.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::player::{self, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> libplen/src/messages.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/aa067fb984d36462548bb785da221bfaf38253f0/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> libplen/src/gamestate.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn update(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libplen/src/gamestate.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut player = self.get_mut_player_by_id(player_id).unwrap(); [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PlayerType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_PlayerType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Team` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/player.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Team` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/gamestate.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/gamestate.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Serialize, Deserialize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_SoundEffect` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Serialize, Deserialize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SoundEffect` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ServerMessage` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ServerMessage` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ClientInput` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClientInput` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ClientMessage` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/messages.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClientMessage` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/debug.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DebugLine` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/debug.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DebugLine` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/level.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Level` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/level.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Level` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/level.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Room` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> libplen/src/level.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Room` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `vec2` [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/server.rs:14:83 [INFO] [stdout] | [INFO] [stdout] 14 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/server.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use libplen::player::{Player, PlayerType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `vec2` [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/server.rs:14:83 [INFO] [stdout] | [INFO] [stdout] 14 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/server.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use libplen::player::{Player, PlayerType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut sounds_to_play = vec![]; [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: field `level` is never read [INFO] [stdout] --> src/server.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `luminance::framebuffer::Framebuffer` [INFO] [stdout] --> src/agent/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use luminance::framebuffer::Framebuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `luminance::shader::BuiltProgram` [INFO] [stdout] --> src/agent/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use luminance::shader::BuiltProgram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `Text` [INFO] [stdout] --> src/agent/mod.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use luminance_glyph::{GlyphBrushBuilder, Section, Text}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/agent/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use ultraviolet::{Mat4, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/agent/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/agent/mod.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/dispatcher.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/map.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use libplen::constants::{self, DOORWAY_LENGTH, ROOM_LENGTH, ROOM_WIDTH, SCREEN_PADDING}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/menu.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::player::{Player, PlayerType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/surface.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scancode` [INFO] [stdout] --> src/client.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::keyboard::{Keycode, Scancode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Canvas` [INFO] [stdout] --> src/client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/client.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `vec2` [INFO] [stdout] --> src/client.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientInput`, `SoundEffect` [INFO] [stdout] --> src/client.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut sounds_to_play = vec![]; [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: field `level` is never read [INFO] [stdout] --> src/server.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `luminance::framebuffer::Framebuffer` [INFO] [stdout] --> src/agent/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use luminance::framebuffer::Framebuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `luminance::shader::BuiltProgram` [INFO] [stdout] --> src/agent/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use luminance::shader::BuiltProgram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `Text` [INFO] [stdout] --> src/agent/mod.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use luminance_glyph::{GlyphBrushBuilder, Section, Text}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/agent/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use ultraviolet::{Mat4, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/agent/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/agent/mod.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/dispatcher.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/map.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use libplen::constants::{self, DOORWAY_LENGTH, ROOM_LENGTH, ROOM_WIDTH, SCREEN_PADDING}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/menu.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::player::{Player, PlayerType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/surface.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scancode` [INFO] [stdout] --> src/client.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::keyboard::{Keycode, Scancode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Canvas` [INFO] [stdout] --> src/client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/client.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use libplen::level::{self, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `vec2` [INFO] [stdout] --> src/client.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientInput`, `SoundEffect` [INFO] [stdout] --> src/client.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/agent/mod.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | let (w, h) = surface.window().drawable_size(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/agent/mod.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | let (w, h) = surface.window().drawable_size(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sounds` [INFO] [stdout] --> src/agent/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | sounds: &SoundAssets, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sounds` [INFO] [stdout] --> src/assets.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | sounds: SoundAssets, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/agent/mod.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | let (w, h) = surface.window().drawable_size(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/agent/mod.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | let (w, h) = surface.window().drawable_size(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sounds` [INFO] [stdout] --> src/agent/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | sounds: &SoundAssets, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/menu.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | let (width, height) = canvas.logical_size(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/menu.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let (width, height) = canvas.logical_size(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sounds` [INFO] [stdout] --> src/assets.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | sounds: SoundAssets, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/menu.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | let (width, height) = canvas.logical_size(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/menu.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let (width, height) = canvas.logical_size(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/agent/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_sound` is never used [INFO] [stdout] --> src/agent/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn play_sound(soundeffect: &sdl2::mixer::Chunk) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `menu_background` and `end_background` are never read [INFO] [stdout] --> src/assets.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Assets<'ttf, 'r> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub menu_background: Texture<'r>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub end_background: Texture<'r>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `explosion`, `powerup`, `gun`, `laser_fire_sound`, and `laser_charge_sound` are never read [INFO] [stdout] --> src/assets.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SoundAssets { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub explosion: Chunk, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub powerup: Chunk, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub gun: Chunk, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub laser_fire_sound: Chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub laser_charge_sound: Chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_type`, `team_id`, and `my_id` are never read [INFO] [stdout] --> src/menu.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MenuState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub name: String, [INFO] [stdout] 31 | pub player_type: PlayerType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub game_state: GameState, [INFO] [stdout] 33 | pub team_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub my_id: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_centered` is never used [INFO] [stdout] --> src/rendering.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw_texture_centered( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_rotated` is never used [INFO] [stdout] --> src/rendering.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn draw_texture_rotated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_rotated_and_scaled` is never used [INFO] [stdout] --> src/rendering.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn draw_texture_rotated_and_scaled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sdl` and `window_mut` are never used [INFO] [stdout] --> src/surface.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Sdl2Surface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn sdl(&self) -> &sdl2::Sdl { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn window_mut(&mut self) -> &mut sdl2::video::Window { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/agent/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_sound` is never used [INFO] [stdout] --> src/agent/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn play_sound(soundeffect: &sdl2::mixer::Chunk) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `menu_background` and `end_background` are never read [INFO] [stdout] --> src/assets.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Assets<'ttf, 'r> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub menu_background: Texture<'r>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub end_background: Texture<'r>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `explosion`, `powerup`, `gun`, `laser_fire_sound`, and `laser_charge_sound` are never read [INFO] [stdout] --> src/assets.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SoundAssets { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub explosion: Chunk, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub powerup: Chunk, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub gun: Chunk, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub laser_fire_sound: Chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub laser_charge_sound: Chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_type`, `team_id`, and `my_id` are never read [INFO] [stdout] --> src/menu.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MenuState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub name: String, [INFO] [stdout] 31 | pub player_type: PlayerType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub game_state: GameState, [INFO] [stdout] 33 | pub team_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub my_id: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_centered` is never used [INFO] [stdout] --> src/rendering.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw_texture_centered( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_rotated` is never used [INFO] [stdout] --> src/rendering.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn draw_texture_rotated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_texture_rotated_and_scaled` is never used [INFO] [stdout] --> src/rendering.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn draw_texture_rotated_and_scaled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sdl` and `window_mut` are never used [INFO] [stdout] --> src/surface.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Sdl2Surface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn sdl(&self) -> &sdl2::Sdl { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn window_mut(&mut self) -> &mut sdl2::video::Window { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "e06e4de5cec00f017d662d031151d0875ee8e61c024753f7e1f72054ad9a271b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06e4de5cec00f017d662d031151d0875ee8e61c024753f7e1f72054ad9a271b", kill_on_drop: false }` [INFO] [stdout] e06e4de5cec00f017d662d031151d0875ee8e61c024753f7e1f72054ad9a271b [INFO] checking iwikal/mapp against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwikal%2Fmapp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iwikal/mapp on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iwikal/mapp [INFO] finished tweaking git repo https://github.com/iwikal/mapp [INFO] tweaked toml for git repo https://github.com/iwikal/mapp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iwikal/mapp 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd5add49757777395cf199de0ca313b4506aea924ddb513d0a1a28832ebb0605 [INFO] running `Command { std: "docker" "start" "-a" "fd5add49757777395cf199de0ca313b4506aea924ddb513d0a1a28832ebb0605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd5add49757777395cf199de0ca313b4506aea924ddb513d0a1a28832ebb0605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5add49757777395cf199de0ca313b4506aea924ddb513d0a1a28832ebb0605", kill_on_drop: false }` [INFO] [stdout] fd5add49757777395cf199de0ca313b4506aea924ddb513d0a1a28832ebb0605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ea6a1e9064f91309a927778580215aff7702489076d542723872fa1ba971ae [INFO] running `Command { std: "docker" "start" "-a" "c1ea6a1e9064f91309a927778580215aff7702489076d542723872fa1ba971ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ttf-parser v0.10.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling plen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking whoami v0.6.0 [INFO] [stderr] Checking unicode-truncate v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking owned_ttf_parser v0.10.0 [INFO] [stderr] Checking ab_glyph v0.2.8 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glyph_brush-0.7.2/src/glyph_brush/builder.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | .scale_tolerance(0.5) [INFO] [stdout] | --------------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `glyph_brush_draw_cache::DrawCacheBuilder::scale_tolerance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glyph_brush_draw_cache-0.1.4/src/lib.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn scale_tolerance>(mut self, scale_tolerance: V) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `DrawCacheBuilder::scale_tolerance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glyph_brush-0.7.2/src/glyph_brush/builder.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | .position_tolerance(0.1) [INFO] [stdout] | ------------------ ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `glyph_brush_draw_cache::DrawCacheBuilder::position_tolerance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glyph_brush_draw_cache-0.1.4/src/lib.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn position_tolerance>(mut self, position_tolerance: V) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `DrawCacheBuilder::position_tolerance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glyph_brush` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c1ea6a1e9064f91309a927778580215aff7702489076d542723872fa1ba971ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ea6a1e9064f91309a927778580215aff7702489076d542723872fa1ba971ae", kill_on_drop: false }` [INFO] [stdout] c1ea6a1e9064f91309a927778580215aff7702489076d542723872fa1ba971ae