[INFO] cloning repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lfordyce/instructions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flfordyce%2Finstructions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flfordyce%2Finstructions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 170d4b21b57fed003b417a6dd2d72cceb0e513a7 [INFO] checking lfordyce/instructions against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flfordyce%2Finstructions" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lfordyce/instructions on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lfordyce/instructions [INFO] finished tweaking git repo https://github.com/lfordyce/instructions [INFO] tweaked toml for git repo https://github.com/lfordyce/instructions written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lfordyce/instructions 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4ea9734eb936a188b3f3e5c87ca75e89a57e3dbfb0126da28da2756ae5495bc [INFO] running `Command { std: "docker" "start" "-a" "d4ea9734eb936a188b3f3e5c87ca75e89a57e3dbfb0126da28da2756ae5495bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ea9734eb936a188b3f3e5c87ca75e89a57e3dbfb0126da28da2756ae5495bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ea9734eb936a188b3f3e5c87ca75e89a57e3dbfb0126da28da2756ae5495bc", kill_on_drop: false }` [INFO] [stdout] d4ea9734eb936a188b3f3e5c87ca75e89a57e3dbfb0126da28da2756ae5495bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce8bf9e3ea53591cb3e7e2f28dc221802114e74eaba47d091b368fb7e4bb90e0 [INFO] running `Command { std: "docker" "start" "-a" "ce8bf9e3ea53591cb3e7e2f28dc221802114e74eaba47d091b368fb7e4bb90e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking socket v0.1.0 (/opt/rustwide/workdir/socket) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking instructions-core v0.1.0 (/opt/rustwide/workdir/instructions-core) [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::TryAcquireError` [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::TryAcquireError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if (depth == 30usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (depth == 30usize) { [INFO] [stdout] 121 + if depth == 30usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Output` [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, and `Mutex` [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::mpsc::{channel, Receiver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BoolTrait` [INFO] [stdout] --> instructions-core/src/patterns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::BoolTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::iter` [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> instructions-core/src/puzzle/s0020_valid_parentheses.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> instructions-core/src/queuer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::{ReadHalf, WriteHalf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::TryAcquireError` [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::TryAcquireError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if (depth == 30usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (depth == 30usize) { [INFO] [stdout] 121 + if depth == 30usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Output` [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, and `Mutex` [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, and `Mutex` [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BoolTrait` [INFO] [stdout] --> instructions-core/src/patterns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::BoolTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::iter` [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> instructions-core/src/puzzle/s0020_valid_parentheses.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::{ReadHalf, WriteHalf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | fn get(&self, index: usize) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn get(&self, index: usize) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_body` [INFO] [stdout] --> instructions-core/src/abstractions.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | fn deserialize(raw_body: &'a [u8]) -> Self::Out { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foos` [INFO] [stdout] --> instructions-core/src/abstractions.rs:486:30 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn accept_foos(foos: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_foos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_data` [INFO] [stdout] --> instructions-core/src/abstractions.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let internal_data = data.borrow(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | fn index(&self, index: T) -> &Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | for (i, connection) in node.exits.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let l = search(nodes, start_node, *connection, path.clone(), depth + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut node = nodes[current_node].clone(); [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: `r` [INFO] [stdout] --> instructions-core/src/patterns.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let r = i.map(|i| (&s[0..i], &s[i + 1..])); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> instructions-core/src/patterns.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> instructions-core/src/patterns.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | for i in 0..queue.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/puzzle/s0048_rotate_image.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut matrix = matrix; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | fn get(&self, index: usize) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn get(&self, index: usize) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_body` [INFO] [stdout] --> instructions-core/src/abstractions.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | fn deserialize(raw_body: &'a [u8]) -> Self::Out { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | fn collide(&self, ray_in: &Ray, hit: &Hit) -> Ray { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foos` [INFO] [stdout] --> instructions-core/src/abstractions.rs:486:30 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn accept_foos(foos: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_foos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_data` [INFO] [stdout] --> instructions-core/src/abstractions.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let internal_data = data.borrow(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> instructions-core/src/abstractions.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | fn index(&self, index: T) -> &Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reducer` [INFO] [stdout] --> instructions-core/src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn evaluate(self, reducer: Arc) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reducer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> instructions-core/src/lib.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let key = key.into_key(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `event_ordering::Item<'_>` is more private than the item `event_ordering::parse` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `event_ordering::parse` is reachable at visibility `pub(puzzle)` [INFO] [stdout] | [INFO] [stdout] note: but type `event_ordering::Item<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | enum Item<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | for (i, connection) in node.exits.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Receiver` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | trait Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let l = search(nodes, start_node, *connection, path.clone(), depth + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Signal` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | trait Signal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | async fn test(bt: BT) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `my_handler` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 210 | impl Service { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 211 | async fn my_handler(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> instructions-core/src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 239 | state: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_key` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:437:8 [INFO] [stdout] | [INFO] [stdout] 434 | trait IntoKey { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 437 | fn into_key(self) -> Self::Key; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_fn` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | fn key_fn(key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `producer` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Car<'p> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 228 | producer: &'p CarFactory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Endpoint` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | trait Endpoint: for<'a> DeserializeBody<'a> {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeserializeBody` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | trait DeserializeBody<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_ep` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_ep<'a, EP, F>(func: F) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyEndpoint` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | struct MyEndpoint; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 273 | struct MyEndpointBody<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 274 | pub string: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorDisplay` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | struct ColorDisplay { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ifc` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | struct ColorDisplayDataIter<'a, Ifc> { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 289 | ifc: &'a mut Ifc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasReadDataIter` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:298:7 [INFO] [stdout] | [INFO] [stdout] 298 | trait HasReadDataIter<'a, MutRef = &'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut node = nodes[current_node].clone(); [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: type alias `ReadDataIter` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:301:6 [INFO] [stdout] | [INFO] [stdout] 301 | type ReadDataIter<'a, Self_> = >::Iter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadData` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | trait ReadData: for<'a> HasReadDataIter<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Holder` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:597:8 [INFO] [stdout] | [INFO] [stdout] 597 | struct Holder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FIsAFunction` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:602:7 [INFO] [stdout] | [INFO] [stdout] 602 | trait FIsAFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> instructions-core/src/currying.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_name` is never used [INFO] [stdout] --> instructions-core/src/currying.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_by_name(name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_name_cur` is never used [INFO] [stdout] --> instructions-core/src/currying.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn find_by_name_cur(conn: String) -> impl FnOnce(String) -> BoxFuture<'static, Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> instructions-core/src/currying.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn insert(item: Item) -> () { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_item` is never used [INFO] [stdout] --> instructions-core/src/currying.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn create_item( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieNode` is never constructed [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TrieNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_root`, `check_value`, and `insert_value` are never used [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TrieNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(c: char, is_final: bool) -> TrieNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new_root() -> TrieNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn check_value(self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn insert_value(&mut self, c: char, is_final: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut nodes = generate_nodes(20).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trie` is never constructed [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Trie { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `insert`, and `find` are never used [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Trie { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn create() -> Trie { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn insert(&mut self, string_val: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn find(&mut self, string_val: String) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Edge { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 18 | fn new(node_1: usize, node_2: usize) -> Edge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `len` are never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 40 | fn new() -> Graph { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn insert(&mut self, edge: Edge) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_random_pair` is never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn remove_random_pair(v: &mut Vec) -> (T, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nodes` is never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | type Nodes = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_nodes` is never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn generate_nodes(size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> instructions-core/src/data_structures/graph.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictionaryCell` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DictionaryCell { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictionaryNodeItem` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct DictionaryNodeItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dictionary` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Dictionary { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_capacity` are never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Dictionary { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put`, `get`, and `delete` are never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Dictionary { [INFO] [stdout] | ---------------------------------------------------- methods in this implementation [INFO] [stdout] 48 | fn put(&mut self, key: &T, value: U) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn get(&mut self, key: &T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn delete(&mut self, key: &T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/dictionary.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | struct MyCoolType(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Complex` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | struct Complex<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl<'a> Complex<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 117 | fn new>>(n: i32, s: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigKey` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | enum ConfigKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ref` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl ConfigKey { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Binary` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | enum ConfigKeyRef<'a> { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 139 | Text(&'a str), [INFO] [stdout] 140 | Binary(&'a [u8]), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `insert`, `remove`, and `iter` are never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub trait MapLike { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 194 | fn get(&self, k: &K) -> Option<&V>; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | fn insert(&mut self, k: K, v: V); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 196 | fn remove(&mut self, k: &K); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 197 | [INFO] [stdout] 198 | fn iter<'a>(&'a self) -> Self::It<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_around_with_map` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn play_around_with_map>(m: &mut M) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultTrait` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait ResultTrait {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryTrait` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait FactoryTrait { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryCreatorHasFactory` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait FactoryCreatorHasFactory<'a, Result, _Constraint = &'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FactoryCreatorFactory` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type FactoryCreatorFactory<'a, Self_> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryCreator` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait FactoryCreator: Default + for<'a> FactoryCreatorHasFactory<'a, Self::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/factory.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | struct FactoryA<'a>(&'a StructA); [INFO] [stdout] | -------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn spawn() -> T::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Phone` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | trait Phone<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `my_str` is never read [INFO] [stdout] --> instructions-core/src/factory.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct IPhone<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 59 | my_str: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Factory` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | trait Factory<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IPhoneFactory` is never constructed [INFO] [stdout] --> instructions-core/src/factory.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct IPhoneFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_phone` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn call_phone Factory<'a>>(f: F) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Gate` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gates` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn translate_gates<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gate` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn translate_gate<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_gates` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn flatten_gates<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn flatten<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `manufacture` is never used [INFO] [stdout] --> instructions-core/src/gats.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Factory { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn manufacture<'a>(&'a self, state: &'a State) -> Self::Analysis<'a>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `config` are never read [INFO] [stdout] --> instructions-core/src/gats.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analysis<'a, Config> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | state: &'a State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | config: &'a Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Analysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_analysis` is never used [INFO] [stdout] --> instructions-core/src/gats.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run_analysis(code: &[u8], f: F) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/health.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | struct Health(f32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Health` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> instructions-core/src/health.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | health: RefCell, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetrieveComponent` is never used [INFO] [stdout] --> instructions-core/src/health.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | trait RetrieveComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SystemArgument` is never used [INFO] [stdout] --> instructions-core/src/health.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | trait SystemArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> instructions-core/src/health.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | trait System { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Callback` is never constructed [INFO] [stdout] --> instructions-core/src/health.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct Callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_health` is never used [INFO] [stdout] --> instructions-core/src/health.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn print_health(health: &Health) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/health_alt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | struct Health(f32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Health` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> instructions-core/src/health_alt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | health: RefCell, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetrieveComponent` is never used [INFO] [stdout] --> instructions-core/src/health_alt.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait RetrieveComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SystemArgument` is never used [INFO] [stdout] --> instructions-core/src/health_alt.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | trait SystemArgument: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> instructions-core/src/health_alt.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait System { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Callback` is never constructed [INFO] [stdout] --> instructions-core/src/health_alt.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_health` is never used [INFO] [stdout] --> instructions-core/src/health_alt.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn increase_health(health: &mut Health) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_health` is never used [INFO] [stdout] --> instructions-core/src/health_alt.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn print_health(health: &Health) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsyncClosure` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | trait AsyncClosure<'a, Argument, Output> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_async_closure` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | async fn with_async_closure(c: C) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_target` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | async fn function_target(arg: &u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 270 | trait WhatIWant<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 275 | fn read(&'a mut self) -> Self::Future; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_read` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 280 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 281 | async fn do_read(&mut self) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataSource` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | trait DataSource<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OddOrEven` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | struct OddOrEven { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | trait Object {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderBox` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct HolderBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl<'lifetime> HolderBox<'lifetime> { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 351 | fn add_object(self: &'_ mut Self, object: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderNoBox` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | struct HolderNoBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl<'lifetime> HolderNoBox<'lifetime> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 361 | fn add_object(self: &'_ mut Self, object: &'lifetime T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DBConnection` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | struct DBConnection; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DBError` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | struct DBError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 370 | impl DBConnection { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 371 | async fn query(&'_ mut self, key: &'_ str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | async fn transaction( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_transaction` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:399:10 [INFO] [stdout] | [INFO] [stdout] 399 | async fn test_transaction() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | async fn foo( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Services` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct Services { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl Services { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 434 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Svc` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | struct Svc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 445 | / impl Svc [INFO] [stdout] 446 | | where [INFO] [stdout] 447 | | F: FnOnce(Vec) -> G, [INFO] [stdout] 448 | | G: Future>, [INFO] [stdout] | |___________________________________- associated function in this implementation [INFO] [stdout] 449 | { [INFO] [stdout] 450 | fn new(f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Workaround` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 454 | trait Workaround { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NumberOperation` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:474:6 [INFO] [stdout] | [INFO] [stdout] 474 | enum NumberOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `service` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:479:4 [INFO] [stdout] | [INFO] [stdout] 479 | fn service(op: NumberOperation) -> impl Workaround { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | struct Pager [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stream` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 498 | / impl Pager [INFO] [stdout] 499 | | where [INFO] [stdout] 500 | | // F: Future + 'static, // with static the ('a) lifetime can be removed [INFO] [stdout] 501 | | F: Future, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] 502 | { [INFO] [stdout] 503 | fn stream<'a>(&'a self) -> Pin + 'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_items` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn print_items(mut iter: I) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit_message` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 568 | impl Consumer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 569 | fn commit_message(&self, msg: &BorrowedMessage<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `consumer` are never read [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 575 | struct BorrowedMessage<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 576 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 577 | consumer: &'a Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BorrowedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KafkaEventSource` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:580:8 [INFO] [stdout] | [INFO] [stdout] 580 | struct KafkaEventSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 584 | impl KafkaEventSource { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 585 | fn new(consumer: Consumer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasMessageType` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:595:7 [INFO] [stdout] | [INFO] [stdout] 595 | trait HasMessageType<'a, _Outlives = &'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Message` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:598:6 [INFO] [stdout] | [INFO] [stdout] 598 | type Message<'a, This> = >::Message; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EventSource` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:600:7 [INFO] [stdout] | [INFO] [stdout] 600 | trait EventSource: for<'a> HasMessageType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynFutureWithLt` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DynFutureWithLt<'max, 'min, O> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'max, 'min, O> DynFutureWithLt<'max, 'min, O> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 15 | fn new(future: Pin>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_closure` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn call_closure<'max, C>(mut closure: C) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Something` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait Something { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 39 | / impl Executor [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: Something, [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] 42 | { [INFO] [stdout] 43 | pub async fn run<'a>(&'a self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_other_closure` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn call_other_closure<'max, C>(mut closure: C) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OtherSomething` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | trait OtherSomething { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherExecutor` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct OtherExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 80 | / impl OtherExecutor [INFO] [stdout] 81 | | where [INFO] [stdout] 82 | | I: OtherSomething, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] 83 | { [INFO] [stdout] 84 | pub async fn run<'a>(&'a self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Getter` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | trait Getter<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Data` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | trait Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyData` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | struct MyData<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_data` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn create_data<'a>(num: &'a mut u8) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampValue` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | struct TimestampValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `last_updated`, `get`, and `set` are never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl TimestampValue { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 142 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn last_updated(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn get(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn set(&mut self, v: V) -> V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `my_field` and `set_my_field` are never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl MyStruct { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | fn my_field(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn set_my_field(&mut self, my_field: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowProcess` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct WorkflowProcess { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process` is never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 180 | impl WorkflowProcess { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 181 | async fn process(&mut self, callback: impl Fn(T)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReferencePacket<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontLoader` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct FontLoader(String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Font` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct Font(*const String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl FontLoader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 165 | fn load(&self) -> Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Window` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct Window; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Phi` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct Phi<'window> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_the_thing` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl<'window> Phi<'window> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 179 | fn do_the_thing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `algorithm` and `search_space` are never read [INFO] [stdout] --> instructions-core/src/patterns.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 208 | struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 209 | algorithm: A, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 210 | search_space: S, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Analysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 213 | / impl Analysis [INFO] [stdout] 214 | | where [INFO] [stdout] 215 | | A: Algorithm, [INFO] [stdout] 216 | | S: SearchSpace, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] 217 | { [INFO] [stdout] 218 | fn solve(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Algorithm` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | trait Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchSpace` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 227 | trait SearchSpace { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct Efficient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 233 | param: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Efficient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct SlightlySlower { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 244 | param: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlightlySlower` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 254 | struct SquareGrid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 255 | param: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareGrid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> instructions-core/src/patterns.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 266 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | age: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UniquePermutations` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | enum UniquePermutations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `next_level` are never used [INFO] [stdout] --> instructions-core/src/patterns.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 319 | impl UniquePermutations { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 320 | fn new(elements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn next_level( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpose` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn transpose(m: [[T; C]; R]) -> [[T; R]; C] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> instructions-core/src/patterns.rs:404:4 [INFO] [stdout] | [INFO] [stdout] 404 | fn f<'a>(s: impl Into>) -> Cow<'a, str> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deepest_leaves_sum` is never used [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 6 | pub fn deepest_leaves_sum(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl TreeNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 40 | #[inline] [INFO] [stdout] 41 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ITEMS: &'static str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INPUT: &str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Transaction<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | enum Event<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventData` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct EventData<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | Tx(&'a str), [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 80 | Tx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | Start(u64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 81 | Start(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | End(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 82 | End(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieNode` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct TrieNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrieNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | fn new(ch_op: Option, word_op: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trie` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Trie { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `find`, and `moving` are never used [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Trie { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 24 | fn new(ch_op: Option, word_op: Option) -> Trie { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn insert(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn find(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn moving(t: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix_trie` is never used [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn longest_common_prefix_trie(words: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> instructions-core/src/puzzle/max_profit.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_remove_to_make_valid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_remove_to_make_valid(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `min_remove_to_make_valid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn min_remove_to_make_valid(mut s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_remove_to_make_valid_zero_alloc` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn min_remove_to_make_valid_zero_alloc(mut s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_restaurant` is never used [INFO] [stdout] --> instructions-core/src/puzzle/minimum_index_sum_two_lists.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_restaurant(list1: Vec, list2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_islands` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn num_islands(mut grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_grid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn dfs_grid(grid: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_islands_dp` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn num_islands_dp(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bfs_search` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn bfs_search(grid: &Vec>, visited: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_dp_grid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn dfs_dp_grid(grid: &Vec>, mut visited: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListNode` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/reverse_list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ListNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_list` is never used [INFO] [stdout] --> instructions-core/src/puzzle/reverse_list.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn reverse_list(mut right: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/rotate_arrays.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rotate` is never used [INFO] [stdout] --> instructions-core/src/puzzle/rotate_arrays.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 42 | pub fn rotate(nums: &mut Vec, k: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate` is never used [INFO] [stdout] --> instructions-core/src/puzzle/rotate_arrays.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn rotate(nums: &mut Vec, k: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_left` is never used [INFO] [stdout] --> instructions-core/src/puzzle/rotate_arrays.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn rotate_left(nums: &mut Vec, k: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0001_two_sum.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/s0013_roman_to_integer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `roman_to_int` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0013_roman_to_integer.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 65 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn longest_common_prefix(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix_alt` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn longest_common_prefix_alt(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix_again` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn longest_common_prefix_again(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHA` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const ALPHA: [&'static str; 10] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `letter_combinations` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn letter_combinations(digits: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn dfs(digits: &str, comb: &mut String, ret: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0020_valid_parentheses.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_valid(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/s0048_rotate_image.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rotate` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0048_rotate_image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 32 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0048_rotate_image.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/s0064_minimum_path_sum.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `min_path_sum` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0064_minimum_path_sum.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 30 | pub fn min_path_sum(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_colors` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0075_sort_colors.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/s0079_word_search.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `exist` and `dfs` are never used [INFO] [stdout] --> instructions-core/src/puzzle/s0079_word_search.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 33 | pub fn exist(board: Vec>, word: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_board` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0539_minesweeper.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn update_board(mut board: Vec>, click: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bomb_num` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0539_minesweeper.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_bomb_num(board: &Vec>, pos: (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DXY` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DXY: [(i32, i32); 4] = [(1, 0), (-1, 0), (0, 1), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_area_of_islands` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn max_area_of_islands(mut grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `island_area` is never used [INFO] [stdout] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn island_area(grid: &mut Vec>, pos: (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_sudoku` is never used [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> instructions-core/src/queuer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumeParams` is never constructed [INFO] [stdout] --> instructions-core/src/queuer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ConsumeParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumeParams` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payload` is never constructed [INFO] [stdout] --> instructions-core/src/queuer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payload` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queuer` is never constructed [INFO] [stdout] --> instructions-core/src/queuer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Queuer {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `consume` are never used [INFO] [stdout] --> instructions-core/src/queuer.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Queuer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | async fn consume( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Syncer` is never constructed [INFO] [stdout] --> instructions-core/src/queuer.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Syncer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `perform_actions`, and `util_function` are never used [INFO] [stdout] --> instructions-core/src/queuer.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Syncer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 58 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn perform_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn util_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Hit<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | object: &'a dyn Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal`, `collide`, and `albedo` are never used [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Hit<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn normal(&self) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn collide(&self, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn albedo(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `project`, and `rotate` are never used [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn project(&self, onto: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn rotate(&self, phi: f32, theta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketBuffer` is never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type PacketBuffer = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UDPConnection` is never constructed [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UDPConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UDPConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UDPRecvTask` is never constructed [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct UDPRecvTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `pop_packet` are never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl UDPConnection { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 29 | pub async fn new(remote_addr: SocketAddr, max_packet_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn send(&mut self, packet: PacketBuffer) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn pop_packet(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `receive_loop` and `receive` are never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl UDPRecvTask { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 75 | async fn receive_loop(mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | async fn receive(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [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: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 426 | let _ = Box::pin(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 438 | let _ = Box::pin(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/plugin.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | self.this.client_connected(client).await; [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] 68 | let _ = self.this.client_connected(client).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/plugin.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.next.client_connected(client).await; [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] 69 | let _ = self.next.client_connected(client).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` should have an upper case name [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 280 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> instructions-core/src/patterns.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let r = i.map(|i| (&s[0..i], &s[i + 1..])); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> instructions-core/src/patterns.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> instructions-core/src/patterns.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/patterns.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | let mut numbers: HashMap> = vec![0; 100] [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | for i in 0..queue.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut a = ITEMS [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instructions_core::patterns` [INFO] [stdout] --> instructions-core/tests/patterns_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use instructions_core::patterns; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Strategy` [INFO] [stdout] --> instructions-core/tests/patterns_test.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | my_take, Context, ContextData, ContextStrategy, SomeTrait, Strategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future` [INFO] [stdout] --> instructions-core/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker` [INFO] [stdout] --> instructions-core/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> instructions-core/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOfficeWorker` [INFO] [stdout] --> instructions-core/tests/abstractions_test.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | InMemStorage, LoggingProducerTrait, Manager, ManagerImpl, OfficeWorker, OpenOfficeWorker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> instructions-core/tests/abstractions_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `marker::PhantomData` [INFO] [stdout] --> instructions-core/tests/abstractions_test.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt::Debug, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future` [INFO] [stdout] --> instructions-core/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker` [INFO] [stdout] --> instructions-core/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> instructions-core/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> instructions-core/tests/fan_in_fan_out_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::From` [INFO] [stdout] --> instructions-core/tests/syracuse_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> instructions-core/tests/abstractions_test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let product = producer.produce("Herby"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/tests/fan_in_fan_out_test.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut tx, rx) = mpsc::channel(10); [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] --> instructions-core/src/puzzle/s0048_rotate_image.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut matrix = matrix; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material3` [INFO] [stdout] --> instructions-core/tests/ray_tracing_test.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let material3 = Lambertian::new(&Vec3::new(0.8, 0.6, 0.2)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material4` [INFO] [stdout] --> instructions-core/tests/ray_tracing_test.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let material4 = Lambertian::new(&Vec3::new(0.8, 0.8, 0.8)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> instructions-core/tests/ray_tracing_test.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for s in 0..ns { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | fn collide(&self, ray_in: &Ray, hit: &Hit) -> Ray { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reducer` [INFO] [stdout] --> instructions-core/src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn evaluate(self, reducer: Arc) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reducer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> instructions-core/src/lib.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let key = key.into_key(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drill` and `Struct` [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | add, add_explicit, doit, take_async_callback, test, Drill, Struct, X, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_one` [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use instructions_core::{a, add_one, add_ten, b, check_me, wrapper, CheckerSystem, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::count` [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::count; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `event_ordering::Item<'_>` is more private than the item `event_ordering::parse` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `event_ordering::parse` is reachable at visibility `pub(puzzle)` [INFO] [stdout] | [INFO] [stdout] note: but type `event_ordering::Item<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | enum Item<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Receiver` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | trait Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Signal` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | trait Signal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | async fn test(bt: BT) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `my_handler` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 210 | impl Service { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 211 | async fn my_handler(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> instructions-core/src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 239 | state: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_key` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:437:8 [INFO] [stdout] | [INFO] [stdout] 434 | trait IntoKey { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 437 | fn into_key(self) -> Self::Key; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_fn` is never used [INFO] [stdout] --> instructions-core/src/lib.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | fn key_fn(key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `producer` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Car<'p> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 228 | producer: &'p CarFactory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Endpoint` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | trait Endpoint: for<'a> DeserializeBody<'a> {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeserializeBody` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | trait DeserializeBody<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_ep` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_ep<'a, EP, F>(func: F) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyEndpoint` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | struct MyEndpoint; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 273 | struct MyEndpointBody<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 274 | pub string: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorDisplay` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | struct ColorDisplay { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ifc` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | struct ColorDisplayDataIter<'a, Ifc> { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 289 | ifc: &'a mut Ifc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasReadDataIter` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:298:7 [INFO] [stdout] | [INFO] [stdout] 298 | trait HasReadDataIter<'a, MutRef = &'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ReadDataIter` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:301:6 [INFO] [stdout] | [INFO] [stdout] 301 | type ReadDataIter<'a, Self_> = >::Iter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadData` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | trait ReadData: for<'a> HasReadDataIter<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/abstractions.rs:639:25 [INFO] [stdout] | [INFO] [stdout] 639 | pub struct TestData(u32); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_name` is never used [INFO] [stdout] --> instructions-core/src/currying.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_by_name(name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_value` is never used [INFO] [stdout] --> instructions-core/src/data_structures/trie.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TrieNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn check_value(self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_capacity` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Dictionary { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Dictionary { [INFO] [stdout] | ---------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn delete(&mut self, key: &T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultTrait` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait ResultTrait {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryTrait` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait FactoryTrait { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryCreatorHasFactory` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait FactoryCreatorHasFactory<'a, Result, _Constraint = &'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FactoryCreatorFactory` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type FactoryCreatorFactory<'a, Self_> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FactoryCreator` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait FactoryCreator: Default + for<'a> FactoryCreatorHasFactory<'a, Self::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/factory.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | struct FactoryA<'a>(&'a StructA); [INFO] [stdout] | -------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn` is never used [INFO] [stdout] --> instructions-core/src/factory.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn spawn() -> T::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Gate` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gates` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn translate_gates<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gate` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn translate_gate<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_gates` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn flatten_gates<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> instructions-core/src/gate.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn flatten<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `config` are never read [INFO] [stdout] --> instructions-core/src/gats.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analysis<'a, Config> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | state: &'a State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | config: &'a Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Analysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 270 | trait WhatIWant<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 275 | fn read(&'a mut self) -> Self::Future; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_read` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 280 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 281 | async fn do_read(&mut self) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | trait Object {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderBox` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct HolderBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl<'lifetime> HolderBox<'lifetime> { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 351 | fn add_object(self: &'_ mut Self, object: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderNoBox` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | struct HolderNoBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_object` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl<'lifetime> HolderNoBox<'lifetime> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 361 | fn add_object(self: &'_ mut Self, object: &'lifetime T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | async fn foo( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Services` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct Services { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl Services { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 434 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MinusOne` is never constructed [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 474 | enum NumberOperation { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 475 | AddOne, [INFO] [stdout] 476 | MinusOne, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consumer` is never read [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 575 | struct BorrowedMessage<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 576 | data: String, [INFO] [stdout] 577 | consumer: &'a Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BorrowedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `identities::Zero` [INFO] [stdout] --> instructions-core/tests/syracuse_test.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::{identities::Zero, PrimInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 592 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val1` is never read [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct MyData<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 122 | val1: &'a mut u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampValue` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | struct TimestampValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `last_updated`, `get`, and `set` are never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl TimestampValue { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 142 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn last_updated(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn get(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn set(&mut self, v: V) -> V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `my_field` and `set_my_field` are never used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl MyStruct { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | fn my_field(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn set_my_field(&mut self, my_field: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReferencePacket<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> instructions-core/src/patterns.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | struct Phi<'window> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 173 | window: &'window Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> instructions-core/src/patterns.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 266 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | age: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deepest_leaves_sum` is never used [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 6 | pub fn deepest_leaves_sum(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl TreeNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 40 | #[inline] [INFO] [stdout] 41 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INPUT: &str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_id`, `start`, and `end` are never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Transaction<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | tx_id: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | end: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | enum Event<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | Tx(&'a str), [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 80 | Tx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | Start(u64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 81 | Start(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | End(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, 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] 82 | End(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find` is never used [INFO] [stdout] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Trie { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn find(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_remove_to_make_valid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_remove_to_make_valid(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `min_remove_to_make_valid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn min_remove_to_make_valid(mut s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_remove_to_make_valid_zero_alloc` is never used [INFO] [stdout] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn min_remove_to_make_valid_zero_alloc(mut s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_dp_grid` is never used [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn dfs_dp_grid(grid: &Vec>, mut visited: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> instructions-core/src/puzzle/reverse_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ListNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 3 | value: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_sudoku` is never used [INFO] [stdout] --> instructions-core/src/puzzle/valid_sudoku.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_a` is never read [INFO] [stdout] --> instructions-core/src/queuer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | field_a: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> instructions-core/src/queuer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct ConsumeParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumeParams` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> instructions-core/src/queuer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Payload { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payload` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Hit<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | object: &'a dyn Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal`, `collide`, and `albedo` are never used [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Hit<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn normal(&self) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn collide(&self, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn albedo(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `project`, and `rotate` are never used [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn project(&self, onto: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn rotate(&self, phi: f32, theta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketBuffer` is never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type PacketBuffer = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UDPConnection` is never constructed [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UDPConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UDPConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UDPRecvTask` is never constructed [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct UDPRecvTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `pop_packet` are never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl UDPConnection { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 29 | pub async fn new(remote_addr: SocketAddr, max_packet_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn send(&mut self, packet: PacketBuffer) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn pop_packet(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `receive_loop` and `receive` are never used [INFO] [stdout] --> instructions-core/src/sockets/udp_socket.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl UDPRecvTask { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 75 | async fn receive_loop(mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | async fn receive(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [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: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 426 | let _ = Box::pin(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 438 | let _ = Box::pin(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | tx.send(serialized).await; [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] 311 | let _ = tx.send(serialized).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/lifetime_stuff.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | worker.await; [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] 312 | let _ = worker.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/plugin.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | self.this.client_connected(client).await; [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] 68 | let _ = self.this.client_connected(client).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> instructions-core/src/plugin.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.next.client_connected(client).await; [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] 69 | let _ = self.next.client_connected(client).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` should have an upper case name [INFO] [stdout] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/tests/fan_in_fan_out_test.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut tx_num = tx.clone(); [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] --> instructions-core/tests/fan_in_fan_out_test.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut tx, rx) = mpsc::channel(10); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VarB` is never constructed [INFO] [stdout] --> instructions-core/tests/syracuse_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | enum E { [INFO] [stdout] | - variant in this enum [INFO] [stdout] 95 | VarA(A), [INFO] [stdout] 96 | VarB(B), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 137 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let mut ctx = ClientConnectContext::new(plugin3); [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: struct `Foo` is never constructed [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Foo<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_foo` is never used [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn new_foo<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct StreamForwarder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 230 | inner: stream::Forward< [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> instructions-core/tests/fan_in_fan_out_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | take_async_callback(add); [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: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | take_async_callback(add_explicit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | ctx.next(&mut ClientConn).await; [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] 196 | let _ = ctx.next(&mut ClientConn).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.25s [INFO] running `Command { std: "docker" "inspect" "ce8bf9e3ea53591cb3e7e2f28dc221802114e74eaba47d091b368fb7e4bb90e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8bf9e3ea53591cb3e7e2f28dc221802114e74eaba47d091b368fb7e4bb90e0", kill_on_drop: false }` [INFO] [stdout] ce8bf9e3ea53591cb3e7e2f28dc221802114e74eaba47d091b368fb7e4bb90e0