[INFO] cloning repository https://github.com/VoxanyNet/rust-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VoxanyNet/rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Frust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Frust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ae33d61dc96a5b71271060440a5fae86da1cd54 [INFO] checking VoxanyNet/rust-game against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Frust-game" "/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/VoxanyNet/rust-game on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VoxanyNet/rust-game [INFO] finished tweaking git repo https://github.com/VoxanyNet/rust-game [INFO] tweaked toml for git repo https://github.com/VoxanyNet/rust-game written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/VoxanyNet/rust-game 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc_vector2d v1.0.2 [INFO] [stderr] Downloaded serde_millis v0.1.1 [INFO] [stderr] Downloaded vector2d v2.2.0 [INFO] [stderr] Downloaded diff_derive v0.2.3 [INFO] [stderr] Downloaded deriving-via-impl v0.1.0 [INFO] [stderr] Downloaded deriving_via v1.6.1 [INFO] [stderr] Downloaded diff-struct v0.5.3 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded glam v0.26.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3568ca419e2c9f41772852b0d198730200ce7fd5f1f611723f4315b1b7f004d9 [INFO] running `Command { std: "docker" "start" "-a" "3568ca419e2c9f41772852b0d198730200ce7fd5f1f611723f4315b1b7f004d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3568ca419e2c9f41772852b0d198730200ce7fd5f1f611723f4315b1b7f004d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3568ca419e2c9f41772852b0d198730200ce7fd5f1f611723f4315b1b7f004d9", kill_on_drop: false }` [INFO] [stdout] 3568ca419e2c9f41772852b0d198730200ce7fd5f1f611723f4315b1b7f004d9 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62d6e1331dd36df0d040a251f63fe0cd52e6b46fe9a271bce8c4d3e420c187de [INFO] running `Command { std: "docker" "start" "-a" "62d6e1331dd36df0d040a251f63fe0cd52e6b46fe9a271bce8c4d3e420c187de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc_vector2d v1.0.2 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking vector2d v2.2.0 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking glam v0.26.0 [INFO] [stderr] Compiling diff_derive v0.2.3 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling deriving-via-impl v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling typed-builder v0.18.1 [INFO] [stderr] Compiling deriving_via v1.6.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_millis v0.1.1 [INFO] [stderr] Checking diff-struct v0.5.3 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking rust-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UuidDiff` [INFO] [stdout] --> src/entities/tree.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::proxies::uuid::lib::{Uuid, UuidDiff}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UuidDiff` [INFO] [stdout] --> src/entities/tree.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::proxies::uuid::lib::{Uuid, UuidDiff}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/zombie.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/wood.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/zombie.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/tree.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/wood.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/entities/tree.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | fn tick(&mut self, game: &mut crate::game::TickContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entities/wood.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Wood { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 22 | fn new(rect: Rect, owner_uuid: Uuid) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/timeline.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_current_frame` are never used [INFO] [stdout] --> src/timeline.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timeline { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_current_frame(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/game.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | async fn draw(&self, textures: &mut HashMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 174 ~ fn draw(&self, textures: &mut HashMap) -> impl std::future::Future + Send {async { [INFO] [stdout] 175 | [INFO] [stdout] ... [INFO] [stdout] 210 | [INFO] [stdout] 211 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/game.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | async fn play_sound(&self, sounds: &mut HashMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 269 ~ fn play_sound(&self, sounds: &mut HashMap) -> impl std::future::Future + Send {async { [INFO] [stdout] 270 | // load texture if not already [INFO] [stdout] ... [INFO] [stdout] 279 | audio::play_sound_once(sound); [INFO] [stdout] 280 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Read`, `Write` [INFO] [stdout] --> src/server/server.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{Error, Read, Write}, net::{SocketAddr, TcpListener, TcpStream}, time::Duration}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `color::WHITE`, `time::get_fps` [INFO] [stdout] --> src/server/server.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use macroquad::{color::WHITE, time::get_fps}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Read`, `Write` [INFO] [stdout] --> src/server/server.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{Error, Read, Write}, net::{SocketAddr, TcpListener, TcpStream}, time::Duration}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `color::WHITE`, `time::get_fps` [INFO] [stdout] --> src/server/server.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use macroquad::{color::WHITE, time::get_fps}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entities/wood.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Wood { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 22 | fn new(rect: Rect, owner_uuid: Uuid) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/timeline.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_current_frame` are never used [INFO] [stdout] --> src/timeline.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timeline { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_current_frame(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/game.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | async fn draw(&self, textures: &mut HashMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 174 ~ fn draw(&self, textures: &mut HashMap) -> impl std::future::Future + Send {async { [INFO] [stdout] 175 | [INFO] [stdout] ... [INFO] [stdout] 210 | [INFO] [stdout] 211 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/game.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | async fn play_sound(&self, sounds: &mut HashMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 269 ~ fn play_sound(&self, sounds: &mut HashMap) -> impl std::future::Future + Send {async { [INFO] [stdout] 270 | // load texture if not already [INFO] [stdout] ... [INFO] [stdout] 279 | audio::play_sound_once(sound); [INFO] [stdout] 280 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.00s [INFO] running `Command { std: "docker" "inspect" "62d6e1331dd36df0d040a251f63fe0cd52e6b46fe9a271bce8c4d3e420c187de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d6e1331dd36df0d040a251f63fe0cd52e6b46fe9a271bce8c4d3e420c187de", kill_on_drop: false }` [INFO] [stdout] 62d6e1331dd36df0d040a251f63fe0cd52e6b46fe9a271bce8c4d3e420c187de