[INFO] cloning repository https://github.com/Vadim-Khristenko/kumir3-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vadim-Khristenko/kumir3-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVadim-Khristenko%2Fkumir3-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVadim-Khristenko%2Fkumir3-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51469be99ffce86c70ad92984ff49ff298d5938a [INFO] checking Vadim-Khristenko/kumir3-core against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVadim-Khristenko%2Fkumir3-core" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vadim-Khristenko/kumir3-core [INFO] finished tweaking git repo https://github.com/Vadim-Khristenko/kumir3-core [INFO] tweaked toml for git repo https://github.com/Vadim-Khristenko/kumir3-core written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vadim-Khristenko/kumir3-core on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vadim-Khristenko/kumir3-core 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f989f39fb1fb185503ea060b9aa9e2e1cb8def791ad0d8ed1f9b69fe1eba556b [INFO] running `Command { std: "docker" "start" "-a" "f989f39fb1fb185503ea060b9aa9e2e1cb8def791ad0d8ed1f9b69fe1eba556b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f989f39fb1fb185503ea060b9aa9e2e1cb8def791ad0d8ed1f9b69fe1eba556b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f989f39fb1fb185503ea060b9aa9e2e1cb8def791ad0d8ed1f9b69fe1eba556b", kill_on_drop: false }` [INFO] [stdout] f989f39fb1fb185503ea060b9aa9e2e1cb8def791ad0d8ed1f9b69fe1eba556b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa6d2a4ba4ee3a9c9588bb2a7ee34bc432b3c47a8e862e8b78c5d80c5ef6d755 [INFO] running `Command { std: "docker" "start" "-a" "aa6d2a4ba4ee3a9c9588bb2a7ee34bc432b3c47a8e862e8b78c5d80c5ef6d755", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Checking aws-lc-sys v0.37.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking clap_builder v4.5.56 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking kasuari v0.4.11 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking ratatui-core v0.1.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking clap v4.5.56 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking ratatui-widgets v0.3.0 [INFO] [stderr] Checking ratatui-crossterm v0.1.0 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ratatui-macros v0.7.0 [INFO] [stderr] Checking ratatui v0.30.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] warning: unused import: `crate::types::Algorithm` [INFO] [stdout] --> shared/src/parser/decl.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | use crate::types::Algorithm; [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: `std::error::Error` [INFO] [stdout] --> shared/src/codegen/rust_block.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Algorithm` [INFO] [stdout] --> shared/src/parser/decl.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | use crate::types::Algorithm; [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: `std::error::Error` [INFO] [stdout] --> shared/src/codegen/rust_block.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/f128.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | fn from_uint_inner(sign: bool, mut v: u128) -> Self { [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] --> shared/src/f128.rs:502:14 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [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] --> shared/src/f128.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [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] --> shared/src/f128.rs:502:34 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_2` [INFO] [stdout] --> shared/src/f128.rs:1140:13 [INFO] [stdout] | [INFO] [stdout] 1140 | let pi_2 = Self::FRAC_PI_2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> shared/src/f128.rs:1313:19 [INFO] [stdout] | [INFO] [stdout] 1313 | fn taylor_cos(x: Self, x2: Self) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/f128.rs:1545:18 [INFO] [stdout] | [INFO] [stdout] 1545 | fn from_u128(mut v: u128) -> Self { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/f128.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | fn from_uint_inner(sign: bool, mut v: u128) -> Self { [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] --> shared/src/f128.rs:502:14 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [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] --> shared/src/f128.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [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] --> shared/src/f128.rs:502:34 [INFO] [stdout] | [INFO] [stdout] 502 | let (mut e_res, mut m_a, mut m_b) = if ea >= eb { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_2` [INFO] [stdout] --> shared/src/f128.rs:1140:13 [INFO] [stdout] | [INFO] [stdout] 1140 | let pi_2 = Self::FRAC_PI_2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> shared/src/f128.rs:1313:19 [INFO] [stdout] | [INFO] [stdout] 1313 | fn taylor_cos(x: Self, x2: Self) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/f128.rs:1545:18 [INFO] [stdout] | [INFO] [stdout] 1545 | fn from_u128(mut v: u128) -> Self { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> shared/src/libraries/net/http/client.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let reason = parts.get(2).map(|s| s.to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> shared/src/libraries/net/mod.rs:774:17 [INFO] [stdout] | [INFO] [stdout] 774 | let rt = get_tokio_handle()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> shared/src/libraries/net/mod.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | let handle = std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fo_e` [INFO] [stdout] --> shared/src/math.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn round(a: Value, b: Option, rf: Option, fo_e: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fo_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> shared/src/math.rs:1025:13 [INFO] [stdout] | [INFO] [stdout] 1025 | let threshold = (exp * rf as u32) as i128; // rf/10 * 10^exp = rf * 10^(exp-1) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> shared/src/libraries/net/http/client.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let reason = parts.get(2).map(|s| s.to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_code` [INFO] [stdout] --> shared/src/codegen/rust_block.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn format_rustc_error(&self, stderr: &str, original_code: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_2_HI` is never used [INFO] [stdout] --> shared/src/f128.rs:1162:15 [INFO] [stdout] | [INFO] [stdout] 1162 | const PI_2_HI: F128 = F128::FRAC_PI_2; // 113 бит, но мы используем только старшие 53 для первого шага [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `low_u128` is never used [INFO] [stdout] --> shared/src/f128.rs:1745:8 [INFO] [stdout] | [INFO] [stdout] 1725 | impl U512 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1745 | fn low_u128(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> shared/src/libraries/net/tcp.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct TcpReadHalf { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 386 | config: TcpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> shared/src/libraries/net/tcp.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct TcpWriteHalf { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 408 | config: TcpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> shared/src/libraries/net/tls.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct TlsConfigBuilder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 132 | kind: TlsConfigKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls` is never read [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | struct HttpConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | tls: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_config` is never read [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct HttpServerBuilder { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 343 | network_config: NetworkConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheme` is never read [INFO] [stdout] --> shared/src/libraries/net/http/client.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 334 | struct ParsedUrl { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 335 | scheme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_https` is never used [INFO] [stdout] --> shared/src/libraries/net/http/client.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 342 | impl ParsedUrl { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn is_https(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fin` is never read [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 480 | struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 481 | fin: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> shared/src/runtime/executor.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | struct ScheduledTask { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 520 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrigKind` is never used [INFO] [stdout] --> shared/src/math.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | enum OrigKind { F32, F64, F128, Other } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> shared/src/codegen/rust_block.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct RustBlockExecutor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kumir3-compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Checking tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stderr] Checking kumir3-interpreter v0.1.0 (/opt/rustwide/workdir/interpreter) [INFO] [stdout] warning: unused import: `shared::constants::*` [INFO] [stdout] --> tests/src/constant.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shared::constants::*; [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: `shared::libraries::registry::is_known_library` [INFO] [stdout] --> tests/src/constant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shared::libraries::registry::is_known_library; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> tests/src/f128_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> tests/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod f128_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileStream`, `IOStream`, and `StreamError` [INFO] [stdout] --> tests/src/iostream.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use shared::iostream::{FileStream, StreamError, IOStream}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/src/iostream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/src/iostream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::math::MathOperators` [INFO] [stdout] --> tests/src/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use shared::math::MathOperators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Number` and `Value` [INFO] [stdout] --> tests/src/math.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use shared::types::{Value, Number}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::math::MathErr` [INFO] [stdout] --> tests/src/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::math::MathErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> tests/src/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::strings::StringOperations` [INFO] [stdout] --> tests/src/strings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shared::strings::StringOperations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokens_only` is never used [INFO] [stdout] --> tests/src/lexer.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn tokens_only(source: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spanned` is never used [INFO] [stdout] --> tests/src/lexer.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn spanned(source: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParamMode` and `Parameter` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Algorithm, Parameter, ParamMode, [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: `shared::strings::StringOperations` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use shared::strings::StringOperations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> interpreter/src/interpreter/builtins.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_library` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | activate_project_environment, register_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::environment::Environment` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallFrame` and `Scope` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub use environment::{Environment, Scope, CallFrame}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtins::Builtins` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use builtins::Builtins; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskExecutor`, `TaskHandle`, `TaskId`, `TaskState`, and `Task` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub use shared::runtime::{TaskExecutor, TaskId, TaskState, Task, TaskHandle, KumirRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::libraries::registry::is_known_library` [INFO] [stdout] --> tests/src/constant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shared::libraries::registry::is_known_library; [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: `Subcommand` [INFO] [stdout] --> interpreter/src/interpreter_tui.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Parser, Subcommand}; [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 imports: `ParamMode` and `Parameter` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Algorithm, Parameter, ParamMode, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::strings::StringOperations` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use shared::strings::StringOperations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> interpreter/src/interpreter/builtins.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_library` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | activate_project_environment, register_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::environment::Environment` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallFrame` and `Scope` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub use environment::{Environment, Scope, CallFrame}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtins::Builtins` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use builtins::Builtins; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskExecutor`, `TaskHandle`, `TaskId`, `TaskState`, and `Task` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub use shared::runtime::{TaskExecutor, TaskId, TaskState, Task, TaskHandle, KumirRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> interpreter/src/interpreter_tui.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Parser, Subcommand}; [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 imports: `ParamMode` and `Parameter` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Algorithm, Parameter, ParamMode, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::strings::StringOperations` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use shared::strings::StringOperations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> interpreter/src/interpreter/builtins.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_library` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | activate_project_environment, register_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::environment::Environment` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallFrame` and `Scope` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub use environment::{Environment, Scope, CallFrame}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtins::Builtins` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use builtins::Builtins; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskExecutor`, `TaskHandle`, `TaskId`, `TaskState`, and `Task` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub use shared::runtime::{TaskExecutor, TaskId, TaskState, Task, TaskHandle, KumirRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> shared/src/libraries/net/mod.rs:774:17 [INFO] [stdout] | [INFO] [stdout] 774 | let rt = get_tokio_handle()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> shared/src/libraries/net/mod.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | let handle = std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParamMode` and `Parameter` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Algorithm, Parameter, ParamMode, [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: `shared::strings::StringOperations` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use shared::strings::StringOperations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::f128::F128` [INFO] [stdout] --> interpreter/src/interpreter/builtins.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::f128::F128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_library` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | activate_project_environment, register_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::environment::Environment` [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallFrame` and `Scope` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub use environment::{Environment, Scope, CallFrame}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtins::Builtins` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use builtins::Builtins; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskExecutor`, `TaskHandle`, `TaskId`, `TaskState`, and `Task` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub use shared::runtime::{TaskExecutor, TaskId, TaskState, Task, TaskHandle, KumirRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Expr::Lambda { params, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | type_id: &shared::types::TypeId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env: &Environment [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | Stmt::Export { names } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `names: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:37 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inclusive` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:42 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `inclusive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | let source = r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_runtime() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn with_environment(mut env: Environment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn set_base_dir(&mut self, dir: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn add_module_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn environment(&self) -> &Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn environment_mut(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn set_global(&mut self, name: impl Into, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_variable(&self, name: &str) -> RuntimeResult<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn clear_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn import_file(&mut self, path: &str, alias: Option<&str>) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn import_library(&mut self, name: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn import_library_as(&mut self, name: &str, alias: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn call_library_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn libraries(&self) -> &std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn runtime(&self) -> Option<&KumirRuntime> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn run(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn eval(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_and_get_output` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn run_and_get_output(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> interpreter/src/interpreter/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RuntimeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub kind: RuntimeErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DivisionByZero` and `Overflow` are never constructed [INFO] [stdout] --> interpreter/src/interpreter/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum RuntimeErrorKind { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 25 | /// Деление на ноль [INFO] [stdout] 26 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Переполнение числа [INFO] [stdout] 28 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_line`, `with_context`, and `division_by_zero` are never used [INFO] [stdout] --> interpreter/src/interpreter/error.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl RuntimeError { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_line(mut self, line: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_context(mut self, context: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn division_by_zero() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_const` is never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn define_const(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `algorithm_name` is never read [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 83 | /// Имя алгоритма [INFO] [stdout] 84 | pub algorithm_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_program(program: &Program) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn define_global(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn has_class(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_interface(&self, name: &str) -> RuntimeResult<&InterfaceDef> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn has_interface(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_trait(&self, name: &str) -> RuntimeResult<&TraitDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn has_trait(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn get_impl(&self, target_type: &str, trait_name: Option<&str>) -> Option<&ImplDef> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn type_implements_trait(&self, target_type: &str, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn get_impl_method(&self, target_type: &str, trait_name: Option<&str>, method_name: &str) -> Option<&shared::types::Method> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn current_frame(&self) -> Option<&CallFrame> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn call_depth(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn clear_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn set_max_call_depth(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn type_registry(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | pub fn register_native_function(&mut self, name: impl Into, handler: NativeFn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub fn has_native_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn call_native_function(&self, name: &str, args: &[Value]) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_native_function(&self, name: &str) -> Option<&NativeFn> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn library_manager(&self) -> Option<&Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn kumir_runtime(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn task_executor(&self) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import_versioned`, `call_function`, `get_function_def`, `get_constant`, and `resolve_library_name` are never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn import_versioned( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn call_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_function_def(&self, name: &str) -> Option<&LibFunctionDef> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_constant(&self, lib_name: &str, const_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn resolve_library_name<'a>(&'a self, name: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `activate_environment` is never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn activate_environment(project_root: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `globals` are never read [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ImportedModule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_algorithm` and `get_class` are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ImportedModule { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_algorithm(&self, name: &str) -> Option<&Algorithm> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_class(&self, name: &str) -> Option<&ClassDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl FileImporter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_base_dir(base_dir: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_base_dir(&mut self, dir: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn add_search_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn get_module(&self, alias: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn get_algorithm(&self, module_alias: &str, alg_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_class(&self, module_alias: &str, class_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn is_loaded(&self, alias: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn loaded_modules(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fo_e` [INFO] [stdout] --> shared/src/math.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn round(a: Value, b: Option, rf: Option, fo_e: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fo_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Expr::Lambda { params, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> shared/src/math.rs:1025:13 [INFO] [stdout] | [INFO] [stdout] 1025 | let threshold = (exp * rf as u32) as i128; // rf/10 * 10^exp = rf * 10^(exp-1) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | type_id: &shared::types::TypeId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env: &Environment [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Expr::Lambda { params, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | Stmt::Export { names } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `names: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:37 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inclusive` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:42 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `inclusive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | type_id: &shared::types::TypeId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env: &Environment [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | Stmt::Export { names } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `names: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:37 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inclusive` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:42 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `inclusive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_runtime() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn with_environment(mut env: Environment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn set_base_dir(&mut self, dir: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn add_module_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn environment(&self) -> &Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn environment_mut(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn eval(&mut self, source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn set_global(&mut self, name: impl Into, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_variable(&self, name: &str) -> RuntimeResult<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn clear_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn import_file(&mut self, path: &str, alias: Option<&str>) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn import_library(&mut self, name: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn import_library_as(&mut self, name: &str, alias: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn call_library_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn libraries(&self) -> &std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn runtime(&self) -> Option<&KumirRuntime> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn run(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn eval(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_and_get_output` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn run_and_get_output(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> interpreter/src/interpreter/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RuntimeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub kind: RuntimeErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DivisionByZero` and `Overflow` are never constructed [INFO] [stdout] --> interpreter/src/interpreter/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum RuntimeErrorKind { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 25 | /// Деление на ноль [INFO] [stdout] 26 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Переполнение числа [INFO] [stdout] 28 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_line`, `with_context`, and `division_by_zero` are never used [INFO] [stdout] --> interpreter/src/interpreter/error.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl RuntimeError { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_line(mut self, line: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_context(mut self, context: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn division_by_zero() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_const` is never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn define_const(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `algorithm_name` is never read [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 83 | /// Имя алгоритма [INFO] [stdout] 84 | pub algorithm_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_program(program: &Program) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn define_global(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn has_class(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_interface(&self, name: &str) -> RuntimeResult<&InterfaceDef> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn has_interface(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_trait(&self, name: &str) -> RuntimeResult<&TraitDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn has_trait(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn get_impl(&self, target_type: &str, trait_name: Option<&str>) -> Option<&ImplDef> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn type_implements_trait(&self, target_type: &str, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn get_impl_method(&self, target_type: &str, trait_name: Option<&str>, method_name: &str) -> Option<&shared::types::Method> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn current_frame(&self) -> Option<&CallFrame> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn call_depth(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn clear_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn set_max_call_depth(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn type_registry(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | pub fn register_native_function(&mut self, name: impl Into, handler: NativeFn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub fn has_native_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn call_native_function(&self, name: &str, args: &[Value]) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_native_function(&self, name: &str) -> Option<&NativeFn> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn library_manager(&self) -> Option<&Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn kumir_runtime(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn task_executor(&self) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn import_versioned( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn call_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_function_def(&self, name: &str) -> Option<&LibFunctionDef> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_constant(&self, lib_name: &str, const_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn loaded_libraries(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn resolve_library_name<'a>(&'a self, name: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `activate_environment` is never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn activate_environment(project_root: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `globals` are never read [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ImportedModule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_algorithm` and `get_class` are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ImportedModule { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_algorithm(&self, name: &str) -> Option<&Algorithm> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_class(&self, name: &str) -> Option<&ClassDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl FileImporter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_base_dir(base_dir: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_base_dir(&mut self, dir: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn add_search_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn get_module(&self, alias: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn get_algorithm(&self, module_alias: &str, alg_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_class(&self, module_alias: &str, class_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn is_loaded(&self, alias: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn loaded_modules(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | let source = r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Expr::Lambda { params, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file` is never used [INFO] [stdout] --> interpreter/src/cli.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Cli { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 80 | pub fn file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_runtime() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn with_environment(mut env: Environment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn add_module_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn environment(&self) -> &Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn environment_mut(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn set_global(&mut self, name: impl Into, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_variable(&self, name: &str) -> RuntimeResult<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn import_file(&mut self, path: &str, alias: Option<&str>) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn import_library(&mut self, name: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn import_library_as(&mut self, name: &str, alias: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn call_library_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn libraries(&self) -> &std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn runtime(&self) -> Option<&KumirRuntime> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn run(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn eval(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_and_get_output` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn run_and_get_output(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> interpreter/src/interpreter/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RuntimeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub kind: RuntimeErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DivisionByZero` and `Overflow` are never constructed [INFO] [stdout] --> interpreter/src/interpreter/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum RuntimeErrorKind { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 25 | /// Деление на ноль [INFO] [stdout] 26 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Переполнение числа [INFO] [stdout] 28 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_line`, `with_context`, and `division_by_zero` are never used [INFO] [stdout] --> interpreter/src/interpreter/error.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl RuntimeError { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_line(mut self, line: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_context(mut self, context: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn division_by_zero() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_const` is never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn define_const(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `algorithm_name` is never read [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 83 | /// Имя алгоритма [INFO] [stdout] 84 | pub algorithm_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_program(program: &Program) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn define_global(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn has_class(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_interface(&self, name: &str) -> RuntimeResult<&InterfaceDef> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn has_interface(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_trait(&self, name: &str) -> RuntimeResult<&TraitDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn has_trait(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn get_impl(&self, target_type: &str, trait_name: Option<&str>) -> Option<&ImplDef> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn type_implements_trait(&self, target_type: &str, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn get_impl_method(&self, target_type: &str, trait_name: Option<&str>, method_name: &str) -> Option<&shared::types::Method> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn current_frame(&self) -> Option<&CallFrame> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn call_depth(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn set_max_call_depth(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn type_registry(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | pub fn register_native_function(&mut self, name: impl Into, handler: NativeFn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub fn has_native_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn call_native_function(&self, name: &str, args: &[Value]) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_native_function(&self, name: &str) -> Option<&NativeFn> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn library_manager(&self) -> Option<&Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn kumir_runtime(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn task_executor(&self) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import_versioned`, `call_function`, `get_function_def`, `get_constant`, and `resolve_library_name` are never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn import_versioned( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn call_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_function_def(&self, name: &str) -> Option<&LibFunctionDef> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_constant(&self, lib_name: &str, const_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn resolve_library_name<'a>(&'a self, name: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `activate_environment` is never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn activate_environment(project_root: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `globals` are never read [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ImportedModule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_algorithm` and `get_class` are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ImportedModule { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_algorithm(&self, name: &str) -> Option<&Algorithm> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_class(&self, name: &str) -> Option<&ClassDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl FileImporter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_base_dir(base_dir: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn add_search_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn get_module(&self, alias: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn get_algorithm(&self, module_alias: &str, alg_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_class(&self, module_alias: &str, class_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn is_loaded(&self, alias: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn loaded_modules(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | type_id: &shared::types::TypeId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> interpreter/src/interpreter/evaluator.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env: &Environment [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | Stmt::Import { path, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | Stmt::Export { names } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `names: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_code` [INFO] [stdout] --> shared/src/codegen/rust_block.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn format_rustc_error(&self, stderr: &str, original_code: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:37 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inclusive` [INFO] [stdout] --> interpreter/src/interpreter/executor.rs:768:42 [INFO] [stdout] | [INFO] [stdout] 768 | Pattern::Range { start, end, inclusive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `inclusive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_2_HI` is never used [INFO] [stdout] --> shared/src/f128.rs:1162:15 [INFO] [stdout] | [INFO] [stdout] 1162 | const PI_2_HI: F128 = F128::FRAC_PI_2; // 113 бит, но мы используем только старшие 53 для первого шага [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `low_u128` is never used [INFO] [stdout] --> shared/src/f128.rs:1745:8 [INFO] [stdout] | [INFO] [stdout] 1725 | impl U512 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1745 | fn low_u128(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> shared/src/libraries/net/tcp.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct TcpReadHalf { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 386 | config: TcpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> shared/src/libraries/net/tcp.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct TcpWriteHalf { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 408 | config: TcpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> shared/src/libraries/net/tls.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct TlsConfigBuilder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 132 | kind: TlsConfigKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls` is never read [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | struct HttpConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | tls: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_config` is never read [INFO] [stdout] --> shared/src/libraries/net/http/server.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct HttpServerBuilder { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 343 | network_config: NetworkConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_https` is never used [INFO] [stdout] --> shared/src/libraries/net/http/client.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 342 | impl ParsedUrl { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn is_https(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fin` is never read [INFO] [stdout] --> shared/src/libraries/net/http/ws.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 480 | struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 481 | fin: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> shared/src/runtime/executor.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | struct ScheduledTask { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 520 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrigKind` is never used [INFO] [stdout] --> shared/src/math.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | enum OrigKind { F32, F64, F128, Other } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> shared/src/codegen/rust_block.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct RustBlockExecutor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file` is never used [INFO] [stdout] --> interpreter/src/cli.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Cli { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 80 | pub fn file(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_runtime() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn with_environment(mut env: Environment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn add_module_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn environment(&self) -> &Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn environment_mut(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn eval(&mut self, source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn set_global(&mut self, name: impl Into, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_variable(&self, name: &str) -> RuntimeResult<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn import_file(&mut self, path: &str, alias: Option<&str>) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn import_library(&mut self, name: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn import_library_as(&mut self, name: &str, alias: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn call_library_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn libraries(&self) -> &std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn runtime(&self) -> Option<&KumirRuntime> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn run(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn eval(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_and_get_output` is never used [INFO] [stdout] --> interpreter/src/interpreter/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn run_and_get_output(source: &str) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> interpreter/src/interpreter/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RuntimeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub kind: RuntimeErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DivisionByZero` and `Overflow` are never constructed [INFO] [stdout] --> interpreter/src/interpreter/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum RuntimeErrorKind { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 25 | /// Деление на ноль [INFO] [stdout] 26 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Переполнение числа [INFO] [stdout] 28 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_line`, `with_context`, and `division_by_zero` are never used [INFO] [stdout] --> interpreter/src/interpreter/error.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl RuntimeError { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_line(mut self, line: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_context(mut self, context: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn division_by_zero() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_const` is never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn define_const(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `algorithm_name` is never read [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct CallFrame { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 83 | /// Имя алгоритма [INFO] [stdout] 84 | pub algorithm_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/environment.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_program(program: &Program) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn define_global(&mut self, name: String, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn has_class(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_interface(&self, name: &str) -> RuntimeResult<&InterfaceDef> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn has_interface(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_trait(&self, name: &str) -> RuntimeResult<&TraitDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn has_trait(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn get_impl(&self, target_type: &str, trait_name: Option<&str>) -> Option<&ImplDef> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn type_implements_trait(&self, target_type: &str, trait_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn get_impl_method(&self, target_type: &str, trait_name: Option<&str>, method_name: &str) -> Option<&shared::types::Method> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn current_frame(&self) -> Option<&CallFrame> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn call_depth(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn set_max_call_depth(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn type_registry(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | pub fn register_native_function(&mut self, name: impl Into, handler: NativeFn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub fn has_native_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn call_native_function(&self, name: &str, args: &[Value]) -> RuntimeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_native_function(&self, name: &str) -> Option<&NativeFn> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn library_manager(&self) -> Option<&Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn kumir_runtime(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn task_executor(&self) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn import_versioned( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn call_function(&self, name: &str, args: &[Value]) -> RuntimeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn is_library_function(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_function_def(&self, name: &str) -> Option<&LibFunctionDef> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_constant(&self, lib_name: &str, const_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn loaded_libraries(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn resolve_library_name<'a>(&'a self, name: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `activate_environment` is never used [INFO] [stdout] --> interpreter/src/interpreter/library_bridge.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn activate_environment(project_root: &str) -> RuntimeResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `globals` are never read [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ImportedModule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_algorithm` and `get_class` are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ImportedModule { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_algorithm(&self, name: &str) -> Option<&Algorithm> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_class(&self, name: &str) -> Option<&ClassDef> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> interpreter/src/interpreter/file_importer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl FileImporter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_base_dir(base_dir: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn add_search_path(&mut self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn get_module(&self, alias: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn get_algorithm(&self, module_alias: &str, alg_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_class(&self, module_alias: &str, class_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn is_loaded(&self, alias: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn loaded_modules(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.28s [INFO] running `Command { std: "docker" "inspect" "aa6d2a4ba4ee3a9c9588bb2a7ee34bc432b3c47a8e862e8b78c5d80c5ef6d755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6d2a4ba4ee3a9c9588bb2a7ee34bc432b3c47a8e862e8b78c5d80c5ef6d755", kill_on_drop: false }` [INFO] [stdout] aa6d2a4ba4ee3a9c9588bb2a7ee34bc432b3c47a8e862e8b78c5d80c5ef6d755