[INFO] cloning repository https://github.com/CallumFerguson/reaction-diffusion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CallumFerguson/reaction-diffusion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallumFerguson%2Freaction-diffusion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallumFerguson%2Freaction-diffusion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8c48f47bc414610dd2b26257fb2e442978ecd4d [INFO] testing CallumFerguson/reaction-diffusion against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallumFerguson%2Freaction-diffusion" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CallumFerguson/reaction-diffusion on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CallumFerguson/reaction-diffusion [INFO] finished tweaking git repo https://github.com/CallumFerguson/reaction-diffusion [INFO] tweaked toml for git repo https://github.com/CallumFerguson/reaction-diffusion written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CallumFerguson/reaction-diffusion 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dabc984edbc51f8f494eed45e350ea570f36f4cb78bfc349363d81b5a44d003 [INFO] running `Command { std: "docker" "start" "-a" "9dabc984edbc51f8f494eed45e350ea570f36f4cb78bfc349363d81b5a44d003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dabc984edbc51f8f494eed45e350ea570f36f4cb78bfc349363d81b5a44d003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dabc984edbc51f8f494eed45e350ea570f36f4cb78bfc349363d81b5a44d003", kill_on_drop: false }` [INFO] [stdout] 9dabc984edbc51f8f494eed45e350ea570f36f4cb78bfc349363d81b5a44d003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef09ba86aa91966c997eb028a863183b163ece7dfcbba0bc8d39cd0da5da28b2 [INFO] running `Command { std: "docker" "start" "-a" "ef09ba86aa91966c997eb028a863183b163ece7dfcbba0bc8d39cd0da5da28b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Compiling js-sys v0.3.59 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.59 [INFO] [stderr] Compiling rustproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/game_of_life.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/square.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rc` [INFO] [stdout] --> src/components/reaction_diffusion.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{Event, HtmlElement, HtmlInputElement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/engine/app/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Component, GameObject}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:10:64 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/square.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/square.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion.rs:143:41 [INFO] [stdout] | [INFO] [stdout] 143 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/components/reaction_diffusion.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 218 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/fps_tracker.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Middle` and `Right` are never constructed [INFO] [stdout] --> src/engine/app/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 9 | Left, [INFO] [stdout] 10 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `aspect_ratio` is never used [INFO] [stdout] --> src/engine/app/screen.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn aspect_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/game_of_life.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl GameOfLife { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(program: Rc, start_cells: &'static str, start_cells_offset: (i32, i32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/square.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(program: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16float_to_float` is never used [INFO] [stdout] --> src/components/reaction_diffusion.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn u16float_to_float(value: u16) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/fps_tracker.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FPSTracker { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ef09ba86aa91966c997eb028a863183b163ece7dfcbba0bc8d39cd0da5da28b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef09ba86aa91966c997eb028a863183b163ece7dfcbba0bc8d39cd0da5da28b2", kill_on_drop: false }` [INFO] [stdout] ef09ba86aa91966c997eb028a863183b163ece7dfcbba0bc8d39cd0da5da28b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19d0ddc7bcb3517cf00d675188e2bcf29c876abfcf59df1f4367f544332aaa01 [INFO] running `Command { std: "docker" "start" "-a" "19d0ddc7bcb3517cf00d675188e2bcf29c876abfcf59df1f4367f544332aaa01", kill_on_drop: false }` [INFO] [stderr] Compiling rustproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/game_of_life.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/square.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rc` [INFO] [stdout] --> src/components/reaction_diffusion.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{Event, HtmlElement, HtmlInputElement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/engine/app/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Component, GameObject}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:10:64 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/engine/component.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/engine/component.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/game_of_life.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/square.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/square.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion.rs:143:41 [INFO] [stdout] | [INFO] [stdout] 143 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/components/reaction_diffusion.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 218 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/components/reaction_diffusion_ui.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_object` [INFO] [stdout] --> src/components/fps_tracker.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Middle` and `Right` are never constructed [INFO] [stdout] --> src/engine/app/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 9 | Left, [INFO] [stdout] 10 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `aspect_ratio` is never used [INFO] [stdout] --> src/engine/app/screen.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn aspect_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/game_of_life.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl GameOfLife { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(program: Rc, start_cells: &'static str, start_cells_offset: (i32, i32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/square.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(program: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16float_to_float` is never used [INFO] [stdout] --> src/components/reaction_diffusion.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn u16float_to_float(value: u16) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/fps_tracker.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FPSTracker { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "19d0ddc7bcb3517cf00d675188e2bcf29c876abfcf59df1f4367f544332aaa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d0ddc7bcb3517cf00d675188e2bcf29c876abfcf59df1f4367f544332aaa01", kill_on_drop: false }` [INFO] [stdout] 19d0ddc7bcb3517cf00d675188e2bcf29c876abfcf59df1f4367f544332aaa01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce485cd54c0da003578752dc6f2cacc94f052065addcef70c2a051060e13eda2 [INFO] running `Command { std: "docker" "start" "-a" "ce485cd54c0da003578752dc6f2cacc94f052065addcef70c2a051060e13eda2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/components/game_of_life.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/components/square.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rc` [INFO] [stderr] --> src/components/reaction_diffusion.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rc::{Rc, Weak}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/components/reaction_diffusion_ui.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/components/reaction_diffusion_ui.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use web_sys::{Event, HtmlElement, HtmlInputElement}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Component` [INFO] [stderr] --> src/engine/app/mod.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{Component, GameObject}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:5:71 [INFO] [stderr] | [INFO] [stderr] 5 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:6:35 [INFO] [stderr] | [INFO] [stderr] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:6:65 [INFO] [stderr] | [INFO] [stderr] 6 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:7:59 [INFO] [stderr] | [INFO] [stderr] 7 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:8:63 [INFO] [stderr] | [INFO] [stderr] 8 | fn on_pre_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:9:59 [INFO] [stderr] | [INFO] [stderr] 9 | fn on_render(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:10:64 [INFO] [stderr] | [INFO] [stderr] 10 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/engine/component.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/engine/component.rs:12:54 [INFO] [stderr] | [INFO] [stderr] 12 | fn draw(&mut self, game_object: &mut GameObject, app: &App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/game_of_life.rs:37:41 [INFO] [stderr] | [INFO] [stderr] 37 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/game_of_life.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/game_of_life.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/square.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/square.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | fn draw(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/reaction_diffusion.rs:143:41 [INFO] [stderr] | [INFO] [stderr] 143 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/components/reaction_diffusion.rs:218:65 [INFO] [stderr] | [INFO] [stderr] 218 | fn on_first_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/reaction_diffusion.rs:222:29 [INFO] [stderr] | [INFO] [stderr] 222 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/reaction_diffusion_ui.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn on_add_to_game_object(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/reaction_diffusion_ui.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/components/reaction_diffusion_ui.rs:169:64 [INFO] [stderr] | [INFO] [stderr] 169 | fn on_late_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_object` [INFO] [stderr] --> src/components/fps_tracker.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | fn on_update(&mut self, game_object: &mut GameObject, app: &App) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_object` [INFO] [stderr] [INFO] [stderr] warning: variants `Middle` and `Right` are never constructed [INFO] [stderr] --> src/engine/app/input.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum Button { [INFO] [stderr] | ------ variants in this enum [INFO] [stderr] 9 | Left, [INFO] [stderr] 10 | Middle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `aspect_ratio` is never used [INFO] [stderr] --> src/engine/app/screen.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Screen { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn aspect_ratio(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/components/game_of_life.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl GameOfLife { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 22 | pub fn new(program: Rc, start_cells: &'static str, start_cells_offset: (i32, i32)) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/components/square.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Square { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 14 | pub fn new(program: Rc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `u16float_to_float` is never used [INFO] [stderr] --> src/components/reaction_diffusion.rs:354:4 [INFO] [stderr] | [INFO] [stderr] 354 | fn u16float_to_float(value: u16) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/components/fps_tracker.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl FPSTracker { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustproject` (lib test) generated 38 warnings (run `cargo fix --lib -p rustproject --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustproject-0905c84f22c7283e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce485cd54c0da003578752dc6f2cacc94f052065addcef70c2a051060e13eda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce485cd54c0da003578752dc6f2cacc94f052065addcef70c2a051060e13eda2", kill_on_drop: false }` [INFO] [stdout] ce485cd54c0da003578752dc6f2cacc94f052065addcef70c2a051060e13eda2