[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#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangyunfeng666%2FrustDemo" "/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/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yangyunfeng666/rustDemo on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2964a8214cdf942bd2b83f91611113c25f2e8190fc10b45757710ae2d434cb87
[INFO] running `Command { std: "docker" "start" "-a" "2964a8214cdf942bd2b83f91611113c25f2e8190fc10b45757710ae2d434cb87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2964a8214cdf942bd2b83f91611113c25f2e8190fc10b45757710ae2d434cb87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2964a8214cdf942bd2b83f91611113c25f2e8190fc10b45757710ae2d434cb87", kill_on_drop: false }`
[INFO] [stdout] 2964a8214cdf942bd2b83f91611113c25f2e8190fc10b45757710ae2d434cb87
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be828689a3878847097a18352e81c2201610ec2e923ac337d10e3a5c83f4043b
[INFO] running `Command { std: "docker" "start" "-a" "be828689a3878847097a18352e81c2201610ec2e923ac337d10e3a5c83f4043b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]     Checking restaurant v0.1.0 (/opt/rustwide/workdir/restaurant)
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[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 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: 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: 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: 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 1.48s
[INFO] running `Command { std: "docker" "inspect" "be828689a3878847097a18352e81c2201610ec2e923ac337d10e3a5c83f4043b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be828689a3878847097a18352e81c2201610ec2e923ac337d10e3a5c83f4043b", kill_on_drop: false }`
[INFO] [stdout] be828689a3878847097a18352e81c2201610ec2e923ac337d10e3a5c83f4043b
