[INFO] cloning repository https://github.com/HuixingWong/RustLearning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HuixingWong/RustLearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d2c20c096b2584fcdf437df51ff59d387b59def
[INFO] checking HuixingWong/RustLearning against master#818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc for pr-156114-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HuixingWong/RustLearning
[INFO] finished tweaking git repo https://github.com/HuixingWong/RustLearning
[INFO] tweaked toml for git repo https://github.com/HuixingWong/RustLearning written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HuixingWong/RustLearning on toolchain 818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HuixingWong/RustLearning 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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded rand_hc v0.3.1
[INFO] [stderr]   Downloaded getrandom v0.2.3
[INFO] [stderr]   Downloaded rand v0.8.4
[INFO] [stderr]   Downloaded rand_core v0.6.3
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.10
[INFO] [stderr]   Downloaded libc v0.2.97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9936abdf0e76b0afce435aee61cd75d9dd5c93a10433e5ea7c54eb0c68dfe405
[INFO] running `Command { std: "docker" "start" "-a" "9936abdf0e76b0afce435aee61cd75d9dd5c93a10433e5ea7c54eb0c68dfe405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9936abdf0e76b0afce435aee61cd75d9dd5c93a10433e5ea7c54eb0c68dfe405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9936abdf0e76b0afce435aee61cd75d9dd5c93a10433e5ea7c54eb0c68dfe405", kill_on_drop: false }`
[INFO] [stdout] 9936abdf0e76b0afce435aee61cd75d9dd5c93a10433e5ea7c54eb0c68dfe405
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b7830b45ee876827401fb6cf0866471f3d6dd950d9bb2b753cdbf972680d5cf
[INFO] running `Command { std: "docker" "start" "-a" "3b7830b45ee876827401fb6cf0866471f3d6dd950d9bb2b753cdbf972680d5cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking RustLearning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::Ordering;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::owner_ship`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ownership::owner_ship;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::Ordering;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::owner_ship`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ownership::owner_ship;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/variables.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut e = 100;
[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: `x`
[INFO] [stdout]  --> src/variables.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let  x = 5;
[INFO] [stdout]   |          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]   |
[INFO] [stdout] 3 -     let  x = 5;
[INFO] [stdout] 3 +     let  variables::variables::z = 5;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let  _x = 5;
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/variables.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let y = 10;
[INFO] [stdout]   |         ^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]   |
[INFO] [stdout] 9 -     let y = 10;
[INFO] [stdout] 9 +     let variables::variables::z = 10;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _y = 10;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variables.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let y = 20;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     let y = 20;
[INFO] [stdout] 10 +     let variables::variables::z = 20;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let _y = 20;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/variables.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let f = 100;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     let f = 100;
[INFO] [stdout] 15 +     let variables::variables::z = 100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let _f = 100;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/variables.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut e = 100;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 19 -     let mut e = 100;
[INFO] [stdout] 19 +     let variables::variables::z = 100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 19 -     let mut e = 100;
[INFO] [stdout] 19 +     let _e = 100;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/variables.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut e = 100;
[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: `x`
[INFO] [stdout]  --> src/variables.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let  x = 5;
[INFO] [stdout]   |          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]   |
[INFO] [stdout] 3 -     let  x = 5;
[INFO] [stdout] 3 +     let  variables::variables::z = 5;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let  _x = 5;
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/variables.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let y = 10;
[INFO] [stdout]   |         ^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]   |
[INFO] [stdout] 9 -     let y = 10;
[INFO] [stdout] 9 +     let variables::variables::z = 10;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _y = 10;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variables.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let y = 20;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     let y = 20;
[INFO] [stdout] 10 +     let variables::variables::z = 20;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let _y = 20;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/variables.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let f = 100;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     let f = 100;
[INFO] [stdout] 15 +     let variables::variables::z = 100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let _f = 100;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/variables.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut e = 100;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `z`
[INFO] [stdout]    |
[INFO] [stdout] 19 -     let mut e = 100;
[INFO] [stdout] 19 +     let variables::variables::z = 100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 19 -     let mut e = 100;
[INFO] [stdout] 19 +     let _e = 100;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data_type.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (x, y, z, f) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data_type.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (x, y, z, f) = tup;
[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/data_type.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let a = [1, 2, 3, 4, 5];
[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/data_type.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let a: [i32; 5] = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/function.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let x = 5;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let s = String::from("hello");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `variables` is never used
[INFO] [stdout]  --> src/variables.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn variables() {
[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 `guess_number` is never used
[INFO] [stdout]  --> src/guess_number.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) fn guess_number() {
[INFO] [stdout]   |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_type` is never used
[INFO] [stdout]  --> src/data_type.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn data_type() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_test` is never used
[INFO] [stdout]  --> src/function.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn function_test() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `owner_ship` is never used
[INFO] [stdout]  --> src/ownership.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn owner_ship() {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]  --> src/ownership.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn test_1() {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/ownership.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn test_2() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cal_length` is never used
[INFO] [stdout]   --> src/ownership.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn cal_length(str: String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/ownership.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn test_3() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cal_length2` is never used
[INFO] [stdout]   --> src/ownership.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn cal_length2(str: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `z` should have an upper case name
[INFO] [stdout]   --> src/variables.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const z: i32 = 100;
[INFO] [stdout]    |           ^ help: convert the identifier to upper case (notice the capitalization): `Z`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data_type.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (x, y, z, f) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data_type.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (x, y, z, f) = tup;
[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/data_type.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let a = [1, 2, 3, 4, 5];
[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/data_type.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let a: [i32; 5] = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/function.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let x = 5;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let s = String::from("hello");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `variables` is never used
[INFO] [stdout]  --> src/variables.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn variables() {
[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 `guess_number` is never used
[INFO] [stdout]  --> src/guess_number.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) fn guess_number() {
[INFO] [stdout]   |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_type` is never used
[INFO] [stdout]  --> src/data_type.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn data_type() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_test` is never used
[INFO] [stdout]  --> src/function.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn function_test() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `owner_ship` is never used
[INFO] [stdout]  --> src/ownership.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn owner_ship() {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]  --> src/ownership.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn test_1() {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/ownership.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn test_2() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cal_length` is never used
[INFO] [stdout]   --> src/ownership.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn cal_length(str: String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/ownership.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn test_3() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cal_length2` is never used
[INFO] [stdout]   --> src/ownership.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn cal_length2(str: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `z` should have an upper case name
[INFO] [stdout]   --> src/variables.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const z: i32 = 100;
[INFO] [stdout]    |           ^ help: convert the identifier to upper case (notice the capitalization): `Z`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.00s
[INFO] running `Command { std: "docker" "inspect" "3b7830b45ee876827401fb6cf0866471f3d6dd950d9bb2b753cdbf972680d5cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b7830b45ee876827401fb6cf0866471f3d6dd950d9bb2b753cdbf972680d5cf", kill_on_drop: false }`
[INFO] [stdout] 3b7830b45ee876827401fb6cf0866471f3d6dd950d9bb2b753cdbf972680d5cf
