[INFO] cloning repository https://github.com/0num4/rust-playground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0num4/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0num4%2Frust-playground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0num4%2Frust-playground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 826a3e010d73ceeb1db5b59d1a569c25da4494b9
[INFO] testing 0num4/rust-playground against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0num4%2Frust-playground" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0num4/rust-playground
[INFO] finished tweaking git repo https://github.com/0num4/rust-playground
[INFO] tweaked toml for git repo https://github.com/0num4/rust-playground written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0num4/rust-playground on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0num4/rust-playground already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5de8b042a015946b28b4a5a960f2c79a982c5d192e9b4ff59cedcb4d19beeda4
[INFO] running `Command { std: "docker" "start" "-a" "5de8b042a015946b28b4a5a960f2c79a982c5d192e9b4ff59cedcb4d19beeda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5de8b042a015946b28b4a5a960f2c79a982c5d192e9b4ff59cedcb4d19beeda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de8b042a015946b28b4a5a960f2c79a982c5d192e9b4ff59cedcb4d19beeda4", kill_on_drop: false }`
[INFO] [stdout] 5de8b042a015946b28b4a5a960f2c79a982c5d192e9b4ff59cedcb4d19beeda4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c530e515121d1b30f21861b345a09056b69411823f9fc0f482f5aca45e2b48d
[INFO] running `Command { std: "docker" "start" "-a" "7c530e515121d1b30f21861b345a09056b69411823f9fc0f482f5aca45e2b48d", kill_on_drop: false }`
[INFO] [stderr] warning: rust-playground v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-insta` which is missing a lib target
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pq-sys v0.6.1
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling proconio v0.4.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling dsl_auto_type v0.1.1
[INFO] [stderr]    Compiling diesel_derives v2.2.1
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling toml_edit v0.22.20
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling diesel v2.2.1
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling rust-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Stdin`
[INFO] [stdout]  --> src/ahc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `tile` should have an upper camel case name
[INFO] [stdout]   --> src/ahc.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct tile {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to upper camel case: `Tile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `foo`
[INFO] [stdout]  --> src/macro_study.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | macro_rules! foo {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `self`
[INFO] [stdout]   --> src/q4.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     io::{BufRead, BufReader, Read, Seek, SeekFrom},
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] 15 |     sync::{Arc, Mutex},
[INFO] [stdout] 16 |     thread::{self, spawn},
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/read_json.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `value`
[INFO] [stdout]  --> src/read_json.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::{value, Value};
[INFO] [stdout]   |                  ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude`
[INFO] [stdout]  --> src/rust_study_0510.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `default`, `fs::File`, and `io::Read`
[INFO] [stdout]  --> src/rust_study_0510.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{default, fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^  ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::pg::PgConnection`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use diesel::pg::PgConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ok` and `Result`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Ok, Result};
[INFO] [stdout]   |              ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::result`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/tokiotest.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     loop {
[INFO] [stdout] 23 | |         let mut socket = l.accept().await?;
[INFO] [stdout] 24 | |         println!("new request!!");
[INFO] [stdout] 25 | |         tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         });
[INFO] [stdout] 36 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 37 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     panic!("end");
[INFO] [stdout]    |     ------------- any code following this expression is unreachable
[INFO] [stdout] 42 |     abc367::main();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/ahc.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for y in 0..y {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/ahc.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |             for x in 0..x {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/q1.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         _ => println!("hoge"),
[INFO] [stdout]    |         - matches any value
[INFO] [stdout] 42 |         None => print!("non"),
[INFO] [stdout]    |         ^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/q1.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let f = Some(4);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ans`
[INFO] [stdout]   --> src/q1.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let ans = q1_3_option();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/q1.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let a = q1_4_esult(32);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/q1.rs:160:28
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/q1.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/q1.rs:164:22
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/q1.rs:164:34
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut arcTest = Arc::new(42);
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut str = String::new();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut f = File::open("memo.md").unwrap(); // file::openはファイルハンドラだから100TB読むわけではない
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]   --> src/q4.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let l = reader.read_line(&mut b).unwrap();
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/q4.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let v = locked_count_map.get(word).unwrap();
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/q4.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let e = locked_count_map.entry("a".to_string()).or_insert(3);
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]   --> src/q4.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut str = String::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> src/q4.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]  --> src/q5.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let list = [6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_list`
[INFO] [stdout]  --> src/q5.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let v_list: Vec<i32> = vec![6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/abc076.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for i in 0..n {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/abc353.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Some((index, &value)) => {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let min = a.iter().min().unwrap().clone();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (n, m, k):(i32,i32,i32),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         a: [[i32;n];n],
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         s:[[i32;3];m*3]
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rust_study_0510.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut even: Vec<&str> = Vec::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/rust_study_0510.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tokiotest.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/tokiotest.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tokiotest.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let request = b"GET HTTP1.1 example.com";
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/abc367.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         (n, k): (i32, i32),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/generic_where_plactice.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let n = N { s: 4 };
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/rust_study20240812.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let a = s.size();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `tile` is never constructed
[INFO] [stdout]   --> src/ahc.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct tile {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]   --> src/ahc.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Grid {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `up`, `down`, `left`, `right`, and `display` are never used
[INFO] [stdout]   --> src/ahc.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Grid {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 33 |     fn new(x: i32, y: i32) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn up(&mut self) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn down(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn left(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn right(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn display(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/ahc.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_input` is never used
[INFO] [stdout]   --> src/ahc.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn read_input() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello` is never used
[INFO] [stdout]   --> src/hypertest.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn hello(_: Request<hyper::body::Incoming>) -> Result<Response<Full<Bytes>>, Infallible> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/hypertest.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/macro_study.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Person {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     age: i32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_1` is never used
[INFO] [stdout]   --> src/q1.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn q1_1() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_option` is never used
[INFO] [stdout]   --> src/q1.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn q1_3_option() -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_match` is never used
[INFO] [stdout]   --> src/q1.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn q1_3_match() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_expect` is never used
[INFO] [stdout]   --> src/q1.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn q1_3_expect() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_esult` is never used
[INFO] [stdout]   --> src/q1.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn q1_4_esult(i: i32) -> Result<String, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_fileopen` is never used
[INFO] [stdout]   --> src/q1.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn q1_4_fileopen(path: &Path) -> Result<String, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_match` is never used
[INFO] [stdout]   --> src/q1.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn q1_4_match() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q1.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err_handling` is never used
[INFO] [stdout]    --> src/q1.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn err_handling() -> Result<i32, i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/q1.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Product` is never constructed
[INFO] [stdout]    --> src/q1.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Product {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PriceFilter` is never used
[INFO] [stdout]    --> src/q1.rs:134:7
[INFO] [stdout]     |
[INFO] [stdout] 134 | trait PriceFilter {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_products` is never used
[INFO] [stdout]    --> src/q1.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn filter_products<T: PriceFilter>(u: Vec<Product>, t: T) -> Vec<Product> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `t` is never used
[INFO] [stdout]    --> src/q1.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]    --> src/q1.rs:164:4
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1` is never used
[INFO] [stdout]  --> src/q2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn q1(v: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/q3.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q4.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q4_pre` is never used
[INFO] [stdout]   --> src/q4.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn q4_pre() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q5_more_thread` is never used
[INFO] [stdout]   --> src/q4.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn q5_more_thread() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/q5.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]  --> src/abc351_a.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn a() {
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `c` is never used
[INFO] [stdout]   --> src/abc351_a.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn c() {}
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc352_a.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn b() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc353.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn a() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc353.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn b() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]  --> src/atcode_beginers_selection.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn a() {
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abc081b` is never used
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn abc081b() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ahc032_a` is never used
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn ahc032_a() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renovate` is never constructed
[INFO] [stdout]   --> src/read_json.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Renovate {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/read_json.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mainold` is never used
[INFO] [stdout]  --> src/rust_study_0510.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn mainold() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_strings` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StringStats` is never constructed
[INFO] [stdout]   --> src/rust_study_0510.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StringStats<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `errsample1` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn errsample1() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `processvec` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn processvec(x: &Box<i32>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oksample1` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn oksample1() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `server` is never used
[INFO] [stdout]   --> src/tokiotest.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn server() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc129.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn a() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc362.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn a() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc362.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn b() {}
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `c` is never used
[INFO] [stdout]   --> src/abc367.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn c() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem` is never used
[INFO] [stdout]   --> src/abc367.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn solve_lake_rest_area_problem(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem2` is never used
[INFO] [stdout]   --> src/abc367.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn solve_lake_rest_area_problem2(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem3` is never used
[INFO] [stdout]    --> src/abc367.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn solve_lake_rest_area_problem3(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem4` is never used
[INFO] [stdout]    --> src/abc367.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn solve_lake_rest_area_problem4(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Package` is never constructed
[INFO] [stdout]  --> src/cargo_toml_parse.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Package {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dependency` is never used
[INFO] [stdout]   --> src/cargo_toml_parse.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum Dependency {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cargo` is never constructed
[INFO] [stdout]   --> src/cargo_toml_parse.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Cargo {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cargo_toml_parse.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SS` is never used
[INFO] [stdout]  --> src/generic_where_plactice.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait SS<T> {
[INFO] [stdout]   |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `s` is never read
[INFO] [stdout]   --> src/generic_where_plactice.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct N<T> {
[INFO] [stdout]    |        - field in this struct
[INFO] [stdout] 10 |     s: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `genericsample` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn genericsample<T, X>(argx: X) -> i32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `koukai` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn koukai() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `koukai3` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn koukai3() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1` is never used
[INFO] [stdout]   --> src/rust_study20240812.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn q1() {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Perimeter` is never used
[INFO] [stdout]   --> src/rust_study20240812.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 | trait Perimeter {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/rust_study20240812.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `size` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Rectangle {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 109 |     //↑をやりたい場合はこうやって分割する。そうすると下のmainの中で認識できる。
[INFO] [stdout] 110 |     fn size(&self) -> i32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q2` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub fn q2() {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_study20240812_anyhow.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcTest` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut arcTest = Arc::new(42);
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `arc_test`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcMutexTest` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let arcMutexTest = Arc::new(Mutex::new(43));
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcMutexTestInner` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut arcMutexTestInner = arcMutexTest.lock().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `countMap` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `countMap` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let countMap = Arc::clone(&countMap);
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rust_study_0510.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stdout]    |                       ^^^^^^^^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats<'_> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/generic_where_plactice.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     koukai2(l);
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let _ = koukai2(l);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "7c530e515121d1b30f21861b345a09056b69411823f9fc0f482f5aca45e2b48d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c530e515121d1b30f21861b345a09056b69411823f9fc0f482f5aca45e2b48d", kill_on_drop: false }`
[INFO] [stdout] 7c530e515121d1b30f21861b345a09056b69411823f9fc0f482f5aca45e2b48d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1f42e4de6e5c5e45c4b886defe8093965d748dee378cfd249e123845237be14
[INFO] running `Command { std: "docker" "start" "-a" "b1f42e4de6e5c5e45c4b886defe8093965d748dee378cfd249e123845237be14", kill_on_drop: false }`
[INFO] [stderr] warning: rust-playground v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-insta` which is missing a lib target
[INFO] [stderr]    Compiling rust-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Stdin`
[INFO] [stdout]  --> src/ahc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `tile` should have an upper camel case name
[INFO] [stdout]   --> src/ahc.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct tile {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to upper camel case: `Tile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `foo`
[INFO] [stdout]  --> src/macro_study.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | macro_rules! foo {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `self`
[INFO] [stdout]   --> src/q4.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     io::{BufRead, BufReader, Read, Seek, SeekFrom},
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] 15 |     sync::{Arc, Mutex},
[INFO] [stdout] 16 |     thread::{self, spawn},
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/read_json.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `value`
[INFO] [stdout]  --> src/read_json.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::{value, Value};
[INFO] [stdout]   |                  ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude`
[INFO] [stdout]  --> src/rust_study_0510.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `default`, `fs::File`, and `io::Read`
[INFO] [stdout]  --> src/rust_study_0510.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{default, fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^  ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::pg::PgConnection`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use diesel::pg::PgConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ok` and `Result`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Ok, Result};
[INFO] [stdout]   |              ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::result`
[INFO] [stdout]  --> src/rust_study20240812_anyhow.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/tokiotest.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     loop {
[INFO] [stdout] 23 | |         let mut socket = l.accept().await?;
[INFO] [stdout] 24 | |         println!("new request!!");
[INFO] [stdout] 25 | |         tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         });
[INFO] [stdout] 36 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 37 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     panic!("end");
[INFO] [stdout]    |     ------------- any code following this expression is unreachable
[INFO] [stdout] 42 |     abc367::main();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/ahc.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for y in 0..y {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/ahc.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |             for x in 0..x {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/q1.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         _ => println!("hoge"),
[INFO] [stdout]    |         - matches any value
[INFO] [stdout] 42 |         None => print!("non"),
[INFO] [stdout]    |         ^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/q1.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let f = Some(4);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ans`
[INFO] [stdout]   --> src/q1.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let ans = q1_3_option();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/q1.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let a = q1_4_esult(32);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/q1.rs:160:28
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/q1.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/q1.rs:164:22
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/q1.rs:164:34
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut arcTest = Arc::new(42);
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut str = String::new();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/q4.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut f = File::open("memo.md").unwrap(); // file::openはファイルハンドラだから100TB読むわけではない
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]   --> src/q4.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let l = reader.read_line(&mut b).unwrap();
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/q4.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let v = locked_count_map.get(word).unwrap();
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/q4.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let e = locked_count_map.entry("a".to_string()).or_insert(3);
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]   --> src/q4.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut str = String::new();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> src/q4.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]  --> src/q5.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let list = [6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_list`
[INFO] [stdout]  --> src/q5.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let v_list: Vec<i32> = vec![6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/abc076.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for i in 0..n {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/abc353.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Some((index, &value)) => {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let min = a.iter().min().unwrap().clone();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (n, m, k):(i32,i32,i32),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         a: [[i32;n];n],
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         s:[[i32;3];m*3]
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rust_study_0510.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut even: Vec<&str> = Vec::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/rust_study_0510.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tokiotest.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/tokiotest.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tokiotest.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let request = b"GET HTTP1.1 example.com";
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/abc367.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         (n, k): (i32, i32),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/generic_where_plactice.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let n = N { s: 4 };
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/rust_study20240812.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let a = s.size();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `tile` is never constructed
[INFO] [stdout]   --> src/ahc.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct tile {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]   --> src/ahc.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Grid {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `up`, `down`, `left`, `right`, and `display` are never used
[INFO] [stdout]   --> src/ahc.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Grid {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 33 |     fn new(x: i32, y: i32) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn up(&mut self) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn down(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn left(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn right(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn display(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/ahc.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_input` is never used
[INFO] [stdout]   --> src/ahc.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn read_input() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello` is never used
[INFO] [stdout]   --> src/hypertest.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn hello(_: Request<hyper::body::Incoming>) -> Result<Response<Full<Bytes>>, Infallible> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/hypertest.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/macro_study.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Person {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     age: i32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_1` is never used
[INFO] [stdout]   --> src/q1.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn q1_1() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_option` is never used
[INFO] [stdout]   --> src/q1.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn q1_3_option() -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_match` is never used
[INFO] [stdout]   --> src/q1.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn q1_3_match() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_3_expect` is never used
[INFO] [stdout]   --> src/q1.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn q1_3_expect() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_esult` is never used
[INFO] [stdout]   --> src/q1.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn q1_4_esult(i: i32) -> Result<String, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_fileopen` is never used
[INFO] [stdout]   --> src/q1.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn q1_4_fileopen(path: &Path) -> Result<String, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1_4_match` is never used
[INFO] [stdout]   --> src/q1.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn q1_4_match() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q1.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err_handling` is never used
[INFO] [stdout]    --> src/q1.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn err_handling() -> Result<i32, i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/q1.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Product` is never constructed
[INFO] [stdout]    --> src/q1.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Product {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PriceFilter` is never used
[INFO] [stdout]    --> src/q1.rs:134:7
[INFO] [stdout]     |
[INFO] [stdout] 134 | trait PriceFilter {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_products` is never used
[INFO] [stdout]    --> src/q1.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn filter_products<T: PriceFilter>(u: Vec<Product>, t: T) -> Vec<Product> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `t` is never used
[INFO] [stdout]    --> src/q1.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]    --> src/q1.rs:164:4
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/q3.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q4.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q4_pre` is never used
[INFO] [stdout]   --> src/q4.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn q4_pre() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q5_more_thread` is never used
[INFO] [stdout]   --> src/q4.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn q5_more_thread() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/q5.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]  --> src/abc351_a.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn a() {
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `c` is never used
[INFO] [stdout]   --> src/abc351_a.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn c() {}
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc352_a.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn b() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc353.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn a() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc353.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn b() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]  --> src/atcode_beginers_selection.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn a() {
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abc081b` is never used
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn abc081b() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ahc032_a` is never used
[INFO] [stdout]   --> src/atcode_beginers_selection.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn ahc032_a() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renovate` is never constructed
[INFO] [stdout]   --> src/read_json.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Renovate {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/read_json.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mainold` is never used
[INFO] [stdout]  --> src/rust_study_0510.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn mainold() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_strings` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StringStats` is never constructed
[INFO] [stdout]   --> src/rust_study_0510.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StringStats<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `errsample1` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn errsample1() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `processvec` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn processvec(x: &Box<i32>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oksample1` is never used
[INFO] [stdout]   --> src/rust_study_0510.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn oksample1() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `server` is never used
[INFO] [stdout]   --> src/tokiotest.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn server() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc129.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn a() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/abc362.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn a() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/abc362.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn b() {}
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `c` is never used
[INFO] [stdout]   --> src/abc367.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn c() {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem` is never used
[INFO] [stdout]   --> src/abc367.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn solve_lake_rest_area_problem(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem2` is never used
[INFO] [stdout]   --> src/abc367.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn solve_lake_rest_area_problem2(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_lake_rest_area_problem3` is never used
[INFO] [stdout]    --> src/abc367.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn solve_lake_rest_area_problem3(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Package` is never constructed
[INFO] [stdout]  --> src/cargo_toml_parse.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Package {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dependency` is never used
[INFO] [stdout]   --> src/cargo_toml_parse.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum Dependency {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cargo` is never constructed
[INFO] [stdout]   --> src/cargo_toml_parse.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Cargo {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cargo_toml_parse.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SS` is never used
[INFO] [stdout]  --> src/generic_where_plactice.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait SS<T> {
[INFO] [stdout]   |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `s` is never read
[INFO] [stdout]   --> src/generic_where_plactice.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct N<T> {
[INFO] [stdout]    |        - field in this struct
[INFO] [stdout] 10 |     s: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `genericsample` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn genericsample<T, X>(argx: X) -> i32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `koukai` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn koukai() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `koukai3` is never used
[INFO] [stdout]   --> src/generic_where_plactice.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn koukai3() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q1` is never used
[INFO] [stdout]   --> src/rust_study20240812.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn q1() {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Perimeter` is never used
[INFO] [stdout]   --> src/rust_study20240812.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 | trait Perimeter {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/rust_study20240812.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `size` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Rectangle {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 109 |     //↑をやりたい場合はこうやって分割する。そうすると下のmainの中で認識できる。
[INFO] [stdout] 110 |     fn size(&self) -> i32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q2` is never used
[INFO] [stdout]    --> src/rust_study20240812.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub fn q2() {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_study20240812_anyhow.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcTest` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut arcTest = Arc::new(42);
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `arc_test`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcMutexTest` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let arcMutexTest = Arc::new(Mutex::new(43));
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arcMutexTestInner` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut arcMutexTestInner = arcMutexTest.lock().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `countMap` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `countMap` should have a snake case name
[INFO] [stdout]   --> src/q4.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let countMap = Arc::clone(&countMap);
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rust_study_0510.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stdout]    |                       ^^^^^^^^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process_strings(v: &Vec<String>) -> StringStats<'_> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/generic_where_plactice.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     koukai2(l);
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let _ = koukai2(l);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s
[INFO] running `Command { std: "docker" "inspect" "b1f42e4de6e5c5e45c4b886defe8093965d748dee378cfd249e123845237be14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1f42e4de6e5c5e45c4b886defe8093965d748dee378cfd249e123845237be14", kill_on_drop: false }`
[INFO] [stdout] b1f42e4de6e5c5e45c4b886defe8093965d748dee378cfd249e123845237be14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6bae14350d7fe14b5c7a4562322131c84f0c6519784bc3916525c17113d6fa3a
[INFO] running `Command { std: "docker" "start" "-a" "6bae14350d7fe14b5c7a4562322131c84f0c6519784bc3916525c17113d6fa3a", kill_on_drop: false }`
[INFO] [stderr] warning: rust-playground v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-insta` which is missing a lib target
[INFO] [stderr] warning: unused import: `std::io::Stdin`
[INFO] [stderr]  --> src/ahc.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::Stdin;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `tile` should have an upper camel case name
[INFO] [stderr]   --> src/ahc.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | struct tile {
[INFO] [stderr]    |        ^^^^ help: convert the identifier to upper camel case: `Tile`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition: `foo`
[INFO] [stderr]  --> src/macro_study.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | macro_rules! foo {
[INFO] [stderr]   |              ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Read` and `self`
[INFO] [stderr]   --> src/q4.rs:14:30
[INFO] [stderr]    |
[INFO] [stderr] 14 |     io::{BufRead, BufReader, Read, Seek, SeekFrom},
[INFO] [stderr]    |                              ^^^^
[INFO] [stderr] 15 |     sync::{Arc, Mutex},
[INFO] [stderr] 16 |     thread::{self, spawn},
[INFO] [stderr]    |              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/read_json.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Value` and `value`
[INFO] [stderr]  --> src/read_json.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde_json::{value, Value};
[INFO] [stderr]   |                  ^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude`
[INFO] [stderr]  --> src/rust_study_0510.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::prelude;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `default`, `fs::File`, and `io::Read`
[INFO] [stderr]  --> src/rust_study_0510.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{default, fs::File, io::Read};
[INFO] [stderr]   |           ^^^^^^^  ^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::pg::PgConnection`
[INFO] [stderr]   --> src/main.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use diesel::pg::PgConnection;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stderr]  --> src/rust_study20240812_anyhow.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{fs::File, io::Read};
[INFO] [stderr]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Ok` and `Result`
[INFO] [stderr]  --> src/rust_study20240812_anyhow.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use anyhow::{Ok, Result};
[INFO] [stderr]   |              ^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::result`
[INFO] [stderr]  --> src/rust_study20240812_anyhow.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use diesel::result;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/tokiotest.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | /     loop {
[INFO] [stderr] 23 | |         let mut socket = l.accept().await?;
[INFO] [stderr] 24 | |         println!("new request!!");
[INFO] [stderr] 25 | |         tokio::spawn(async move {
[INFO] [stderr] ...  |
[INFO] [stderr] 35 | |         });
[INFO] [stderr] 36 | |     }
[INFO] [stderr]    | |_____- any code following this expression is unreachable
[INFO] [stderr] 37 |       Ok(())
[INFO] [stderr]    |       ^^^^^^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/main.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     panic!("end");
[INFO] [stderr]    |     ------------- any code following this expression is unreachable
[INFO] [stderr] 42 |     abc367::main();
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/ahc.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |         for y in 0..y {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/ahc.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |             for x in 0..x {
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/q1.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |         _ => println!("hoge"),
[INFO] [stderr]    |         - matches any value
[INFO] [stderr] 42 |         None => print!("non"),
[INFO] [stderr]    |         ^^^^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/q1.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let f = Some(4);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ans`
[INFO] [stderr]   --> src/q1.rs:85:9
[INFO] [stderr]    |
[INFO] [stderr] 85 |     let ans = q1_3_option();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ans`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/q1.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     let a = q1_4_esult(32);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/q1.rs:160:28
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stderr]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/q1.rs:160:40
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stderr]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/q1.rs:164:22
[INFO] [stderr]     |
[INFO] [stderr] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/q1.rs:164:34
[INFO] [stderr]     |
[INFO] [stderr] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stderr]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/q4.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let mut arcTest = Arc::new(42);
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/q4.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let mut str = String::new();
[INFO] [stderr]    |         ----^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stdout] running 0 tests
[INFO] [stderr]   --> src/q4.rs:71:9
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout] 
[INFO] [stderr]    |         ----^^^^^^^^
[INFO] [stdout] 
[INFO] [stderr]    |         |
[INFO] [stdout] running 6 tests
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/q4.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/q4.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let mut f = File::open("memo.md").unwrap(); // file::openはファイルハンドラだから100TB読むわけではない
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `l`
[INFO] [stderr]   --> src/q4.rs:87:17
[INFO] [stderr]    |
[INFO] [stderr] 87 |             let l = reader.read_line(&mut b).unwrap();
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/q4.rs:92:21
[INFO] [stderr]    |
[INFO] [stderr] 92 |                 let v = locked_count_map.get(word).unwrap();
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] test abc129::tests::test_b_2 ... ok
[INFO] [stderr] 
[INFO] [stdout] test abc367::tests::solve_lake_rest_area_problem4 ... ok
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stdout] test q2::tests::test_q1 ... ok
[INFO] [stderr]   --> src/q4.rs:93:21
[INFO] [stdout] test abc129::tests::test_b_3 ... ok
[INFO] [stderr]    |
[INFO] [stderr] 93 |                 let e = locked_count_map.entry("a".to_string()).or_insert(3);
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `str`
[INFO] [stderr]   --> src/q4.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let mut str = String::new();
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `h`
[INFO] [stderr]   --> src/q4.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |     let mut h: HashMap<String, i32> = HashMap::new();
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `list`
[INFO] [stderr]  --> src/q5.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let list = [6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stderr]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v_list`
[INFO] [stderr]  --> src/q5.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let v_list: Vec<i32> = vec![6, 7, 8, 9, 8, 7, 6, 4, 7, 4];
[INFO] [stderr]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_list`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]  --> src/abc076.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     for i in 0..n {
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]   --> src/abc353.rs:44:19
[INFO] [stderr]    |
[INFO] [stderr] 44 |             Some((index, &value)) => {
[INFO] [stderr]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `min`
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let min = a.iter().min().unwrap().clone();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_min`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:53:16
[INFO] [stderr]    |
[INFO] [stderr] 53 |         (n, m, k):(i32,i32,i32),
[INFO] [stderr]    |                ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 54 |         a: [[i32;n];n],
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |         s:[[i32;3];m*3]
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/rust_study_0510.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let mut even: Vec<&str> = Vec::new();
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/rust_study_0510.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let y = x;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/tokiotest.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/tokiotest.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut t = TcpStream::connect("example.com:80").await?;
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]   --> src/tokiotest.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let request = b"GET HTTP1.1 example.com";
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> src/abc367.rs:46:13
[INFO] [stderr]    |
[INFO] [stderr] 46 |         (n, k): (i32, i32),
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]  --> src/generic_where_plactice.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 |     let n = N { s: 4 };
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/rust_study20240812.rs:120:9
[INFO] [stderr]     |
[INFO] [stderr] 120 |     let a = s.size();
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `tile` is never constructed
[INFO] [stderr]   --> src/ahc.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | struct tile {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Grid` is never constructed
[INFO] [stderr]   --> src/ahc.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | struct Grid {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `up`, `down`, `left`, `right`, and `display` are never used
[INFO] [stderr]   --> src/ahc.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 32 | impl Grid {
[INFO] [stderr]    | --------- associated items in this implementation
[INFO] [stderr] 33 |     fn new(x: i32, y: i32) -> Grid {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 46 |     fn up(&mut self) {
[INFO] [stderr]    |        ^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     fn down(&mut self) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn left(&mut self) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     fn right(&mut self) {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     fn display(&mut self) {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/ahc.rs:65:8
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub fn main() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_input` is never used
[INFO] [stderr]   --> src/ahc.rs:76:8
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub fn read_input() {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `hello` is never used
[INFO] [stderr]   --> src/hypertest.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | async fn hello(_: Request<hyper::body::Incoming>) -> Result<Response<Full<Bytes>>, Infallible> {
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/hypertest.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stderr]    |              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `age` are never read
[INFO] [stderr]   --> src/macro_study.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Person {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 21 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 22 |     age: i32,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_1` is never used
[INFO] [stderr]   --> src/q1.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn q1_1() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_3_option` is never used
[INFO] [stderr]   --> src/q1.rs:30:4
[INFO] [stderr]    |
[INFO] [stderr] 30 | fn q1_3_option() -> Option<i32> {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_3_match` is never used
[INFO] [stderr]   --> src/q1.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn q1_3_match() {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_3_expect` is never used
[INFO] [stderr]   --> src/q1.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn q1_3_expect() {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_4_esult` is never used
[INFO] [stderr]   --> src/q1.rs:54:4
[INFO] [stderr]    |
[INFO] [stderr] 54 | fn q1_4_esult(i: i32) -> Result<String, Error> {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_4_fileopen` is never used
[INFO] [stderr]   --> src/q1.rs:65:4
[INFO] [stderr]    |
[INFO] [stderr] 65 | fn q1_4_fileopen(path: &Path) -> Result<String, Error> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1_4_match` is never used
[INFO] [stderr]   --> src/q1.rs:73:4
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn q1_4_match() {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/q1.rs:81:8
[INFO] [stderr]    |
[INFO] [stderr] 81 | pub fn main() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `err_handling` is never used
[INFO] [stderr]    --> src/q1.rs:103:8
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub fn err_handling() -> Result<i32, i32> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest` is never used
[INFO] [stderr]    --> src/q1.rs:114:4
[INFO] [stderr]     |
[INFO] [stderr] 114 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Product` is never constructed
[INFO] [stderr]    --> src/q1.rs:129:8
[INFO] [stderr]     |
[INFO] [stderr] 129 | struct Product {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `PriceFilter` is never used
[INFO] [stderr]    --> src/q1.rs:134:7
[INFO] [stderr]     |
[INFO] [stderr] 134 | trait PriceFilter {
[INFO] [stderr]     |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `filter_products` is never used
[INFO] [stderr]    --> src/q1.rs:148:4
[INFO] [stderr]     |
[INFO] [stderr] 148 | fn filter_products<T: PriceFilter>(u: Vec<Product>, t: T) -> Vec<Product> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `t` is never used
[INFO] [stderr]    --> src/q1.rs:160:4
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn t<'a, 'b: 'a, T: Debug>(a: &'a str, b: &'b T) {
[INFO] [stderr]     |    ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `f` is never used
[INFO] [stderr]    --> src/q1.rs:164:4
[INFO] [stderr]     |
[INFO] [stderr] 164 | fn f<'a, T: Display>(x: &'a str, y: &'a T) {}
[INFO] [stderr]     |    ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/q3.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn main() {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/q4.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn main() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stdout] test abc129::tests::test_b_1 ... ok
[INFO] [stderr] warning: function `q4_pre` is never used
[INFO] [stdout] test abc367::tests::solve_lake_rest_area_problem5 ... FAILED
[INFO] [stderr]   --> src/q4.rs:36:4
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] failures:
[INFO] [stderr] 36 | fn q4_pre() {
[INFO] [stdout] 
[INFO] [stderr]    |    ^^^^^^
[INFO] [stdout] ---- abc367::tests::solve_lake_rest_area_problem5 stdout ----
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: function `q5_more_thread` is never used
[INFO] [stdout] thread 'abc367::tests::solve_lake_rest_area_problem5' (23) panicked at src/abc367.rs:175:9:
[INFO] [stderr]   --> src/q4.rs:69:4
[INFO] [stdout] assertion `left == right` failed
[INFO] [stderr]    |
[INFO] [stdout]   left: 9
[INFO] [stderr] 69 | fn q5_more_thread() {
[INFO] [stdout]  right: 4
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] stack backtrace:
[INFO] [stderr] 
[INFO] [stdout]    0:     0x5e3c455a16fa - std[ec419fa8110287d5]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr] warning: function `main` is never used
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]  --> src/q5.rs:2:4
[INFO] [stdout]    1:     0x5e3c455a16fa - std[ec419fa8110287d5]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec419fa8110287d5]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr] 2 | fn main() {
[INFO] [stdout]    2:     0x5e3c455a16fa - std[ec419fa8110287d5]::sys::backtrace::_print_fmt
[INFO] [stderr]   |    ^^^^
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr] 
[INFO] [stdout]    3:     0x5e3c455a16fa - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stderr] warning: function `a` is never used
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]  --> src/abc351_a.rs:7:8
[INFO] [stdout]    4:     0x5e3c455b550a - <core[35159d6ffb30e017]::fmt::rt::Argument>::fmt
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr] 7 | pub fn a() {
[INFO] [stdout]    5:     0x5e3c455b550a - core[35159d6ffb30e017]::fmt::write
[INFO] [stderr]   |        ^
[INFO] [stdout]    6:     0x5e3c455a5f32 - std[ec419fa8110287d5]::io::default_write_fmt::<alloc[a8a7aba520129d98]::vec::Vec<u8>>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:621:11
[INFO] [stderr] warning: function `c` is never used
[INFO] [stdout]    7:     0x5e3c455a5f32 - <alloc[a8a7aba520129d98]::vec::Vec<u8> as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stderr]   --> src/abc351_a.rs:39:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:1976:13
[INFO] [stderr]    |
[INFO] [stdout]    8:     0x5e3c455806ff - <std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr] 39 | pub fn c() {}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]    |        ^
[INFO] [stdout]    9:     0x5e3c455806ff - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:292:27
[INFO] [stderr] warning: function `b` is never used
[INFO] [stdout]   10:     0x5e3c45599ba9 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stderr]   --> src/abc352_a.rs:24:4
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:316:9
[INFO] [stderr]    |
[INFO] [stdout]   11:     0x5e3c4553209c - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stderr] 24 | fn b() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stderr]    |    ^
[INFO] [stdout]   12:     0x5e3c4553209c - test[a8007afcd3effadc]::test_main_inner::<test[a8007afcd3effadc]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:155:21
[INFO] [stderr] warning: function `a` is never used
[INFO] [stdout]   13:     0x5e3c45599d62 - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   --> src/abc353.rs:10:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stderr]    |
[INFO] [stdout]   14:     0x5e3c45599d62 - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stderr] 10 | pub fn a() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:833:13
[INFO] [stderr]    |        ^
[INFO] [stdout]   15:     0x5e3c455807b8 - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:698:13
[INFO] [stderr] warning: function `b` is never used
[INFO] [stdout]   16:     0x5e3c45578159 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   --> src/abc353.rs:33:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]    |
[INFO] [stdout]   17:     0x5e3c455814cd - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stderr] 33 | pub fn b() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:689:5
[INFO] [stderr]    |        ^
[INFO] [stdout]   18:     0x5e3c455b5c5c - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:80:14
[INFO] [stderr] warning: function `a` is never used
[INFO] [stdout]   19:     0x5e3c455b5b13 - core[35159d6ffb30e017]::panicking::assert_failed_inner
[INFO] [stderr]  --> src/atcode_beginers_selection.rs:8:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:439:17
[INFO] [stderr]   |
[INFO] [stdout]   20:     0x5e3c4551ff7d - core[35159d6ffb30e017]::panicking::assert_failed::<i64, i64>
[INFO] [stderr] 8 | pub fn a() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:394:5
[INFO] [stderr]   |        ^
[INFO] [stdout]   21:     0x5e3c45524249 - rust_playground[fe48de6d0e957913]::abc367::tests::solve_lake_rest_area_problem5
[INFO] [stderr] 
[INFO] [stdout]                                at /opt/rustwide/workdir/src/abc367.rs:175:9
[INFO] [stderr] warning: function `abc081b` is never used
[INFO] [stdout]   22:     0x5e3c45520a87 - rust_playground[fe48de6d0e957913]::abc367::tests::solve_lake_rest_area_problem5::{closure#0}
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:25:8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/abc367.rs:174:39
[INFO] [stderr]    |
[INFO] [stdout]   23:     0x5e3c455252b6 - <rust_playground[fe48de6d0e957913]::abc367::tests::solve_lake_rest_area_problem5::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 25 | pub fn abc081b() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stdout]   24:     0x5e3c4552537b - <fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stderr] warning: function `ahc032_a` is never used
[INFO] [stdout]   25:     0x5e3c4552537b - test[a8007afcd3effadc]::__rust_begin_short_backtrace::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stderr]   --> src/atcode_beginers_selection.rs:51:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:724:18
[INFO] [stderr]    |
[INFO] [stdout]   26:     0x5e3c45532b6b - test[a8007afcd3effadc]::run_test_in_process::{closure#0}
[INFO] [stderr] 51 | pub fn ahc032_a() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:74
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stdout]   27:     0x5e3c45532b6b - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr] warning: struct `Renovate` is never constructed
[INFO] [stdout]   28:     0x5e3c45532b6b - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stderr]   --> src/read_json.rs:13:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stderr]    |
[INFO] [stdout]   29:     0x5e3c45532b6b - std[ec419fa8110287d5]::panicking::catch_unwind::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>>
[INFO] [stderr] 13 | struct Renovate {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stdout]   30:     0x5e3c45532b6b - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stderr] warning: function `main` is never used
[INFO] [stdout]   31:     0x5e3c45532b6b - test[a8007afcd3effadc]::run_test_in_process
[INFO] [stderr]   --> src/read_json.rs:19:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:27
[INFO] [stderr]    |
[INFO] [stdout]   32:     0x5e3c45532b6b - test[a8007afcd3effadc]::run_test::{closure#0}
[INFO] [stderr] 19 | pub fn main() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:668:43
[INFO] [stderr]    |        ^^^^
[INFO] [stdout]   33:     0x5e3c4552d544 - test[a8007afcd3effadc]::run_test::{closure#1}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:698:41
[INFO] [stderr] warning: function `mainold` is never used
[INFO] [stdout]   34:     0x5e3c4552d544 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>
[INFO] [stderr]  --> src/rust_study_0510.rs:4:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   |
[INFO] [stdout]   35:     0x5e3c45535772 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr] 4 | pub fn mainold() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stdout]   36:     0x5e3c45535772 - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr] warning: function `main` is never used
[INFO] [stdout]   37:     0x5e3c45535772 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   --> src/rust_study_0510.rs:25:4
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stderr]    |
[INFO] [stdout]   38:     0x5e3c45535772 - std[ec419fa8110287d5]::panicking::catch_unwind::<(), core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr] 25 | fn main() {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stderr]    |    ^^^^
[INFO] [stdout]   39:     0x5e3c45535772 - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stderr] warning: function `process_strings` is never used
[INFO] [stdout]   40:     0x5e3c45535772 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]   --> src/rust_study_0510.rs:38:4
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stderr]    |
[INFO] [stdout]   41:     0x5e3c45535772 - <std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]   42:     0x5e3c455a100f - <alloc[a8a7aba520129d98]::boxed::Box<dyn core[35159d6ffb30e017]::ops::function::FnOnce<(), Output = ()> + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2271:9
[INFO] [stderr] warning: struct `StringStats` is never constructed
[INFO] [stdout]   43:     0x5e3c455a100f - <std[ec419fa8110287d5]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   --> src/rust_study_0510.rs:50:8
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]    |
[INFO] [stdout]   44:     0x7f6cd47c0aa4 - <unknown>
[INFO] [stderr] 50 | struct StringStats<'a> {
[INFO] [stdout]   45:     0x7f6cd484da64 - clone
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: function `errsample1` is never used
[INFO] [stdout] 
[INFO] [stderr]   --> src/rust_study_0510.rs:63:8
[INFO] [stdout] failures:
[INFO] [stderr]    |
[INFO] [stdout]     abc367::tests::solve_lake_rest_area_problem5
[INFO] [stderr] 63 | pub fn errsample1() {
[INFO] [stdout] 
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: function `processvec` is never used
[INFO] [stderr]   --> src/rust_study_0510.rs:71:4
[INFO] [stderr]    |
[INFO] [stderr] 71 | fn processvec(x: &Box<i32>) {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `oksample1` is never used
[INFO] [stderr]   --> src/rust_study_0510.rs:75:8
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub fn oksample1() {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `server` is never used
[INFO] [stderr]   --> src/tokiotest.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub async fn server() -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `a` is never used
[INFO] [stderr]   --> src/abc129.rs:12:4
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn a() {
[INFO] [stderr]    |    ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `a` is never used
[INFO] [stderr]   --> src/abc362.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn a() {
[INFO] [stderr]    |        ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `b` is never used
[INFO] [stderr]   --> src/abc362.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub fn b() {}
[INFO] [stderr]    |        ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `c` is never used
[INFO] [stderr]   --> src/abc367.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub fn c() {
[INFO] [stderr]    |        ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `solve_lake_rest_area_problem` is never used
[INFO] [stderr]   --> src/abc367.rs:55:4
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn solve_lake_rest_area_problem(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `solve_lake_rest_area_problem2` is never used
[INFO] [stderr]   --> src/abc367.rs:83:4
[INFO] [stderr]    |
[INFO] [stderr] 83 | fn solve_lake_rest_area_problem2(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `solve_lake_rest_area_problem3` is never used
[INFO] [stderr]    --> src/abc367.rs:105:4
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn solve_lake_rest_area_problem3(n: usize, m: i64, a: &[i64]) -> i64 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Package` is never constructed
[INFO] [stderr]  --> src/cargo_toml_parse.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct Package {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Dependency` is never used
[INFO] [stderr]   --> src/cargo_toml_parse.rs:24:6
[INFO] [stderr]    |
[INFO] [stderr] 24 | enum Dependency {
[INFO] [stderr]    |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Cargo` is never constructed
[INFO] [stderr]   --> src/cargo_toml_parse.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | struct Cargo {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/cargo_toml_parse.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub fn main() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `SS` is never used
[INFO] [stderr]  --> src/generic_where_plactice.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | trait SS<T> {
[INFO] [stderr]   |       ^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `s` is never read
[INFO] [stderr]   --> src/generic_where_plactice.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | struct N<T> {
[INFO] [stderr]    |        - field in this struct
[INFO] [stderr] 10 |     s: T,
[INFO] [stderr]    |     ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `genericsample` is never used
[INFO] [stderr]   --> src/generic_where_plactice.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn genericsample<T, X>(argx: X) -> i32
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `koukai` is never used
[INFO] [stderr]   --> src/generic_where_plactice.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn koukai() {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `koukai3` is never used
[INFO] [stderr]   --> src/generic_where_plactice.rs:39:4
[INFO] [stderr]    |
[INFO] [stderr] 39 | fn koukai3() {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q1` is never used
[INFO] [stderr]   --> src/rust_study20240812.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub fn q1() {
[INFO] [stderr]    |        ^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Perimeter` is never used
[INFO] [stderr]   --> src/rust_study20240812.rs:90:7
[INFO] [stderr]    |
[INFO] [stderr] 90 | trait Perimeter {
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]   --> src/rust_study20240812.rs:93:8
[INFO] [stderr]    |
[INFO] [stderr] 93 | struct Rectangle {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `size` is never used
[INFO] [stderr]    --> src/rust_study20240812.rs:110:8
[INFO] [stderr]     |
[INFO] [stderr] 108 | impl Rectangle {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] 109 |     //↑をやりたい場合はこうやって分割する。そうすると下のmainの中で認識できる。
[INFO] [stderr] 110 |     fn size(&self) -> i32 {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> src/rust_study20240812.rs:115:8
[INFO] [stderr]     |
[INFO] [stderr] 115 | pub fn main() {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `q2` is never used
[INFO] [stderr]    --> src/rust_study20240812.rs:148:8
[INFO] [stderr]     |
[INFO] [stderr] 148 | pub fn q2() {
[INFO] [stderr]     |        ^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/rust_study20240812_anyhow.rs:31:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub fn main() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `arcTest` should have a snake case name
[INFO] [stderr]   --> src/q4.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let mut arcTest = Arc::new(42);
[INFO] [stderr]    |             ^^^^^^^ help: convert the identifier to snake case: `arc_test`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `arcMutexTest` should have a snake case name
[INFO] [stderr]   --> src/q4.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let arcMutexTest = Arc::new(Mutex::new(43));
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `arcMutexTestInner` should have a snake case name
[INFO] [stderr]   --> src/q4.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut arcMutexTestInner = arcMutexTest.lock().unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `arc_mutex_test_inner`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `countMap` should have a snake case name
[INFO] [stderr]   --> src/q4.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |     let mut countMap: Arc<Mutex<HashMap<String, i32>>> = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stderr]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `countMap` should have a snake case name
[INFO] [stderr]   --> src/q4.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let countMap = Arc::clone(&countMap);
[INFO] [stderr]    |             ^^^^^^^^ help: convert the identifier to snake case: `count_map`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/rust_study_0510.rs:38:23
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn process_strings(v: &Vec<String>) -> StringStats {
[INFO] [stderr]    |                       ^^^^^^^^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn process_strings(v: &Vec<String>) -> StringStats<'_> {
[INFO] [stderr]    |                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/generic_where_plactice.rs:52:5
[INFO] [stderr]    |
[INFO] [stderr] 52 |     koukai2(l);
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let _ = koukai2(l);
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-playground` (bin "rust-playground" test) generated 126 warnings (run `cargo fix --bin "rust-playground" -p rust-playground --tests` to apply 46 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_playground-fa74b9c87f662258)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_playground-675f6d2e3b0bd9db)
[INFO] [stderr] error: test failed, to rerun pass `--bin rust-playground`
[INFO] running `Command { std: "docker" "inspect" "6bae14350d7fe14b5c7a4562322131c84f0c6519784bc3916525c17113d6fa3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bae14350d7fe14b5c7a4562322131c84f0c6519784bc3916525c17113d6fa3a", kill_on_drop: false }`
[INFO] [stdout] 6bae14350d7fe14b5c7a4562322131c84f0c6519784bc3916525c17113d6fa3a
