[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] 44117f05003a32c4dffe622d4bbb5952edb33bcb [INFO] testing lfordyce/instructions against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [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] 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] validating manifest of git repo https://github.com/lfordyce/instructions on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded tower-layer v0.3.2 [INFO] [stderr] Downloaded http-body-util v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded pin-project-internal v1.1.5 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded pin-project v1.1.5 [INFO] [stderr] Downloaded reqwest v0.12.4 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded http v1.1.0 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] [stderr] Downloaded hyper v1.3.1 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded tempfile v3.10.1 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded rustls-pemfile v2.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded url v2.5.0 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded tokio v1.37.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a850054e2cabbc850c15da9fd92dfbb3624ae19b2ae8cac4455df92fa57ada3 [INFO] running `Command { std: "docker" "start" "-a" "2a850054e2cabbc850c15da9fd92dfbb3624ae19b2ae8cac4455df92fa57ada3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a850054e2cabbc850c15da9fd92dfbb3624ae19b2ae8cac4455df92fa57ada3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a850054e2cabbc850c15da9fd92dfbb3624ae19b2ae8cac4455df92fa57ada3", kill_on_drop: false }` [INFO] [stdout] 2a850054e2cabbc850c15da9fd92dfbb3624ae19b2ae8cac4455df92fa57ada3 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6af7fe940c1953d8860a0c45ce099c4694810703203edafd8715ba2b9738d270 [INFO] running `Command { std: "docker" "start" "-a" "6af7fe940c1953d8860a0c45ce099c4694810703203edafd8715ba2b9738d270", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling socket v0.1.0 (/opt/rustwide/workdir/socket) [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling 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: unnecessary parentheses around type [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] 93 + pub fn add_explicit<'a>(number: &'a mut usize) -> impl Future + 'a { [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: 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: `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: 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(in crate::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: struct `WithBorrowData` is never constructed [INFO] [stdout] --> instructions-core/src/lib.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | struct WithBorrowData; [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: enum `Fruit` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 542 | enum Fruit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReadFruit` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 547 | struct ReadFruit(T); [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: 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: struct `MyCoolType` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct MyCoolType(HashMap>); [INFO] [stdout] | ^^^^^^^^^^ [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: trait `MapLike` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | pub trait MapLike { [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: struct `NoConfig` is never constructed [INFO] [stdout] --> instructions-core/src/gats.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct NoConfig; [INFO] [stdout] | ^^^^^^^^ [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: struct `Health` is never constructed [INFO] [stdout] --> instructions-core/src/health.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Health(f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> instructions-core/src/health.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Entity { [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: struct `Health` is never constructed [INFO] [stdout] --> instructions-core/src/health_alt.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Health(f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> instructions-core/src/health_alt.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Entity { [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: struct `Person` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct Person { [INFO] [stdout] | ^^^^^^ [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: struct `TreeNode` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct TreeNode { [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: enum `Item` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | enum Item<'a> { [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] [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] [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] [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] [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] [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] 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] 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] 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] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/health.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref<'_, Health> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::marker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> instructions-core/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 53s [INFO] running `Command { std: "docker" "inspect" "6af7fe940c1953d8860a0c45ce099c4694810703203edafd8715ba2b9738d270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af7fe940c1953d8860a0c45ce099c4694810703203edafd8715ba2b9738d270", kill_on_drop: false }` [INFO] [stdout] 6af7fe940c1953d8860a0c45ce099c4694810703203edafd8715ba2b9738d270 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1e8ecb81550dc037b5b9a8c0b5707229a660cc3b7f01898d1a0c976d8c0ebc5 [INFO] running `Command { std: "docker" "start" "-a" "a1e8ecb81550dc037b5b9a8c0b5707229a660cc3b7f01898d1a0c976d8c0ebc5", kill_on_drop: false }` [INFO] [stderr] Compiling socket v0.1.0 (/opt/rustwide/workdir/socket) [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: unnecessary parentheses around type [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] 93 + pub fn add_explicit<'a>(number: &'a mut usize) -> impl Future + 'a { [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: 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: `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: 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(in crate::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: struct `WithBorrowData` is never constructed [INFO] [stdout] --> instructions-core/src/lib.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | struct WithBorrowData; [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: enum `Fruit` is never used [INFO] [stdout] --> instructions-core/src/abstractions.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 542 | enum Fruit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReadFruit` is never constructed [INFO] [stdout] --> instructions-core/src/abstractions.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 547 | struct ReadFruit(T); [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: 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: struct `MyCoolType` is never constructed [INFO] [stdout] --> instructions-core/src/dictionary.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct MyCoolType(HashMap>); [INFO] [stdout] | ^^^^^^^^^^ [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: trait `MapLike` is never used [INFO] [stdout] --> instructions-core/src/dictionary.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | pub trait MapLike { [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: struct `NoConfig` is never constructed [INFO] [stdout] --> instructions-core/src/gats.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct NoConfig; [INFO] [stdout] | ^^^^^^^^ [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: struct `Health` is never constructed [INFO] [stdout] --> instructions-core/src/health.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Health(f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> instructions-core/src/health.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Entity { [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: struct `Health` is never constructed [INFO] [stdout] --> instructions-core/src/health_alt.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Health(f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> instructions-core/src/health_alt.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Entity { [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: struct `Person` is never constructed [INFO] [stdout] --> instructions-core/src/patterns.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct Person { [INFO] [stdout] | ^^^^^^ [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: struct `TreeNode` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct TreeNode { [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: enum `Item` is never used [INFO] [stdout] --> instructions-core/src/puzzle/event_ordering.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | enum Item<'a> { [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] [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] [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] [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] [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] [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] 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] 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] 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] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/health.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref<'_, Health> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling instructions-core v0.1.0 (/opt/rustwide/workdir/instructions-core) [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::marker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> instructions-core/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::quirks::username` [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::quirks::username; [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 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: 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: unnecessary parentheses around type [INFO] [stdout] --> instructions-core/tests/fan_in_fan_out_test.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Error = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub type Error = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] 17 + pub type Error = Box; [INFO] [stdout] | [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 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: 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/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: 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::marker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> instructions-core/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [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: 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: 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: 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: struct `BufReader` is never constructed [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BufReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open` and `read_line` are never used [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 19 | impl BufReader { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn open(path: impl AsRef) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn read_line<'buf>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufReader` is never constructed [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BufReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_buf` is never used [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new_buf() -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> instructions-core/tests/ascii_playback.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 57 | impl BufReader { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 58 | pub fn open(path: impl AsRef) -> io::Result { [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: unnecessary parentheses around type [INFO] [stdout] --> instructions-core/src/hrtb_generic.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stdout] 93 + pub fn add_explicit<'a>(number: &'a mut usize) -> impl Future + 'a { [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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/tests/async_hrtb_test.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(data: &[u8]) -> Container { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(data: &[u8]) -> Container<'_> { [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: 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: 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: 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: 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: 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: 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: 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: `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: 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(in crate::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: struct `NoConfig` is never constructed [INFO] [stdout] --> instructions-core/src/gats.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct NoConfig; [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 `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: 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: struct `TreeNode` is never constructed [INFO] [stdout] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct TreeNode { [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(&'a str), [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(u64), [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(u64), [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] [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] [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] [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] [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] 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] 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] 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] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | fn as_ref(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_key(&self) -> ConfigKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 164 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/dictionary.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/health.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn retrieve(&self) -> Ref<'_, Health> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> instructions-core/src/ray_tracing.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.61s [INFO] running `Command { std: "docker" "inspect" "a1e8ecb81550dc037b5b9a8c0b5707229a660cc3b7f01898d1a0c976d8c0ebc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e8ecb81550dc037b5b9a8c0b5707229a660cc3b7f01898d1a0c976d8c0ebc5", kill_on_drop: false }` [INFO] [stdout] a1e8ecb81550dc037b5b9a8c0b5707229a660cc3b7f01898d1a0c976d8c0ebc5 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ea351c4f13f61a036b477773ab4f702b17514281f2e57efeaca72c63b82ff1e [INFO] running `Command { std: "docker" "start" "-a" "7ea351c4f13f61a036b477773ab4f702b17514281f2e57efeaca72c63b82ff1e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Date` [INFO] [stderr] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::TryAcquireError` [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::TryAcquireError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | if (depth == 30usize) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 - if (depth == 30usize) { [INFO] [stderr] 121 + if depth == 30usize { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::Output` [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::process::Output; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:93:51 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 93 - pub fn add_explicit<'a>(number: &'a mut usize) -> (impl Future + 'a) { [INFO] [stderr] 93 + pub fn add_explicit<'a>(number: &'a mut usize) -> impl Future + 'a { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `MutexGuard`, and `Mutex` [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stderr] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `channel` [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::sync::mpsc::{channel, Receiver}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::BoolTrait` [INFO] [stderr] --> instructions-core/src/patterns.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::BoolTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `derive_more::Display` [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use derive_more::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::stream::iter` [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::stream::iter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::LinkedList` [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::LinkedList; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::LinkedList` [INFO] [stderr] --> instructions-core/src/puzzle/s0020_valid_parentheses.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::LinkedList; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> instructions-core/src/puzzle/valid_sudoku.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::FutureExt` [INFO] [stderr] --> instructions-core/src/queuer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::FutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::io::{ReadHalf, WriteHalf}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> instructions-core/src/abstractions.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{Date, Datelike, DateTime, Utc}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> instructions-core/src/abstractions.rs:192:19 [INFO] [stderr] | [INFO] [stderr] 192 | fn get(&self, index: usize) -> Self::Output { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> instructions-core/src/abstractions.rs:200:19 [INFO] [stderr] | [INFO] [stderr] 200 | fn get(&self, index: usize) -> Self::Output { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `raw_body` [INFO] [stderr] --> instructions-core/src/abstractions.rs:279:20 [INFO] [stderr] | [INFO] [stderr] 279 | fn deserialize(raw_body: &'a [u8]) -> Self::Out { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `foos` [INFO] [stderr] --> instructions-core/src/abstractions.rs:486:30 [INFO] [stderr] | [INFO] [stderr] 486 | pub fn accept_foos(foos: Vec) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_foos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `internal_data` [INFO] [stderr] --> instructions-core/src/abstractions.rs:521:9 [INFO] [stderr] | [INFO] [stderr] 521 | let internal_data = data.borrow(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> instructions-core/src/abstractions.rs:536:21 [INFO] [stderr] | [INFO] [stderr] 536 | fn index(&self, index: T) -> &Self::Output { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:145:10 [INFO] [stderr] | [INFO] [stderr] 145 | for (i, connection) in node.exits.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let l = search(nodes, start_node, *connection, path.clone(), depth + 1); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | let mut node = nodes[current_node].clone(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> instructions-core/src/patterns.rs:288:17 [INFO] [stderr] | [INFO] [stderr] 288 | let r = i.map(|i| (&s[0..i], &s[i + 1..])); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> instructions-core/src/patterns.rs:290:18 [INFO] [stderr] | [INFO] [stderr] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> instructions-core/src/patterns.rs:290:21 [INFO] [stderr] | [INFO] [stderr] 290 | let (a, b) = (text.next(), text.next()); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | for i in 0..queue.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/src/puzzle/s0048_rotate_image.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let mut matrix = matrix; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `board` [INFO] [stderr] --> instructions-core/src/puzzle/valid_sudoku.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray_in` [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:175:23 [INFO] [stderr] | [INFO] [stderr] 175 | fn collide(&self, ray_in: &Ray, hit: &Hit) -> Ray { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reducer` [INFO] [stderr] --> instructions-core/src/lib.rs:69:29 [INFO] [stderr] | [INFO] [stderr] 69 | async fn evaluate(self, reducer: Arc) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reducer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> instructions-core/src/lib.rs:461:9 [INFO] [stderr] | [INFO] [stderr] 461 | let key = key.into_key(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: type `event_ordering::Item<'_>` is more private than the item `event_ordering::parse` [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:102:1 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `event_ordering::parse` is reachable at visibility `pub(in crate::puzzle)` [INFO] [stderr] | [INFO] [stderr] note: but type `event_ordering::Item<'_>` is only usable at visibility `pub(self)` [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | enum Item<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Receiver` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:50:7 [INFO] [stderr] | [INFO] [stderr] 50 | trait Receiver { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Signal` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:56:7 [INFO] [stderr] | [INFO] [stderr] 56 | trait Signal { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:194:10 [INFO] [stderr] | [INFO] [stderr] 194 | async fn test(bt: BT) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `my_handler` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:211:14 [INFO] [stderr] | [INFO] [stderr] 210 | impl Service { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 211 | async fn my_handler(&self) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `state` is never read [INFO] [stderr] --> instructions-core/src/lib.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 238 | pub struct Router { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 239 | state: Arc, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WithBorrowData` is never constructed [INFO] [stderr] --> instructions-core/src/lib.rs:385:8 [INFO] [stderr] | [INFO] [stderr] 385 | struct WithBorrowData; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_key` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:437:8 [INFO] [stderr] | [INFO] [stderr] 434 | trait IntoKey { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 437 | fn into_key(self) -> Self::Key; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `key_fn` is never used [INFO] [stderr] --> instructions-core/src/lib.rs:460:4 [INFO] [stderr] | [INFO] [stderr] 460 | fn key_fn(key: K) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `producer` is never read [INFO] [stderr] --> instructions-core/src/abstractions.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Car<'p> { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 228 | producer: &'p CarFactory, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Endpoint` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:257:7 [INFO] [stderr] | [INFO] [stderr] 257 | trait Endpoint: for<'a> DeserializeBody<'a> {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `DeserializeBody` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:258:7 [INFO] [stderr] | [INFO] [stderr] 258 | trait DeserializeBody<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `store_ep` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:263:4 [INFO] [stderr] | [INFO] [stderr] 263 | fn store_ep<'a, EP, F>(func: F) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyEndpoint` is never constructed [INFO] [stderr] --> instructions-core/src/abstractions.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | struct MyEndpoint; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `string` is never read [INFO] [stderr] --> instructions-core/src/abstractions.rs:274:9 [INFO] [stderr] | [INFO] [stderr] 273 | struct MyEndpointBody<'a> { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 274 | pub string: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ColorDisplay` is never constructed [INFO] [stderr] --> instructions-core/src/abstractions.rs:284:8 [INFO] [stderr] | [INFO] [stderr] 284 | struct ColorDisplay { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ifc` is never read [INFO] [stderr] --> instructions-core/src/abstractions.rs:289:5 [INFO] [stderr] | [INFO] [stderr] 288 | struct ColorDisplayDataIter<'a, Ifc> { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 289 | ifc: &'a mut Ifc, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `HasReadDataIter` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:298:7 [INFO] [stderr] | [INFO] [stderr] 298 | trait HasReadDataIter<'a, MutRef = &'a mut Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ReadDataIter` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:301:6 [INFO] [stderr] | [INFO] [stderr] 301 | type ReadDataIter<'a, Self_> = >::Iter; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ReadData` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:303:7 [INFO] [stderr] | [INFO] [stderr] 303 | trait ReadData: for<'a> HasReadDataIter<'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Fruit` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:542:6 [INFO] [stderr] | [INFO] [stderr] 542 | enum Fruit { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ReadFruit` is never constructed [INFO] [stderr] --> instructions-core/src/abstractions.rs:547:8 [INFO] [stderr] | [INFO] [stderr] 547 | struct ReadFruit(T); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Holder` is never constructed [INFO] [stderr] --> instructions-core/src/abstractions.rs:597:8 [INFO] [stderr] | [INFO] [stderr] 597 | struct Holder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FIsAFunction` is never used [INFO] [stderr] --> instructions-core/src/abstractions.rs:602:7 [INFO] [stderr] | [INFO] [stderr] 602 | trait FIsAFunction { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Item` is never constructed [INFO] [stderr] --> instructions-core/src/currying.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Item { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_by_name` is never used [INFO] [stderr] --> instructions-core/src/currying.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | async fn find_by_name(name: String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_by_name_cur` is never used [INFO] [stderr] --> instructions-core/src/currying.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn find_by_name_cur(conn: String) -> impl FnOnce(String) -> BoxFuture<'static, Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert` is never used [INFO] [stderr] --> instructions-core/src/currying.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | async fn insert(item: Item) -> () { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_item` is never used [INFO] [stderr] --> instructions-core/src/currying.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | async fn create_item( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TrieNode` is never constructed [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct TrieNode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `new_root`, `check_value`, and `insert_value` are never used [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl TrieNode { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(c: char, is_final: bool) -> TrieNode { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn new_root() -> TrieNode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn check_value(self, c: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn insert_value(&mut self, c: char, is_final: bool) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Trie` is never constructed [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct Trie { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `create`, `insert`, and `find` are never used [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl Trie { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 40 | pub fn create() -> Trie { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn insert(&mut self, string_val: String) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn find(&mut self, string_val: String) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Edge` is never constructed [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | struct Edge { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 17 | impl Edge { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 18 | fn new(node_1: usize, node_2: usize) -> Edge { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Graph` is never constructed [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct Graph { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `insert`, and `len` are never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 39 | impl Graph { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 40 | fn new() -> Graph { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | fn insert(&mut self, edge: Edge) -> Option<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_random_pair` is never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:66:4 [INFO] [stderr] | [INFO] [stderr] 66 | fn remove_random_pair(v: &mut Vec) -> (T, T) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Nodes` is never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:80:6 [INFO] [stderr] | [INFO] [stderr] 80 | type Nodes = Vec; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_nodes` is never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn generate_nodes(size: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `search` is never used [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn search( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DictionaryCell` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct DictionaryCell { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DictionaryNodeItem` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct DictionaryNodeItem { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dictionary` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct Dictionary { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_with_capacity` are never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 24 | impl Dictionary { [INFO] [stderr] | --------------------------- associated functions in this implementation [INFO] [stderr] 25 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `put`, `get`, and `delete` are never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 47 | impl Dictionary { [INFO] [stderr] | ---------------------------------------------------- methods in this implementation [INFO] [stderr] 48 | fn put(&mut self, key: &T, value: U) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn get(&mut self, key: &T) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn delete(&mut self, key: &T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyCoolType` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | struct MyCoolType(HashMap>); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Complex` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | struct Complex<'a> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 116 | impl<'a> Complex<'a> { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 117 | fn new>>(n: i32, s: S) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ConfigKey` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:123:6 [INFO] [stderr] | [INFO] [stderr] 123 | enum ConfigKey { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_ref` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:129:8 [INFO] [stderr] | [INFO] [stderr] 128 | impl ConfigKey { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Binary` is never constructed [INFO] [stderr] --> instructions-core/src/dictionary.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 138 | enum ConfigKeyRef<'a> { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 139 | Text(&'a str), [INFO] [stderr] 140 | Binary(&'a [u8]), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `MapLike` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:187:11 [INFO] [stderr] | [INFO] [stderr] 187 | pub trait MapLike { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `play_around_with_map` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:255:4 [INFO] [stderr] | [INFO] [stderr] 255 | fn play_around_with_map>(m: &mut M) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ResultTrait` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | trait ResultTrait {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FactoryTrait` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | trait FactoryTrait { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FactoryCreatorHasFactory` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | trait FactoryCreatorHasFactory<'a, Result, _Constraint = &'a Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `FactoryCreatorFactory` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | type FactoryCreatorFactory<'a, Self_> = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FactoryCreator` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | trait FactoryCreator: Default + for<'a> FactoryCreatorHasFactory<'a, Self::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> instructions-core/src/factory.rs:39:21 [INFO] [stderr] | [INFO] [stderr] 39 | struct FactoryA<'a>(&'a StructA); [INFO] [stderr] | -------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `spawn` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn spawn() -> T::Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Phone` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | trait Phone<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `my_str` is never read [INFO] [stderr] --> instructions-core/src/factory.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 58 | struct IPhone<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 59 | my_str: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Factory` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | trait Factory<'a> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IPhoneFactory` is never constructed [INFO] [stderr] --> instructions-core/src/factory.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | struct IPhoneFactory; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_phone` is never used [INFO] [stderr] --> instructions-core/src/factory.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn call_phone Factory<'a>>(f: F) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Gate` is never used [INFO] [stderr] --> instructions-core/src/gate.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | enum Gate { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_gates` is never used [INFO] [stderr] --> instructions-core/src/gate.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn translate_gates<'s>( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_gate` is never used [INFO] [stderr] --> instructions-core/src/gate.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn translate_gate<'s>( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flatten_gates` is never used [INFO] [stderr] --> instructions-core/src/gate.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn flatten_gates<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flatten` is never used [INFO] [stderr] --> instructions-core/src/gate.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | fn flatten<'a>( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `manufacture` is never used [INFO] [stderr] --> instructions-core/src/gats.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait Factory { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 18 | fn manufacture<'a>(&'a self, state: &'a State) -> Self::Analysis<'a>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `state` and `config` are never read [INFO] [stderr] --> instructions-core/src/gats.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Analysis<'a, Config> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 23 | state: &'a State, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 24 | config: &'a Config, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Analysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `NoConfig` is never constructed [INFO] [stderr] --> instructions-core/src/gats.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct NoConfig; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_analysis` is never used [INFO] [stderr] --> instructions-core/src/gats.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn run_analysis(code: &[u8], f: F) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Health` is never constructed [INFO] [stderr] --> instructions-core/src/health.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Health(f32); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Entity` is never constructed [INFO] [stderr] --> instructions-core/src/health.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Entity { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `RetrieveComponent` is never used [INFO] [stderr] --> instructions-core/src/health.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | trait RetrieveComponent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SystemArgument` is never used [INFO] [stderr] --> instructions-core/src/health.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | trait SystemArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `System` is never used [INFO] [stderr] --> instructions-core/src/health.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | trait System { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Callback` is never constructed [INFO] [stderr] --> instructions-core/src/health.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | struct Callback { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_health` is never used [INFO] [stderr] --> instructions-core/src/health.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn print_health(health: &Health) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Health` is never constructed [INFO] [stderr] --> instructions-core/src/health_alt.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Health(f32); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Entity` is never constructed [INFO] [stderr] --> instructions-core/src/health_alt.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Entity { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `RetrieveComponent` is never used [INFO] [stderr] --> instructions-core/src/health_alt.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | trait RetrieveComponent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SystemArgument` is never used [INFO] [stderr] --> instructions-core/src/health_alt.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | trait SystemArgument: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `System` is never used [INFO] [stderr] --> instructions-core/src/health_alt.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | trait System { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Callback` is never constructed [INFO] [stderr] --> instructions-core/src/health_alt.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | struct Callback { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `increase_health` is never used [INFO] [stderr] --> instructions-core/src/health_alt.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn increase_health(health: &mut Health) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_health` is never used [INFO] [stderr] --> instructions-core/src/health_alt.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | fn print_health(health: &Health) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `AsyncClosure` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:189:7 [INFO] [stderr] | [INFO] [stderr] 189 | trait AsyncClosure<'a, Argument, Output> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `with_async_closure` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:206:10 [INFO] [stderr] | [INFO] [stderr] 206 | async fn with_async_closure(c: C) -> R [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `function_target` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:216:10 [INFO] [stderr] | [INFO] [stderr] 216 | async fn function_target(arg: &u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `read` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:275:8 [INFO] [stderr] | [INFO] [stderr] 270 | trait WhatIWant<'a> { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 275 | fn read(&'a mut self) -> Self::Future; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_read` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:281:14 [INFO] [stderr] | [INFO] [stderr] 280 | impl Connection { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 281 | async fn do_read(&mut self) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `DataSource` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:308:7 [INFO] [stderr] | [INFO] [stderr] 308 | trait DataSource<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OddOrEven` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:312:8 [INFO] [stderr] | [INFO] [stderr] 312 | struct OddOrEven { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Object` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:344:7 [INFO] [stderr] | [INFO] [stderr] 344 | trait Object {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HolderBox` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:346:8 [INFO] [stderr] | [INFO] [stderr] 346 | struct HolderBox<'lifetime> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add_object` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:351:8 [INFO] [stderr] | [INFO] [stderr] 350 | impl<'lifetime> HolderBox<'lifetime> { [INFO] [stderr] | ------------------------------------ method in this implementation [INFO] [stderr] 351 | fn add_object(self: &'_ mut Self, object: T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HolderNoBox` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:356:8 [INFO] [stderr] | [INFO] [stderr] 356 | struct HolderNoBox<'lifetime> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add_object` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 360 | impl<'lifetime> HolderNoBox<'lifetime> { [INFO] [stderr] | -------------------------------------- method in this implementation [INFO] [stderr] 361 | fn add_object(self: &'_ mut Self, object: &'lifetime T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DBConnection` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:366:8 [INFO] [stderr] | [INFO] [stderr] 366 | struct DBConnection; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DBError` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:368:8 [INFO] [stderr] | [INFO] [stderr] 368 | struct DBError; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `query` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:371:14 [INFO] [stderr] | [INFO] [stderr] 370 | impl DBConnection { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 371 | async fn query(&'_ mut self, key: &'_ str) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `transaction` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:376:10 [INFO] [stderr] | [INFO] [stderr] 376 | async fn transaction( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_transaction` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:399:10 [INFO] [stderr] | [INFO] [stderr] 399 | async fn test_transaction() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `foo` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:417:10 [INFO] [stderr] | [INFO] [stderr] 417 | async fn foo( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Services` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:429:8 [INFO] [stderr] | [INFO] [stderr] 429 | struct Services { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:434:8 [INFO] [stderr] | [INFO] [stderr] 433 | impl Services { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 434 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Svc` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:441:8 [INFO] [stderr] | [INFO] [stderr] 441 | struct Svc { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:450:8 [INFO] [stderr] | [INFO] [stderr] 445 | / impl Svc [INFO] [stderr] 446 | | where [INFO] [stderr] 447 | | F: FnOnce(Vec) -> G, [INFO] [stderr] 448 | | G: Future>, [INFO] [stderr] | |___________________________________- associated function in this implementation [INFO] [stderr] 449 | { [INFO] [stderr] 450 | fn new(f: F) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Workaround` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:454:7 [INFO] [stderr] | [INFO] [stderr] 454 | trait Workaround { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `NumberOperation` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:474:6 [INFO] [stderr] | [INFO] [stderr] 474 | enum NumberOperation { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `service` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:479:4 [INFO] [stderr] | [INFO] [stderr] 479 | fn service(op: NumberOperation) -> impl Workaround { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pager` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:491:8 [INFO] [stderr] | [INFO] [stderr] 491 | struct Pager [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `stream` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:503:8 [INFO] [stderr] | [INFO] [stderr] 498 | / impl Pager [INFO] [stderr] 499 | | where [INFO] [stderr] 500 | | // F: Future + 'static, // with static the ('a) lifetime can be removed [INFO] [stderr] 501 | | F: Future, [INFO] [stderr] | |__________________________- method in this implementation [INFO] [stderr] 502 | { [INFO] [stderr] 503 | fn stream<'a>(&'a self) -> Pin + 'a>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_items` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:550:4 [INFO] [stderr] | [INFO] [stderr] 550 | fn print_items(mut iter: I) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `commit_message` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:569:8 [INFO] [stderr] | [INFO] [stderr] 568 | impl Consumer { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 569 | fn commit_message(&self, msg: &BorrowedMessage<'_>) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `data` and `consumer` are never read [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:576:5 [INFO] [stderr] | [INFO] [stderr] 575 | struct BorrowedMessage<'a> { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 576 | data: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 577 | consumer: &'a Consumer, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BorrowedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `KafkaEventSource` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:580:8 [INFO] [stderr] | [INFO] [stderr] 580 | struct KafkaEventSource { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:585:8 [INFO] [stderr] | [INFO] [stderr] 584 | impl KafkaEventSource { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 585 | fn new(consumer: Consumer) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Event` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:591:8 [INFO] [stderr] | [INFO] [stderr] 591 | struct Event { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `HasMessageType` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:595:7 [INFO] [stderr] | [INFO] [stderr] 595 | trait HasMessageType<'a, _Outlives = &'a Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Message` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:598:6 [INFO] [stderr] | [INFO] [stderr] 598 | type Message<'a, This> = >::Message; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `EventSource` is never used [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:600:7 [INFO] [stderr] | [INFO] [stderr] 600 | trait EventSource: for<'a> HasMessageType<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DynFutureWithLt` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct DynFutureWithLt<'max, 'min, O> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'max, 'min, O> DynFutureWithLt<'max, 'min, O> { [INFO] [stderr] | -------------------------------------------------- associated function in this implementation [INFO] [stderr] 15 | fn new(future: Pin>>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_closure` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | async fn call_closure<'max, C>(mut closure: C) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Something` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | trait Something { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Executor` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct Executor { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `run` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 39 | / impl Executor [INFO] [stderr] 40 | | where [INFO] [stderr] 41 | | I: Something, [INFO] [stderr] | |_________________- method in this implementation [INFO] [stderr] 42 | { [INFO] [stderr] 43 | pub async fn run<'a>(&'a self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_other_closure` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | async fn call_other_closure<'max, C>(mut closure: C) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `OtherSomething` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:72:7 [INFO] [stderr] | [INFO] [stderr] 72 | trait OtherSomething { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OtherExecutor` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | struct OtherExecutor { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `run` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 80 | / impl OtherExecutor [INFO] [stderr] 81 | | where [INFO] [stderr] 82 | | I: OtherSomething, [INFO] [stderr] | |______________________- method in this implementation [INFO] [stderr] 83 | { [INFO] [stderr] 84 | pub async fn run<'a>(&'a self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Getter` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:102:7 [INFO] [stderr] | [INFO] [stderr] 102 | trait Getter<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Data` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:117:7 [INFO] [stderr] | [INFO] [stderr] 117 | trait Data { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyData` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | struct MyData<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_data` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:132:4 [INFO] [stderr] | [INFO] [stderr] 132 | fn create_data<'a>(num: &'a mut u8) -> Box { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TimestampValue` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | struct TimestampValue { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `update`, `last_updated`, `get`, and `set` are never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:142:8 [INFO] [stderr] | [INFO] [stderr] 141 | impl TimestampValue { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] 142 | fn update(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | fn last_updated(&self) -> Instant { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | fn get(&self) -> &V { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 151 | fn set(&mut self, v: V) -> V { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyStruct` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:157:8 [INFO] [stderr] | [INFO] [stderr] 157 | struct MyStruct { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `my_field` and `set_my_field` are never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 162 | impl MyStruct { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 163 | fn my_field(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | fn set_my_field(&mut self, my_field: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WorkflowProcess` is never constructed [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:171:8 [INFO] [stderr] | [INFO] [stderr] 171 | struct WorkflowProcess { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `process` is never used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:181:14 [INFO] [stderr] | [INFO] [stderr] 180 | impl WorkflowProcess { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 181 | async fn process(&mut self, callback: impl Fn(T)) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `data` is never read [INFO] [stderr] --> instructions-core/src/patterns.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct ReferencePacket<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 111 | data: &'a [u8], [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FontLoader` is never constructed [INFO] [stderr] --> instructions-core/src/patterns.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 160 | struct FontLoader(String); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Font` is never constructed [INFO] [stderr] --> instructions-core/src/patterns.rs:162:8 [INFO] [stderr] | [INFO] [stderr] 162 | struct Font(*const String); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `load` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 164 | impl FontLoader { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 165 | fn load(&self) -> Font { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Window` is never constructed [INFO] [stderr] --> instructions-core/src/patterns.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 170 | struct Window; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Phi` is never constructed [INFO] [stderr] --> instructions-core/src/patterns.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 172 | struct Phi<'window> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_the_thing` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 178 | impl<'window> Phi<'window> { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] 179 | fn do_the_thing(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `algorithm` and `search_space` are never read [INFO] [stderr] --> instructions-core/src/patterns.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 208 | struct Analysis { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 209 | algorithm: A, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 210 | search_space: S, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Analysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `solve` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:218:8 [INFO] [stderr] | [INFO] [stderr] 213 | / impl Analysis [INFO] [stderr] 214 | | where [INFO] [stderr] 215 | | A: Algorithm, [INFO] [stderr] 216 | | S: SearchSpace, [INFO] [stderr] | |___________________- method in this implementation [INFO] [stderr] 217 | { [INFO] [stderr] 218 | fn solve(&self) -> f64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Algorithm` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:223:7 [INFO] [stderr] | [INFO] [stderr] 223 | trait Algorithm { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SearchSpace` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:227:7 [INFO] [stderr] | [INFO] [stderr] 227 | trait SearchSpace { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `param` is never read [INFO] [stderr] --> instructions-core/src/patterns.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 232 | struct Efficient { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 233 | param: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Efficient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `param` is never read [INFO] [stderr] --> instructions-core/src/patterns.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 243 | struct SlightlySlower { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 244 | param: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SlightlySlower` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `param` is never read [INFO] [stderr] --> instructions-core/src/patterns.rs:255:5 [INFO] [stderr] | [INFO] [stderr] 254 | struct SquareGrid { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 255 | param: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SquareGrid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Person` is never constructed [INFO] [stderr] --> instructions-core/src/patterns.rs:265:8 [INFO] [stderr] | [INFO] [stderr] 265 | struct Person { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `UniquePermutations` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:307:6 [INFO] [stderr] | [INFO] [stderr] 307 | enum UniquePermutations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `next_level` are never used [INFO] [stderr] --> instructions-core/src/patterns.rs:320:8 [INFO] [stderr] | [INFO] [stderr] 319 | impl UniquePermutations { [INFO] [stderr] | ----------------------- associated functions in this implementation [INFO] [stderr] 320 | fn new(elements: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 343 | fn next_level( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `transpose` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:394:4 [INFO] [stderr] | [INFO] [stderr] 394 | fn transpose(m: [[T; C]; R]) -> [[T; R]; C] { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `f` is never used [INFO] [stderr] --> instructions-core/src/patterns.rs:404:4 [INFO] [stderr] | [INFO] [stderr] 404 | fn f<'a>(s: impl Into>) -> Cow<'a, str> { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function `deepest_leaves_sum` is never used [INFO] [stderr] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 5 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 6 | pub fn deepest_leaves_sum(root: Option>>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TreeNode` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct TreeNode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl TreeNode { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 40 | #[inline] [INFO] [stderr] 41 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/deepest_leaves_sum.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ITEMS` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const ITEMS: &'static str = r#" [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INPUT` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const INPUT: &str = r#" [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Transaction` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | struct Transaction<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Event` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | enum Event<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EventData` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | struct EventData<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventType` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:47:6 [INFO] [stderr] | [INFO] [stderr] 47 | enum EventType { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Item` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | enum Item<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse` is never used [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn parse(s: &str) -> Item<'_> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TrieNode` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct TrieNode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 9 | impl TrieNode { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 10 | fn new(ch_op: Option, word_op: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Trie` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct Trie { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `insert`, `find`, and `moving` are never used [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 23 | impl Trie { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 24 | fn new(ch_op: Option, word_op: Option) -> Trie { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | fn insert(&mut self, s: &str) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | fn find(&self, s: &str) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | fn moving(t: T) -> T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longest_common_prefix_trie` is never used [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn longest_common_prefix_trie(words: Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `max_profit` is never used [INFO] [stderr] --> instructions-core/src/puzzle/max_profit.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `min_remove_to_make_valid` is never used [INFO] [stderr] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn min_remove_to_make_valid(s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `min_remove_to_make_valid` is never used [INFO] [stderr] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 25 | pub fn min_remove_to_make_valid(mut s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `min_remove_to_make_valid_zero_alloc` is never used [INFO] [stderr] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn min_remove_to_make_valid_zero_alloc(mut s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_restaurant` is never used [INFO] [stderr] --> instructions-core/src/puzzle/minimum_index_sum_two_lists.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn find_restaurant(list1: Vec, list2: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `directions` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `num_islands` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn num_islands(mut grid: Vec>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dfs_grid` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn dfs_grid(grid: &mut Vec>, i: usize, j: usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `num_islands_dp` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn num_islands_dp(grid: Vec>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bfs_search` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:57:4 [INFO] [stderr] | [INFO] [stderr] 57 | fn bfs_search(grid: &Vec>, visited: &mut Vec>, i: usize, j: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dfs_dp_grid` is never used [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn dfs_dp_grid(grid: &Vec>, mut visited: &mut Vec>, i: usize, j: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ListNode` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/reverse_list.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ListNode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reverse_list` is never used [INFO] [stderr] --> instructions-core/src/puzzle/reverse_list.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn reverse_list(mut right: Option>) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/rotate_arrays.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `rotate` is never used [INFO] [stderr] --> instructions-core/src/puzzle/rotate_arrays.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 42 | pub fn rotate(nums: &mut Vec, k: i32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rotate` is never used [INFO] [stderr] --> instructions-core/src/puzzle/rotate_arrays.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn rotate(nums: &mut Vec, k: i32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rotate_left` is never used [INFO] [stderr] --> instructions-core/src/puzzle/rotate_arrays.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn rotate_left(nums: &mut Vec, k: i32) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `two_sum` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0001_two_sum.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/s0013_roman_to_integer.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `roman_to_int` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0013_roman_to_integer.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 64 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 65 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longest_common_prefix` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn longest_common_prefix(strs: Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longest_common_prefix_alt` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn longest_common_prefix_alt(strs: Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longest_common_prefix_again` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0014_longest_common_prefix.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn longest_common_prefix_again(strs: Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ALPHA` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | const ALPHA: [&'static str; 10] = [ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `letter_combinations` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn letter_combinations(digits: String) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dfs` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0017_letter_combination_phone_number.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn dfs(digits: &str, comb: &mut String, ret: &mut Vec) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_valid` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0020_valid_parentheses.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn is_valid(s: String) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/s0048_rotate_image.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `rotate` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0048_rotate_image.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 32 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rotate` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0048_rotate_image.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/s0064_minimum_path_sum.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `min_path_sum` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0064_minimum_path_sum.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Solution { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 30 | pub fn min_path_sum(grid: Vec>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sort_colors` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0075_sort_colors.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> instructions-core/src/puzzle/s0079_word_search.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `exist` and `dfs` are never used [INFO] [stderr] --> instructions-core/src/puzzle/s0079_word_search.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Solution { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 33 | pub fn exist(board: Vec>, word: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | fn dfs( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_board` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0539_minesweeper.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn update_board(mut board: Vec>, click: Vec) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_bomb_num` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0539_minesweeper.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn get_bomb_num(board: &Vec>, pos: (i32, i32)) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DXY` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const DXY: [(i32, i32); 4] = [(1, 0), (-1, 0), (0, 1), (0, -1)]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `max_area_of_islands` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn max_area_of_islands(mut grid: Vec>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `island_area` is never used [INFO] [stderr] --> instructions-core/src/puzzle/s0695_max_islands_area.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn island_area(grid: &mut Vec>, pos: (i32, i32)) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_valid_sudoku` is never used [INFO] [stderr] --> instructions-core/src/puzzle/valid_sudoku.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Settings` is never constructed [INFO] [stderr] --> instructions-core/src/queuer.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Settings { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConsumeParams` is never constructed [INFO] [stderr] --> instructions-core/src/queuer.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct ConsumeParams { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Payload` is never constructed [INFO] [stderr] --> instructions-core/src/queuer.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Payload { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Queuer` is never constructed [INFO] [stderr] --> instructions-core/src/queuer.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Queuer {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `consume` are never used [INFO] [stderr] --> instructions-core/src/queuer.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl Queuer { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 21 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | async fn consume( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Syncer` is never constructed [INFO] [stderr] --> instructions-core/src/queuer.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | struct Syncer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `perform_actions`, and `util_function` are never used [INFO] [stderr] --> instructions-core/src/queuer.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 57 | impl Syncer { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 58 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub async fn perform_actions( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | async fn util_function( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `object` is never read [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Hit<'a> { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | object: &'a dyn Normal, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `normal`, `collide`, and `albedo` are never used [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 23 | impl<'a> Hit<'a> { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | fn normal(&self) -> Ray { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | fn collide(&self, ray: &Ray) -> Ray { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | fn albedo(&self) -> &Vec3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `cross`, `project`, and `rotate` are never used [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:368:8 [INFO] [stderr] | [INFO] [stderr] 327 | impl Vec3 { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 368 | fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 378 | fn project(&self, onto: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | fn rotate(&self, phi: f32, theta: f32) -> Vec3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `PacketBuffer` is never used [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:10:6 [INFO] [stderr] | [INFO] [stderr] 10 | type PacketBuffer = Vec; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UDPConnection` is never constructed [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct UDPConnection { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UDPRecvTask` is never constructed [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | struct UDPRecvTask { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `send`, and `pop_packet` are never used [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 28 | impl UDPConnection { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 29 | pub async fn new(remote_addr: SocketAddr, max_packet_size: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub async fn send(&mut self, packet: PacketBuffer) -> Result<(), Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub async fn pop_packet(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `receive_loop` and `receive` are never used [INFO] [stderr] --> instructions-core/src/sockets/udp_socket.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 74 | impl UDPRecvTask { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 75 | async fn receive_loop(mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | async fn receive(&mut self) -> std::io::Result> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stderr] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stderr] | [INFO] [stderr] 426 | / Box::pin(async move { [INFO] [stderr] 427 | | if let Err(err) = storage [INFO] [stderr] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stderr] 429 | | .await [INFO] [stderr] ... | [INFO] [stderr] 433 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::pin` that must be used [INFO] [stderr] --> instructions-core/src/abstractions.rs:426:9 [INFO] [stderr] | [INFO] [stderr] 426 | / Box::pin(async move { [INFO] [stderr] 427 | | if let Err(err) = storage [INFO] [stderr] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stderr] 429 | | .await [INFO] [stderr] ... | [INFO] [stderr] 433 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 426 | let _ = Box::pin(async move { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused pinned boxed implementer of `futures::Future` that must be used [INFO] [stderr] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | / Box::pin(async move { [INFO] [stderr] 439 | | if let Err(err) = storage [INFO] [stderr] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stderr] 441 | | .await [INFO] [stderr] ... | [INFO] [stderr] 445 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::pin` that must be used [INFO] [stderr] --> instructions-core/src/abstractions.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | / Box::pin(async move { [INFO] [stderr] 439 | | if let Err(err) = storage [INFO] [stderr] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stderr] 441 | | .await [INFO] [stderr] ... | [INFO] [stderr] 445 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 438 | let _ = Box::pin(async move { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/dictionary.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | fn as_ref(&self) -> ConfigKeyRef { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 129 | fn as_ref(&self) -> ConfigKeyRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/dictionary.rs:146:15 [INFO] [stderr] | [INFO] [stderr] 146 | fn to_key(&self) -> ConfigKeyRef; [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 146 | fn to_key(&self) -> ConfigKeyRef<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/dictionary.rs:164:15 [INFO] [stderr] | [INFO] [stderr] 164 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 164 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/dictionary.rs:170:15 [INFO] [stderr] | [INFO] [stderr] 170 | fn to_key(&self) -> ConfigKeyRef { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 170 | fn to_key(&self) -> ConfigKeyRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/health.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | fn retrieve(&self) -> Ref { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 24 | fn retrieve(&self) -> Ref<'_, Health> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> instructions-core/src/plugin.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | self.this.client_connected(client).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 68 | let _ = self.this.client_connected(client).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> instructions-core/src/plugin.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | self.next.client_connected(client).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 69 | let _ = self.next.client_connected(client).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: constant `directions` should have an upper case name [INFO] [stderr] --> instructions-core/src/puzzle/num_of_islands.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const directions: [[i32; 2]; 4] = [[-1, 0], [0, 1], [1, 0], [0, -1]]; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 8 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 61 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/src/ray_tracing.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 116 | fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `MutexGuard`, and `Mutex` [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:226:21 [INFO] [stderr] | [INFO] [stderr] 226 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stderr] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::Lines` [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | use std::str::Lines; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> instructions-core/src/puzzle/min_remove_to_make_valid.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/src/data_structures/graph.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | let mut nodes = generate_nodes(20).unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/src/patterns.rs:584:13 [INFO] [stderr] | [INFO] [stderr] 584 | let mut numbers: HashMap> = vec![0; 100] [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let mut a = ITEMS [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> instructions-core/src/abstractions.rs:639:25 [INFO] [stderr] | [INFO] [stderr] 639 | pub struct TestData(u32); [INFO] [stderr] | -------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: method `check_value` is never used [INFO] [stderr] --> instructions-core/src/data_structures/trie.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl TrieNode { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn check_value(self, c: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_with_capacity` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 24 | impl Dictionary { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `delete` is never used [INFO] [stderr] --> instructions-core/src/dictionary.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 47 | impl Dictionary { [INFO] [stderr] | ---------------------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 73 | fn delete(&mut self, key: &T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `MinusOne` is never constructed [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:476:5 [INFO] [stderr] | [INFO] [stderr] 474 | enum NumberOperation { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 475 | AddOne, [INFO] [stderr] 476 | MinusOne, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NumberOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `consumer` is never read [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:577:5 [INFO] [stderr] | [INFO] [stderr] 575 | struct BorrowedMessage<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 576 | data: String, [INFO] [stderr] 577 | consumer: &'a Consumer, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BorrowedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `data` is never read [INFO] [stderr] --> instructions-core/src/hrtb_generic.rs:592:5 [INFO] [stderr] | [INFO] [stderr] 591 | struct Event { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 592 | data: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `val1` is never read [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 121 | struct MyData<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 122 | val1: &'a mut u8, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `window` is never read [INFO] [stderr] --> instructions-core/src/patterns.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 172 | struct Phi<'window> { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 173 | window: &'window Window, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `age` are never read [INFO] [stderr] --> instructions-core/src/patterns.rs:266:5 [INFO] [stderr] | [INFO] [stderr] 265 | struct Person { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 266 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 267 | age: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `tx_id`, `start`, and `end` are never read [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | struct Transaction<'a> { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 28 | tx_id: &'a str, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 29 | start: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | end: u64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | Tx(&'a str), [INFO] [stderr] | -- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 80 - Tx(&'a str), [INFO] [stderr] 80 + Tx(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | Start(u64), [INFO] [stderr] | ----- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 81 - Start(u64), [INFO] [stderr] 81 + Start(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> instructions-core/src/puzzle/event_ordering.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | End(u64), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 82 - End(u64), [INFO] [stderr] 82 + End(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `find` is never used [INFO] [stderr] --> instructions-core/src/puzzle/longest_common_prefix_trie.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 23 | impl Trie { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | fn find(&self, s: &str) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> instructions-core/src/puzzle/reverse_list.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ListNode { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 3 | value: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ListNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `field_a` is never read [INFO] [stderr] --> instructions-core/src/queuer.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Settings { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 5 | field_a: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> instructions-core/src/queuer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct ConsumeParams { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 10 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> instructions-core/src/queuer.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | struct Payload { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 14 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | tx.send(serialized).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 311 | let _ = tx.send(serialized).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> instructions-core/src/lifetime_stuff.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 312 | worker.await; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 312 | let _ = worker.await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `instructions-core` (lib) generated 292 warnings (run `cargo fix --lib -p instructions-core` to apply 21 suggestions) [INFO] [stderr] warning: `instructions-core` (lib test) generated 148 warnings (121 duplicates) (run `cargo fix --lib -p instructions-core --tests` to apply 6 suggestions) [INFO] [stderr] warning: unused imports: `Drill` and `Struct` [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:4:57 [INFO] [stderr] | [INFO] [stderr] 4 | add, add_explicit, doit, take_async_callback, test, Drill, Struct, X, [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `add_one` [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | use instructions_core::{a, add_one, add_ten, b, check_me, wrapper, CheckerSystem, System}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::count` [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use tokio::count; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:195:9 [INFO] [stderr] | [INFO] [stderr] 195 | let mut ctx = ClientConnectContext::new(plugin3); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Foo` is never constructed [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | struct Foo<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `new_foo` is never used [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn new_foo<'a>( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `inner` is never read [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 229 | pub struct StreamForwarder { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 230 | inner: stream::Forward< [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn new(data: &[u8]) -> Container { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | pub fn new(data: &[u8]) -> Container<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | take_async_callback(add); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures::Future` that must be used [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | take_async_callback(add_explicit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> instructions-core/tests/async_hrtb_test.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | ctx.next(&mut ClientConn).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 196 | let _ = ctx.next(&mut ClientConn).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instructions_core::patterns` [INFO] [stderr] --> instructions-core/tests/patterns_test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use instructions_core::patterns; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Strategy` [INFO] [stderr] --> instructions-core/tests/patterns_test.rs:3:64 [INFO] [stderr] | [INFO] [stderr] 3 | my_take, Context, ContextData, ContextStrategy, SomeTrait, Strategy, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future` [INFO] [stderr] --> instructions-core/src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::future; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker` [INFO] [stderr] --> instructions-core/src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::marker; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin` [INFO] [stderr] --> instructions-core/src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::pin; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | pub type Error = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - pub type Error = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stderr] 17 + pub type Error = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | let (mut tx, rx) = mpsc::channel(10); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut tx_num = tx.clone(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | let (mut tx, rx) = mpsc::channel(10); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `name` are never read [INFO] [stderr] --> instructions-core/tests/fan_in_fan_out_test.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Post { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 12 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `derive_more::From` [INFO] [stderr] --> instructions-core/tests/syracuse_test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use derive_more::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `identities::Zero` [INFO] [stderr] --> instructions-core/tests/syracuse_test.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use num_traits::{identities::Zero, PrimInt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `VarB` is never constructed [INFO] [stderr] --> instructions-core/tests/syracuse_test.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 94 | enum E { [INFO] [stderr] | - variant in this enum [INFO] [stderr] 95 | VarA(A), [INFO] [stderr] 96 | VarB(B), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `material3` [INFO] [stderr] --> instructions-core/tests/ray_tracing_test.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let material3 = Lambertian::new(&Vec3::new(0.8, 0.6, 0.2)); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material3` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `material4` [INFO] [stderr] --> instructions-core/tests/ray_tracing_test.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let material4 = Lambertian::new(&Vec3::new(0.8, 0.8, 0.8)); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material4` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> instructions-core/tests/ray_tracing_test.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | for s in 0..ns { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::ParseIntError` [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::num::ParseIntError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `url::quirks::username` [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use url::quirks::username; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BufReader` is never constructed [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct BufReader { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `open` and `read_line` are never used [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 19 | impl BufReader { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 20 | pub fn open(path: impl AsRef) -> io::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn read_line<'buf>( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BufReader` is never constructed [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:48:16 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct BufReader { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_buf` is never used [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn new_buf() -> Rc { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `open` is never used [INFO] [stderr] --> instructions-core/tests/ascii_playback.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 57 | impl BufReader { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 58 | pub fn open(path: impl AsRef) -> io::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenOfficeWorker` [INFO] [stderr] --> instructions-core/tests/abstractions_test.rs:3:77 [INFO] [stderr] | [INFO] [stderr] 3 | InMemStorage, LoggingProducerTrait, Manager, ManagerImpl, OfficeWorker, OpenOfficeWorker, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> instructions-core/tests/abstractions_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `fmt::Debug` and `marker::PhantomData` [INFO] [stderr] --> instructions-core/tests/abstractions_test.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{fmt::Debug, marker::PhantomData}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product` [INFO] [stderr] --> instructions-core/tests/abstractions_test.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let product = producer.produce("Herby"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `instructions-core` (test "async_hrtb_test") generated 12 warnings (run `cargo fix --test "async_hrtb_test"` to apply 5 suggestions) [INFO] [stderr] warning: `instructions-core` (test "patterns_test") generated 2 warnings (run `cargo fix --test "patterns_test"` to apply 2 suggestions) [INFO] [stderr] warning: `instructions-core` (bin "instructions-core") generated 3 warnings (run `cargo fix --bin "instructions-core"` to apply 3 suggestions) [INFO] [stderr] warning: `instructions-core` (test "fan_in_fan_out_test") generated 6 warnings (run `cargo fix --test "fan_in_fan_out_test"` to apply 5 suggestions) [INFO] [stderr] warning: `instructions-core` (test "syracuse_test") generated 3 warnings (run `cargo fix --test "syracuse_test"` to apply 1 suggestion) [INFO] [stderr] warning: `instructions-core` (bin "instructions-core" test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `instructions-core` (test "ray_tracing_test") generated 3 warnings [INFO] [stderr] warning: `instructions-core` (test "ascii_playback") generated 7 warnings (run `cargo fix --test "ascii_playback"` to apply 2 suggestions) [INFO] [stderr] warning: `instructions-core` (test "abstractions_test") generated 4 warnings (run `cargo fix --test "abstractions_test"` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/instructions_core-9a53d5bfcead60c9) [INFO] [stdout] running 82 tests [INFO] [stdout] test abstractions::tests::basic_test ... ok [INFO] [stdout] test abstractions::tests::test_abstract_class ... ok [INFO] [stdout] test abstractions::tests::test_new_type_try_from ... ok [INFO] [stdout] test abstractions::tests::test_moving_average ... ok [INFO] [stdout] test abstractions::tests::test_new_type_try_from_table_cell ... ok [INFO] [stdout] test abstractions::tests::test_trait_bound_func ... ok [INFO] [stdout] test currying::tests::insert_curry_fn ... ok [INFO] [stdout] test dictionary::test::config_key ... ok [INFO] [stdout] test dictionary::test::my_cool_type ... ok [INFO] [stdout] test dictionary::test::play_with_map ... ok [INFO] [stdout] test gats::tests::test_factory_gat_pattern ... ok [INFO] [stdout] test health::tests::test_entity_health ... ok [INFO] [stdout] test data_structures::trie::test::test_a_trie ... ok [INFO] [stdout] test dictionary::test::complex_key_type ... ok [INFO] [stdout] test dictionary::test::test_dictionary ... ok [INFO] [stdout] test factory::tests::test_factory ... ok [INFO] [stdout] test hrtb_generic::tests::stream_pager ... ok [INFO] [stdout] test hrtb_generic::tests::test_gat_workaround ... ok [INFO] [stdout] test hrtb_generic::tests::test_lending_iter ... ok [INFO] [stdout] test hrtb_generic::tests::test_num_op_services_alt ... ok [INFO] [stdout] test lifetime_stuff::tests::test_executor_thing ... ok [INFO] [stdout] test lifetime_stuff::tests::test_lifetimes ... ok [INFO] [stdout] test lifetime_stuff::tests::test_executor_thing_other ... ok [INFO] [stdout] test lifetime_stuff::tests::test_lifetime ... ok [INFO] [stdout] test hrtb_generic::tests::test_odd_or_even ... ok [INFO] [stdout] test lifetime_stuff::tests::test_workflow ... ok [INFO] [stdout] test lifetime_stuff::tests::test_lifetime_trait_fun ... ok [INFO] [stdout] test patterns::tests::test_abstract_iterator ... ok [INFO] [stdout] test patterns::tests::test_lifetime_thingy ... ok [INFO] [stdout] test patterns::tests::test_more_matching_patterns ... ok [INFO] [stdout] test patterns::tests::test_maintain_interior_mutability ... ok [INFO] [stdout] test patterns::tests::test_permutations ... ok [INFO] [stdout] test hrtb_generic::tests::test_async_closure_thing ... ok [INFO] [stdout] test hrtb_generic::tests::test_closure_async_retry ... ok [INFO] [stdout] test patterns::tests::test_from_str ... ok [INFO] [stdout] test patterns::tests::test_cow_stuff ... ok [INFO] [stdout] test health_alt::tests::test_alt_system_health ... ok [INFO] [stdout] test patterns::tests::test_transpose ... ok [INFO] [stdout] test puzzle::event_ordering::test::test_alt ... ok [INFO] [stdout] test patterns::tests::test_polymorphic_generics ... ok [INFO] [stdout] test patterns::tests::test_start_end_iteration ... ok [INFO] [stdout] test patterns::tests::test_window_load ... ok [INFO] [stdout] test puzzle::event_ordering::test::test_alt_a ... ok [INFO] [stdout] test puzzle::longest_common_prefix_trie::test::it_works_with_sample_input_1 ... ok [INFO] [stdout] test puzzle::max_profit::tests::test1 ... ok [INFO] [stdout] test puzzle::min_remove_to_make_valid::test::test_min_remove_to_make_valid ... ok [INFO] [stdout] test puzzle::minimum_index_sum_two_lists::tests::test1 ... ok [INFO] [stdout] test puzzle::num_of_islands::test::basic ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test1 ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test1_dp ... ok [INFO] [stdout] test puzzle::num_of_islands::test::basic_dp ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test2 ... ok [INFO] [stdout] test data_structures::graph::test::ex1 ... ok [INFO] [stdout] test puzzle::event_ordering::test::test_parse ... ok [INFO] [stdout] test puzzle::longest_common_prefix_trie::test::it_works_with_sample_input_2 ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test2_dp ... ok [INFO] [stdout] test puzzle::rotate_arrays::tests::test_189 ... ok [INFO] [stdout] test puzzle::rotate_arrays::tests::test_rotate_left ... ok [INFO] [stdout] test puzzle::s0001_two_sum::test::test_two_sum ... ok [INFO] [stdout] test puzzle::s0013_roman_to_integer::test::test_13 ... ok [INFO] [stdout] test puzzle::s0014_longest_common_prefix::test::test_14 ... ok [INFO] [stdout] test puzzle::s0014_longest_common_prefix::test::test_longest_common_prefix ... ok [INFO] [stdout] test puzzle::s0014_longest_common_prefix::test::test_longest_common_prefix_alt ... ok [INFO] [stdout] test puzzle::s0017_letter_combination_phone_number::test::ex1 ... ok [INFO] [stdout] test puzzle::s0020_valid_parentheses::tests::test1 ... ok [INFO] [stdout] test puzzle::s0048_rotate_image::test::test_48 ... ok [INFO] [stdout] test puzzle::s0048_rotate_image::test::test_48_s ... ok [INFO] [stdout] test puzzle::s0064_minimum_path_sum::tests::test_64 ... ok [INFO] [stdout] test puzzle::s0075_sort_colors::tests::test1 ... ok [INFO] [stdout] test puzzle::s0075_sort_colors::tests::test2 ... ok [INFO] [stdout] test puzzle::rotate_arrays::tests::test1 ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test3 ... ok [INFO] [stdout] test puzzle::num_of_islands::test::test3_dp ... ok [INFO] [stdout] test puzzle::s0695_max_islands_area::test::max_area_island_test_1 ... ok [INFO] [stdout] test puzzle::s0539_minesweeper::test::minesweeper_test_2 ... ok [INFO] [stdout] test puzzle::reverse_list::test::test_reverse_list ... ok [INFO] [stdout] test tests::test_trait_not_general_enough ... ok [INFO] [stdout] test puzzle::s0079_word_search::tests::test_79 ... ok [INFO] [stdout] test puzzle::s0695_max_islands_area::test::max_area_island_test_2 ... ok [INFO] [stdout] test puzzle::s0539_minesweeper::test::minesweeper_test ... ok [INFO] [stdout] test patterns::tests::test_function_parameterized_trait ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/instructions_core-1e38afbaaf481770) [INFO] [stdout] test queuer::tests::test_queuer ... ok [INFO] [stderr] Running tests/abstractions_test.rs (/opt/rustwide/target/debug/deps/abstractions_test-4f447d11515e1e9a) [INFO] [stdout] [INFO] [stdout] test result: ok. 82 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_office_work ... ok [INFO] [stdout] test test_visitor_pattern ... ok [INFO] [stdout] test test_car_factory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/ascii_playback.rs (/opt/rustwide/target/debug/deps/ascii_playback-ed6138161aa4d10e) [INFO] [stdout] running 5 tests [INFO] [stdout] test test_aoc_2023_day_02 ... ok [INFO] [stdout] test test_aoc_2023_day_01_alt ... ok [INFO] [stdout] test test_aoc_2023_day_01 ... ok [INFO] [stdout] test test_aoc_2023_day_01_part_2 ... ok [INFO] [stdout] test test_ascii_playback_naive ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.77s [INFO] [stdout] [INFO] [stderr] Running tests/async_hrtb_test.rs (/opt/rustwide/target/debug/deps/async_hrtb_test-2d82e13ecaed5e96) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test async_hrtb_generic ... ok [INFO] [stdout] test async_ref_functions ... ok [INFO] [stdout] test do_something_async ... ok [INFO] [stdout] test hrtb ... ok [INFO] [stdout] test line_writer_test ... ok [INFO] [stdout] test async_hrtb_checker_test ... ok [INFO] [stdout] test test_adder ... ok [INFO] [stdout] test test_container_new ... ok [INFO] [stdout] test test_client_plugin ... ok [INFO] [stdout] test test_doit ... ok [INFO] [stdout] test test_handler_callback ... ok [INFO] [stdout] test test_stream_sink ... ok [INFO] [stdout] test test_async_callback_hrtb ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stderr] Running tests/fan_in_fan_out_test.rs (/opt/rustwide/target/debug/deps/fan_in_fan_out_test-1435cd69027d397b) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_fan_in_fan_out ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_fan_in_fan_out stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_fan_in_fan_out' panicked at instructions-core/tests/fan_in_fan_out_test.rs:45:40: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("jsonplaceholder.typicode.com")), port: None, path: "/comments/34", query: None, fragment: None }, source: Error { kind: Connect, source: Some(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61895063cad2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61895063cad2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61895063cad2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61895063cad2 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x618950665963 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x618950665963 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x618950639033 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x618950639033 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61895063c922 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61895063e04c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x61895063dea2 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x6189505b8fc4 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x6189505b8fc4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61895063eb2b - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x61895063eb2b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x61895063e7fa - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x61895063cfd9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x61895063e48d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x6189506636a0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x618950663aa6 - core::result::unwrap_failed::h31c9775ec1a50121 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x618950452e53 - core::result::Result::unwrap::h903aba010034a54a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x618950452e53 - fan_in_fan_out_test::fan_out::{{closure}}::{{closure}}::hea688b8b626b525d [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:45:40 [INFO] [stdout] 22: 0x618950451231 - tokio::runtime::task::core::Core::poll::{{closure}}::h0f79a688228359e8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/core.rs:328:24 [INFO] [stdout] 23: 0x618950451231 - tokio::loom::std::unsafe_cell::UnsafeCell::with_mut::h516f8c3cee0715fe [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/loom/std/unsafe_cell.rs:16:9 [INFO] [stdout] 24: 0x618950451231 - tokio::runtime::task::core::Core::poll::h250edf749147869f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/core.rs:317:30 [INFO] [stdout] 25: 0x61895044a2d2 - tokio::runtime::task::harness::poll_future::{{closure}}::ha5156de716b26289 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:485:30 [INFO] [stdout] 26: 0x61895044a2d2 - as core::ops::function::FnOnce<()>>::call_once::hac0fdac545080103 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x61895044a2d2 - std::panicking::catch_unwind::do_call::h5bce75597d66d0c9 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x61895044a2d2 - std::panicking::catch_unwind::h5b5d5c0c5e699b72 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x61895044a2d2 - std::panic::catch_unwind::hf6362d8e1f6f0d10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x61895044a2d2 - tokio::runtime::task::harness::poll_future::h3e73844b725b5a59 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:473:18 [INFO] [stdout] 31: 0x61895044a2d2 - tokio::runtime::task::harness::Harness::poll_inner::h1e4c2245417e33fb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:208:27 [INFO] [stdout] 32: 0x61895044a2d2 - tokio::runtime::task::harness::Harness::poll::h8575087545ae29f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:153:20 [INFO] [stdout] 33: 0x618950457935 - tokio::runtime::task::LocalNotified::run::h1352f55d2ab49665 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/mod.rs:427:13 [INFO] [stdout] 34: 0x618950457935 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::ha3a2a68607db2e1c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:700:30 [INFO] [stdout] 35: 0x618950457935 - tokio::runtime::coop::with_budget::h992644548dc2eda8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 36: 0x618950457935 - tokio::runtime::coop::budget::h23c2da76e55ee429 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 37: 0x618950457935 - tokio::runtime::scheduler::current_thread::Context::run_task::{{closure}}::h2e08e80d20607a09 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:43 [INFO] [stdout] 38: 0x618950457935 - tokio::runtime::scheduler::current_thread::Context::enter::h31b4aaf3adf78303 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 39: 0x61895045f18b - tokio::runtime::scheduler::current_thread::Context::run_task::h52525e79ce49a5ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:28 [INFO] [stdout] 40: 0x61895045f18b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h720bc624a6ff94b0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:699:43 [INFO] [stdout] 41: 0x61895045f18b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h0f24ec19b0db528e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 42: 0x61895045f18b - tokio::runtime::context::scoped::Scoped::set::hfd80e7b2db8207ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 43: 0x618950457b15 - tokio::runtime::context::set_scheduler::{{closure}}::h8417170835dbc0fc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:38 [INFO] [stdout] 44: 0x618950457b15 - std::thread::local::LocalKey::try_with::hdb86348b2b2d188b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 45: 0x618950457b15 - std::thread::local::LocalKey::with::hf26a3f843292d953 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 46: 0x618950457b15 - tokio::runtime::context::set_scheduler::hd27000f201c3dd78 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:17 [INFO] [stdout] 47: 0x618950457b15 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::ha6e41c75893214d7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 48: 0x618950457b15 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h6c85f8de3ebd4638 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:24 [INFO] [stdout] 49: 0x618950459631 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::he524c408990c616f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:33 [INFO] [stdout] 50: 0x618950459631 - tokio::runtime::context::runtime::enter_runtime::h5bf84b99e1bc9d4a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 51: 0x61895045985d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hf307e1b1325386d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 52: 0x61895045985d - tokio::runtime::runtime::Runtime::block_on::h6dbc610eb1fa3985 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:349:52 [INFO] [stdout] 53: 0x61895045d10e - fan_in_fan_out_test::test_fan_in_fan_out::hd12c9b3ff09d5cb4 [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:95:52 [INFO] [stdout] 54: 0x61895045d10e - fan_in_fan_out_test::test_fan_in_fan_out::{{closure}}::h632b75336a6b81a2 [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:85:31 [INFO] [stdout] 55: 0x61895045d10e - core::ops::function::FnOnce::call_once::hd128db624eb59679 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 56: 0x6189505be74b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 57: 0x6189505be74b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 58: 0x6189505bd93e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 59: 0x6189505bd93e - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 60: 0x6189505bd93e - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 61: 0x6189505bd93e - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 62: 0x6189505bd93e - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 63: 0x6189505bd93e - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 64: 0x6189505bd93e - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 65: 0x6189505814b4 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 66: 0x6189505814b4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 67: 0x618950584e8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 68: 0x618950584e8a - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 69: 0x618950584e8a - std::panicking::catch_unwind::do_call::h052f373fb905fee0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 70: 0x618950584e8a - std::panicking::catch_unwind::hb425d20c8ffb09c8 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 71: 0x618950584e8a - std::panic::catch_unwind::ha0d5dfbf18fdeda5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 72: 0x618950584e8a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 73: 0x618950584e8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 74: 0x618950641ca7 - as core::ops::function::FnOnce>::call_once::h47377e27fb938a26 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 75: 0x618950641ca7 - as core::ops::function::FnOnce>::call_once::h72f1fe5d095abf57 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 76: 0x618950641ca7 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 77: 0x7c1cfbf90aa4 - [INFO] [stdout] 78: 0x7c1cfc01da34 - clone [INFO] [stdout] 79: 0x0 - [INFO] [stdout] [INFO] [stdout] thread 'test_fan_in_fan_out' panicked at instructions-core/tests/fan_in_fan_out_test.rs:45:40: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("jsonplaceholder.typicode.com")), port: None, path: "/comments/88", query: None, fragment: None }, source: Error { kind: Connect, source: Some(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61895063cad2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61895063cad2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61895063cad2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61895063cad2 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x618950665963 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x618950665963 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x618950639033 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x618950639033 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61895063c922 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61895063e04c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x61895063dea2 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x6189505b8fc4 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x6189505b8fc4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61895063eb2b - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x61895063eb2b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x61895063e7fa - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x61895063cfd9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x61895063e48d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x6189506636a0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x618950663aa6 - core::result::unwrap_failed::h31c9775ec1a50121 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x618950452e53 - core::result::Result::unwrap::h903aba010034a54a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x618950452e53 - fan_in_fan_out_test::fan_out::{{closure}}::{{closure}}::hea688b8b626b525d [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:45:40 [INFO] [stdout] 22: 0x618950451231 - tokio::runtime::task::core::Core::poll::{{closure}}::h0f79a688228359e8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/core.rs:328:24 [INFO] [stdout] 23: 0x618950451231 - tokio::loom::std::unsafe_cell::UnsafeCell::with_mut::h516f8c3cee0715fe [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/loom/std/unsafe_cell.rs:16:9 [INFO] [stdout] 24: 0x618950451231 - tokio::runtime::task::core::Core::poll::h250edf749147869f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/core.rs:317:30 [INFO] [stdout] 25: 0x61895044a2d2 - tokio::runtime::task::harness::poll_future::{{closure}}::ha5156de716b26289 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:485:30 [INFO] [stdout] 26: 0x61895044a2d2 - as core::ops::function::FnOnce<()>>::call_once::hac0fdac545080103 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x61895044a2d2 - std::panicking::catch_unwind::do_call::h5bce75597d66d0c9 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x61895044a2d2 - std::panicking::catch_unwind::h5b5d5c0c5e699b72 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x61895044a2d2 - std::panic::catch_unwind::hf6362d8e1f6f0d10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x61895044a2d2 - tokio::runtime::task::harness::poll_future::h3e73844b725b5a59 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:473:18 [INFO] [stdout] 31: 0x61895044a2d2 - tokio::runtime::task::harness::Harness::poll_inner::h1e4c2245417e33fb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:208:27 [INFO] [stdout] 32: 0x61895044a2d2 - tokio::runtime::task::harness::Harness::poll::h8575087545ae29f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/harness.rs:153:20 [INFO] [stdout] 33: 0x618950457935 - tokio::runtime::task::LocalNotified::run::h1352f55d2ab49665 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/task/mod.rs:427:13 [INFO] [stdout] 34: 0x618950457935 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::ha3a2a68607db2e1c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:700:30 [INFO] [stdout] 35: 0x618950457935 - tokio::runtime::coop::with_budget::h992644548dc2eda8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 36: 0x618950457935 - tokio::runtime::coop::budget::h23c2da76e55ee429 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 37: 0x618950457935 - tokio::runtime::scheduler::current_thread::Context::run_task::{{closure}}::h2e08e80d20607a09 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:43 [INFO] [stdout] 38: 0x618950457935 - tokio::runtime::scheduler::current_thread::Context::enter::h31b4aaf3adf78303 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 39: 0x61895045f18b - tokio::runtime::scheduler::current_thread::Context::run_task::h52525e79ce49a5ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:28 [INFO] [stdout] 40: 0x61895045f18b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h720bc624a6ff94b0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:699:43 [INFO] [stdout] 41: 0x61895045f18b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h0f24ec19b0db528e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 42: 0x61895045f18b - tokio::runtime::context::scoped::Scoped::set::hfd80e7b2db8207ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 43: 0x618950457b15 - tokio::runtime::context::set_scheduler::{{closure}}::h8417170835dbc0fc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:38 [INFO] [stdout] 44: 0x618950457b15 - std::thread::local::LocalKey::try_with::hdb86348b2b2d188b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 45: 0x618950457b15 - std::thread::local::LocalKey::with::hf26a3f843292d953 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 46: 0x618950457b15 - tokio::runtime::context::set_scheduler::hd27000f201c3dd78 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:17 [INFO] [stdout] 47: 0x618950457b15 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::ha6e41c75893214d7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 48: 0x618950457b15 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h6c85f8de3ebd4638 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:24 [INFO] [stdout] 49: 0x618950459631 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::he524c408990c616f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:33 [INFO] [stdout] 50: 0x618950459631 - tokio::runtime::context::runtime::enter_runtime::h5bf84b99e1bc9d4a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 51: 0x61895045985d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hf307e1b1325386d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 52: 0x61895045985d - tokio::runtime::runtime::Runtime::block_on::h6dbc610eb1fa3985 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:349:52 [INFO] [stdout] 53: 0x61895045d10e - fan_in_fan_out_test::test_fan_in_fan_out::hd12c9b3ff09d5cb4 [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:95:52 [INFO] [stdout] 54: 0x61895045d10e - fan_in_fan_out_test::test_fan_in_fan_out::{{closure}}::h632b75336a6b81a2 [INFO] [stdout] at /opt/rustwide/workdir/instructions-core/tests/fan_in_fan_out_test.rs:85:31 [INFO] [stdout] 55: 0x61895045d10e - core::ops::function::FnOnce::call_once::hd128db624eb59679 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 56: 0x6189505be74b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 57: 0x6189505be74b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 58: 0x6189505bd93e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 59: 0x6189505bd93e - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 60: 0x6189505bd93e - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 61: 0x6189505bd93e - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 62: 0x6189505bd93e - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 63: 0x6189505bd93e - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 64: 0x6189505bd93e - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 65: 0x6189505814b4 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 66: 0x6189505814b4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 67: 0x618950584e8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 68: 0x618950584e8a - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [WARN] too many lines in the log, truncating it