[INFO] cloning repository https://github.com/yiqing-95/prog_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiqing-95/prog_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiqing-95%2Fprog_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiqing-95%2Fprog_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1cf8f1c298ddf1d0cdb3a26e5cb66d5f26f18b0f
[INFO] checking yiqing-95/prog_rust against nightly-2024-02-05 for check-cfg
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiqing-95%2Fprog_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yiqing-95/prog_rust on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yiqing-95/prog_rust
[INFO] finished tweaking git repo https://github.com/yiqing-95/prog_rust
[INFO] tweaked toml for git repo https://github.com/yiqing-95/prog_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/yiqing-95/prog_rust 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rbatis-macro-driver v4.5.1
[INFO] [stderr]   Downloaded fast_log v1.6.10
[INFO] [stderr]   Downloaded fastdate v0.3.25
[INFO] [stderr]   Downloaded rbatis-codegen v4.5.5
[INFO] [stderr]   Downloaded rbdc-pool-mobc v4.5.6
[INFO] [stderr]   Downloaded rustls-pki-types v1.0.1
[INFO] [stderr]   Downloaded rbs v4.5.2
[INFO] [stderr]   Downloaded inflate v0.2.0
[INFO] [stderr]   Downloaded bigdecimal v0.4.2
[INFO] [stderr]   Downloaded image v0.13.0
[INFO] [stderr]   Downloaded png v0.7.0
[INFO] [stderr]   Downloaded rbatis v4.5.6
[INFO] [stderr]   Downloaded dark-std v0.2.8
[INFO] [stderr]   Downloaded rbdc v4.5.10
[INFO] [stderr]   Downloaded rbdc-sqlite v4.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9117fc9d253cdfdb65db60d5f513f0be7e73472d7b4abf19d261c82a2bca0809
[INFO] running `Command { std: "docker" "start" "-a" "9117fc9d253cdfdb65db60d5f513f0be7e73472d7b4abf19d261c82a2bca0809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9117fc9d253cdfdb65db60d5f513f0be7e73472d7b4abf19d261c82a2bca0809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9117fc9d253cdfdb65db60d5f513f0be7e73472d7b4abf19d261c82a2bca0809", kill_on_drop: false }`
[INFO] [stdout] 9117fc9d253cdfdb65db60d5f513f0be7e73472d7b4abf19d261c82a2bca0809
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c873d0bb196f1eed396851ccee03642e06ad91bb0c1773820471aa7732e5cfe9
[INFO] running `Command { std: "docker" "start" "-a" "c873d0bb196f1eed396851ccee03642e06ad91bb0c1773820471aa7732e5cfe9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]     Checking futures-io v0.3.29
[INFO] [stderr]     Checking zerocopy v0.7.26
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]     Checking crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling bigdecimal v0.4.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking rustls-pki-types v1.0.1
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling metrics v0.18.1
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]     Checking hashbrown v0.14.2
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking rustls-pemfile v2.0.0
[INFO] [stderr]     Checking webpki-roots v0.26.0
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking lru v0.12.1
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking ucd-trie v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]     Checking crossbeam v0.8.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking colored v2.0.4
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking brotli v3.4.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking text-colorizer v1.0.0
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking png v0.7.0
[INFO] [stderr]    Compiling metrics-macros v0.5.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling linkme-impl v0.3.17
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]     Checking image v0.13.0
[INFO] [stderr]     Checking tokio v1.34.0
[INFO] [stderr] error: could not compile `brotli` (lib)
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/nightly-2024-02-05-x86_64-unknown-linux-gnu/bin/rustc --crate-name brotli /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/brotli-3.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="ffi-api"' --cfg 'feature="std"' -C metadata=5b5ae75ab592d99f -C extra-filename=-5b5ae75ab592d99f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-d39055e623e5a6a5.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-1c9963df55b3cf5c.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-798e9fb1a0eb0155.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c873d0bb196f1eed396851ccee03642e06ad91bb0c1773820471aa7732e5cfe9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c873d0bb196f1eed396851ccee03642e06ad91bb0c1773820471aa7732e5cfe9", kill_on_drop: false }`
[INFO] [stdout] c873d0bb196f1eed396851ccee03642e06ad91bb0c1773820471aa7732e5cfe9
[INFO] checking yiqing-95/prog_rust against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiqing-95%2Fprog_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yiqing-95/prog_rust on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yiqing-95/prog_rust
[INFO] finished tweaking git repo https://github.com/yiqing-95/prog_rust
[INFO] tweaked toml for git repo https://github.com/yiqing-95/prog_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/yiqing-95/prog_rust 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3952f934283c0411f83bb709d5303ca23ddc48ff4b52936d76f1b969f8071f7
[INFO] running `Command { std: "docker" "start" "-a" "c3952f934283c0411f83bb709d5303ca23ddc48ff4b52936d76f1b969f8071f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3952f934283c0411f83bb709d5303ca23ddc48ff4b52936d76f1b969f8071f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3952f934283c0411f83bb709d5303ca23ddc48ff4b52936d76f1b969f8071f7", kill_on_drop: false }`
[INFO] [stdout] c3952f934283c0411f83bb709d5303ca23ddc48ff4b52936d76f1b969f8071f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 7841ac6af7307d92df37fd3ea41877f73543134c262ac3d78829a506022403ec
[INFO] running `Command { std: "docker" "start" "-a" "7841ac6af7307d92df37fd3ea41877f73543134c262ac3d78829a506022403ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]     Checking futures-io v0.3.29
[INFO] [stderr]     Checking zerocopy v0.7.26
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling bigdecimal v0.4.2
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking rustls-pki-types v1.0.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling metrics v0.18.1
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]     Checking hashbrown v0.14.2
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]     Checking lru v0.12.1
[INFO] [stderr]     Checking rustls-pemfile v2.0.0
[INFO] [stderr]     Checking webpki-roots v0.26.0
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking ucd-trie v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crossbeam v0.8.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking brotli v3.4.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking colored v2.0.4
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking text-colorizer v1.0.0
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking png v0.7.0
[INFO] [stderr]    Compiling metrics-macros v0.5.1
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling linkme-impl v0.3.17
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking tokio v1.34.0
[INFO] [stderr]     Checking image v0.13.0
[INFO] [stderr]    Compiling pest v2.7.5
[INFO] [stderr]     Checking linkme v0.3.17
[INFO] [stderr]    Compiling pest_meta v2.7.5
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling zstd-safe v6.0.6
[INFO] [stderr]     Checking zstd v0.12.4
[INFO] [stderr]    Compiling pest_generator v2.7.5
[INFO] [stderr]     Checking futures-executor v0.3.29
[INFO] [stderr]     Checking futures v0.3.29
[INFO] [stderr]    Compiling pest_derive v2.7.5
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking mobc v0.8.3
[INFO] [stderr]     Checking actix-server v2.3.0
[INFO] [stderr]     Checking actix-codec v0.5.1
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking deranged v0.3.9
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking rbs v4.5.2
[INFO] [stderr]     Checking serde_bytes v0.11.12
[INFO] [stderr]     Checking dark-std v0.2.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.1
[INFO] [stderr]     Checking h2 v0.3.22
[INFO] [stderr]     Checking html_parser v0.6.3
[INFO] [stderr]     Checking time v0.3.30
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]     Checking rbatis-codegen v4.5.5
[INFO] [stderr]     Checking fastdate v0.3.25
[INFO] [stderr]     Checking rbdc v4.5.10
[INFO] [stderr]     Checking fast_log v1.6.10
[INFO] [stderr]    Compiling rbatis-macro-driver v4.5.1
[INFO] [stderr]     Checking rbdc-pool-mobc v4.5.6
[INFO] [stderr]     Checking rbdc-sqlite v4.5.2
[INFO] [stderr]     Checking rbatis v4.5.6
[INFO] [stderr]     Checking actix-http v3.4.0
[INFO] [stderr]     Checking hi_rbatis v0.1.0 (/opt/rustwide/workdir/crates/hi_rbatis)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     /// enable log crate to show sql logs
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     fast_log::init(fast_log::Config::new().console()).expect("rbatis init fail");
[INFO] [stdout]    |     ---------------------------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     /// initialize rbatis. also you can call rb.clone(). this is  an Arc point
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     let rb = RBatis::new();
[INFO] [stdout]    |     ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     /// connect to database 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     rb.link(SqliteDriver {}, "sqlite://../target/sqlite.db").await.unwrap();
[INFO] [stdout]    |     ----------------------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     /// enable log crate to show sql logs
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     fast_log::init(fast_log::Config::new().console()).expect("rbatis init fail");
[INFO] [stdout]    |     ---------------------------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     /// initialize rbatis. also you can call rb.clone(). this is  an Arc point
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     let rb = RBatis::new();
[INFO] [stdout]    |     ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/hi_rbatis/src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     /// connect to database 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     rb.link(SqliteDriver {}, "sqlite://../target/sqlite.db").await.unwrap();
[INFO] [stdout]    |     ----------------------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking actix-web v4.4.0
[INFO] [stderr]     Checking my_rust v0.1.0 (/opt/rustwide/workdir/crates/my_rust)
[INFO] [stdout] warning: unused imports: `get`, `post`
[INFO] [stdout]  --> crates/my_rust/src/ch1/actix_gcd.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpResponse, HttpServer};
[INFO] [stdout]   |                 ^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> crates/my_rust/src/ch8/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> crates/my_rust/src/ch9/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> crates/my_rust/src/ch11/trait_objects.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BTreeSet`, `HashSet`
[INFO] [stdout]  --> crates/my_rust/src/ch15/sets.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeSet, HashSet};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 |     use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]     |                            ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ch15::dump`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     use crate::ch15::dump;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:548:9
[INFO] [stdout]     |
[INFO] [stdout] 548 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> crates/my_rust/src/ch16/vecs.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> crates/my_rust/src/ch16/deques.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> crates/my_rust/src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use std::str::FromStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `post`
[INFO] [stdout]  --> crates/my_rust/src/ch1/actix_gcd.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpResponse, HttpServer};
[INFO] [stdout]   |                 ^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     ;
[INFO] [stdout]    |     ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     /// An example of a test function. Note that the type of
[INFO] [stdout] 62 | |     /// this function is `fn(&City) -> bool`, the same as
[INFO] [stdout] 63 | |     /// the `test_fn` argument to `count_selected_cities`.
[INFO] [stdout]    | |_____-----------------------------------------------------^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::binary_heap::PeekMut`
[INFO] [stdout]  --> crates/my_rust/src/ch15/bin_heaps.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use std::collections::binary_heap::PeekMut;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeSet`
[INFO] [stdout]  --> crates/my_rust/src/ch15/sets.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeSet, HashSet};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:487:9
[INFO] [stdout]     |
[INFO] [stdout] 487 | /         /**
[INFO] [stdout] 488 | |
[INFO] [stdout] 489 | |         impl<'a, I: Iterator + ?Sized> Iterator for &'a mut I { type Item = I::Item;
[INFO] [stdout] 490 | |         fn next(&mut self) -> Option<I::Item> {
[INFO] [stdout] ...   |
[INFO] [stdout] 494 | |
[INFO] [stdout] 495 | |          */
[INFO] [stdout]     | |___________^
[INFO] [stdout] 496 | /         let message = "To: jimb\r\n From: id\r\n
[INFO] [stdout] 497 | | \r\n
[INFO] [stdout] 498 | | Oooooh, donuts!!\r\n";
[INFO] [stdout]     | |______________________- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `/* */` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> crates/my_rust/src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use std::str::FromStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speech`
[INFO] [stdout]  --> crates/my_rust/src/ch3/strings.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let speech = "\"Ouch!\" said the well.\n";
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_speech`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `default_win_install_path`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let default_win_install_path = r"C:\Program Files\Gorillas";
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_win_install_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let pattern = Regex::new(r"\d+(\.\d+)*");
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut i = 1;
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let t = s.clone();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let u = s.clone();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn f0<'a>(r: &'a i32, s: &'a i32) -> &'a i32 { r } // perhaps too tight
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn f<'a, 'b>(r: &'a i32, s: &'b i32) -> &'a i32 { r } // looser
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if let Err(err) = real_main() {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]    --> crates/my_rust/src/main.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn first<T>(v: &Vec<T>) -> Option<&T> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_loop` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch1/mandelbrot.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn square_loop(mut x: f64) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_add_loop` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch1/mandelbrot.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn square_add_loop(c: f64) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_square_add_loop` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch1/mandelbrot.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn complex_square_add_loop(c: Complex<f64>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch1/mandelbrot.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_vector` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn build_vector() -> Vec<i16> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_vector2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn build_vector2() -> Vec<i16> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ambiguous_numeric_type` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn ambiguous_numeric_type() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panics_in_debug_build` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn panics_in_debug_build() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panics_in_any_build` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn panics_in_any_build() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/floating_point_types.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/floating_point_types.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() {}
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_split_at2` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/tuples.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | }fn test_split_at2() {
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_pixel_buffer` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch3/sequence_values.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn new_pixel_buffer(rows: usize, cols: usize) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `literals` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/strings.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn literals() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_padovan` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch4/ownership.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn print_padovan() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn example1() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn example2() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deep_copy` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn deep_copy() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn example3() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Table` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch5/refs_values.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Table = HashMap<String, Vec<String>>;
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch5/refs_values.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn show(table: &Table) {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show1` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn show1(table: Table) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_works` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn sort_works(table: &mut Table) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `implicitly_borrow` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn implicitly_borrow() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `references_to_references` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn references_to_references() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `app_name` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch5/lifetimes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Config {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 3 |     app_name: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` 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 `config` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch5/lifetimes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct App<'a> {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 8 |     config: &'a Config,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_args` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn ref_args() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `STASH` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | static mut STASH: &i32 = &128;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn f(p: &'static i32) {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `distinct_lifetime` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn distinct_lifetime() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GenericError` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type GenericError = Box<dyn std::error::Error + Send + Sync + 'static>;
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GenericResult` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | type GenericResult<T> = Result<T, GenericError>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `real_main` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn real_main() -> Result<(), GenericError> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_numbers` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn read_numbers(file: &mut dyn BufRead) -> GenericResult<Vec<i64>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_error` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn print_error(mut err: &dyn Error) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_all` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn move_all(src: &Path, dst: &Path) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pirate_share` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch7/panics.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn pirate_share(total: u64, crew_size: usize) -> u64 {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `roughly_equal` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch8/mod.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn roughly_equal(a: f64, b: f64) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GrayscaleMap` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct GrayscaleMap {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_map` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn new_map(size: (usize, usize), pixels: Vec<u8>) -> GrayscaleMap {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Broom` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct Broom {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FetchWater` and `DumpWater` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 | enum BroomIntent { FetchWater, DumpWater }
[INFO] [stdout]    |      -----------   ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      variants in this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BroomIntent` 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 `chop` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn chop(b: Broom) -> (Broom, Broom) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bounds` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/tuple_like_structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Bounds(usize, usize);
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ascii` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/tuple_like_structs.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Ascii(Vec<u8>);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Onesuch` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/tuple_like_structs.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Onesuch;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Queue` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/impls.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Queue {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push` and `pop` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Queue {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 9  |     /// Push a character onto the back of a queue.
[INFO] [stdout] 10 |     pub fn push(&mut self, c: char) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn pop(&mut self) -> Option<char> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Queue {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 41 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `split` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Queue {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 55 |     pub fn split(self) -> (Vec<char>, Vec<char>) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Queue {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 74 |     pub fn new() -> Queue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vector2` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Vector2 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ZERO` and `UNIT` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:86:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Vector2 {
[INFO] [stdout]    | ------------ associated constants in this implementation
[INFO] [stdout] 86 |     const ZERO: Vector2 = Vector2 { x: 0.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 87 |     const UNIT: Vector2 = Vector2 { x: 1.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `NAME` and `ID` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:91:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl Vector2 {
[INFO] [stdout]    | ------------ associated constants in this implementation
[INFO] [stdout] 91 |     const NAME: &'static str = "Vector2";
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 92 |     const ID: u32 = 18;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/simpled_xml.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node { tag: String,
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch9/simpled_xml.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Node {
[INFO] [stdout]   | --------- associated function in this implementation
[INFO] [stdout] 6 |     fn new(tag: &str) -> Node {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Queue` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/generic_structs.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Queue<T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `is_empty` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn push(&mut self, t: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sum` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Queue<f64> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     fn sum(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Extrema` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/struct_with_lifetimes.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Extrema<'elt> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_extrema` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch9/struct_with_lifetimes.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn find_extrema<'s>(slice: &'s [i32]) -> Extrema<'s> {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GrayscaleMap` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub struct GrayscaleMap {
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch10/mod.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compare(n: i32, m: i32) -> Ordering {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Seconds`, `Minutes`, `Hours`, `Days`, `Months`, and `Years` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum TimeUnit {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 47 |     Seconds,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     Minutes,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 49 |     Hours,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 50 |     Days,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 51 |     Months,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 52 |     Years,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeUnit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `plural` and `singular` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl TimeUnit {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 57 |     /// Return the plural noun for this time unit.
[INFO] [stdout] 58 |    pub  fn plural(self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn singular(self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InThePast`, `JustNow`, and `InTheFuture` are never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch10/enum_with_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum RoughTime {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 6 |     InThePast(TimeUnit, u32),
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 7 |     JustNow,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     InTheFuture(TimeUnit, u32),
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RoughTime` 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: enum `Json` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/enum_with_data.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum Json { Null,
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinaryTree` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch10/generic_enums.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum BinaryTree<T> {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch10/generic_enums.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct TreeNode<T> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rough_time_to_english` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/generic_enums.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn rough_time_to_english(rt: RoughTime) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_struct` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn match_struct() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_array` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn match_array() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_slice` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn match_slice() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_pattern` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn ref_pattern() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_guards` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn match_guards(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiple_possibilities` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch10/matches.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn  multiple_possibilities(){
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinaryTree` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch10/bin_tree.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum BinaryTree<T> {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch10/bin_tree.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct TreeNode<T> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/bin_tree.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: Ord> BinaryTree<T> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 15 |     fn add(&mut self, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/mod.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn say_hello(out: &mut dyn Write) -> std::io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/mod.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn min<T: Ord>(value1: T, value2: T) -> T {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch11/generics.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn say_hello<W: Write>(out: &mut W) -> std::io::Result<()> { out.write_all(b"hello world\n")?;
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collect_into_vector` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn collect_into_vector<I: Iterator>(iter: I) -> Vec<I::Item> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn dump<I>(iter: I) where I: Iterator, I::Item: Debug
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn dump2(iter: &mut dyn Iterator<Item=String>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cyclical_zip` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn cyclical_zip(v: Vec<u8>, u: Vec<u8>) -> impl Iterator<Item=u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch11/impl_traits.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn print<T: Display>(val: T) {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print2` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch11/impl_traits.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn print2(val: impl Display) { println!("{}", val);
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_one` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn add_one<T: Float + Add<Output=T>>(value: T) -> T {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fib` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn fib<T: Float + Add<Output=T>>(n: usize) -> T {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn dot<N>(v1: &[N], v2: &[N]) -> N
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn dot2<N: Num + Copy>(v1: &[N], v2: &[N]) -> N {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch12/index_traits.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl<P: Default + Copy> Image<P> {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 35 |     /// Create a new image of the given size.
[INFO] [stdout] 36 |     fn new(width: usize, height: usize) -> Image<P> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `City` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch14/closures.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct City {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `city_population_descending` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn city_population_descending(city: &City) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_cities0` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn sort_cities0(cities: &mut Vec<City>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_cities` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn sort_cities(cities: &mut Vec<City>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_selected_cities` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn count_selected_cities(cities: &Vec<City>, test_fn: fn(&City) -> bool) -> usize
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_monster_attacks` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn has_monster_attacks(city: &City) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_selected_cities2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn count_selected_cities2<F>(cities: &Vec<City>, test_fn: F) -> usize where F: Fn(&City) -> bool
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call_twice` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch14/closures.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn call_twice<F>(closure: F) where F: Fn() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call_twice2` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch14/closures.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn call_twice2<F>(mut closure: F) where F: FnMut() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch14/callbacks.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Request {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Response {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BasicRouter<C> where C: Fn(&Request) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<C> BasicRouter<C> where C: Fn(&Request) -> Response {
[INFO] [stdout]    | -------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 22 |     /// Create an empty router.
[INFO] [stdout] 23 |     fn new() -> BasicRouter<C> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn add_route(&mut self, url: &str, callback: C) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FnPointerRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct FnPointerRouter {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl FnPointerRouter {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 88 |     // Create an empty router.
[INFO] [stdout] 89 |     fn new() -> FnPointerRouter {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     fn add_route(&mut self, url: &str, callback: fn(&Request) -> Response) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BoxedCallback` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     type BoxedCallback = Box<dyn Fn(&Request) -> Response>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     struct BasicRouter {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     impl BasicRouter {
[INFO] [stdout]    |     ---------------- associated items in this implementation
[INFO] [stdout] 42 |         // Create an empty router.
[INFO] [stdout] 43 |         fn new() -> BasicRouter {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |         fn add_route<C>(&mut self, url: &str, callback: C) where C: Fn(&Request) -> Response + 'static
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_request` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     impl BasicRouter {
[INFO] [stdout]    |     ---------------- method in this implementation
[INFO] [stdout] 57 |         fn handle_request(&self, request: &Request) -> Response {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `triangle` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch15/mod.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn triangle(n: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch15/mod.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn dump<T, U>(t: T)
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_fold` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:677:4
[INFO] [stdout]     |
[INFO] [stdout] 677 | fn try_fold() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Empty` and `NonEmpty` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch15/own_iter.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | enum BinaryTree<T> {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 33 |     Empty,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 34 |     NonEmpty(Box<TreeNode<T>>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch15/own_iter.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl <T: Ord>  BinaryTree<T> {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 44 |     fn add(&mut self, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:551:8
[INFO] [stdout]     |
[INFO] [stdout] 551 |     fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_last` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:658:8
[INFO] [stdout]     |
[INFO] [stdout] 658 |     fn test_last() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> crates/my_rust/src/ch1/actix_gcd.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         main().await;
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = main().await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 145 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]    --> crates/my_rust/src/ch3/sequence_values.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let sa: &[f64] = &a;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_sa`
[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]    --> crates/my_rust/src/ch3/sequence_values.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut s2 = &mut [1, 2, 3];
[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: `speech`
[INFO] [stdout]  --> crates/my_rust/src/ch3/strings.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let speech = "\"Ouch!\" said the well.\n";
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_speech`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `default_win_install_path`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let default_win_install_path = r"C:\Program Files\Gorillas";
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_win_install_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let pattern = Regex::new(r"\d+(\.\d+)*");
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oodles`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let oodles = &noodles[1..];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oodles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `poodles`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let poodles = "ಠ_ಠ";
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poodles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn some_string_fn(s: &str) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut i = 1;
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let t = s.clone();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let u = s.clone();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn f0<'a>(r: &'a i32, s: &'a i32) -> &'a i32 { r } // perhaps too tight
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn f<'a, 'b>(r: &'a i32, s: &'b i32) -> &'a i32 { r } // looser
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if let Err(err) = real_main() {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut q = Queue::<char>::new();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut q = Queue::<char>::new();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `four_score_and_seven_years_ago`
[INFO] [stdout]   --> crates/my_rust/src/ch10/enum_with_data.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let four_score_and_seven_years_ago = RoughTime::InThePast(TimeUnit::Years, 4 * 20 + 7);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_four_score_and_seven_years_ago`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `three_hours_from_now`
[INFO] [stdout]   --> crates/my_rust/src/ch10/enum_with_data.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let three_hours_from_now = RoughTime::InTheFuture(TimeUnit::Hours, 3);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_three_hours_from_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mars_tree`
[INFO] [stdout]   --> crates/my_rust/src/ch10/generic_enums.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mars_tree = NonEmpty(Box::new(TreeNode {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mars_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]  --> crates/my_rust/src/ch11/trait_objects.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let writer: &mut dyn Write = &mut buf; // ok
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `a` is assigned to, but never used
[INFO] [stdout]   --> crates/my_rust/src/ch13/drops.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut a = Appellation {
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_a` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `a` is never read
[INFO] [stdout]   --> crates/my_rust/src/ch13/drops.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         a = Appellation { name: "Hera".to_string(), nicknames: vec![] };
[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: `f`
[INFO] [stdout]    --> crates/my_rust/src/ch14/closures.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let f = || drop(my_str);
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `incr`
[INFO] [stdout]    --> crates/my_rust/src/ch14/closures.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let incr = || {
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_incr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let two = closure_ptr(1); // 2
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set`
[INFO] [stdout]   --> crates/my_rust/src/ch15/sets.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let set: HashSet<&str> = large_vector.into_iter().collect();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lengths`
[INFO] [stdout]   --> crates/my_rust/src/ch15/mod.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let lengths: Vec<f64> =
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lengths`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let mut v = v.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]    --> crates/my_rust/src/ch15/mod.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let mut v = v.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]    --> crates/my_rust/src/ch15/mod.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let mut v = v.clone();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter_rouce`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let iter_rouce = s.chars();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter_rouce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |         for arg in std::env::args().skip(1) {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:579:13
[INFO] [stdout]     |
[INFO] [stdout] 579 |         let numbers = [1.0, 4.0, std::f64::NAN, 2.0];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:697:13
[INFO] [stdout]     |
[INFO] [stdout] 697 |         let args: HashSet<String> = std::env::args().collect();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:698:13
[INFO] [stdout]     |
[INFO] [stdout] 698 |         let args: BTreeSet<String> = std::env::args().collect();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:699:13
[INFO] [stdout]     |
[INFO] [stdout] 699 |         let args: LinkedList<String> = std::env::args().collect();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:701:13
[INFO] [stdout]     |
[INFO] [stdout] 701 |         let args: HashMap<String, usize> = std::env::args().zip(0..).collect();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:702:13
[INFO] [stdout]     |
[INFO] [stdout] 702 |         let args: BTreeMap<String, usize> = std::env::args().zip(0..).collect();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]  --> crates/my_rust/src/ch16/vecs.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut numbers: Vec<i32> = vec![];
[INFO] [stdout]   |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `words`
[INFO] [stdout]  --> crates/my_rust/src/ch16/vecs.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let words = vec!["step", "on", "no", "pets"];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_words`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]  --> crates/my_rust/src/ch16/vecs.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut buffer = vec![0u8; 1024]; // 1024 zeroed-out bytes
[INFO] [stdout]   |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> crates/my_rust/src/ch16/vecs.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut numbers: Vec<i32> = vec![];
[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]  --> crates/my_rust/src/ch16/vecs.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut buffer = vec![0u8; 1024]; // 1024 zeroed-out bytes
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> crates/my_rust/src/ch16/vecs.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let a = &v[i];
[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]    --> crates/my_rust/src/ch16/vecs.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let b = &v[j];
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `front_half`
[INFO] [stdout]    --> crates/my_rust/src/ch16/vecs.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let front_half = &v[..mid];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_half`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `back_half`
[INFO] [stdout]    --> crates/my_rust/src/ch16/vecs.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let back_half = &v[mid..];
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_back_half`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/my_rust/src/ch16/vecs.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut students = ["zhang san", "wang ma zi", "li si"];
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> crates/my_rust/src/ch16/vecs.rs:244:10
[INFO] [stdout]     |
[INFO] [stdout] 244 |     for (index, &val) in my_vec.iter().enumerate() {
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> crates/my_rust/src/ch16/deques.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let v = VecDeque::from(vec![1, 2, 3, 4]);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/my_rust/src/ch16/deques.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut f = my_deck.front_mut().unwrap();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]    --> crates/my_rust/src/main.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn first<T>(v: &Vec<T>) -> Option<&T> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_loop` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch1/mandelbrot.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn square_loop(mut x: f64) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_add_loop` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch1/mandelbrot.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn square_add_loop(c: f64) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_square_add_loop` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch1/mandelbrot.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn complex_square_add_loop(c: Complex<f64>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch1/mandelbrot.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_vector` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn build_vector() -> Vec<i16> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_vector2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn build_vector2() -> Vec<i16> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ambiguous_numeric_type` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn ambiguous_numeric_type() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panics_in_debug_build` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn panics_in_debug_build() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panics_in_any_build` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/mod.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn panics_in_any_build() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/floating_point_types.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/floating_point_types.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() {}
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_split_at2` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/tuples.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | }fn test_split_at2() {
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_pixel_buffer` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch3/sequence_values.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn new_pixel_buffer(rows: usize, cols: usize) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `literals` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch3/strings.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn literals() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_string_fn` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch3/strings.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn some_string_fn(s: &str) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_padovan` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch4/ownership.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn print_padovan() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn example1() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn example2() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deep_copy` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn deep_copy() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn example3() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `birth` is never read
[INFO] [stdout]   --> crates/my_rust/src/ch4/ownership.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     struct Person {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 92 |         name: Option<String>,
[INFO] [stdout] 93 |         birth: i32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show1` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn show1(table: Table) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_works` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn sort_works(table: &mut Table) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bechdel_pass` is never read
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     struct Anime {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 61 |         name: &'static str,
[INFO] [stdout] 62 |         bechdel_pass: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `implicitly_borrow` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn implicitly_borrow() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `references_to_references` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/refs_values.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn references_to_references() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `app_name` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch5/lifetimes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Config {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 3 |     app_name: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` 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 `config` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch5/lifetimes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct App<'a> {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 8 |     config: &'a Config,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_args` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn ref_args() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `S` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 |     struct S<'a> {
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `D` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     struct D<'a> {
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `distinct_lifetime` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn distinct_lifetime() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `S` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch5/lifetimes.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     struct S<'a, 'b> {
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_r_xy` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch5/lifetimes.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn sum_r_xy(r: &i32, s: S) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_third` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch5/lifetimes.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 |     fn first_third(point: &[i32; 3]) -> (&i32, &i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StringTable` is never constructed
[INFO] [stdout]    --> crates/my_rust/src/ch5/lifetimes.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 |     struct StringTable {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_by_prefix` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch5/lifetimes.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     impl StringTable {
[INFO] [stdout]     |     ---------------- method in this implementation
[INFO] [stdout] 112 |         // shorthand for: fn find_by_prefix<'a, 'b>(&'a self, prefix: &'b str) -> Option<&'a String>
[INFO] [stdout] 113 |         fn find_by_prefix(&self, prefix: &str) -> Option<&String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GenericResult` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | type GenericResult<T> = Result<T, GenericError>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_numbers` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn read_numbers(file: &mut dyn BufRead) -> GenericResult<Vec<i64>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_error` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn print_error(mut err: &dyn Error) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_all` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch7/mod.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn move_all(src: &Path, dst: &Path) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pirate_share` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch7/panics.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn pirate_share(total: u64, crew_size: usize) -> u64 {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_map` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn new_map(size: (usize, usize), pixels: Vec<u8>) -> GrayscaleMap {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `intent` are never read
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct Broom {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     position: (f32, f32, f32),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 57 |     intent: BroomIntent,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DumpWater` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 | enum BroomIntent { FetchWater, DumpWater }
[INFO] [stdout]    |      -----------               ^^^^^^^^^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      variant in this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BroomIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ascii` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/tuple_like_structs.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Ascii(Vec<u8>);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Onesuch` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/tuple_like_structs.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Onesuch;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Queue {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 74 |     pub fn new() -> Queue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vector2` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Vector2 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ZERO` and `UNIT` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:86:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Vector2 {
[INFO] [stdout]    | ------------ associated constants in this implementation
[INFO] [stdout] 86 |     const ZERO: Vector2 = Vector2 { x: 0.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 87 |     const UNIT: Vector2 = Vector2 { x: 1.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `NAME` and `ID` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/impls.rs:91:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl Vector2 {
[INFO] [stdout]    | ------------ associated constants in this implementation
[INFO] [stdout] 91 |     const NAME: &'static str = "Vector2";
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 92 |     const ID: u32 = 18;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch9/simpled_xml.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node { tag: String,
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch9/simpled_xml.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Node {
[INFO] [stdout]   | --------- associated function in this implementation
[INFO] [stdout] 6 |     fn new(tag: &str) -> Node {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `older` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch9/generic_structs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Queue<T> {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 2 |     older: Vec<T>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sum` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch9/generic_structs.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Queue<f64> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     fn sum(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GrayscaleMap` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch9/mod.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub struct GrayscaleMap {
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch10/mod.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compare(n: i32, m: i32) -> Ordering {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotModified` and `NotFound` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     enum HttpStatus {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 21 |         Ok = 200,
[INFO] [stdout] 22 |         NotModified = 304,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 23 |         NotFound = 404,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_status_from_u32` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn http_status_from_u32(n: u32) -> Option<HttpStatus> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Seconds`, `Minutes`, `Days`, and `Months` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum TimeUnit {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 47 |     Seconds,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     Minutes,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 49 |     Hours,
[INFO] [stdout] 50 |     Days,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 51 |     Months,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeUnit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `plural` and `singular` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl TimeUnit {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 57 |     /// Return the plural noun for this time unit.
[INFO] [stdout] 58 |    pub  fn plural(self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn singular(self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `JustNow` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch10/enum_with_data.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum RoughTime {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] 6 |     InThePast(TimeUnit, u32),
[INFO] [stdout] 7 |     JustNow,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RoughTime` 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: variants `Null`, `Boolean`, `Number`, `String`, `Array`, and `Object` are never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch10/enum_with_data.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum Json { Null,
[INFO] [stdout]    |      ----   ^^^^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      variants in this enum
[INFO] [stdout] 42 |     Boolean(bool),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 43 |     Number(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     String(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 45 |     Array(Vec<Json>), Object(Box<HashMap<String, Json>>),
[INFO] [stdout]    |     ^^^^^             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> crates/my_rust/src/ch10/generic_enums.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NonEmpty(Box<TreeNode<T>>),
[INFO] [stdout]   |     -------- ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NonEmpty(()),
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `element`, `left`, and `right` are never read
[INFO] [stdout]   --> crates/my_rust/src/ch10/generic_enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct TreeNode<T> {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 11 |     element: T,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     left: BinaryTree<T>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     right: BinaryTree<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rough_time_to_english` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/generic_enums.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn rough_time_to_english(rt: RoughTime) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `describe_point` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn describe_point(x: i32, y: i32) -> &'static str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_struct` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn match_struct() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_array` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn match_array() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_slice` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn match_slice() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_pattern` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn ref_pattern() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_guards` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/matches.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn match_guards(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiple_possibilities` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch10/matches.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn  multiple_possibilities(){
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinaryTree` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch10/bin_tree.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum BinaryTree<T> {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch10/bin_tree.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct TreeNode<T> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch10/bin_tree.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: Ord> BinaryTree<T> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 15 |     fn add(&mut self, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/mod.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn min<T: Ord>(value1: T, value2: T) -> T {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch11/generics.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn say_hello<W: Write>(out: &mut W) -> std::io::Result<()> { out.write_all(b"hello world\n")?;
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collect_into_vector` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn collect_into_vector<I: Iterator>(iter: I) -> Vec<I::Item> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn dump<I>(iter: I) where I: Iterator, I::Item: Debug
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump2` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn dump2(iter: &mut dyn Iterator<Item=String>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cyclical_zip` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/iterators.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn cyclical_zip(v: Vec<u8>, u: Vec<u8>) -> impl Iterator<Item=u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print2` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch11/impl_traits.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn print2(val: impl Display) { println!("{}", val);
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_one` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn add_one<T: Float + Add<Output=T>>(value: T) -> T {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fib` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch11/associated_constants.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn fib<T: Float + Add<Output=T>>(n: usize) -> T {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch12/index_traits.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl<P: Default + Copy> Image<P> {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 35 |     /// Create a new image of the given size.
[INFO] [stdout] 36 |     fn new(width: usize, height: usize) -> Image<P> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `country` are never read
[INFO] [stdout]  --> crates/my_rust/src/ch14/closures.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct City {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 2 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     population: i64,
[INFO] [stdout] 4 |     country: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_cities0` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn sort_cities0(cities: &mut Vec<City>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_cities` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn sort_cities(cities: &mut Vec<City>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_selected_cities` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/closures.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn count_selected_cities(cities: &Vec<City>, test_fn: fn(&City) -> bool) -> usize
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call_twice` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch14/closures.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn call_twice<F>(closure: F) where F: Fn() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> crates/my_rust/src/ch14/callbacks.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Request {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Response {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BasicRouter<C> where C: Fn(&Request) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<C> BasicRouter<C> where C: Fn(&Request) -> Response {
[INFO] [stdout]    | -------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 22 |     /// Create an empty router.
[INFO] [stdout] 23 |     fn new() -> BasicRouter<C> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn add_route(&mut self, url: &str, callback: C) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FnPointerRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct FnPointerRouter {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl FnPointerRouter {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 88 |     // Create an empty router.
[INFO] [stdout] 89 |     fn new() -> FnPointerRouter {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     fn add_route(&mut self, url: &str, callback: fn(&Request) -> Response) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BoxedCallback` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     type BoxedCallback = Box<dyn Fn(&Request) -> Response>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicRouter` is never constructed
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     struct BasicRouter {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_route` are never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     impl BasicRouter {
[INFO] [stdout]    |     ---------------- associated items in this implementation
[INFO] [stdout] 42 |         // Create an empty router.
[INFO] [stdout] 43 |         fn new() -> BasicRouter {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |         fn add_route<C>(&mut self, url: &str, callback: C) where C: Fn(&Request) -> Response + 'static
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_request` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch14/callbacks.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     impl BasicRouter {
[INFO] [stdout]    |     ---------------- method in this implementation
[INFO] [stdout] 57 |         fn handle_request(&self, request: &Request) -> Response {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `triangle` is never used
[INFO] [stdout]  --> crates/my_rust/src/ch15/mod.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn triangle(n: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `escape_time` is never used
[INFO] [stdout]   --> crates/my_rust/src/ch15/mod.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn escape_time(c: Complex<f64>, limit: usize) -> Option<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_fold` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:677:4
[INFO] [stdout]     |
[INFO] [stdout] 677 | fn try_fold() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:551:8
[INFO] [stdout]     |
[INFO] [stdout] 551 |     fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_last` is never used
[INFO] [stdout]    --> crates/my_rust/src/ch15/mod.rs:658:8
[INFO] [stdout]     |
[INFO] [stdout] 658 |     fn test_last() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> crates/my_rust/src/ch1/actix_gcd.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         main().await;
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = main().await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 168 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.73s
[INFO] running `Command { std: "docker" "inspect" "7841ac6af7307d92df37fd3ea41877f73543134c262ac3d78829a506022403ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7841ac6af7307d92df37fd3ea41877f73543134c262ac3d78829a506022403ec", kill_on_drop: false }`
[INFO] [stdout] 7841ac6af7307d92df37fd3ea41877f73543134c262ac3d78829a506022403ec
