[INFO] cloning repository https://github.com/kdwk/playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kdwk/playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fplayground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fplayground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3c14362b08fa789d4ed0808944638f5c12864af [INFO] checking kdwk/playground against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fplayground" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kdwk/playground on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kdwk/playground [INFO] finished tweaking git repo https://github.com/kdwk/playground [INFO] tweaked toml for git repo https://github.com/kdwk/playground written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kdwk/playground 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bon v3.3.2 [INFO] [stderr] Downloaded enclose v1.2.0 [INFO] [stderr] Downloaded bon-macros v3.3.2 [INFO] [stderr] Downloaded documents v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42410ec703be1545720930fe2d1659cac20a2dceffb322d33ec1fbcb92d7e388 [INFO] running `Command { std: "docker" "start" "-a" "42410ec703be1545720930fe2d1659cac20a2dceffb322d33ec1fbcb92d7e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42410ec703be1545720930fe2d1659cac20a2dceffb322d33ec1fbcb92d7e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42410ec703be1545720930fe2d1659cac20a2dceffb322d33ec1fbcb92d7e388", kill_on_drop: false }` [INFO] [stdout] 42410ec703be1545720930fe2d1659cac20a2dceffb322d33ec1fbcb92d7e388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39d34a0f0a47b04650f6e34c5a23c360eab99953c2d27b7246c40ee0ad41bb9 [INFO] running `Command { std: "docker" "start" "-a" "c39d34a0f0a47b04650f6e34c5a23c360eab99953c2d27b7246c40ee0ad41bb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking enclose v1.2.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.30 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tcp_server v0.1.0 (/opt/rustwide/workdir/tcp_server) [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking open v5.3.2 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.30 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking object-derive v0.1.0 (/opt/rustwide/workdir/object-derive) [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking documents v0.1.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Checking bon v3.3.2 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> main/src/quicksort.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extend::ext` [INFO] [stdout] --> main/src/quicksort.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use extend::ext; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::prelude::*` [INFO] [stdout] --> main/src/quicksort.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use super::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> main/src/quicksort.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let v = vec![9, 3, -1, 0, 3, -56]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> main/src/quicksort.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extend::ext` [INFO] [stdout] --> main/src/quicksort.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use extend::ext; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::prelude::*` [INFO] [stdout] --> main/src/quicksort.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use super::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> main/src/quicksort.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let v = vec![9, 3, -1, 0, 3, -56]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `b` is assigned to, but never used [INFO] [stdout] --> main/src/async_exp.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut b: &dyn Future; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_b` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main/src/async_exp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> main/src/async_exp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | b = &async { 5 } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/async_exp.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> main/src/react.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | panic!("Unreachable: called build on SingleChar"); [INFO] [stdout] | ------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 47 | Self { c: self.c } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `b` is assigned to, but never used [INFO] [stdout] --> main/src/async_exp.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut b: &dyn Future; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_b` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main/src/async_exp.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> main/src/async_exp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | b = &async { 5 } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/async_exp.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> main/src/compose.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | fn build(self, context: ()) -> impl Compose { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> main/src/react.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | panic!("Unreachable: called build on SingleChar"); [INFO] [stdout] | ------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 47 | Self { c: self.c } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_widget` [INFO] [stdout] --> main/src/compose.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn needsRebuild(&self, old_widget: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_widget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> main/src/quicksort.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let v = vec![9, 3, -1, 0, 3, -56]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> main/src/recipe.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let b = [3.0, 2.18, 3.14, 9.11] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> main/src/tree.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn insert(&'a mut self, item: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_widget` [INFO] [stdout] --> main/src/compose.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn needsRebuild(&self, old_widget: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_widget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let a = mix![ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apple1` [INFO] [stdout] --> main/src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let apple1 = Apple { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_apple1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let a = tokio::spawn(async { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | fn test14<'it>(a: impl IntoIterator) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `romania` [INFO] [stdout] --> main/src/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let romania = HashMap::from([ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_romania` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> main/src/main.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let map = map! { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map2` [INFO] [stdout] --> main/src/main.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | let mut map2 = mixedmap! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_map2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> main/src/main.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | let s1 = *s; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/main.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | let mut map2 = mixedmap! { [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: `v` [INFO] [stdout] --> main/src/quicksort.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let v = vec![9, 3, -1, 0, 3, -56]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `a1`, `b1`, and `c1` are never used [INFO] [stdout] --> main/src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 201 | impl A { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 202 | fn a1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn b1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn c1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `B` is never used [INFO] [stdout] --> main/src/main.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 214 | enum B { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `B` 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 `test1` is never used [INFO] [stdout] --> main/src/main.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1a` is never used [INFO] [stdout] --> main/src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn test1a() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> main/src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> main/src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn test3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test4` is never used [INFO] [stdout] --> main/src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn test4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test5` is never used [INFO] [stdout] --> main/src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn test5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test6` is never used [INFO] [stdout] --> main/src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn test6() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test7` is never used [INFO] [stdout] --> main/src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn test7() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test8` is never used [INFO] [stdout] --> main/src/main.rs:375:4 [INFO] [stdout] | [INFO] [stdout] 375 | fn test8() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test9` is never used [INFO] [stdout] --> main/src/main.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn test9() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test10` is never used [INFO] [stdout] --> main/src/main.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn test10() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test11` is never used [INFO] [stdout] --> main/src/main.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn test11(list: [&dyn std::fmt::Debug; N]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test12` is never used [INFO] [stdout] --> main/src/main.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn test12() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test13` is never used [INFO] [stdout] --> main/src/main.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn test13() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test14` is never used [INFO] [stdout] --> main/src/main.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn test14<'it>(a: impl IntoIterator) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test15` is never used [INFO] [stdout] --> main/src/main.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn test15() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait` is never used [INFO] [stdout] --> main/src/async_exp.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn wait(secs: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_future` is never used [INFO] [stdout] --> main/src/async_exp.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn some_future() -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/async_exp.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/async_exp.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> main/src/async_exp.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn test3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> main/src/compose.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Compose` is never used [INFO] [stdout] --> main/src/compose.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait Compose: PartialEq { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Box` is never constructed [INFO] [stdout] --> main/src/compose.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Box [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> main/src/compose.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Rect; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` 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 `Custom` is never constructed [INFO] [stdout] --> main/src/compose.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Custom; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Custom` 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 `ripeness` and `is_ripe` are never used [INFO] [stdout] --> main/src/fruits.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Fruit { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 27 | pub fn ripeness(&self) -> Ripeness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_ripe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO`, `new`, and `new_const` are never used [INFO] [stdout] --> main/src/fruits.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 74 | impl Dimensions { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 75 | const ZERO: Self = Self::new_const(0., 0., 0.); [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | pub fn new(x: impl Into, y: impl Into, z: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub const fn new_const(x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Then` is never used [INFO] [stdout] --> main/src/go.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Then { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for` is never used [INFO] [stdout] --> main/src/go.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn wait_for(future: impl Future) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map1` is never used [INFO] [stdout] --> main/src/guard_map.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub const fn map1() -> Map<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> main/src/guard_map.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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: method `turn_right` is never used [INFO] [stdout] --> main/src/guard_map.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 25 | const fn turn_right(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: associated items `origin`, `new`, and `move_in` are never used [INFO] [stdout] --> main/src/guard_map.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 42 | const fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | const fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const fn move_in(&self, direction: Direction) -> Location { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Guard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Map<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_wall`, `in_bounds`, `guard_in_bounds`, `walk`, and `walk_till_end` are never used [INFO] [stdout] --> main/src/guard_map.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> Map<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 82 | fn is_wall(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | const fn in_bounds(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | const fn guard_in_bounds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn walk(&mut self) -> Location { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn walk_till_end(&mut self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/guard_map.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> main/src/linked_list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> main/src/linked_list.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 19 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> main/src/linked_list.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `push` are never used [INFO] [stdout] --> main/src/linked_list.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LinkedList { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 32 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Anything` is never used [INFO] [stdout] --> main/src/mixture.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Anything<'a> = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Mixture` is never used [INFO] [stdout] --> main/src/mixture.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Mixture<'a> = Vec>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any` is never used [INFO] [stdout] --> main/src/mixture.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn any<'a, T: 'a>(thing: T) -> Anything<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MixtureExt` is never used [INFO] [stdout] --> main/src/mixture.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait MixtureExt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnythingExt` is never used [INFO] [stdout] --> main/src/mixture.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AnythingExt<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Number` is never used [INFO] [stdout] --> main/src/mixture.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait Number: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> main/src/mixture.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn add(x: Num, y: Num) -> ::Output { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/mixture.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factors` is never used [INFO] [stdout] --> main/src/numbers.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn factors(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prime` is never used [INFO] [stdout] --> main/src/numbers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn prime(n: u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `primes` is never used [INFO] [stdout] --> main/src/numbers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn primes(list: impl IntoIterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Object` is never used [INFO] [stdout] --> main/src/object.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Object: Clone + PartialEq + Hash { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Enum` is never used [INFO] [stdout] --> main/src/object.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Enum: Object { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quicksort` is never used [INFO] [stdout] --> main/src/quicksort.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn quicksort(mut list: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorting_flap` is never used [INFO] [stdout] --> main/src/quicksort.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn sorting_flap(left_condition: impl Fn(&T) -> bool) -> impl Fn(T) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/quicksort.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> main/src/recipe.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Step<'a, Input, Output>(String, Arc + 'a>); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Step` 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 `action` is never used [INFO] [stdout] --> main/src/recipe.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Input, Output> Step<'a, Input, Output> { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn action(alias: impl Display, closure: Closure) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity` is never used [INFO] [stdout] --> main/src/recipe.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn identity() -> impl Fn(Input) -> Input { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recipe` is never constructed [INFO] [stdout] --> main/src/recipe.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Recipe<'a, Ingredients, Outcome> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipe` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> main/src/recipe.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, Ingredients, Outcome> Recipe<'a, Ingredients, Outcome> { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 52 | pub fn initially + 'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn then + 'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn replace_first + 'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn replace + 'a + Clone>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn replace_initial + 'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn remove_first(&mut self, alias: impl Display) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove(&mut self, alias: impl Display) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get(&self, alias: impl Display) -> Step<'a, Outcome, Outcome> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pipe` is never used [INFO] [stdout] --> main/src/recipe.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait Pipe [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Apply` is never used [INFO] [stdout] --> main/src/recipe.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait Apply [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Log` is never used [INFO] [stdout] --> main/src/recipe.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> main/src/recipe.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pass` is never used [INFO] [stdout] --> main/src/recipe.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | pub trait Pass { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxInternal` is never constructed [INFO] [stdout] --> main/src/recipe.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct BoxInternal(i32, i32, f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxInternal` 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 `Boxy` is never constructed [INFO] [stdout] --> main/src/recipe.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct Boxy<'a>(Recipe<'a, (), BoxInternal>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `width`, `height`, and `rotate` are never used [INFO] [stdout] --> main/src/recipe.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl<'a> Boxy<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 279 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn width(&mut self, value: i32) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn height(&mut self, value: i32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn rotate(&mut self, degrees: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/recipe.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> main/src/recipe.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` 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 items `square` and `area` are never used [INFO] [stdout] --> main/src/recipe.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 336 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 337 | fn square(side: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn area(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> main/src/recipe.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryTree` is never used [INFO] [stdout] --> main/src/tree.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum BinaryTree<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `insert` are never used [INFO] [stdout] --> main/src/tree.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a, T: PartialOrd> BinaryTree<'a, T> { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] 9 | fn contains(&self, target: Option<&T>) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn insert(&'a mut self, item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Whoops` is never used [INFO] [stdout] --> main/src/whoops.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Whoops = Result<(), Box>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoWhoops` is never used [INFO] [stdout] --> main/src/whoops.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait IntoWhoops { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attempt` is never used [INFO] [stdout] --> main/src/whoops.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn attempt(closure: Closure) -> Whoops [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Catch` is never used [INFO] [stdout] --> main/src/whoops.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Catch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> main/src/react.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Surface` is never used [INFO] [stdout] --> main/src/react.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Surface = Vec>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Element` is never used [INFO] [stdout] --> main/src/react.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c` is never read [INFO] [stdout] --> main/src/react.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleChar { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | pub c: char, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> main/src/react.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> main/src/react.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn run(app: &impl Element) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynamicChar` is never constructed [INFO] [stdout] --> main/src/react.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | struct DynamicChar; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/react.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `needsRebuild` should have a snake case name [INFO] [stdout] --> main/src/compose.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn needsRebuild(&self, old_widget: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `needs_rebuild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> main/src/recipe.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let b = [3.0, 2.18, 3.14, 9.11] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> main/src/tree.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn insert(&'a mut self, item: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let a = mix![ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apple1` [INFO] [stdout] --> main/src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let apple1 = Apple { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_apple1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let a = tokio::spawn(async { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> main/src/main.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | fn test14<'it>(a: impl IntoIterator) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `romania` [INFO] [stdout] --> main/src/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let romania = HashMap::from([ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_romania` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> main/src/main.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let map = map! { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map2` [INFO] [stdout] --> main/src/main.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | let mut map2 = mixedmap! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_map2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> main/src/main.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | let s1 = *s; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/main.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | let mut map2 = mixedmap! { [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: methods `a1`, `b1`, and `c1` are never used [INFO] [stdout] --> main/src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 201 | impl A { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 202 | fn a1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn b1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn c1(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `B` is never used [INFO] [stdout] --> main/src/main.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 214 | enum B { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `B` 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 `test1` is never used [INFO] [stdout] --> main/src/main.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1a` is never used [INFO] [stdout] --> main/src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn test1a() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> main/src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> main/src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn test3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test4` is never used [INFO] [stdout] --> main/src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn test4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test5` is never used [INFO] [stdout] --> main/src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn test5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test6` is never used [INFO] [stdout] --> main/src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn test6() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test7` is never used [INFO] [stdout] --> main/src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn test7() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test8` is never used [INFO] [stdout] --> main/src/main.rs:375:4 [INFO] [stdout] | [INFO] [stdout] 375 | fn test8() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test9` is never used [INFO] [stdout] --> main/src/main.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn test9() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test10` is never used [INFO] [stdout] --> main/src/main.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn test10() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test11` is never used [INFO] [stdout] --> main/src/main.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn test11(list: [&dyn std::fmt::Debug; N]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test12` is never used [INFO] [stdout] --> main/src/main.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn test12() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test13` is never used [INFO] [stdout] --> main/src/main.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn test13() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test14` is never used [INFO] [stdout] --> main/src/main.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn test14<'it>(a: impl IntoIterator) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test15` is never used [INFO] [stdout] --> main/src/main.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn test15() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait` is never used [INFO] [stdout] --> main/src/async_exp.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn wait(secs: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_future` is never used [INFO] [stdout] --> main/src/async_exp.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn some_future() -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/async_exp.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/async_exp.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> main/src/async_exp.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn test3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> main/src/compose.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Compose` is never used [INFO] [stdout] --> main/src/compose.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait Compose: PartialEq { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Box` is never constructed [INFO] [stdout] --> main/src/compose.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Box [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> main/src/compose.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Rect; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` 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 `Custom` is never constructed [INFO] [stdout] --> main/src/compose.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Custom; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Custom` 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 `ripeness` and `is_ripe` are never used [INFO] [stdout] --> main/src/fruits.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Fruit { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 27 | pub fn ripeness(&self) -> Ripeness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_ripe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO`, `new`, and `new_const` are never used [INFO] [stdout] --> main/src/fruits.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 74 | impl Dimensions { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 75 | const ZERO: Self = Self::new_const(0., 0., 0.); [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | pub fn new(x: impl Into, y: impl Into, z: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub const fn new_const(x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Then` is never used [INFO] [stdout] --> main/src/go.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Then { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for` is never used [INFO] [stdout] --> main/src/go.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn wait_for(future: impl Future) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map1` is never used [INFO] [stdout] --> main/src/guard_map.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub const fn map1() -> Map<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> main/src/guard_map.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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: method `turn_right` is never used [INFO] [stdout] --> main/src/guard_map.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 25 | const fn turn_right(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: associated items `origin`, `new`, and `move_in` are never used [INFO] [stdout] --> main/src/guard_map.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 42 | const fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | const fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const fn move_in(&self, direction: Direction) -> Location { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Guard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> main/src/guard_map.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Map<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_wall`, `in_bounds`, `guard_in_bounds`, `walk`, and `walk_till_end` are never used [INFO] [stdout] --> main/src/guard_map.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> Map<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 82 | fn is_wall(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | const fn in_bounds(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | const fn guard_in_bounds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn walk(&mut self) -> Location { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn walk_till_end(&mut self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/guard_map.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> main/src/linked_list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> main/src/linked_list.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 19 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> main/src/linked_list.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `push` are never used [INFO] [stdout] --> main/src/linked_list.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LinkedList { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 32 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Anything` is never used [INFO] [stdout] --> main/src/mixture.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Anything<'a> = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Mixture` is never used [INFO] [stdout] --> main/src/mixture.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Mixture<'a> = Vec>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any` is never used [INFO] [stdout] --> main/src/mixture.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn any<'a, T: 'a>(thing: T) -> Anything<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MixtureExt` is never used [INFO] [stdout] --> main/src/mixture.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait MixtureExt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnythingExt` is never used [INFO] [stdout] --> main/src/mixture.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AnythingExt<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Number` is never used [INFO] [stdout] --> main/src/mixture.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait Number: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> main/src/mixture.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn add(x: Num, y: Num) -> ::Output { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/mixture.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factors` is never used [INFO] [stdout] --> main/src/numbers.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn factors(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prime` is never used [INFO] [stdout] --> main/src/numbers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn prime(n: u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `primes` is never used [INFO] [stdout] --> main/src/numbers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn primes(list: impl IntoIterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Object` is never used [INFO] [stdout] --> main/src/object.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Object: Clone + PartialEq + Hash { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Enum` is never used [INFO] [stdout] --> main/src/object.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Enum: Object { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quicksort` is never used [INFO] [stdout] --> main/src/quicksort.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn quicksort(mut list: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorting_flap` is never used [INFO] [stdout] --> main/src/quicksort.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn sorting_flap(left_condition: impl Fn(&T) -> bool) -> impl Fn(T) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/quicksort.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> main/src/recipe.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Step<'a, Input, Output>(String, Arc + 'a>); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Step` 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 `action` is never used [INFO] [stdout] --> main/src/recipe.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Input, Output> Step<'a, Input, Output> { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn action(alias: impl Display, closure: Closure) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity` is never used [INFO] [stdout] --> main/src/recipe.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn identity() -> impl Fn(Input) -> Input { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recipe` is never constructed [INFO] [stdout] --> main/src/recipe.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Recipe<'a, Ingredients, Outcome> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipe` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> main/src/recipe.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, Ingredients, Outcome> Recipe<'a, Ingredients, Outcome> { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 52 | pub fn initially + 'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn then + 'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn replace_first + 'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn replace + 'a + Clone>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn replace_initial + 'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn remove_first(&mut self, alias: impl Display) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove(&mut self, alias: impl Display) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get(&self, alias: impl Display) -> Step<'a, Outcome, Outcome> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pipe` is never used [INFO] [stdout] --> main/src/recipe.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait Pipe [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Apply` is never used [INFO] [stdout] --> main/src/recipe.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait Apply [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Log` is never used [INFO] [stdout] --> main/src/recipe.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> main/src/recipe.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pass` is never used [INFO] [stdout] --> main/src/recipe.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | pub trait Pass { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxInternal` is never constructed [INFO] [stdout] --> main/src/recipe.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct BoxInternal(i32, i32, f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxInternal` 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 `Boxy` is never constructed [INFO] [stdout] --> main/src/recipe.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct Boxy<'a>(Recipe<'a, (), BoxInternal>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `width`, `height`, and `rotate` are never used [INFO] [stdout] --> main/src/recipe.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl<'a> Boxy<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 279 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn width(&mut self, value: i32) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn height(&mut self, value: i32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn rotate(&mut self, degrees: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test1` is never used [INFO] [stdout] --> main/src/recipe.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn test1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> main/src/recipe.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` 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 items `square` and `area` are never used [INFO] [stdout] --> main/src/recipe.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 336 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 337 | fn square(side: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn area(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> main/src/recipe.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryTree` is never used [INFO] [stdout] --> main/src/tree.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum BinaryTree<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `insert` are never used [INFO] [stdout] --> main/src/tree.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a, T: PartialOrd> BinaryTree<'a, T> { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] 9 | fn contains(&self, target: Option<&T>) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn insert(&'a mut self, item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Whoops` is never used [INFO] [stdout] --> main/src/whoops.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Whoops = Result<(), Box>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoWhoops` is never used [INFO] [stdout] --> main/src/whoops.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait IntoWhoops { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attempt` is never used [INFO] [stdout] --> main/src/whoops.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn attempt(closure: Closure) -> Whoops [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Catch` is never used [INFO] [stdout] --> main/src/whoops.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Catch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> main/src/react.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Surface` is never used [INFO] [stdout] --> main/src/react.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Surface = Vec>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Element` is never used [INFO] [stdout] --> main/src/react.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c` is never read [INFO] [stdout] --> main/src/react.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleChar { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | pub c: char, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> main/src/react.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> main/src/react.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn run(app: &impl Element) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynamicChar` is never constructed [INFO] [stdout] --> main/src/react.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | struct DynamicChar; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> main/src/react.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `needsRebuild` should have a snake case name [INFO] [stdout] --> main/src/compose.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn needsRebuild(&self, old_widget: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `needs_rebuild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.72s [INFO] running `Command { std: "docker" "inspect" "c39d34a0f0a47b04650f6e34c5a23c360eab99953c2d27b7246c40ee0ad41bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39d34a0f0a47b04650f6e34c5a23c360eab99953c2d27b7246c40ee0ad41bb9", kill_on_drop: false }` [INFO] [stdout] c39d34a0f0a47b04650f6e34c5a23c360eab99953c2d27b7246c40ee0ad41bb9