[INFO] cloning repository https://github.com/gudnig/blink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gudnig/blink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudnig%2Fblink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudnig%2Fblink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01b2c48ad931f6c2589a5ce8deba7607b970fa3d [INFO] checking gudnig/blink against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudnig%2Fblink" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gudnig/blink [INFO] finished tweaking git repo https://github.com/gudnig/blink [INFO] tweaked toml for git repo https://github.com/gudnig/blink written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gudnig/blink on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gudnig/blink 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 848f1337d91582ab5115487b86bf3f7181b9d3cae0f331c71db39c896e89f9ab [INFO] running `Command { std: "docker" "start" "-a" "848f1337d91582ab5115487b86bf3f7181b9d3cae0f331c71db39c896e89f9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "848f1337d91582ab5115487b86bf3f7181b9d3cae0f331c71db39c896e89f9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848f1337d91582ab5115487b86bf3f7181b9d3cae0f331c71db39c896e89f9ab", kill_on_drop: false }` [INFO] [stdout] 848f1337d91582ab5115487b86bf3f7181b9d3cae0f331c71db39c896e89f9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 037c6631997e21ba40eb98fe584838bf2f56eac086432b8cac7bd9b52002cff4 [INFO] running `Command { std: "docker" "start" "-a" "037c6631997e21ba40eb98fe584838bf2f56eac086432b8cac7bd9b52002cff4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking blink_core v0.1.0 (/opt/rustwide/workdir/blink_core) [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/eval.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoroutineId` [INFO] [stdout] --> blink_core/src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::goroutine::{GoroutineId, TokioGoroutineScheduler}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `list_val_at` [INFO] [stdout] --> blink_core/src/native_functions.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | bool_val_at, list_val, list_val_at, map_val_at, nil, num_at, str_val_at, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseErrorType` [INFO] [stdout] --> blink_core/src/parser.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{BlinkError, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/repl.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, BlinkErrorType, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/value.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/future.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::{BlinkError, LispError}, value::BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> blink_core/src/async_context.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LispError` [INFO] [stdout] --> blink_core/src/goroutine.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{async_context::AsyncContext, error::LispError, eval::{EvalContext, EvalResult}, value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/eval.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoroutineId` [INFO] [stdout] --> blink_core/src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::goroutine::{GoroutineId, TokioGoroutineScheduler}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `list_val_at` [INFO] [stdout] --> blink_core/src/native_functions.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | bool_val_at, list_val, list_val_at, map_val_at, nil, num_at, str_val_at, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseErrorType` [INFO] [stdout] --> blink_core/src/parser.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{BlinkError, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/repl.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, BlinkErrorType, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/value.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/future.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::{BlinkError, LispError}, value::BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> blink_core/src/async_context.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LispError` [INFO] [stdout] --> blink_core/src/goroutine.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{async_context::AsyncContext, error::LispError, eval::{EvalContext, EvalResult}, value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_core/src/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut temp_reader_ctx = crate::parser::ReaderContext { reader_macros }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_core/src/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut temp_reader_ctx = crate::parser::ReaderContext { reader_macros }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking blink_sclient v0.1.0 (/opt/rustwide/workdir/blink_sclient) [INFO] [stdout] warning: unused variable: `exports` [INFO] [stdout] --> blink_core/src/eval.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | let exports = match unsafe { lib.get:: Vec>(b"blink_register_with_exports") } { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exports` [INFO] [stdout] --> blink_core/src/eval.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | let exports = match unsafe { lib.get:: Vec>(b"blink_register_with_exports") } { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> blink_core/src/eval.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | let (options, body_start) = match parse_mod_options(&args[name_index + 1..]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> blink_core/src/eval.rs:1171:37 [INFO] [stdout] | [INFO] [stdout] 1171 | let (source_type, source_value, options, _) = match parse_load_args(args) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> blink_core/src/eval.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | let (options, body_start) = match parse_mod_options(&args[name_index + 1..]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> blink_core/src/eval.rs:1171:37 [INFO] [stdout] | [INFO] [stdout] 1171 | let (source_type, source_value, options, _) = match parse_load_args(args) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> blink_core/src/parser.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | end = next_pos.clone(); // position of ']' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> blink_core/src/parser.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | end = next_pos.clone(); // position of ']' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | Value::FuncUserDefined { params, body, env } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | Value::Macro { params, body, env, is_variadic } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blink_future` [INFO] [stdout] --> blink_core/src/value.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | Value::Future(blink_future) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blink_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | Value::FuncUserDefined { params, body, env } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | Value::Macro { params, body, env, is_variadic } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blink_future` [INFO] [stdout] --> blink_core/src/value.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | Value::Future(blink_future) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blink_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ok` is never used [INFO] [stdout] --> blink_core/src/eval.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn ok(val: BlinkValue) -> EvalResult { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_special_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | fn is_special_option(key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_external_source` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1236:4 [INFO] [stdout] | [INFO] [stdout] 1236 | fn is_external_source(source: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] 1252 | fn get_string_option(options: &HashMap, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ok` is never used [INFO] [stdout] --> blink_core/src/eval.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn ok(val: BlinkValue) -> EvalResult { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_special_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | fn is_special_option(key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_external_source` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1236:4 [INFO] [stdout] | [INFO] [stdout] 1236 | fn is_external_source(source: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] 1252 | fn get_string_option(options: &HashMap, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_GOROUTINE_ID` is never used [INFO] [stdout] --> blink_core/src/async_context.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static NEXT_GOROUTINE_ID: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> blink_core/src/goroutine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokioGoroutineScheduler { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | runtime: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_GOROUTINE_ID` is never used [INFO] [stdout] --> blink_core/src/async_context.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static NEXT_GOROUTINE_ID: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> blink_core/src/goroutine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokioGoroutineScheduler { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | runtime: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blink_core/src/error.rs:108:92 [INFO] [stdout] | [INFO] [stdout] 108 | message: format!("Wrong number of arguments to '{}': expected {}, got {}", form.clone(), expected, got), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blink_core/src/error.rs:108:92 [INFO] [stdout] | [INFO] [stdout] 108 | message: format!("Wrong number of arguments to '{}': expected {}, got {}", form.clone(), expected, got), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / match &self.error_type { [INFO] [stdout] 171 | | BlinkErrorType::Tokenizer => write!(f, "Tokenizer error: {}", self.message), [INFO] [stdout] 172 | | BlinkErrorType::Parse(error_type) => { [INFO] [stdout] 173 | | match error_type { [INFO] [stdout] ... | [INFO] [stdout] 185 | | BlinkErrorType::UserDefined { data: _ } => write!(f, "User defined error: {}", self.message), [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = match &self.error_type { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | write!(f, " at {}", pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / match &self.error_type { [INFO] [stdout] 171 | | BlinkErrorType::Tokenizer => write!(f, "Tokenizer error: {}", self.message), [INFO] [stdout] 172 | | BlinkErrorType::Parse(error_type) => { [INFO] [stdout] 173 | | match error_type { [INFO] [stdout] ... | [INFO] [stdout] 185 | | BlinkErrorType::UserDefined { data: _ } => write!(f, "User defined error: {}", self.message), [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = match &self.error_type { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | write!(f, " at {}", pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking blink_repl v0.1.0 (/opt/rustwide/workdir/blink_repl) [INFO] [stderr] Checking blink_runtime v0.1.0 (/opt/rustwide/workdir/blink_runtime) [INFO] [stderr] Checking blink_socket v0.1.0 (/opt/rustwide/workdir/blink_socket) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> blink_runtime/src/lib.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | fn test_add(args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> blink_runtime/src/lib.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | fn test_multiply(args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/eval.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoroutineId` [INFO] [stdout] --> blink_core/src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::goroutine::{GoroutineId, TokioGoroutineScheduler}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `list_val_at` [INFO] [stdout] --> blink_core/src/native_functions.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | bool_val_at, list_val, list_val_at, map_val_at, nil, num_at, str_val_at, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseErrorType` [INFO] [stdout] --> blink_core/src/parser.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{BlinkError, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/repl.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, BlinkErrorType, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/value.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/future.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::{BlinkError, LispError}, value::BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> blink_core/src/async_context.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LispError` [INFO] [stdout] --> blink_core/src/goroutine.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{async_context::AsyncContext, error::LispError, eval::{EvalContext, EvalResult}, value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/eval.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoroutineId` [INFO] [stdout] --> blink_core/src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::goroutine::{GoroutineId, TokioGoroutineScheduler}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `list_val_at` [INFO] [stdout] --> blink_core/src/native_functions.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | bool_val_at, list_val, list_val_at, map_val_at, nil, num_at, str_val_at, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseErrorType` [INFO] [stdout] --> blink_core/src/parser.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{BlinkError, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/repl.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, BlinkErrorType, LispError, ParseErrorType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/value.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{BlinkError, LispError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispError` [INFO] [stdout] --> blink_core/src/future.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::{BlinkError, LispError}, value::BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> blink_core/src/async_context.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LispError` [INFO] [stdout] --> blink_core/src/goroutine.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{async_context::AsyncContext, error::LispError, eval::{EvalContext, EvalResult}, value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_core/src/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut temp_reader_ctx = crate::parser::ReaderContext { reader_macros }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlinkError` [INFO] [stdout] --> blink_socket/src/lsp.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use blink_core::{ error::{BlinkError, BlinkErrorType, ParseErrorType}, parser::{parse_all, ReaderContext}, value::SourcePos}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceRange` [INFO] [stdout] --> blink_socket/src/repl_message.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use blink_core::{telemetry::TelemetryEvent, value::{SourcePos, SourceRange}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future`, `io::BufRead`, and `pin::Pin` [INFO] [stdout] --> blink_socket/src/repl.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{future::Future, io::BufRead, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlinkValue` [INFO] [stdout] --> blink_socket/src/repl.rs:4:173 [INFO] [stdout] | [INFO] [stdout] 4 | ...reload_builtin_reader_macros, tokenize_at}, value::SourcePos, BlinkValue, Env}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `to_vec` [INFO] [stdout] --> blink_socket/src/repl.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use rmp_serde::{from_slice, to_vec, Deserializer, Serializer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourcePos` [INFO] [stdout] --> blink_socket/src/session.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use blink_core::{ eval::EvalContext, value::{SourcePos, SourceRange}, BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> blink_socket/src/helpers.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlinkError` [INFO] [stdout] --> blink_socket/src/lsp.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use blink_core::{ error::{BlinkError, BlinkErrorType, ParseErrorType}, parser::{parse_all, ReaderContext}, value::SourcePos}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceRange` [INFO] [stdout] --> blink_socket/src/repl_message.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use blink_core::{telemetry::TelemetryEvent, value::{SourcePos, SourceRange}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future`, `io::BufRead`, and `pin::Pin` [INFO] [stdout] --> blink_socket/src/repl.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{future::Future, io::BufRead, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlinkValue` [INFO] [stdout] --> blink_socket/src/repl.rs:4:173 [INFO] [stdout] | [INFO] [stdout] 4 | ...reload_builtin_reader_macros, tokenize_at}, value::SourcePos, BlinkValue, Env}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `to_vec` [INFO] [stdout] --> blink_socket/src/repl.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use rmp_serde::{from_slice, to_vec, Deserializer, Serializer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourcePos` [INFO] [stdout] --> blink_socket/src/session.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use blink_core::{ eval::EvalContext, value::{SourcePos, SourceRange}, BlinkValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> blink_socket/src/helpers.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_core/src/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut temp_reader_ctx = crate::parser::ReaderContext { reader_macros }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exports` [INFO] [stdout] --> blink_core/src/eval.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | let exports = match unsafe { lib.get:: Vec>(b"blink_register_with_exports") } { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> blink_core/src/eval.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | let (options, body_start) = match parse_mod_options(&args[name_index + 1..]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> blink_core/src/eval.rs:1171:37 [INFO] [stdout] | [INFO] [stdout] 1171 | let (source_type, source_value, options, _) = match parse_load_args(args) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> blink_socket/src/lsp.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let uri = text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> blink_socket/src/lsp.rs:772:49 [INFO] [stdout] | [INFO] [stdout] 772 | info.position.as_ref().map(|pos| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exports` [INFO] [stdout] --> blink_core/src/eval.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | let exports = match unsafe { lib.get:: Vec>(b"blink_register_with_exports") } { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> blink_socket/src/lsp.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let uri = text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> blink_socket/src/lsp.rs:772:49 [INFO] [stdout] | [INFO] [stdout] 772 | info.position.as_ref().map(|pos| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> blink_core/src/parser.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | end = next_pos.clone(); // position of ']' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> blink_core/src/eval.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | let (options, body_start) = match parse_mod_options(&args[name_index + 1..]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> blink_core/src/eval.rs:1171:37 [INFO] [stdout] | [INFO] [stdout] 1171 | let (source_type, source_value, options, _) = match parse_load_args(args) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | Value::FuncUserDefined { params, body, env } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | Value::Macro { params, body, env, is_variadic } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blink_future` [INFO] [stdout] --> blink_core/src/value.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | Value::Future(blink_future) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blink_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> blink_core/src/parser.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | end = next_pos.clone(); // position of ']' [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `InvalidString` are never constructed [INFO] [stdout] --> blink_core/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 16 | UnclosedDelimiter(String), [INFO] [stdout] 17 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | InvalidNumber(String), [INFO] [stdout] 19 | InvalidString(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserDefined` is never constructed [INFO] [stdout] --> blink_core/src/error.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum BlinkErrorType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | UserDefined { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlinkErrorType` 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 functions `parse_unexpected_token` and `parse_invalid_string` are never used [INFO] [stdout] --> blink_core/src/error.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl BlinkError { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn parse_unexpected_token(token: &str, pos: SourceRange) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn parse_invalid_string(message: &str, pos: SourceRange) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> blink_core/src/error.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub enum LispError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 130 | TokenizerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | EvalError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | ArityMismatch { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | UndefinedSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | ModuleError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | UserDefined { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LispError` 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: function `ok` is never used [INFO] [stdout] --> blink_core/src/eval.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn ok(val: BlinkValue) -> EvalResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_special_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | fn is_special_option(key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_external_source` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1236:4 [INFO] [stdout] | [INFO] [stdout] 1236 | fn is_external_source(source: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] 1252 | fn get_string_option(options: &HashMap, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_from_token` is never used [INFO] [stdout] --> blink_core/src/value.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn num_from_token(token: &str, start: SourcePos) -> BlinkValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlinkPackage`, `Cargo`, `Git`, `Url`, `BlinkDll`, and `Wasm` are never constructed [INFO] [stdout] --> blink_core/src/module.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ModuleSource { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BlinkPackage(String), // From package manager [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | Cargo(String), // Rust crate to compile [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Git { repo: String, reference: Option }, // Git repository [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Url(String), // Direct URL [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | BlinkDll(PathBuf), // Compiled Blink module [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Wasm(PathBuf), // WebAssembly module [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ready` is never read [INFO] [stdout] --> blink_core/src/module.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_module_file` and `modules_in_file` are never used [INFO] [stdout] --> blink_core/src/module.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl ModuleRegistry { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn find_module_file(&self, module_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn modules_in_file(&self, file: &PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RustFuture` is never constructed [INFO] [stdout] --> blink_core/src/future.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum FutureState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 11 | Pending { waker: Option }, [INFO] [stdout] 12 | RustFuture { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_rust_future` and `is_completed` are never used [INFO] [stdout] --> blink_core/src/future.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl BlinkFuture { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_rust_future(future: Pin + Send>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_GOROUTINE_ID` is never used [INFO] [stdout] --> blink_core/src/async_context.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static NEXT_GOROUTINE_ID: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_blocking`, `is_goroutine`, `goroutine_id`, and `context_name` are never used [INFO] [stdout] --> blink_core/src/async_context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AsyncContext { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn is_blocking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_goroutine(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn goroutine_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn context_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> blink_core/src/goroutine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokioGoroutineScheduler { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | runtime: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `join` and `abort` are never used [INFO] [stdout] --> blink_core/src/goroutine.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl TokioGoroutineScheduler { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn join(&self, id: GoroutineId) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn abort(&self, id: GoroutineId) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> blink_core/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | repl::start_repl(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blink_core/src/error.rs:108:92 [INFO] [stdout] | [INFO] [stdout] 108 | message: format!("Wrong number of arguments to '{}': expected {}, got {}", form.clone(), expected, got), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / match &self.error_type { [INFO] [stdout] 171 | | BlinkErrorType::Tokenizer => write!(f, "Tokenizer error: {}", self.message), [INFO] [stdout] 172 | | BlinkErrorType::Parse(error_type) => { [INFO] [stdout] 173 | | match error_type { [INFO] [stdout] ... | [INFO] [stdout] 185 | | BlinkErrorType::UserDefined { data: _ } => write!(f, "User defined error: {}", self.message), [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = match &self.error_type { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | write!(f, " at {}", pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | Value::FuncUserDefined { params, body, env } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> blink_core/src/value.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | Value::Macro { params, body, env, is_variadic } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blink_future` [INFO] [stdout] --> blink_core/src/value.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | Value::Future(blink_future) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blink_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `InvalidString` are never constructed [INFO] [stdout] --> blink_core/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 16 | UnclosedDelimiter(String), [INFO] [stdout] 17 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | InvalidNumber(String), [INFO] [stdout] 19 | InvalidString(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserDefined` is never constructed [INFO] [stdout] --> blink_core/src/error.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum BlinkErrorType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | UserDefined { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlinkErrorType` 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 functions `parse_unexpected_token` and `parse_invalid_string` are never used [INFO] [stdout] --> blink_core/src/error.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl BlinkError { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn parse_unexpected_token(token: &str, pos: SourceRange) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn parse_invalid_string(message: &str, pos: SourceRange) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> blink_core/src/error.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub enum LispError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 130 | TokenizerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | EvalError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | ArityMismatch { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | UndefinedSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | ModuleError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | UserDefined { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LispError` 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: function `ok` is never used [INFO] [stdout] --> blink_core/src/eval.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn ok(val: BlinkValue) -> EvalResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_special_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | fn is_special_option(key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_external_source` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1236:4 [INFO] [stdout] | [INFO] [stdout] 1236 | fn is_external_source(source: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_option` is never used [INFO] [stdout] --> blink_core/src/eval.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] 1252 | fn get_string_option(options: &HashMap, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_from_token` is never used [INFO] [stdout] --> blink_core/src/value.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn num_from_token(token: &str, start: SourcePos) -> BlinkValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlinkPackage`, `Cargo`, `Git`, `Url`, `BlinkDll`, and `Wasm` are never constructed [INFO] [stdout] --> blink_core/src/module.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ModuleSource { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BlinkPackage(String), // From package manager [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | Cargo(String), // Rust crate to compile [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Git { repo: String, reference: Option }, // Git repository [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Url(String), // Direct URL [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | BlinkDll(PathBuf), // Compiled Blink module [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Wasm(PathBuf), // WebAssembly module [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ready` is never read [INFO] [stdout] --> blink_core/src/module.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_module_file` and `modules_in_file` are never used [INFO] [stdout] --> blink_core/src/module.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl ModuleRegistry { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn find_module_file(&self, module_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn modules_in_file(&self, file: &PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RustFuture` is never constructed [INFO] [stdout] --> blink_core/src/future.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum FutureState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 11 | Pending { waker: Option }, [INFO] [stdout] 12 | RustFuture { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_rust_future` and `is_completed` are never used [INFO] [stdout] --> blink_core/src/future.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl BlinkFuture { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_rust_future(future: Pin + Send>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NEXT_GOROUTINE_ID` is never used [INFO] [stdout] --> blink_core/src/async_context.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static NEXT_GOROUTINE_ID: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_blocking`, `is_goroutine`, `goroutine_id`, and `context_name` are never used [INFO] [stdout] --> blink_core/src/async_context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AsyncContext { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn is_blocking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_goroutine(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn goroutine_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn context_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> blink_core/src/goroutine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokioGoroutineScheduler { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | runtime: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `join` and `abort` are never used [INFO] [stdout] --> blink_core/src/goroutine.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl TokioGoroutineScheduler { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn join(&self, id: GoroutineId) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn abort(&self, id: GoroutineId) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> blink_core/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | repl::start_repl(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blink_core/src/error.rs:108:92 [INFO] [stdout] | [INFO] [stdout] 108 | message: format!("Wrong number of arguments to '{}': expected {}, got {}", form.clone(), expected, got), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / match &self.error_type { [INFO] [stdout] 171 | | BlinkErrorType::Tokenizer => write!(f, "Tokenizer error: {}", self.message), [INFO] [stdout] 172 | | BlinkErrorType::Parse(error_type) => { [INFO] [stdout] 173 | | match error_type { [INFO] [stdout] ... | [INFO] [stdout] 185 | | BlinkErrorType::UserDefined { data: _ } => write!(f, "User defined error: {}", self.message), [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = match &self.error_type { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> blink_core/src/error.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | write!(f, " at {}", pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_socket/src/lsp.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut reader_ctx = match &self.session { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> blink_socket/src/lsp.rs:1033:39 [INFO] [stdout] | [INFO] [stdout] 1033 | BlinkErrorType::UserDefined { data } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> blink_socket/src/lsp.rs:1003:61 [INFO] [stdout] | [INFO] [stdout] 1003 | fn error_to_diagnostic(err: &blink_core::error::BlinkError, uri: &str) -> Diagnostic { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> blink_socket/src/lsp.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut reader_ctx = match &self.session { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> blink_socket/src/lsp.rs:1033:39 [INFO] [stdout] | [INFO] [stdout] 1033 | BlinkErrorType::UserDefined { data } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> blink_socket/src/lsp.rs:1003:61 [INFO] [stdout] | [INFO] [stdout] 1003 | fn error_to_diagnostic(err: &blink_core::error::BlinkError, uri: &str) -> Diagnostic { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_special_forms` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:960:4 [INFO] [stdout] | [INFO] [stdout] 960 | fn get_special_forms() -> Vec<(&'static str, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_builtin_functions` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:978:4 [INFO] [stdout] | [INFO] [stdout] 978 | fn get_builtin_functions() -> Vec<(&'static str, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_range_from_position` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:1048:4 [INFO] [stdout] | [INFO] [stdout] 1048 | fn create_range_from_position(pos: &SourcePos, length: usize) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentSymbol` is never constructed [INFO] [stdout] --> blink_socket/src/lsp_messages.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct DocumentSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientMessage` is never used [INFO] [stdout] --> blink_socket/src/session.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ClientMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientConnection` is never constructed [INFO] [stdout] --> blink_socket/src/session.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ClientConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `defined_in` is never read [INFO] [stdout] --> blink_socket/src/session.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SymbolInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | pub kind: SymbolKind, // e.g., Function, Macro, Var [INFO] [stdout] 42 | pub defined_in: SymbolSource, // Repl, File(uri), Import [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable` and `Macro` are never constructed [INFO] [stdout] --> blink_socket/src/session.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum SymbolKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | Function, [INFO] [stdout] 56 | Macro, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> blink_socket/src/session.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | File(String), // URI [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - File(String), // URI [INFO] [stdout] 86 + File(()), // URI [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Imported` is never constructed [INFO] [stdout] --> blink_socket/src/session.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum SymbolSource { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 87 | Imported(String), // module name [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connected_at` and `last_activity` are never read [INFO] [stdout] --> blink_socket/src/session.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | pub connected_at: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub last_activity: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `saved_repl_sessions` is never read [INFO] [stdout] --> blink_socket/src/session_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SessionManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | sessions: RwLock>>, [INFO] [stdout] 11 | saved_repl_sessions: RwLock>>>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `list_sessions`, `persist`, and `get_persisted` are never used [INFO] [stdout] --> blink_socket/src/session_manager.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn remove(&self, session_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn list_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn persist(&self, id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_persisted(&self, id: &str) -> Option>>>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_special_forms` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:960:4 [INFO] [stdout] | [INFO] [stdout] 960 | fn get_special_forms() -> Vec<(&'static str, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_builtin_functions` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:978:4 [INFO] [stdout] | [INFO] [stdout] 978 | fn get_builtin_functions() -> Vec<(&'static str, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_range_from_position` is never used [INFO] [stdout] --> blink_socket/src/lsp.rs:1048:4 [INFO] [stdout] | [INFO] [stdout] 1048 | fn create_range_from_position(pos: &SourcePos, length: usize) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentSymbol` is never constructed [INFO] [stdout] --> blink_socket/src/lsp_messages.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct DocumentSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientMessage` is never used [INFO] [stdout] --> blink_socket/src/session.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ClientMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientConnection` is never constructed [INFO] [stdout] --> blink_socket/src/session.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ClientConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `defined_in` is never read [INFO] [stdout] --> blink_socket/src/session.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SymbolInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | pub kind: SymbolKind, // e.g., Function, Macro, Var [INFO] [stdout] 42 | pub defined_in: SymbolSource, // Repl, File(uri), Import [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable` and `Macro` are never constructed [INFO] [stdout] --> blink_socket/src/session.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum SymbolKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | Function, [INFO] [stdout] 56 | Macro, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> blink_socket/src/session.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | File(String), // URI [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - File(String), // URI [INFO] [stdout] 86 + File(()), // URI [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Imported` is never constructed [INFO] [stdout] --> blink_socket/src/session.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum SymbolSource { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 87 | Imported(String), // module name [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connected_at` and `last_activity` are never read [INFO] [stdout] --> blink_socket/src/session.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | pub connected_at: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub last_activity: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `saved_repl_sessions` is never read [INFO] [stdout] --> blink_socket/src/session_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SessionManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | sessions: RwLock>>, [INFO] [stdout] 11 | saved_repl_sessions: RwLock>>>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `list_sessions`, `persist`, and `get_persisted` are never used [INFO] [stdout] --> blink_socket/src/session_manager.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn remove(&self, session_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn list_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn persist(&self, id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_persisted(&self, id: &str) -> Option>>>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.77s [INFO] running `Command { std: "docker" "inspect" "037c6631997e21ba40eb98fe584838bf2f56eac086432b8cac7bd9b52002cff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037c6631997e21ba40eb98fe584838bf2f56eac086432b8cac7bd9b52002cff4", kill_on_drop: false }` [INFO] [stdout] 037c6631997e21ba40eb98fe584838bf2f56eac086432b8cac7bd9b52002cff4