[INFO] cloning repository https://github.com/yangyunfeng666/rustDemo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangyunfeng666/rustDemo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangyunfeng666%2FrustDemo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangyunfeng666%2FrustDemo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69910fbf4c7bea55cfb0a4640415b9619c658430
[INFO] checking yangyunfeng666/rustDemo against try#83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1 for pr-134021
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangyunfeng666%2FrustDemo" "/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/yangyunfeng666/rustDemo
[INFO] finished tweaking git repo https://github.com/yangyunfeng666/rustDemo
[INFO] tweaked toml for git repo https://github.com/yangyunfeng666/rustDemo written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yangyunfeng666/rustDemo on toolchain 83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yangyunfeng666/rustDemo 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" "+83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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] bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1
[INFO] running `Command { std: "docker" "start" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1", 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" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1" "/opt/rustwide/cargo-home/bin/cargo" "+83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1", 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" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1" "/opt/rustwide/cargo-home/bin/cargo" "+83ec5b3aeb5925d43b5be7b50c090f2f0336fcc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]     Checking restaurant v0.1.0 (/opt/rustwide/workdir/restaurant)
[INFO] [stdout] warning: type `y_enum` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum y_enum {
[INFO] [stdout]    |          ^^^^^^ help: convert the identifier to upper camel case: `YEnum`
[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: variant `a1` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     a1(String),
[INFO] [stdout]    |     ^^ help: convert the identifier to upper camel case: `A1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `a2` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     a2(String),
[INFO] [stdout]    |     ^^ help: convert the identifier to upper camel case: `A2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `y_enum` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum y_enum {
[INFO] [stdout]    |          ^^^^^^ help: convert the identifier to upper camel case: `YEnum`
[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: variant `a1` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     a1(String),
[INFO] [stdout]    |     ^^ help: convert the identifier to upper camel case: `A1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `a2` should have an upper camel case name
[INFO] [stdout]   --> restaurant/src/front_of_house.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     a2(String),
[INFO] [stdout]    |     ^^ help: convert the identifier to upper camel case: `A2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `toast` is never read
[INFO] [stdout]  --> restaurant/src/front_of_house.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Breakfast {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 8 |     pub key: String,
[INFO] [stdout] 9 |     toast: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Breakfast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `toast` is never read
[INFO] [stdout]  --> restaurant/src/front_of_house.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Breakfast {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 8 |     pub key: String,
[INFO] [stdout] 9 |     toast: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Breakfast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking hello v1.0.0 (/opt/rustwide/workdir/hello)
[INFO] [stdout] warning: trait `sumer` should have an upper camel case name
[INFO] [stdout]    --> hello/src/main.rs:313:7
[INFO] [stdout]     |
[INFO] [stdout] 313 | trait sumer {
[INFO] [stdout]     |       ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sumer`
[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: type `twwier` should have an upper camel case name
[INFO] [stdout]    --> hello/src/main.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct twwier {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to upper camel case: `Twwier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `sumer` should have an upper camel case name
[INFO] [stdout]    --> hello/src/main.rs:313:7
[INFO] [stdout]     |
[INFO] [stdout] 313 | trait sumer {
[INFO] [stdout]     |       ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sumer`
[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: type `twwier` should have an upper camel case name
[INFO] [stdout]    --> hello/src/main.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct twwier {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to upper camel case: `Twwier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> hello/src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut i = 0;
[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: `num`
[INFO] [stdout]   --> hello/src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let num = rand::thread_rng().gen_range(1,100);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> hello/src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut i = 0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `V6Ip`
[INFO] [stdout]    --> hello/src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let V6Ip = IpAddr::V6(String::from("::1"));
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_V6Ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aa`
[INFO] [stdout]    --> hello/src/main.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |    let  aa :Vec<i32> = vec![1,2,3,4];
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> hello/src/main.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 |    let a = ss + &sa;//第一参数被使用权转移了
[INFO] [stdout]     |        ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vec`
[INFO] [stdout]    --> hello/src/main.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 |    let vec = vec![1,2,3,4];
[INFO] [stdout]     |        ^^^ help: if this is intentional, prefix it with an underscore: `_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> hello/src/main.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 | let f = match file {
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> hello/src/main.rs:221:25
[INFO] [stdout]     |
[INFO] [stdout] 221 |                     Err(error) => {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key1`
[INFO] [stdout]    --> hello/src/main.rs:481:9
[INFO] [stdout]     |
[INFO] [stdout] 481 |     let key1 = front_of_house::y_enum::a1;//使用作用域
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kye2`
[INFO] [stdout]    --> hello/src/main.rs:482:9
[INFO] [stdout]     |
[INFO] [stdout] 482 |     let kye2 = front_of_house::y_enum::a2;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_kye2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aa` and `bb` are never read
[INFO] [stdout]    --> hello/src/main.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct twwier {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 322 |     aa:String,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 323 |     bb:String
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_use_duan` is never used
[INFO] [stdout]    --> hello/src/main.rs:348:4
[INFO] [stdout]     |
[INFO] [stdout] 348 | fn read_use_duan() -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]    --> hello/src/main.rs:385:8
[INFO] [stdout]     |
[INFO] [stdout] 385 |     V4(u8,u8,u8,u8),
[INFO] [stdout]     |     -- ^^ ^^ ^^ ^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 385 -     V4(u8,u8,u8,u8),
[INFO] [stdout] 385 +     V4((),(),(),()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> hello/src/main.rs:386:8
[INFO] [stdout]     |
[INFO] [stdout] 386 |     V6(String),
[INFO] [stdout]     |     -- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 386 -     V6(String),
[INFO] [stdout] 386 +     V6(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aaa` and `bbb` are never read
[INFO] [stdout]    --> hello/src/main.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 387 |     Aa {
[INFO] [stdout]     |     -- fields in this variant
[INFO] [stdout] 388 |         aaa:String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 389 |         bbb:String
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]    --> hello/src/main.rs:443:4
[INFO] [stdout]     |
[INFO] [stdout] 443 | fn read_file() -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_str_file` is never used
[INFO] [stdout]    --> hello/src/main.rs:456:4
[INFO] [stdout]     |
[INFO] [stdout] 456 | fn read_str_file () -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `v4Ip` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let v4Ip = IpAddr::V4(127,0,0,0);
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `v4_ip`
[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 `V6Ip` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let V6Ip = IpAddr::V6(String::from("::1"));
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `v6_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Aa` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let Aa  = IpAddr::Aa {aaa:String::from("dsds"),bbb:String::from("bbb")};
[INFO] [stdout]     |         ^^ help: convert the identifier to snake case: `aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `someV` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let someV = Some("aaaa");
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `some_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> hello/src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut i = 0;
[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: `num`
[INFO] [stdout]   --> hello/src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let num = rand::thread_rng().gen_range(1,100);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> hello/src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut i = 0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `V6Ip`
[INFO] [stdout]    --> hello/src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let V6Ip = IpAddr::V6(String::from("::1"));
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_V6Ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aa`
[INFO] [stdout]    --> hello/src/main.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |    let  aa :Vec<i32> = vec![1,2,3,4];
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> hello/src/main.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 |    let a = ss + &sa;//第一参数被使用权转移了
[INFO] [stdout]     |        ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vec`
[INFO] [stdout]    --> hello/src/main.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 |    let vec = vec![1,2,3,4];
[INFO] [stdout]     |        ^^^ help: if this is intentional, prefix it with an underscore: `_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> hello/src/main.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 | let f = match file {
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> hello/src/main.rs:221:25
[INFO] [stdout]     |
[INFO] [stdout] 221 |                     Err(error) => {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key1`
[INFO] [stdout]    --> hello/src/main.rs:481:9
[INFO] [stdout]     |
[INFO] [stdout] 481 |     let key1 = front_of_house::y_enum::a1;//使用作用域
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kye2`
[INFO] [stdout]    --> hello/src/main.rs:482:9
[INFO] [stdout]     |
[INFO] [stdout] 482 |     let kye2 = front_of_house::y_enum::a2;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_kye2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aa` and `bb` are never read
[INFO] [stdout]    --> hello/src/main.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct twwier {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 322 |     aa:String,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 323 |     bb:String
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_use_duan` is never used
[INFO] [stdout]    --> hello/src/main.rs:348:4
[INFO] [stdout]     |
[INFO] [stdout] 348 | fn read_use_duan() -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]    --> hello/src/main.rs:385:8
[INFO] [stdout]     |
[INFO] [stdout] 385 |     V4(u8,u8,u8,u8),
[INFO] [stdout]     |     -- ^^ ^^ ^^ ^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 385 -     V4(u8,u8,u8,u8),
[INFO] [stdout] 385 +     V4((),(),(),()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> hello/src/main.rs:386:8
[INFO] [stdout]     |
[INFO] [stdout] 386 |     V6(String),
[INFO] [stdout]     |     -- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 386 -     V6(String),
[INFO] [stdout] 386 +     V6(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aaa` and `bbb` are never read
[INFO] [stdout]    --> hello/src/main.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 387 |     Aa {
[INFO] [stdout]     |     -- fields in this variant
[INFO] [stdout] 388 |         aaa:String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 389 |         bbb:String
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]    --> hello/src/main.rs:443:4
[INFO] [stdout]     |
[INFO] [stdout] 443 | fn read_file() -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_str_file` is never used
[INFO] [stdout]    --> hello/src/main.rs:456:4
[INFO] [stdout]     |
[INFO] [stdout] 456 | fn read_str_file () -> Result<String,io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `v4Ip` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let v4Ip = IpAddr::V4(127,0,0,0);
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `v4_ip`
[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 `V6Ip` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let V6Ip = IpAddr::V6(String::from("::1"));
[INFO] [stdout]     |         ^^^^ help: convert the identifier to snake case: `v6_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Aa` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let Aa  = IpAddr::Aa {aaa:String::from("dsds"),bbb:String::from("bbb")};
[INFO] [stdout]     |         ^^ help: convert the identifier to snake case: `aa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `someV` should have a snake case name
[INFO] [stdout]    --> hello/src/main.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let someV = Some("aaaa");
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `some_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s
[INFO] running `Command { std: "docker" "inspect" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1", kill_on_drop: false }`
[INFO] [stdout] bf03e6696af94c6e4838bb4238ea2299d25fd868962f1a4decf62de31130c0d1
