[INFO] cloning repository https://github.com/Aypahyo/RustyGuessingGame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aypahyo/RustyGuessingGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAypahyo%2FRustyGuessingGame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAypahyo%2FRustyGuessingGame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 40f6fd6131cc0717149576f027eb002c649f4f1d
[INFO] checking Aypahyo/RustyGuessingGame against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAypahyo%2FRustyGuessingGame" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Aypahyo/RustyGuessingGame
[INFO] finished tweaking git repo https://github.com/Aypahyo/RustyGuessingGame
[INFO] tweaked toml for git repo https://github.com/Aypahyo/RustyGuessingGame written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aypahyo/RustyGuessingGame on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aypahyo/RustyGuessingGame 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded skeptic v0.4.0
[INFO] [stderr]   Downloaded pulldown-cmark v0.0.3
[INFO] [stderr]   Downloaded os_str_bytes v2.4.0
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded rspec v0.1.0
[INFO] [stderr]   Downloaded expectest v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044
[INFO] running `Command { std: "docker" "start" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044", 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" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044", 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" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling pulldown-cmark v0.0.3
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling skeptic v0.4.0
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling expectest v0.5.1
[INFO] [stderr]     Checking rspec v0.1.0
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking guessing_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/chapters/chapter03_control_flow.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let s = String::from("hello"); // s is valid from this point forward
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let s2 = s1.clone();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let s1 = gives_ownership();                // gives_ownership moves its return
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s3 = takes_and_gives_back(s2);  // s2 is moved into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/chapters/chapter03_control_flow.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/chapters/chapter04_references_and_borrowing.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     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: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         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/chapters/chapter04_references_and_borrowing.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     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: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let r1 = &s; // no problem
[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/chapters/chapter04_references_and_borrowing.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let r2 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r3`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let r3 = &mut s; // BIG PROBLEM
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter00_arg_matches.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub 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: constant `MAX_POINTS` is never used
[INFO] [stdout]  --> src/chapters/chapter03_data_types.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_POINTS: u32 = 100_000;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_data_types.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fun` is never used
[INFO] [stdout]  --> src/chapters/chapter02_guessing_game.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | fun() {
[INFO] [stdout]   | ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_control_flow.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_functions.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `another_function` is never used
[INFO] [stdout]  --> src/chapters/chapter03_functions.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn another_function(x: i32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn five() -> i32 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_one` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn add_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_twice` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn do_twice(f: fn(i32) -> i32, arg: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter04_ownership.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn takes_ownership(some_string: String) {    // some_string comes into scope
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `makes_copy` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn makes_copy(some_integer: i32) {           // some_integer comes into scope
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run2` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn run2() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let s = String::from("hello"); // s is valid from this point forward
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn gives_ownership() -> String {             // gives_ownership will move its
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn takes_and_gives_back(a_string: String) -> String { // a_string comes into
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let s2 = s1.clone();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let s1 = gives_ownership();                // gives_ownership moves its return
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s3 = takes_and_gives_back(s2);  // s2 is moved into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/chapters/chapter04_references_and_borrowing.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     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: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         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/chapters/chapter04_references_and_borrowing.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     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: `r1`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let r1 = &s; // no problem
[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/chapters/chapter04_references_and_borrowing.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let r2 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r3`
[INFO] [stdout]   --> src/chapters/chapter04_references_and_borrowing.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let r3 = &mut s; // BIG PROBLEM
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter00_arg_matches.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub 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: constant `MAX_POINTS` is never used
[INFO] [stdout]  --> src/chapters/chapter03_data_types.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_POINTS: u32 = 100_000;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_data_types.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fun` is never used
[INFO] [stdout]  --> src/chapters/chapter02_guessing_game.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | fun() {
[INFO] [stdout]   | ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_control_flow.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter03_functions.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `another_function` is never used
[INFO] [stdout]  --> src/chapters/chapter03_functions.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn another_function(x: i32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn five() -> i32 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_one` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn add_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_twice` is never used
[INFO] [stdout]   --> src/chapters/chapter03_functions.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn do_twice(f: fn(i32) -> i32, arg: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/chapters/chapter04_ownership.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn takes_ownership(some_string: String) {    // some_string comes into scope
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `makes_copy` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn makes_copy(some_integer: i32) {           // some_integer comes into scope
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run2` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn run2() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn gives_ownership() -> String {             // gives_ownership will move its
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]   --> src/chapters/chapter04_ownership.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn takes_and_gives_back(a_string: String) -> String { // a_string comes into
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.41s
[INFO] running `Command { std: "docker" "inspect" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044", kill_on_drop: false }`
[INFO] [stdout] fd2019d1fc6b05846b1b60628daa80fd78a2667a63fb8a927792f3429de91044
