[INFO] cloning repository https://github.com/wForget/rust-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wForget/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwForget%2Frust-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwForget%2Frust-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 70f456bc22f929c5b1f85fac96585a1ef7675ad2
[INFO] checking wForget/rust-demo against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FwForget%2Frust-demo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wForget/rust-demo
[INFO] finished tweaking git repo https://github.com/wForget/rust-demo
[INFO] tweaked toml for git repo https://github.com/wForget/rust-demo written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wForget/rust-demo on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wForget/rust-demo 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06b7ee3b14e21c90c993ec0386e4a5c611157afdf9746657366bf7398fa5935e
[INFO] running `Command { std: "docker" "start" "-a" "06b7ee3b14e21c90c993ec0386e4a5c611157afdf9746657366bf7398fa5935e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06b7ee3b14e21c90c993ec0386e4a5c611157afdf9746657366bf7398fa5935e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06b7ee3b14e21c90c993ec0386e4a5c611157afdf9746657366bf7398fa5935e", kill_on_drop: false }`
[INFO] [stdout] 06b7ee3b14e21c90c993ec0386e4a5c611157afdf9746657366bf7398fa5935e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7272a50ba365333bcfdf4eeed198a514cc600b7d13724a2c64a799c4d036113f
[INFO] running `Command { std: "docker" "start" "-a" "7272a50ba365333bcfdf4eeed198a514cc600b7d13724a2c64a799c4d036113f", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/common_programming_concepts.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let x = 1;
[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] 4 -     let x = 1;
[INFO] [stdout] 4 +     let common_programming_concepts::run::Z = 1;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let _x = 1;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]  --> src/common_programming_concepts.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut y = 2;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y` instead
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]   |
[INFO] [stdout] 8 -     let mut y = 2;
[INFO] [stdout] 8 +     let common_programming_concepts::run::Z = 2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/common_programming_concepts.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let a = 1;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 16 -     let a = 1;
[INFO] [stdout] 16 +     let common_programming_concepts::run::Z = 1;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _a = 1;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/common_programming_concepts.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let a = "test";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/common_programming_concepts.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let i: i32 = 100_100_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] 26 -     let i: i32 = 100_100_100;
[INFO] [stdout] 26 +     let common_programming_concepts::run::Z: i32 = 100_100_100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _i: i32 = 100_100_100;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/common_programming_concepts.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (x, y) = tup;
[INFO] [stdout]    |          ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 38 -     let (x, y) = tup;
[INFO] [stdout] 38 +     let (common_programming_concepts::run::Z, y) = tup;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (_x, y) = tup;
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/common_programming_concepts.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (x, y) = tup;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/common_programming_concepts.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let x = tup.0;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 39 -     let x = tup.0;
[INFO] [stdout] 39 +     let common_programming_concepts::run::Z = tup.0;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let _x = tup.0;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/common_programming_concepts.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let y = tup.1;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]   --> src/common_programming_concepts.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let arr: [i32; 2] = [1, 2];
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/common_programming_concepts.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let b = arr[1];
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 47 -     let b = arr[1];
[INFO] [stdout] 47 +     let common_programming_concepts::run::Z = arr[1];
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let _b = arr[1];
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/common_programming_concepts.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let c = add_func(1 ,2);
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let common_programming_concepts::run::Z = add_func(1 ,2);
[INFO] [stdout]    |          ++++++++++++++++++++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let _c = add_func(1 ,2);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/common_programming_concepts.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let n = if a > 0 {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 54 -     let n = if a > 0 {
[INFO] [stdout] 54 +     let common_programming_concepts::run::Z = if a > 0 {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let _n = if a > 0 {
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]  --> src/common_programming_concepts.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     y = 3;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/common_programming_concepts.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let x = 1;
[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] 4 -     let x = 1;
[INFO] [stdout] 4 +     let common_programming_concepts::run::Z = 1;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let _x = 1;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]  --> src/common_programming_concepts.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut y = 2;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y` instead
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]   |
[INFO] [stdout] 8 -     let mut y = 2;
[INFO] [stdout] 8 +     let common_programming_concepts::run::Z = 2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/common_programming_concepts.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let a = 1;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 16 -     let a = 1;
[INFO] [stdout] 16 +     let common_programming_concepts::run::Z = 1;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _a = 1;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/common_programming_concepts.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let a = "test";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/common_programming_concepts.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let i: i32 = 100_100_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] 26 -     let i: i32 = 100_100_100;
[INFO] [stdout] 26 +     let common_programming_concepts::run::Z: i32 = 100_100_100;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _i: i32 = 100_100_100;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s = "test";
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/common_programming_concepts.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (x, y) = tup;
[INFO] [stdout]    |          ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 38 -     let (x, y) = tup;
[INFO] [stdout] 38 +     let (common_programming_concepts::run::Z, y) = tup;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (_x, y) = tup;
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/ownership.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let r1 = &mut s;
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/ownership.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let r2 = &mut s;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/common_programming_concepts.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let (x, y) = tup;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/common_programming_concepts.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let x = tup.0;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 39 -     let x = tup.0;
[INFO] [stdout] 39 +     let common_programming_concepts::run::Z = tup.0;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let _x = tup.0;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/common_programming_concepts.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) fn run() {
[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 `add_func` is never used
[INFO] [stdout]    --> src/common_programming_concepts.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn add_func(a: i32, b: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/common_programming_concepts.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let y = tup.1;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]   --> src/common_programming_concepts.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let arr: [i32; 2] = [1, 2];
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/common_programming_concepts.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let b = arr[1];
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 47 -     let b = arr[1];
[INFO] [stdout] 47 +     let common_programming_concepts::run::Z = arr[1];
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let _b = arr[1];
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/common_programming_concepts.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let c = add_func(1 ,2);
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let common_programming_concepts::run::Z = add_func(1 ,2);
[INFO] [stdout]    |          ++++++++++++++++++++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let _c = add_func(1 ,2);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/common_programming_concepts.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let n = if a > 0 {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Z`
[INFO] [stdout]    |
[INFO] [stdout] 54 -     let n = if a > 0 {
[INFO] [stdout] 54 +     let common_programming_concepts::run::Z = if a > 0 {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let _n = if a > 0 {
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]  --> src/common_programming_concepts.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     y = 3;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s = "test";
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/ownership.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let r1 = &mut s;
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/ownership.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let r2 = &mut s;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/common_programming_concepts.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) fn run() {
[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 `add_func` is never used
[INFO] [stdout]    --> src/common_programming_concepts.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn add_func(a: i32, b: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "7272a50ba365333bcfdf4eeed198a514cc600b7d13724a2c64a799c4d036113f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7272a50ba365333bcfdf4eeed198a514cc600b7d13724a2c64a799c4d036113f", kill_on_drop: false }`
[INFO] [stdout] 7272a50ba365333bcfdf4eeed198a514cc600b7d13724a2c64a799c4d036113f
