[INFO] cloning repository https://github.com/Bowarc/wasm_portfolio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bowarc/wasm_portfolio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2Fwasm_portfolio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2Fwasm_portfolio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae92e938578cc519e49ad486174083a71b5012d4 [INFO] checking Bowarc/wasm_portfolio against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2Fwasm_portfolio" "/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/Bowarc/wasm_portfolio on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bowarc/wasm_portfolio [INFO] finished tweaking git repo https://github.com/Bowarc/wasm_portfolio [INFO] tweaked toml for git repo https://github.com/Bowarc/wasm_portfolio written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bowarc/wasm_portfolio 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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Bowarc/Crates.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-worker v0.5.0 [INFO] [stderr] Downloaded gloo-net v0.5.0 [INFO] [stderr] Downloaded pear_codegen v0.2.8 [INFO] [stderr] Downloaded pear v0.2.8 [INFO] [stderr] Downloaded figment v0.10.14 [INFO] [stderr] Downloaded yansi v1.0.0 [INFO] [stderr] Downloaded gloo v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac387497d6c776707455252631dabc4afa6a3e78da1f3201e6fed8f18315d854 [INFO] running `Command { std: "docker" "start" "-a" "ac387497d6c776707455252631dabc4afa6a3e78da1f3201e6fed8f18315d854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac387497d6c776707455252631dabc4afa6a3e78da1f3201e6fed8f18315d854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac387497d6c776707455252631dabc4afa6a3e78da1f3201e6fed8f18315d854", kill_on_drop: false }` [INFO] [stdout] ac387497d6c776707455252631dabc4afa6a3e78da1f3201e6fed8f18315d854 [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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11ebb7f284e01afcdd31fb44183b401076c36ee76f60f749786a6c12b20826e9 [INFO] running `Command { std: "docker" "start" "-a" "11ebb7f284e01afcdd31fb44183b401076c36ee76f60f749786a6c12b20826e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling yansi v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling figment v0.10.14 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking random v0.1.0 (https://github.com/Bowarc/Crates.git#00c44c57) [INFO] [stderr] Checking maths v0.1.0 (https://github.com/Bowarc/Crates.git#00c44c57) [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Checking logger v0.1.0 (https://github.com/Bowarc/Crates.git#00c44c57) [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pear_codegen v0.2.8 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.8 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking time v0.1.0 (https://github.com/Bowarc/Crates.git#00c44c57) [INFO] [stderr] Checking toml_edit v0.22.6 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking front v0.1.0 (/opt/rustwide/workdir/front) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> front/src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::{self, log}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> front/src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::{self, log}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::wasm_bindgen` [INFO] [stdout] --> front/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> front/src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> front/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> front/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> front/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> front/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Date` [INFO] [stdout] --> front/src/component/wormgrid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsCast`, `closure::Closure` [INFO] [stdout] --> front/src/component/wormgrid.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{closure::Closure, JsCast}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Worm` [INFO] [stdout] --> front/src/component/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub use wormgrid::{Worm, WormGrid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> front/src/component/age.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> front/src/render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlCanvasElement` [INFO] [stdout] --> front/src/render.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{window, HtmlCanvasElement, WebGlRenderingContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> front/src/render.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | -------------------- the item `JsCast` is already imported here [INFO] [stdout] ... [INFO] [stdout] 202 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::wasm_bindgen` [INFO] [stdout] --> front/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> front/src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> front/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> front/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> front/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> front/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Date` [INFO] [stdout] --> front/src/component/wormgrid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsCast`, `closure::Closure` [INFO] [stdout] --> front/src/component/wormgrid.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::{closure::Closure, JsCast}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Worm` [INFO] [stdout] --> front/src/component/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub use wormgrid::{Worm, WormGrid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> front/src/component/age.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> front/src/render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlCanvasElement` [INFO] [stdout] --> front/src/render.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{window, HtmlCanvasElement, WebGlRenderingContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> front/src/render.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | -------------------- the item `JsCast` is already imported here [INFO] [stdout] ... [INFO] [stdout] 202 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> front/src/render.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/header.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::prelude::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/header.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verticies` [INFO] [stdout] --> front/src/component/wormgrid.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let verticies = crate::render::circle_to_vert( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verticies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect_shader_prog` [INFO] [stdout] --> front/src/component/wormgrid.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | rect_shader_prog: &web_sys::WebGlProgram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rect_shader_prog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/age.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn create(ctx: &yew::prelude::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/age.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> front/src/render.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | ctx: &yew::prelude::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/header.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::prelude::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | fn rendered(&mut self, ctx: &yew::prelude::Context, first_render: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_render` [INFO] [stdout] --> front/src/component/git_projects.rs:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | fn rendered(&mut self, ctx: &yew::prelude::Context, first_render: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | fn destroy(&mut self, ctx: &yew::prelude::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/header.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> front/src/render.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let timestamp = 1.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verticies` [INFO] [stdout] --> front/src/component/wormgrid.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let verticies = crate::render::circle_to_vert( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verticies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect_shader_prog` [INFO] [stdout] --> front/src/component/wormgrid.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | rect_shader_prog: &web_sys::WebGlProgram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rect_shader_prog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_clip_space` [INFO] [stdout] --> front/src/render.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let to_clip_space = |x: f32, y: f32| -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_clip_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> front/src/render.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | color: Color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/age.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn create(ctx: &yew::prelude::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/age.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn view(&self, ctx: &yew::prelude::Context) -> yew::prelude::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> front/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut timestamp = 0.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob` [INFO] [stdout] --> front/src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let blob = maths::Rect::new((0.1, 0.1), (10., 10.), 0.); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> front/src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let color = render::Color::random_rgb(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> front/src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut timestamp = 0.0; [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: associated function `request_animation_frame` is never used [INFO] [stdout] --> front/src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 87 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_date`, `public`, `fork`, and `size` are never read [INFO] [stdout] --> front/src/component/git_projects.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | created_date: Date, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | public: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | fork: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_rect` is never used [INFO] [stdout] --> front/src/render.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn draw_rect( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> front/src/render/color.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 4 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 5 | pub const WHITE: Self = Self(255, 255, 255, 255); [INFO] [stdout] 6 | pub const BLACK: Self = Self(0, 0, 0, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub const TRANSPARENT: Self = Self(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_rgb(r: impl Into, g: impl Into, b: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_hex(hex: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random_rgba() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn rgba(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn r(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn g(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn b(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn a(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_since` is never used [INFO] [stdout] --> front/src/utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn time_since(date: Date) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasWidth` should have a snake case name [INFO] [stdout] --> front/src/render.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let canvasWidth = glctx.drawing_buffer_width() as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasHeight` should have a snake case name [INFO] [stdout] --> front/src/render.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let canvasHeight = glctx.drawing_buffer_height() as f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | ctx: &yew::prelude::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | fn rendered(&mut self, ctx: &yew::prelude::Context, first_render: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_render` [INFO] [stdout] --> front/src/component/git_projects.rs:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | fn rendered(&mut self, ctx: &yew::prelude::Context, first_render: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/component/git_projects.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | fn destroy(&mut self, ctx: &yew::prelude::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> front/src/render.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let timestamp = 1.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_clip_space` [INFO] [stdout] --> front/src/render.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let to_clip_space = |x: f32, y: f32| -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_clip_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> front/src/render.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | color: Color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> front/src/main.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> front/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut timestamp = 0.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob` [INFO] [stdout] --> front/src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let blob = maths::Rect::new((0.1, 0.1), (10., 10.), 0.); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> front/src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let color = render::Color::random_rgb(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> front/src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut timestamp = 0.0; [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: associated function `request_animation_frame` is never used [INFO] [stdout] --> front/src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 87 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_date`, `public`, `fork`, and `size` are never read [INFO] [stdout] --> front/src/component/git_projects.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | created_date: Date, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | public: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | fork: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_rect` is never used [INFO] [stdout] --> front/src/render.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn draw_rect( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> front/src/render/color.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 4 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 5 | pub const WHITE: Self = Self(255, 255, 255, 255); [INFO] [stdout] 6 | pub const BLACK: Self = Self(0, 0, 0, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub const TRANSPARENT: Self = Self(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_rgb(r: impl Into, g: impl Into, b: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_hex(hex: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random_rgba() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn rgba(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn r(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn g(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn b(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn a(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_since` is never used [INFO] [stdout] --> front/src/utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn time_since(date: Date) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasWidth` should have a snake case name [INFO] [stdout] --> front/src/render.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let canvasWidth = glctx.drawing_buffer_width() as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasHeight` should have a snake case name [INFO] [stdout] --> front/src/render.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let canvasHeight = glctx.drawing_buffer_height() as f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking back v0.1.0 (/opt/rustwide/workdir/back) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> back/src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use(trace, debug, info, warn, error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> back/src/response.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | serde::json::serde_json::{json, Value as JsonValue}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> back/src/response.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | serde::json::serde_json::{json, Value as JsonValue}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.07s [INFO] running `Command { std: "docker" "inspect" "11ebb7f284e01afcdd31fb44183b401076c36ee76f60f749786a6c12b20826e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ebb7f284e01afcdd31fb44183b401076c36ee76f60f749786a6c12b20826e9", kill_on_drop: false }` [INFO] [stdout] 11ebb7f284e01afcdd31fb44183b401076c36ee76f60f749786a6c12b20826e9