[INFO] cloning repository https://github.com/gisuperu/practice-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gisuperu/practice-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgisuperu%2Fpractice-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgisuperu%2Fpractice-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 47924f36d097e3def5e6d8a3b5f71ac192a910fa
[INFO] testing gisuperu/practice-rust against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgisuperu%2Fpractice-rust" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gisuperu/practice-rust
[INFO] finished tweaking git repo https://github.com/gisuperu/practice-rust
[INFO] tweaked toml for git repo https://github.com/gisuperu/practice-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gisuperu/practice-rust on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/gisuperu/practice-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused workspace dependency `regex`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | regex = "1"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_workspace_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the workspace dependency `regex`
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a
[INFO] running `"docker" "start" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] running `"docker" "inspect" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: unused workspace dependency `regex`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | regex = "1"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_workspace_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the workspace dependency `regex`
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling p6-balance v0.1.0 (/opt/rustwide/workdir/exercises/p6-balance)
[INFO] [stderr]    Compiling p5-treasure v0.1.0 (/opt/rustwide/workdir/exercises/p5-treasure)
[INFO] [stderr]    Compiling p4-heuristic v0.1.0 (/opt/rustwide/workdir/exercises/p4-heuristic)
[INFO] [stderr]    Compiling p5-treasure-sol v0.1.0 (/opt/rustwide/workdir/solutions/p5-treasure)
[INFO] [stderr]    Compiling p4-heuristic-sol v0.1.0 (/opt/rustwide/workdir/solutions/p4-heuristic)
[INFO] [stderr]    Compiling p3-webserver v0.1.0 (/opt/rustwide/workdir/exercises/p3-webserver)
[INFO] [stderr]    Compiling p6-balance-sol v0.1.0 (/opt/rustwide/workdir/solutions/p6-balance)
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub fn solve(input: &Input) -> Vec<usize> {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:20
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tour`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_tour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:51
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stdout] warning: unused variable: `raw`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn parse_request(raw: &str) -> Result<Request, ParseError> {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_raw`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p5-treasure/src/lib.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub fn solve(input: &Input) -> String {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p6-balance/src/lib.rs:188:14
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn solve(input: &Input) -> Vec<usize> {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn route(request: &Request, public_dir: &Path) -> Response {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:92:33
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn route(request: &Request, public_dir: &Path) -> Response {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rel_path`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn serve_static(rel_path: &str, public_dir: &Path) -> Response {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rel_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:108:37
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn serve_static(rel_path: &str, public_dir: &Path) -> Response {
[INFO] [stdout]     |                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:144:30
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:173:26
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn handle_connection(stream: TcpStream, public_dir: &Path) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:173:45
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn handle_connection(stream: TcpStream, public_dir: &Path) {
[INFO] [stdout]     |                                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `workers` and `sender` are never read
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct ThreadPool {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 121 |     workers: Vec<Worker>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 122 |     /// Drop 時に take してチャネルを閉じるため Option になっている
[INFO] [stdout] 123 |     sender: Option<mpsc::Sender<Job>>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct Worker {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 127 |     id: usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 128 |     /// join で取り出すため Option になっている
[INFO] [stdout] 129 |     thread: Option<thread::JoinHandle<()>>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling p3-webserver-sol v0.1.0 (/opt/rustwide/workdir/solutions/p3-webserver)
[INFO] [stderr]    Compiling ch02-control-flow v0.1.0 (/opt/rustwide/workdir/exercises/ch02-control-flow)
[INFO] [stderr]    Compiling ch11-iterators v0.1.0 (/opt/rustwide/workdir/exercises/ch11-iterators)
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn squares_of_evens(nums: &[i32]) -> Vec<i64> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `digits`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn digits_to_number(digits: &[u32]) -> u64 {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_digits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn sum_until_negative(nums: &[i32]) -> i64 {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `names`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn initials(names: &[&str]) -> String {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn fizzbuzz(n: u32) -> String {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `year`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn is_leap_year(year: u32) -> bool {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_year`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn classify(n: i32) -> &'static str {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn collatz_steps(n: u64) -> u32 {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn describe_char(c: char) -> &'static str {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling ch12-smart-pointers v0.1.0 (/opt/rustwide/workdir/exercises/ch12-smart-pointers)
[INFO] [stderr]    Compiling p1-sorting v0.1.0 (/opt/rustwide/workdir/exercises/p1-sorting)
[INFO] [stderr]    Compiling ch01-variables v0.1.0 (/opt/rustwide/workdir/exercises/ch01-variables)
[INFO] [stderr]    Compiling ch03-ownership-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch03-ownership)
[INFO] [stdout] warning: unused variable: `celsius`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn celsius_to_fahrenheit(celsius: f64) -> f64 {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_celsius`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[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]   --> exercises/ch01-variables/src/lib.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pair`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn swap(pair: (i32, i32)) -> (i32, i32) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn sum_and_count_evens(nums: &[i32]) -> (i64, usize) {
[INFO] [stdout]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn factorial(n: u32) -> u64 {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn bubble_sort(v: &mut [i32]) {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn merge_sort(v: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn quick_sort(v: &mut [i32]) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn sort_generic<T: Ord>(v: &mut [T]) {
[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]   --> exercises/p1-sorting/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                                     ----^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:54:37
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch04-borrowing-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch04-borrowing)
[INFO] [stderr]    Compiling ch05-structs-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch05-structs)
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn add(&self, n: i64) {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn parallel_sum(nums: &[i32], chunk_size: usize) -> i64 {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chunk_size`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn parallel_sum(nums: &[i32], chunk_size: usize) -> i64 {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_threads`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn concurrent_increment(n_threads: usize, per_thread: u64) -> u64 {
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_threads`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `per_thread`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:86:47
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn concurrent_increment(n_threads: usize, per_thread: u64) -> u64 {
[INFO] [stdout]    |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn double_via_channel(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SharedCounter {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 40 |     value: Rc<RefCell<i64>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SharedCounter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch01-variables-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch01-variables)
[INFO] [stderr]    Compiling ch06-enums-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch06-enums)
[INFO] [stderr]    Compiling ch07-collections-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch07-collections)
[INFO] [stderr]    Compiling ch08-error-handling-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch08-error-handling)
[INFO] [stderr]    Compiling clap_builder v4.6.2
[INFO] [stderr]    Compiling ch09-traits-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch09-traits)
[INFO] [stderr]    Compiling ch10-lifetimes-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch10-lifetimes)
[INFO] [stderr]    Compiling ch11-iterators-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch11-iterators)
[INFO] [stderr]    Compiling ch12-smart-pointers-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch12-smart-pointers)
[INFO] [stderr]    Compiling ch02-control-flow-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch02-control-flow)
[INFO] [stderr]    Compiling ch03-ownership v0.1.0 (/opt/rustwide/workdir/exercises/ch03-ownership)
[INFO] [stderr]    Compiling p1-sorting-sol v0.1.0 (/opt/rustwide/workdir/solutions/p1-sorting)
[INFO] [stderr]    Compiling ch04-borrowing v0.1.0 (/opt/rustwide/workdir/exercises/ch04-borrowing)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn count_char(s: &str, target: char) -> usize {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn count_char(s: &str, target: char) -> usize {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn double_all(v: &mut [i32]) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn first_word(s: &str) -> &str {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn trim_edges(nums: &[i32]) -> &[i32] {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn build_greeting(name: String) -> String {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn append_exclamation(s: String) -> String {
[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]   --> exercises/ch03-ownership/src/lib.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn pair_of(s: String) -> (String, String) {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prices`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn total_price(prices: Vec<u32>) -> u32 {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch05-structs v0.1.0 (/opt/rustwide/workdir/exercises/ch05-structs)
[INFO] [stderr]    Compiling ch06-enums v0.1.0 (/opt/rustwide/workdir/exercises/ch06-enums)
[INFO] [stderr]    Compiling ch07-collections v0.1.0 (/opt/rustwide/workdir/exercises/ch07-collections)
[INFO] [stderr]    Compiling ch08-error-handling v0.1.0 (/opt/rustwide/workdir/exercises/ch08-error-handling)
[INFO] [stderr]    Compiling ch09-traits v0.1.0 (/opt/rustwide/workdir/exercises/ch09-traits)
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_index(items: &[&str], target: &str) -> Option<usize> {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_index(items: &[&str], target: &str) -> Option<usize> {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn checked_div(a: i32, b: i32) -> Option<i32> {
[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]   --> exercises/ch06-enums/src/lib.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn checked_div(a: i32, b: i32) -> Option<i32> {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn first_char_upper(s: &str) -> Option<char> {
[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]   --> exercises/ch06-enums/src/lib.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn parse_age(s: &str) -> Result<u8, String> {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch10-lifetimes v0.1.0 (/opt/rustwide/workdir/exercises/ch10-lifetimes)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch10-lifetimes/src/lib.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn longest_word(s: &str) -> &str {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> exercises/ch10-lifetimes/src/lib.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new(text: &'a str) -> Excerpt<'a> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> exercises/ch08-error-handling/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]   --> exercises/ch09-traits/src/lib.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn largest<T: PartialOrd + Copy>(items: &[T]) -> Option<T> {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> exercises/ch07-collections/src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn mean(nums: &[f64]) -> Option<f64> {
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> exercises/ch09-traits/src/lib.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn notify(item: &impl Summary) -> String {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shapes`
[INFO] [stdout]    --> exercises/ch09-traits/src/lib.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn total_area(shapes: &[Box<dyn Area>]) -> f64 {
[INFO] [stdout]     |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn median(nums: &[i32]) -> Option<f64> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn mode(nums: &[i32]) -> Option<i32> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn word_count(text: &str) -> HashMap<String, usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> exercises/ch09-traits/src/lib.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn pig_latin(word: &str) -> String {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn parse_item(line: &str) -> Result<Item, ParseItemError> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lines`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn total_price(lines: &[&str]) -> Result<u32, ParseItemError> {
[INFO] [stdout]    |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:84:25
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn read_number_file(path: &str) -> Result<i64, FileNumError> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `factor`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn scale(&mut self, factor: u32) {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn size(self, size: u32) -> Self {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling ch13-derive-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch13-derive)
[INFO] [stderr]    Compiling ch13-derive v0.1.0 (/opt/rustwide/workdir/exercises/ch13-derive)
[INFO] [stderr]    Compiling ch13-macros-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch13-macros)
[INFO] [stderr]    Compiling ch13-macros v0.1.0 (/opt/rustwide/workdir/exercises/ch13-macros)
[INFO] [stderr]    Compiling clap v4.6.2
[INFO] [stderr]    Compiling p2-minigrep-sol v0.1.0 (/opt/rustwide/workdir/solutions/p2-minigrep)
[INFO] [stderr]    Compiling p2-minigrep v0.1.0 (/opt/rustwide/workdir/exercises/p2-minigrep)
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn search<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn search<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:45:36
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn search_case_insensitive<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:45:51
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn search_case_insensitive<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pattern: &str,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     contents: &'a str,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     options: &Options,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_files`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:46
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |                                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `ch13-derive`
[INFO] [stderr]  --> exercises/ch13-macros/Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | ch13-derive = { path = "../ch13-derive" }
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ch13-derive`
[INFO] [stderr] warning: `ch13-macros` (manifest) generated 1 warning
[INFO] [stderr] warning: unused dependency `ch13-derive-sol`
[INFO] [stderr]  --> solutions/ch13-macros/Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | ch13-derive-sol = { path = "../ch13-derive" }
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ch13-derive-sol`
[INFO] [stderr] warning: `ch13-macros-sol` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 22.34s
[INFO] running `"docker" "inspect" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: unused workspace dependency `regex`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | regex = "1"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_workspace_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the workspace dependency `regex`
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p6-balance/src/lib.rs:188:14
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn solve(input: &Input) -> Vec<usize> {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub fn solve(input: &Input) -> Vec<usize> {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:20
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tour`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_tour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> exercises/p4-heuristic/src/lib.rs:162:51
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn render_html(input: &Input, tour: &[usize], score: f64) -> String {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> exercises/p5-treasure/src/lib.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub fn solve(input: &Input) -> String {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raw`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn parse_request(raw: &str) -> Result<Request, ParseError> {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_raw`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn route(request: &Request, public_dir: &Path) -> Response {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]   --> exercises/p3-webserver/src/lib.rs:92:33
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn route(request: &Request, public_dir: &Path) -> Response {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rel_path`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn serve_static(rel_path: &str, public_dir: &Path) -> Response {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rel_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:108:37
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn serve_static(rel_path: &str, public_dir: &Path) -> Response {
[INFO] [stdout]     |                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:144:30
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:173:26
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn handle_connection(stream: TcpStream, public_dir: &Path) {
[INFO] [stdout]     |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_dir`
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:173:45
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn handle_connection(stream: TcpStream, public_dir: &Path) {
[INFO] [stdout]     |                                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `workers` and `sender` are never read
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct ThreadPool {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 121 |     workers: Vec<Worker>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 122 |     /// Drop 時に take してチャネルを閉じるため Option になっている
[INFO] [stdout] 123 |     sender: Option<mpsc::Sender<Job>>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]    --> exercises/p3-webserver/src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct Worker {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 127 |     id: usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 128 |     /// join で取り出すため Option になっている
[INFO] [stdout] 129 |     thread: Option<thread::JoinHandle<()>>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn count_char(s: &str, target: char) -> usize {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn count_char(s: &str, target: char) -> usize {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn double_all(v: &mut [i32]) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn first_word(s: &str) -> &str {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch04-borrowing/src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn trim_edges(nums: &[i32]) -> &[i32] {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn build_greeting(name: String) -> String {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn append_exclamation(s: String) -> String {
[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]   --> exercises/ch03-ownership/src/lib.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn pair_of(s: String) -> (String, String) {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prices`
[INFO] [stdout]   --> exercises/ch03-ownership/src/lib.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn total_price(prices: Vec<u32>) -> u32 {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch10-lifetimes/src/lib.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn longest_word(s: &str) -> &str {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> exercises/ch10-lifetimes/src/lib.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new(text: &'a str) -> Excerpt<'a> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> exercises/ch08-error-handling/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn parse_item(line: &str) -> Result<Item, ParseItemError> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lines`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn total_price(lines: &[&str]) -> Result<u32, ParseItemError> {
[INFO] [stdout]    |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> exercises/ch08-error-handling/src/lib.rs:84:25
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn read_number_file(path: &str) -> Result<i64, FileNumError> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `factor`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn scale(&mut self, factor: u32) {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> exercises/ch05-structs/src/lib.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn size(self, size: u32) -> Self {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_index(items: &[&str], target: &str) -> Option<usize> {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_index(items: &[&str], target: &str) -> Option<usize> {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn checked_div(a: i32, b: i32) -> Option<i32> {
[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]   --> exercises/ch06-enums/src/lib.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn checked_div(a: i32, b: i32) -> Option<i32> {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> exercises/ch06-enums/src/lib.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn first_char_upper(s: &str) -> Option<char> {
[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]   --> exercises/ch06-enums/src/lib.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn parse_age(s: &str) -> Result<u8, String> {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn squares_of_evens(nums: &[i32]) -> Vec<i64> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `digits`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn digits_to_number(digits: &[u32]) -> u64 {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_digits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn sum_until_negative(nums: &[i32]) -> i64 {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `names`
[INFO] [stdout]   --> exercises/ch11-iterators/src/lib.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn initials(names: &[&str]) -> String {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `celsius`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn celsius_to_fahrenheit(celsius: f64) -> f64 {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_celsius`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[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]   --> exercises/ch01-variables/src/lib.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn average(a: i32, b: i32, c: i32) -> f64 {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pair`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn swap(pair: (i32, i32)) -> (i32, i32) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn sum_and_count_evens(nums: &[i32]) -> (i64, usize) {
[INFO] [stdout]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch01-variables/src/lib.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn factorial(n: u32) -> u64 {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> exercises/ch07-collections/src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn mean(nums: &[f64]) -> Option<f64> {
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn median(nums: &[i32]) -> Option<f64> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn mode(nums: &[i32]) -> Option<i32> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn word_count(text: &str) -> HashMap<String, usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> exercises/ch07-collections/src/lib.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn pig_latin(word: &str) -> String {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn add(&self, n: i64) {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn parallel_sum(nums: &[i32], chunk_size: usize) -> i64 {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chunk_size`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn parallel_sum(nums: &[i32], chunk_size: usize) -> i64 {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_threads`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn concurrent_increment(n_threads: usize, per_thread: u64) -> u64 {
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_threads`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `per_thread`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:86:47
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn concurrent_increment(n_threads: usize, per_thread: u64) -> u64 {
[INFO] [stdout]    |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn double_via_channel(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> exercises/ch12-smart-pointers/src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SharedCounter {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 40 |     value: Rc<RefCell<i64>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SharedCounter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn bubble_sort(v: &mut [i32]) {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn merge_sort(v: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn quick_sort(v: &mut [i32]) {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn sort_generic<T: Ord>(v: &mut [T]) {
[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]   --> exercises/p1-sorting/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                                     ----^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp`
[INFO] [stdout]   --> exercises/p1-sorting/src/lib.rs:54:37
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn sort_with<T, F>(v: &mut [T], mut cmp: F)
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]   --> exercises/ch09-traits/src/lib.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn largest<T: PartialOrd + Copy>(items: &[T]) -> Option<T> {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> exercises/ch09-traits/src/lib.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn notify(item: &impl Summary) -> String {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shapes`
[INFO] [stdout]    --> exercises/ch09-traits/src/lib.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn total_area(shapes: &[Box<dyn Area>]) -> f64 {
[INFO] [stdout]     |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> exercises/ch09-traits/src/lib.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn fizzbuzz(n: u32) -> String {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `year`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn is_leap_year(year: u32) -> bool {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_year`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn classify(n: i32) -> &'static str {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn collatz_steps(n: u64) -> u32 {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> exercises/ch02-control-flow/src/lib.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn describe_char(c: char) -> &'static str {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch01-variables-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch01-variables)
[INFO] [stderr]    Compiling ch12-smart-pointers-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch12-smart-pointers)
[INFO] [stderr]    Compiling p1-sorting-sol v0.1.0 (/opt/rustwide/workdir/solutions/p1-sorting)
[INFO] [stderr]    Compiling ch09-traits-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch09-traits)
[INFO] [stderr]    Compiling ch05-structs v0.1.0 (/opt/rustwide/workdir/exercises/ch05-structs)
[INFO] [stderr]    Compiling ch13-derive v0.1.0 (/opt/rustwide/workdir/exercises/ch13-derive)
[INFO] [stderr]    Compiling ch09-traits v0.1.0 (/opt/rustwide/workdir/exercises/ch09-traits)
[INFO] [stderr]    Compiling ch02-control-flow v0.1.0 (/opt/rustwide/workdir/exercises/ch02-control-flow)
[INFO] [stderr]    Compiling ch13-derive-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch13-derive)
[INFO] [stderr]    Compiling ch06-enums v0.1.0 (/opt/rustwide/workdir/exercises/ch06-enums)
[INFO] [stderr]    Compiling ch11-iterators v0.1.0 (/opt/rustwide/workdir/exercises/ch11-iterators)
[INFO] [stderr]    Compiling ch13-macros-sol v0.1.0 (/opt/rustwide/workdir/solutions/ch13-macros)
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn search<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn search<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:45:36
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn search_case_insensitive<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch13-macros v0.1.0 (/opt/rustwide/workdir/exercises/ch13-macros)
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:45:51
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn search_case_insensitive<'a>(pattern: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling p2-minigrep-sol v0.1.0 (/opt/rustwide/workdir/solutions/p2-minigrep)
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pattern: &str,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling p2-minigrep v0.1.0 (/opt/rustwide/workdir/exercises/p2-minigrep)
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     contents: &'a str,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     options: &Options,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_files`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> exercises/p2-minigrep/src/lib.rs:76:46
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn run(pattern: &str, files: &[PathBuf], options: &Options) -> Result<bool, RunError> {
[INFO] [stdout]    |                                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let empty: Vec<i32> = my_vec![];
[INFO] [stdout]   |                           --------- any code following this expression is unreachable
[INFO] [stdout] 6 |     assert!(empty.is_empty());
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     assert_eq!(my_vec![1, 2, 3], vec![1, 2, 3]);
[INFO] [stdout]   |     ^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          any code following this expression is unreachable
[INFO] [stdout]   |     unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     assert_eq!(my_vec![1, 2, 3], vec![1, 2, 3]);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     unreachable expression
[INFO] [stdout]   |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     assert_eq!(my_vec!["a", "b"], vec!["a", "b"]);
[INFO] [stdout]   |     ^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          any code following this expression is unreachable
[INFO] [stdout]   |     unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     assert_eq!(my_vec!["a", "b"], vec!["a", "b"]);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     unreachable expression
[INFO] [stdout]   |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     assert_eq!(my_vec![1, 2, 3,], vec![1, 2, 3]); // 末尾カンマ
[INFO] [stdout]    |     ^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |          |
[INFO] [stdout]    |     |          any code following this expression is unreachable
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     assert_eq!(my_vec![1, 2, 3,], vec![1, 2, 3]); // 末尾カンマ
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     assert_eq!(my_vec![1 + 1, 2 * 2], vec![2, 4]);
[INFO] [stdout]    |     ^^^^^^^^^^^---------------------^^^^^^^^^^^^^
[INFO] [stdout]    |     |          |
[INFO] [stdout]    |     |          any code following this expression is unreachable
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     assert_eq!(my_vec![1 + 1, 2 * 2], vec![2, 4]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `!` with `Vec<i32>`
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     assert_eq!(my_vec![1, 2, 3], vec![1, 2, 3]);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `! == Vec<i32>`
[INFO] [stdout]   |
[INFO] [stdout] help: the trait `PartialEq<Vec<i32>>` is not implemented for `!`
[INFO] [stdout]       but trait `PartialEq<!>` is implemented for it
[INFO] [stdout]  --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/cmp.rs:2392:4
[INFO] [stdout]   = help: for that trait implementation, expected `!`, found `Vec<i32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `!` with `Vec<&str>`
[INFO] [stdout]  --> exercises/ch13-macros/tests/my_vec.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     assert_eq!(my_vec!["a", "b"], vec!["a", "b"]);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `! == Vec<&str>`
[INFO] [stdout]   |
[INFO] [stdout] help: the trait `PartialEq<Vec<&str>>` is not implemented for `!`
[INFO] [stdout]       but trait `PartialEq<!>` is implemented for it
[INFO] [stdout]  --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/cmp.rs:2392:4
[INFO] [stdout]   = help: for that trait implementation, expected `!`, found `Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `!` with `Vec<i32>`
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     assert_eq!(my_vec![1, 2, 3,], vec![1, 2, 3]); // 末尾カンマ
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `! == Vec<i32>`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `PartialEq<Vec<i32>>` is not implemented for `!`
[INFO] [stdout]       but trait `PartialEq<!>` is implemented for it
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/cmp.rs:2392:4
[INFO] [stdout]    = help: for that trait implementation, expected `!`, found `Vec<i32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `!` with `Vec<i32>`
[INFO] [stdout]   --> exercises/ch13-macros/tests/my_vec.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     assert_eq!(my_vec![1 + 1, 2 * 2], vec![2, 4]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `! == Vec<i32>`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `PartialEq<Vec<i32>>` is not implemented for `!`
[INFO] [stdout]       but trait `PartialEq<!>` is implemented for it
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/cmp.rs:2392:4
[INFO] [stdout]    = help: for that trait implementation, expected `!`, found `Vec<i32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch13-macros` (test "my_vec") due to 4 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: unused dependency `ch13-derive`
[INFO] [stderr]  --> exercises/ch13-macros/Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | ch13-derive = { path = "../ch13-derive" }
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ch13-derive`
[INFO] [stderr] warning: `ch13-macros` (manifest) generated 1 warning
[INFO] [stderr] warning: unused dependency `ch13-derive-sol`
[INFO] [stderr]  --> solutions/ch13-macros/Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | ch13-derive-sol = { path = "../ch13-derive" }
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `ch13-derive-sol`
[INFO] [stderr] warning: `ch13-macros-sol` (manifest) generated 1 warning
[INFO] running `"docker" "inspect" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] running `"docker" "rm" "-f" "c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a"`
[INFO] [stdout] c508ca8b6800a254c442e982cfddf909fec22b1cbb1426113c158caed52bd74a
