[INFO] cloning repository https://github.com/TakaShinoda/rust-beginner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TakaShinoda/rust-beginner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakaShinoda%2Frust-beginner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakaShinoda%2Frust-beginner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1eaa38fcb758b51b8446fc82c658f38c4b670f12
[INFO] checking TakaShinoda/rust-beginner against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakaShinoda%2Frust-beginner" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TakaShinoda/rust-beginner
[INFO] finished tweaking git repo https://github.com/TakaShinoda/rust-beginner
[INFO] tweaked toml for git repo https://github.com/TakaShinoda/rust-beginner written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TakaShinoda/rust-beginner on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TakaShinoda/rust-beginner 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libyml v0.0.5
[INFO] [stderr]   Downloaded serde_yml v0.0.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b
[INFO] running `Command { std: "docker" "start" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_yml v0.0.12
[INFO] [stderr]     Checking libyml v0.0.5
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking rust-beginner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut s = Storage::SSD(512);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let size = s.get_size();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spec`
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let spec = PCSpec::new(8, 32, s);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_spec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |     let list: LinkedList<_> = it.filter(|n| *n % 2 == 0).collect();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2o_1`
[INFO] [stdout]    --> src/main.rs:290:10
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let (h2o_1, h2o_2) = burn(h2_1, h2_2, o2);
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_h2o_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2o_2`
[INFO] [stdout]    --> src/main.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let (h2o_1, h2o_2) = burn(h2_1, h2_2, o2);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_h2o_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:295:9
[INFO] [stdout]     |
[INFO] [stdout] 295 |     let c = b;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/main.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let w = v.clone(); // 参照カウント2
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/main.rs:322:9
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let z = v.clone(); // 参照カウント3
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:658:9
[INFO] [stdout]     |
[INFO] [stdout] 658 |     let a = 10;
[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/main.rs:659:9
[INFO] [stdout]     |
[INFO] [stdout] 659 |     let b = 20; // 地点1
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:662:13
[INFO] [stdout]     |
[INFO] [stdout] 662 |         let c = 30;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:663:13
[INFO] [stdout]     |
[INFO] [stdout] 663 |         let d = 40; // 地点2
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:670:9
[INFO] [stdout]     |
[INFO] [stdout] 670 |     let e = 50;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:671:9
[INFO] [stdout]     |
[INFO] [stdout] 671 |     let f = 60; // 地点3
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `A` is never used
[INFO] [stdout]    --> src/main.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 187 |     static A: u32 = 100;
[INFO] [stdout]     |            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `B` is never used
[INFO] [stdout]    --> src/main.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |     static mut B: u32 = 200;
[INFO] [stdout]     |                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rpm` is never read
[INFO] [stdout]    --> src/main.rs:466:22
[INFO] [stdout]     |
[INFO] [stdout] 466 |     HDD { size: u32, rpm: u32 },
[INFO] [stdout]     |     ---              ^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Storage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `XOR64` is never constructed
[INFO] [stdout]    --> src/main.rs:572:8
[INFO] [stdout]     |
[INFO] [stdout] 572 | struct XOR64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `next` are never used
[INFO] [stdout]    --> src/main.rs:577:8
[INFO] [stdout]     |
[INFO] [stdout] 576 | impl XOR64 {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 577 |     fn new(seed: u64) -> XOR64 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     fn next(&mut self) -> u64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM` is never used
[INFO] [stdout]    --> src/main.rs:594:7
[INFO] [stdout]     |
[INFO] [stdout] 594 | const NUM: usize = 200000000;
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomized_vec` is never used
[INFO] [stdout]    --> src/main.rs:596:4
[INFO] [stdout]     |
[INFO] [stdout] 596 | fn randomized_vec() -> (Vec<u64>, Vec<u64>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `single_threaded` is never used
[INFO] [stdout]    --> src/main.rs:612:4
[INFO] [stdout]     |
[INFO] [stdout] 612 | fn single_threaded() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multi_threaded` is never used
[INFO] [stdout]    --> src/main.rs:629:4
[INFO] [stdout]     |
[INFO] [stdout] 629 | fn multi_threaded() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m` is never used
[INFO] [stdout]    --> src/main.rs:657:4
[INFO] [stdout]     |
[INFO] [stdout] 657 | fn m() {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n` is never used
[INFO] [stdout]    --> src/main.rs:669:4
[INFO] [stdout]     |
[INFO] [stdout] 669 | fn n() {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]    --> src/main.rs:691:5
[INFO] [stdout]     |
[INFO] [stdout] 690 | struct Foo<'a> {
[INFO] [stdout]     |        --- field in this struct
[INFO] [stdout] 691 |     x: &'a i32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListIter` is never constructed
[INFO] [stdout]    --> src/main.rs:713:8
[INFO] [stdout]     |
[INFO] [stdout] 713 | struct ListIter<'a, T> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `iter` is never used
[INFO] [stdout]    --> src/main.rs:752:8
[INFO] [stdout]     |
[INFO] [stdout] 738 | impl<T> List<T> {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 752 |     fn iter<'a>(&'a self) -> ListIter<'a, T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorA` is never constructed
[INFO] [stdout]    --> src/main.rs:804:8
[INFO] [stdout]     |
[INFO] [stdout] 804 | struct ErrorA;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorB` is never constructed
[INFO] [stdout]    --> src/main.rs:816:8
[INFO] [stdout]     |
[INFO] [stdout] 816 | struct ErrorB;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_a` is never used
[INFO] [stdout]    --> src/main.rs:827:4
[INFO] [stdout]     |
[INFO] [stdout] 827 | fn error_a() -> Result<(), ErrorA> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_b` is never used
[INFO] [stdout]    --> src/main.rs:831:4
[INFO] [stdout]     |
[INFO] [stdout] 831 | fn error_b() -> Result<(), ErrorB> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_ab` is never used
[INFO] [stdout]    --> src/main.rs:835:4
[INFO] [stdout]     |
[INFO] [stdout] 835 | fn error_ab() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA` is never constructed
[INFO] [stdout]  --> src/a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TypeA;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA1` is never constructed
[INFO] [stdout]  --> src/a/a_1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeA1;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA2` is never constructed
[INFO] [stdout]  --> src/a/a_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeA2;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB` is never constructed
[INFO] [stdout]  --> src/b.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TypeB;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB1` is never constructed
[INFO] [stdout]  --> src/b/b_1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeB1;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB2` is never constructed
[INFO] [stdout]  --> src/b/b_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeB2;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut s = Storage::SSD(512);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let size = s.get_size();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spec`
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let spec = PCSpec::new(8, 32, s);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_spec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |     let list: LinkedList<_> = it.filter(|n| *n % 2 == 0).collect();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2o_1`
[INFO] [stdout]    --> src/main.rs:290:10
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let (h2o_1, h2o_2) = burn(h2_1, h2_2, o2);
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_h2o_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h2o_2`
[INFO] [stdout]    --> src/main.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let (h2o_1, h2o_2) = burn(h2_1, h2_2, o2);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_h2o_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:295:9
[INFO] [stdout]     |
[INFO] [stdout] 295 |     let c = b;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/main.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let w = v.clone(); // 参照カウント2
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/main.rs:322:9
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let z = v.clone(); // 参照カウント3
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:658:9
[INFO] [stdout]     |
[INFO] [stdout] 658 |     let a = 10;
[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/main.rs:659:9
[INFO] [stdout]     |
[INFO] [stdout] 659 |     let b = 20; // 地点1
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:662:13
[INFO] [stdout]     |
[INFO] [stdout] 662 |         let c = 30;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:663:13
[INFO] [stdout]     |
[INFO] [stdout] 663 |         let d = 40; // 地点2
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:670:9
[INFO] [stdout]     |
[INFO] [stdout] 670 |     let e = 50;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:671:9
[INFO] [stdout]     |
[INFO] [stdout] 671 |     let f = 60; // 地点3
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `A` is never used
[INFO] [stdout]    --> src/main.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 187 |     static A: u32 = 100;
[INFO] [stdout]     |            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `B` is never used
[INFO] [stdout]    --> src/main.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |     static mut B: u32 = 200;
[INFO] [stdout]     |                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rpm` is never read
[INFO] [stdout]    --> src/main.rs:466:22
[INFO] [stdout]     |
[INFO] [stdout] 466 |     HDD { size: u32, rpm: u32 },
[INFO] [stdout]     |     ---              ^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Storage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `XOR64` is never constructed
[INFO] [stdout]    --> src/main.rs:572:8
[INFO] [stdout]     |
[INFO] [stdout] 572 | struct XOR64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `next` are never used
[INFO] [stdout]    --> src/main.rs:577:8
[INFO] [stdout]     |
[INFO] [stdout] 576 | impl XOR64 {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 577 |     fn new(seed: u64) -> XOR64 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     fn next(&mut self) -> u64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM` is never used
[INFO] [stdout]    --> src/main.rs:594:7
[INFO] [stdout]     |
[INFO] [stdout] 594 | const NUM: usize = 200000000;
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomized_vec` is never used
[INFO] [stdout]    --> src/main.rs:596:4
[INFO] [stdout]     |
[INFO] [stdout] 596 | fn randomized_vec() -> (Vec<u64>, Vec<u64>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `single_threaded` is never used
[INFO] [stdout]    --> src/main.rs:612:4
[INFO] [stdout]     |
[INFO] [stdout] 612 | fn single_threaded() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multi_threaded` is never used
[INFO] [stdout]    --> src/main.rs:629:4
[INFO] [stdout]     |
[INFO] [stdout] 629 | fn multi_threaded() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `m` is never used
[INFO] [stdout]    --> src/main.rs:657:4
[INFO] [stdout]     |
[INFO] [stdout] 657 | fn m() {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n` is never used
[INFO] [stdout]    --> src/main.rs:669:4
[INFO] [stdout]     |
[INFO] [stdout] 669 | fn n() {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]    --> src/main.rs:691:5
[INFO] [stdout]     |
[INFO] [stdout] 690 | struct Foo<'a> {
[INFO] [stdout]     |        --- field in this struct
[INFO] [stdout] 691 |     x: &'a i32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListIter` is never constructed
[INFO] [stdout]    --> src/main.rs:713:8
[INFO] [stdout]     |
[INFO] [stdout] 713 | struct ListIter<'a, T> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `iter` is never used
[INFO] [stdout]    --> src/main.rs:752:8
[INFO] [stdout]     |
[INFO] [stdout] 738 | impl<T> List<T> {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 752 |     fn iter<'a>(&'a self) -> ListIter<'a, T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorA` is never constructed
[INFO] [stdout]    --> src/main.rs:804:8
[INFO] [stdout]     |
[INFO] [stdout] 804 | struct ErrorA;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorB` is never constructed
[INFO] [stdout]    --> src/main.rs:816:8
[INFO] [stdout]     |
[INFO] [stdout] 816 | struct ErrorB;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_a` is never used
[INFO] [stdout]    --> src/main.rs:827:4
[INFO] [stdout]     |
[INFO] [stdout] 827 | fn error_a() -> Result<(), ErrorA> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_b` is never used
[INFO] [stdout]    --> src/main.rs:831:4
[INFO] [stdout]     |
[INFO] [stdout] 831 | fn error_b() -> Result<(), ErrorB> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_ab` is never used
[INFO] [stdout]    --> src/main.rs:835:4
[INFO] [stdout]     |
[INFO] [stdout] 835 | fn error_ab() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA` is never constructed
[INFO] [stdout]  --> src/a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TypeA;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA1` is never constructed
[INFO] [stdout]  --> src/a/a_1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeA1;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeA2` is never constructed
[INFO] [stdout]  --> src/a/a_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeA2;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB` is never constructed
[INFO] [stdout]  --> src/b.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TypeB;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB1` is never constructed
[INFO] [stdout]  --> src/b/b_1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeB1;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeB2` is never constructed
[INFO] [stdout]  --> src/b/b_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct TypeB2;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.78s
[INFO] running `Command { std: "docker" "inspect" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b", kill_on_drop: false }`
[INFO] [stdout] 939c9ef72f695a821c20b761c4decfa5eac3dba09bb94dc24127afc2e437ce0b
