[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] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/lfordyce/instructions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 160cfe911cd23cd1f56b426197673c75b764460e [INFO] checking lfordyce/instructions against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flfordyce%2Finstructions" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lfordyce/instructions on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lfordyce/instructions [INFO] finished tweaking git repo https://github.com/lfordyce/instructions [INFO] tweaked toml for git repo https://github.com/lfordyce/instructions written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/lfordyce/instructions already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded num-bigint v0.4.0 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 440068fbd2ea85868897ca5d369bb7b1b1005d6282ed4e2bdf00f22644fa5a37 [INFO] running `Command { std: "docker" "start" "-a" "440068fbd2ea85868897ca5d369bb7b1b1005d6282ed4e2bdf00f22644fa5a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "440068fbd2ea85868897ca5d369bb7b1b1005d6282ed4e2bdf00f22644fa5a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440068fbd2ea85868897ca5d369bb7b1b1005d6282ed4e2bdf00f22644fa5a37", kill_on_drop: false }` [INFO] [stdout] 440068fbd2ea85868897ca5d369bb7b1b1005d6282ed4e2bdf00f22644fa5a37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec64e7acf812f31b88cb7158417952a30b2884b10bdd588c30aa9ccc21ffdd24 [INFO] running `Command { std: "docker" "start" "-a" "ec64e7acf812f31b88cb7158417952a30b2884b10bdd588c30aa9ccc21ffdd24", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking instructions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Output` [INFO] [stdout] --> src/hrtb_generic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/lifetime_stuff.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc::{channel, Receiver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BoolTrait` [INFO] [stdout] --> src/patterns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::BoolTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> 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] --> 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] --> 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 import: `std::process::Output` [INFO] [stdout] --> src/hrtb_generic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BoolTrait` [INFO] [stdout] --> src/patterns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::BoolTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> 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] --> 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 variable: `key` [INFO] [stdout] --> src/lib.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let key = key.into_key(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reducer` [INFO] [stdout] --> src/lib.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | 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: `foos` [INFO] [stdout] --> 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] --> 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] --> 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] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> 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] --> 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: `index` [INFO] [stdout] --> 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: `r` [INFO] [stdout] --> src/patterns.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | 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] --> src/patterns.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 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] --> src/patterns.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | 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: `ray_in` [INFO] [stdout] --> 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: function `test` is never used [INFO] [stdout] --> src/lib.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | async fn test(bt: BT) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 235 | state: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_fn` is never used [INFO] [stdout] --> src/lib.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn key_fn(key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `my_handler` is never used [INFO] [stdout] --> src/lib.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | async fn my_handler(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `producer` is never read [INFO] [stdout] --> 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: function `store_ep` is never used [INFO] [stdout] --> 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: field `string` is never read [INFO] [stdout] --> 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: field `ifc` is never read [INFO] [stdout] --> 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: fields `id` and `name` are never read [INFO] [stdout] --> src/currying.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_name` is never used [INFO] [stdout] --> 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] --> 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] --> 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] --> src/currying.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn create_item( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/dictionary.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct DictionaryCell { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | items: LinkedList>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/dictionary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct DictionaryNodeItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 14 | key: T, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | value: U, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryNodeItem` 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 `Dictionary` is never constructed [INFO] [stdout] --> src/dictionary.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Dictionary { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text` and `Binary` are never constructed [INFO] [stdout] --> src/dictionary.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | enum ConfigKey { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 123 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | Binary(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigKey` 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 `new` is never used [INFO] [stdout] --> src/dictionary.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_capacity` is never used [INFO] [stdout] --> src/dictionary.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `put` is never used [INFO] [stdout] --> src/dictionary.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn put(&mut self, key: &T, value: U) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/dictionary.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn get(&mut self, key: &T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete` is never used [INFO] [stdout] --> src/dictionary.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn delete(&mut self, key: &T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dictionary.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn new>>(n: i32, s: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FactoryCreatorFactory` is never used [INFO] [stdout] --> src/factory.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type FactoryCreatorFactory<'a, Self_> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn` is never used [INFO] [stdout] --> src/factory.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn spawn() -> T::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_phone` is never used [INFO] [stdout] --> 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: variants `Simple` and `Function` are never constructed [INFO] [stdout] --> src/gate.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Gate { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Simple(u64, u64, u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Function(Vec, Vec, Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gates` is never used [INFO] [stdout] --> 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] --> 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] --> 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] --> src/gate.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn flatten<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_health` is never used [INFO] [stdout] --> src/health.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn print_health(health: &Health) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_health` is never used [INFO] [stdout] --> 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] --> 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: function `with_async_closure` is never used [INFO] [stdout] --> 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] --> 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: struct `HolderBox` is never constructed [INFO] [stdout] --> src/hrtb_generic.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct HolderBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderNoBox` is never constructed [INFO] [stdout] --> src/hrtb_generic.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | struct HolderNoBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DBConnection` is never constructed [INFO] [stdout] --> src/hrtb_generic.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | struct DBConnection; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction` is never used [INFO] [stdout] --> 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] --> 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] --> 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] --> src/hrtb_generic.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct Services { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AddOne` and `MinusOne` are never constructed [INFO] [stdout] --> src/hrtb_generic.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | enum NumberOperation { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 475 | AddOne, [INFO] [stdout] | ^^^^^^ [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: function `service` is never used [INFO] [stdout] --> 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] --> src/hrtb_generic.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | struct Pager [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_items` is never used [INFO] [stdout] --> 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: field `consumer` is never read [INFO] [stdout] --> 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] --> 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: type alias `Message` is never used [INFO] [stdout] --> 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: associated function `add_object` is never used [INFO] [stdout] --> src/hrtb_generic.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn add_object(self: &'_ mut Self, object: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_object` is never used [INFO] [stdout] --> src/hrtb_generic.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn add_object(self: &'_ mut Self, object: &'lifetime T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `query` is never used [INFO] [stdout] --> src/hrtb_generic.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | async fn query(&'_ mut self, key: &'_ str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hrtb_generic.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hrtb_generic.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | fn new(f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `stream` is never used [INFO] [stdout] --> src/hrtb_generic.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | fn stream<'a>(&'a self) -> Pin + 'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hrtb_generic.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 585 | fn new(consumer: Consumer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynFutureWithLt` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DynFutureWithLt<'max, 'min, O> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_closure` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn call_closure<'max, C>(mut closure: C) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_other_closure` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn call_other_closure<'max, C>(mut closure: C) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherExecutor` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct OtherExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val1` is never read [INFO] [stdout] --> src/lifetime_stuff.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct MyData<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 121 | val1: &'a mut u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_data` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | 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] --> src/lifetime_stuff.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct TimestampValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowProcess` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | struct WorkflowProcess { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(future: Pin>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn run<'a>(&'a self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn run<'a>(&'a self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `last_updated` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn last_updated(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn get(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn set(&mut self, v: V) -> V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `my_field` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn my_field(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_my_field` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn set_my_field(&mut self, my_field: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | 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] --> src/patterns.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ReferencePacket<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 107 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontLoader` is never constructed [INFO] [stdout] --> src/patterns.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct FontLoader(String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Font` is never constructed [INFO] [stdout] --> src/patterns.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | struct Font(*const String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Window` is never constructed [INFO] [stdout] --> src/patterns.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct Window; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Phi` is never constructed [INFO] [stdout] --> src/patterns.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | struct Phi<'window> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `algorithm` and `search_space` are never read [INFO] [stdout] --> src/patterns.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 204 | algorithm: A, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 205 | 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: fields `name` and `age` are never read [INFO] [stdout] --> src/patterns.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 261 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | 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 `load` is never used [INFO] [stdout] --> src/patterns.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn load(&self) -> Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `do_the_thing` is never used [INFO] [stdout] --> src/patterns.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn do_the_thing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/patterns.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn solve(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_a` is never read [INFO] [stdout] --> 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] --> 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] --> 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 `queuer` is never read [INFO] [stdout] --> src/queuer.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct Syncer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 54 | queuer: Queuer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Syncer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/queuer.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `consume` is never used [INFO] [stdout] --> src/queuer.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn consume( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/queuer.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `perform_actions` is never used [INFO] [stdout] --> src/queuer.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn perform_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `util_function` is never used [INFO] [stdout] --> src/queuer.rs:104:14 [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] --> 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: associated function `normal` is never used [INFO] [stdout] --> src/ray_tracing.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn normal(&self) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `collide` is never used [INFO] [stdout] --> src/ray_tracing.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn collide(&self, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `albedo` is never used [INFO] [stdout] --> src/ray_tracing.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn albedo(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cross` is never used [INFO] [stdout] --> src/ray_tracing.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `project` is never used [INFO] [stdout] --> src/ray_tracing.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | fn project(&self, onto: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rotate` is never used [INFO] [stdout] --> src/ray_tracing.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | fn rotate(&self, phi: f32, theta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[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] --> src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> 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] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> 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] [INFO] [stdout] [INFO] [stdout] warning: 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instructions::patterns` [INFO] [stdout] --> tests/patterns_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use instructions::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] --> tests/patterns_test.rs:2:89 [INFO] [stdout] | [INFO] [stdout] 2 | use instructions::patterns::{my_take, Context, ContextData, ContextStrategy, SomeTrait, Strategy}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material3` [INFO] [stdout] --> 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] --> 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] --> tests/ray_tracing_test.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for s in 0..ns { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> tests/async_hrtb_test.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{sink::drain, stream, Future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drill`, `Struct` [INFO] [stdout] --> 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] [INFO] [stdout] warning: unused import: `add_one` [INFO] [stdout] --> tests/async_hrtb_test.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use instructions::{a, add_one, add_ten, b, check_me, wrapper, CheckerSystem, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOfficeWorker` [INFO] [stdout] --> 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::pin::Pin` [INFO] [stdout] --> 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: `std::sync::Arc` [INFO] [stdout] --> 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`, `marker::PhantomData` [INFO] [stdout] --> 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> 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: variable does not need to be mutable [INFO] [stdout] --> 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: unused import: `derive_more::From` [INFO] [stdout] --> 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/fan_in_fan_out_test.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut tx_num = tx.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 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: variable does not need to be mutable [INFO] [stdout] --> tests/async_hrtb_test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | 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] --> tests/async_hrtb_test.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | 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] --> tests/async_hrtb_test.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn new_foo<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> tests/async_hrtb_test.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct StreamForwarder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 191 | inner: stream::Forward< [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> 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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> tests/async_hrtb_test.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | take_async_callback(add); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> tests/async_hrtb_test.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | 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] --> tests/async_hrtb_test.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | 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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let key = key.into_key(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reducer` [INFO] [stdout] --> src/lib.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | 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: `foos` [INFO] [stdout] --> 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] --> 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] --> 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] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> 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] --> 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: `index` [INFO] [stdout] --> 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: `r` [INFO] [stdout] --> src/patterns.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | 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] --> src/patterns.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 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] --> src/patterns.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | 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: `ray_in` [INFO] [stdout] --> 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 import: `identities::Zero` [INFO] [stdout] --> 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: variant `VarB` is never constructed [INFO] [stdout] --> tests/syracuse_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | enum E { [INFO] [stdout] | - variant in this enum [INFO] [stdout] 95 | VarA(A), [INFO] [stdout] 96 | VarB(B), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/lib.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | async fn test(bt: BT) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 235 | state: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_fn` is never used [INFO] [stdout] --> src/lib.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn key_fn(key: K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `my_handler` is never used [INFO] [stdout] --> src/lib.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | async fn my_handler(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `producer` is never read [INFO] [stdout] --> 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: function `store_ep` is never used [INFO] [stdout] --> 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: field `string` is never read [INFO] [stdout] --> 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: field `ifc` is never read [INFO] [stdout] --> 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: function `find_by_name` is never used [INFO] [stdout] --> 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: associated function `new_with_capacity` is never used [INFO] [stdout] --> src/dictionary.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new_with_capacity(capacity: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete` is never used [INFO] [stdout] --> src/dictionary.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn delete(&mut self, key: &T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FactoryCreatorFactory` is never used [INFO] [stdout] --> src/factory.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type FactoryCreatorFactory<'a, Self_> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn` is never used [INFO] [stdout] --> src/factory.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn spawn() -> T::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple` and `Function` are never constructed [INFO] [stdout] --> src/gate.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Gate { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Simple(u64, u64, u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Function(Vec, Vec, Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_gates` is never used [INFO] [stdout] --> 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] --> 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] --> 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] --> src/gate.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn flatten<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderBox` is never constructed [INFO] [stdout] --> src/hrtb_generic.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct HolderBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HolderNoBox` is never constructed [INFO] [stdout] --> src/hrtb_generic.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | struct HolderNoBox<'lifetime> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> 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] --> src/hrtb_generic.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct Services { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MinusOne` is never constructed [INFO] [stdout] --> 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] --> 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] --> 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: associated function `add_object` is never used [INFO] [stdout] --> src/hrtb_generic.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn add_object(self: &'_ mut Self, object: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_object` is never used [INFO] [stdout] --> src/hrtb_generic.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn add_object(self: &'_ mut Self, object: &'lifetime T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hrtb_generic.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val1` is never read [INFO] [stdout] --> src/lifetime_stuff.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct MyData<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 121 | val1: &'a mut u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampValue` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct TimestampValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/lifetime_stuff.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `last_updated` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn last_updated(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn get(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn set(&mut self, v: V) -> V { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `my_field` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn my_field(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_my_field` is never used [INFO] [stdout] --> src/lifetime_stuff.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | 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] --> src/patterns.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ReferencePacket<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 107 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/patterns.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct Phi<'window> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 168 | window: &'window Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/patterns.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 261 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | 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: field `field_a` is never read [INFO] [stdout] --> 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] --> 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] --> 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] --> 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: associated function `normal` is never used [INFO] [stdout] --> src/ray_tracing.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn normal(&self) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `collide` is never used [INFO] [stdout] --> src/ray_tracing.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn collide(&self, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `albedo` is never used [INFO] [stdout] --> src/ray_tracing.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn albedo(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cross` is never used [INFO] [stdout] --> src/ray_tracing.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `project` is never used [INFO] [stdout] --> src/ray_tracing.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | fn project(&self, onto: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rotate` is never used [INFO] [stdout] --> src/ray_tracing.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | fn rotate(&self, phi: f32, theta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::pin` that must be used [INFO] [stdout] --> src/abstractions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / Box::pin(async move { [INFO] [stdout] 427 | | if let Err(err) = storage [INFO] [stdout] 428 | | .record_data(foo.value, format!("it was Foo: {:}!", foo.value)) [INFO] [stdout] 429 | | .await [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[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] --> src/abstractions.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / Box::pin(async move { [INFO] [stdout] 439 | | if let Err(err) = storage [INFO] [stdout] 440 | | .record_data(bar.value, format!("it was Bar: {:}!", bar.value)) [INFO] [stdout] 441 | | .await [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lifetime_stuff.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | tx.send(serialized).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lifetime_stuff.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | worker.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> 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] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> 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] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.45s [INFO] running `Command { std: "docker" "inspect" "ec64e7acf812f31b88cb7158417952a30b2884b10bdd588c30aa9ccc21ffdd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec64e7acf812f31b88cb7158417952a30b2884b10bdd588c30aa9ccc21ffdd24", kill_on_drop: false }` [INFO] [stdout] ec64e7acf812f31b88cb7158417952a30b2884b10bdd588c30aa9ccc21ffdd24