[INFO] cloning repository https://github.com/IAmProgrammist/ai_basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IAmProgrammist/ai_basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIAmProgrammist%2Fai_basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIAmProgrammist%2Fai_basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd8b78e482218ece21e9582b483dc3cf8d998e1c [INFO] checking IAmProgrammist/ai_basics against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIAmProgrammist%2Fai_basics" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IAmProgrammist/ai_basics [INFO] finished tweaking git repo https://github.com/IAmProgrammist/ai_basics [INFO] tweaked toml for git repo https://github.com/IAmProgrammist/ai_basics written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IAmProgrammist/ai_basics on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IAmProgrammist/ai_basics 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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-version v0.1.5 [INFO] [stderr] Downloaded dioxus-charts v0.3.1 [INFO] [stderr] Downloaded objc2 v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acb0acb30a3f31c53432d99bb442a6b8d77f44fb990185b31dec8c6ff3355531 [INFO] running `Command { std: "docker" "start" "-a" "acb0acb30a3f31c53432d99bb442a6b8d77f44fb990185b31dec8c6ff3355531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acb0acb30a3f31c53432d99bb442a6b8d77f44fb990185b31dec8c6ff3355531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb0acb30a3f31c53432d99bb442a6b8d77f44fb990185b31dec8c6ff3355531", kill_on_drop: false }` [INFO] [stdout] acb0acb30a3f31c53432d99bb442a6b8d77f44fb990185b31dec8c6ff3355531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6dbe3d2f6205516535878bce2d44af43da15ded80a23c22984bd3bd0ab63f8d [INFO] running `Command { std: "docker" "start" "-a" "c6dbe3d2f6205516535878bce2d44af43da15ded80a23c22984bd3bd0ab63f8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking dioxus-core-types v0.6.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling dioxus-document v0.6.3 [INFO] [stderr] Checking dioxus-cli-config v0.6.3 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling dioxus-interpreter-js v0.6.2 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling wry v0.45.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling dioxus-config-macro v0.6.2 [INFO] [stderr] Compiling dioxus-desktop v0.6.3 [INFO] [stderr] Checking sledgehammer_utils v0.3.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking infer v0.11.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling dioxus-rsx v0.6.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zvariant_utils v1.1.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking generational-box v0.6.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling dioxus-core-macro v0.6.3 [INFO] [stderr] Compiling const-serialize-macro v0.6.2 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking enumset v1.1.10 [INFO] [stderr] Compiling dlopen2_derive v0.4.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking sledgehammer_bindgen v0.6.0 [INFO] [stderr] Checking dlopen2 v0.7.0 [INFO] [stderr] Compiling dioxus-router-macro v0.6.3 [INFO] [stderr] Checking dioxus-logger v0.6.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking dioxus-core v0.6.3 [INFO] [stderr] Compiling const-serialize v0.6.2 [INFO] [stderr] Compiling manganis-core v0.6.2 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking global-hotkey v0.5.5 [INFO] [stderr] Compiling manganis-macro v0.6.2 [INFO] [stderr] Checking manganis v0.6.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking dioxus-signals v0.6.3 [INFO] [stderr] Checking dioxus-history v0.6.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking dioxus-devtools-types v0.6.2 [INFO] [stderr] Checking dioxus-hooks v0.6.2 [INFO] [stderr] Checking dioxus-devtools v0.6.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling zvariant_derive v4.0.0 [INFO] [stderr] Compiling zbus_macros v4.0.1 [INFO] [stderr] Checking dioxus-html v0.6.3 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Checking zvariant v4.0.0 [INFO] [stderr] Checking gdkwayland-sys v0.18.2 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking dioxus-lib v0.6.2 [INFO] [stderr] Checking dioxus-router v0.6.3 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.0.1 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Checking ashpd v0.8.1 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking soup3 v0.5.0 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking gdkx11 v0.18.2 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking muda v0.15.3 [INFO] [stderr] Checking webkit2gtk v2.0.1 [INFO] [stderr] Checking tao v0.30.8 [INFO] [stderr] Checking muda v0.11.5 [INFO] [stderr] Checking tray-icon v0.19.3 [INFO] [stderr] Checking dioxus v0.6.3 [INFO] [stderr] Checking dioxus-charts v0.3.1 [INFO] [stderr] Checking ai_basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dioxus_desktop::launch::launch` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus_desktop::launch::launch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::Pagination` [INFO] [stdout] --> src/components/art1/clusters.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::Pagination; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ACOConfig` [INFO] [stdout] --> src/components/aco/matrix_drawer.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{ACOConfig, ACOPaths, MatrixACOPaths, Point2}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::u::background_color` [INFO] [stdout] --> src/components/backprop/matrix.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{html::u::background_color, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::u::background_color` [INFO] [stdout] --> src/components/backprop/prediction.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{html::u::background_color, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::spawn` [INFO] [stdout] --> src/views/art1.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, thread::spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Range` and `thread::sleep` [INFO] [stdout] --> src/views/aco.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, ops::Range, sync::Arc, thread::sleep, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ART1Clusters`, `ART1Config`, `Cluster`, `FileART1DatabaseReader`, `TabList`, and `art1` [INFO] [stdout] --> src/views/backprop.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | ...n, Cluster, GoHome, INPUT_CLASSES, TabList}, utils::{ART1Clusters, ART1Config, BackpropElement, FileART1DatabaseReader, IART1DatabaseReader, INPUT_NEURONS_HEIGHT, INPUT_NEURONS_WIDTH, NeuralNetwork, OUTPUT_NEURONS, art1, l... [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/utils/simulated_annealing.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in (0..queens_amount) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - for _ in (0..queens_amount) { [INFO] [stdout] 61 + for _ in 0..queens_amount { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distr::uniform::SampleRange` [INFO] [stdout] --> src/utils/aco/matrix_paths.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{distr::uniform::SampleRange, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/utils/aco/ant.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future` and `mpsc::channel` [INFO] [stdout] --> src/utils/aco/aco.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, f64::INFINITY, future, sync::{mpsc::channel, Arc, RwLock, RwLockReadGuard}, vec}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dioxus_desktop::launch::launch` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus_desktop::launch::launch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::Pagination` [INFO] [stdout] --> src/components/art1/clusters.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::Pagination; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ACOConfig` [INFO] [stdout] --> src/components/aco/matrix_drawer.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{ACOConfig, ACOPaths, MatrixACOPaths, Point2}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::u::background_color` [INFO] [stdout] --> src/components/backprop/matrix.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{html::u::background_color, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::u::background_color` [INFO] [stdout] --> src/components/backprop/prediction.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{html::u::background_color, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::spawn` [INFO] [stdout] --> src/views/art1.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, thread::spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Range` and `thread::sleep` [INFO] [stdout] --> src/views/aco.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, ops::Range, sync::Arc, thread::sleep, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ART1Clusters`, `ART1Config`, `Cluster`, `FileART1DatabaseReader`, `TabList`, and `art1` [INFO] [stdout] --> src/views/backprop.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | ...n, Cluster, GoHome, INPUT_CLASSES, TabList}, utils::{ART1Clusters, ART1Config, BackpropElement, FileART1DatabaseReader, IART1DatabaseReader, INPUT_NEURONS_HEIGHT, INPUT_NEURONS_WIDTH, NeuralNetwork, OUTPUT_NEURONS, art1, l... [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/utils/simulated_annealing.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in (0..queens_amount) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - for _ in (0..queens_amount) { [INFO] [stdout] 61 + for _ in 0..queens_amount { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distr::uniform::SampleRange` [INFO] [stdout] --> src/utils/aco/matrix_paths.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{distr::uniform::SampleRange, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/utils/aco/ant.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future` and `mpsc::channel` [INFO] [stdout] --> src/utils/aco/aco.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, f64::INFINITY, future, sync::{mpsc::channel, Arc, RwLock, RwLockReadGuard}, vec}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/utils/backprop/backprop.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/utils/backprop/backprop.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/utils/backprop/backprop.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | self.wih[inp][hid] = rng.gen_range(-0.5..0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/utils/backprop/backprop.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | self.who[hid][out] = rng.gen_range(-0.5..0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/utils/backprop/backprop.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | self.wih[inp][hid] = rng.gen_range(-0.5..0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/utils/backprop/backprop.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | self.who[hid][out] = rng.gen_range(-0.5..0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IART1DatabaseReader` [INFO] [stdout] --> src/views/backprop.rs:5:195 [INFO] [stdout] | [INFO] [stdout] 5 | ..., ART1Config, BackpropElement, FileART1DatabaseReader, IART1DatabaseReader, INPUT_NEURONS_HEIGHT, INPUT_NEURONS_WIDTH, NeuralNetwo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IART1DatabaseReader` [INFO] [stdout] --> src/views/backprop.rs:5:195 [INFO] [stdout] | [INFO] [stdout] 5 | ..., ART1Config, BackpropElement, FileART1DatabaseReader, IART1DatabaseReader, INPUT_NEURONS_HEIGHT, INPUT_NEURONS_WIDTH, NeuralNetwo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pages_clone` [INFO] [stdout] --> src/components/pagination.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let pages_clone = props.pages.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pages_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pages_clone` [INFO] [stdout] --> src/components/pagination.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let pages_clone = props.pages.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pages_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | let mut parser = move || -> Result<(ACOConfig, usize), Box> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut begin_city = use_signal(|| "0".to_string()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut target_city = use_signal(|| "1".to_string()); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_read` [INFO] [stdout] --> src/utils/aco/aco.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let field_read = field_read.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/views/backprop.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | for epoch in 0..epochs.read().parse::()? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | let mut parser = move || -> Result<(ACOConfig, usize), Box> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut begin_city = use_signal(|| "0".to_string()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views/aco.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut target_city = use_signal(|| "1".to_string()); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_read` [INFO] [stdout] --> src/utils/aco/aco.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let field_read = field_read.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/views/backprop.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | for epoch in 0..epochs.read().parse::()? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `begin_city` and `target_city` are never read [INFO] [stdout] --> src/utils/aco/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ACOConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub begin_city: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub target_city: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ACOConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AntFactory` is never constructed [INFO] [stdout] --> src/utils/aco/ant.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AntFactory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_ants` is never used [INFO] [stdout] --> src/utils/aco/ant.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AntFactory { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 20 | pub fn create_ants(amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ClusterElement` should have a snake case name [INFO] [stdout] --> src/components/art1/clusters.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn ClusterElement(props: ClusterElementProps) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ClusterBlock` should have a snake case name [INFO] [stdout] --> src/components/art1/clusters.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn ClusterBlock(props: ClusterBlockProps) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `begin_city` and `target_city` are never read [INFO] [stdout] --> src/utils/aco/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ACOConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub begin_city: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub target_city: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ACOConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AntFactory` is never constructed [INFO] [stdout] --> src/utils/aco/ant.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AntFactory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_ants` is never used [INFO] [stdout] --> src/utils/aco/ant.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AntFactory { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 20 | pub fn create_ants(amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ClusterElement` should have a snake case name [INFO] [stdout] --> src/components/art1/clusters.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn ClusterElement(props: ClusterElementProps) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ClusterBlock` should have a snake case name [INFO] [stdout] --> src/components/art1/clusters.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn ClusterBlock(props: ClusterBlockProps) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "c6dbe3d2f6205516535878bce2d44af43da15ded80a23c22984bd3bd0ab63f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6dbe3d2f6205516535878bce2d44af43da15ded80a23c22984bd3bd0ab63f8d", kill_on_drop: false }` [INFO] [stdout] c6dbe3d2f6205516535878bce2d44af43da15ded80a23c22984bd3bd0ab63f8d