[INFO] cloning repository https://github.com/tigoni/rustler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tigoni/rustler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigoni%2Frustler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigoni%2Frustler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] adb196acfeb163f8d82a0d169768bed0a1e2b41b
[INFO] checking tigoni/rustler against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigoni%2Frustler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tigoni/rustler
[INFO] finished tweaking git repo https://github.com/tigoni/rustler
[INFO] tweaked toml for git repo https://github.com/tigoni/rustler written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tigoni/rustler on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tigoni/rustler 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289
[INFO] running `Command { std: "docker" "start" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289", 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" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289", 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" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rustler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::basics::variables::test_variables`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::basics::variables::test_variables;
[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: `crate::control::functions::test_functions`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::control::functions::test_functions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::ownership::test_ownership`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ownership::ownership::test_ownership;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::referenced::test_references`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::ownership::referenced::test_references;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::slices::first_word`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::ownership::slices::first_word;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::slices::test_slices`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::ownership::slices::test_slices;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::structs::test_structs`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::structs::structs::test_structs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/control/mod.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let output: i32 = loop {
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 87 | |             if counter <= 10 {
[INFO] [stdout] 88 | |                 counter += 1;
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         };
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 94 |           println!("Result is: {output}");
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::basics::variables::test_variables`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::basics::variables::test_variables;
[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: `crate::control::functions::test_functions`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::control::functions::test_functions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::ownership::test_ownership`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ownership::ownership::test_ownership;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::referenced::test_references`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::ownership::referenced::test_references;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::slices::first_word`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::ownership::slices::first_word;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ownership::slices::test_slices`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::ownership::slices::test_slices;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::structs::test_structs`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::structs::structs::test_structs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/control/mod.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut another_counter = 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: unreachable statement
[INFO] [stdout]   --> src/control/mod.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let output: i32 = loop {
[INFO] [stdout]    |  ___________________________-
[INFO] [stdout] 87 | |             if counter <= 10 {
[INFO] [stdout] 88 | |                 counter += 1;
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         };
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 94 |           println!("Result is: {output}");
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_variables` is never used
[INFO] [stdout]  --> src/basics/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub fn test_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 `simple_func` is never used
[INFO] [stdout]   --> src/control/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn simple_func() -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_functions` is never used
[INFO] [stdout]   --> src/control/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn test_functions() -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func_without_ret` is never used
[INFO] [stdout]   --> src/control/mod.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn func_without_ret(x: i32, label: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func_with_ret` is never used
[INFO] [stdout]   --> src/control/mod.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn func_with_ret() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `comparator` is never used
[INFO] [stdout]   --> src/control/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn comparator(param1: i32, param2: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_check` is never used
[INFO] [stdout]   --> src/control/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn simple_check() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_loop` is never used
[INFO] [stdout]   --> src/control/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn repeat_loop() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_while` is never used
[INFO] [stdout]   --> src/control/mod.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn repeat_while() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_for` is never used
[INFO] [stdout]    --> src/control/mod.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn repeat_for() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |         V4(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] 30 -         V4(String),
[INFO] [stdout] 30 +         V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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] 31 -         V6(String),
[INFO] [stdout] 31 +         V6(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Write(String),
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` 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] 44 -         Write(String),
[INFO] [stdout] 44 +         Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enums/mod.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub enum Message {
[INFO] [stdout]    |              ------- variants in this enum
[INFO] [stdout] 42 |         Quit,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |         Move { x: i32, y: i32 },
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 44 |         Write(String),
[INFO] [stdout] 45 |         ChangeColor(i32, i32, i32),
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` 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 `play` is never used
[INFO] [stdout]    --> src/enums/mod.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn play() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn test_ownership() -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn takes_ownership(some: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn gives_ownership() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn calculate_length(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_change` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn try_to_change(s: &String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_change_mutable` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn try_to_change_mutable(s: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_references` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn test_references() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_slices` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn test_slices() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> src/ownership/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn first_word(s: &String) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/structs/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/structs/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_structs` is never used
[INFO] [stdout]   --> src/structs/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn test_structs() {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]   --> src/structs/mod.rs:90:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     impl Rectangle {
[INFO] [stdout]    |     -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |         pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grow_things` is never used
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn grow_things() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cabbage` is never constructed
[INFO] [stdout]   --> src/main.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |         pub struct Cabbage {
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/control/mod.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut another_counter = 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: function `test_variables` is never used
[INFO] [stdout]  --> src/basics/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub fn test_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 `simple_func` is never used
[INFO] [stdout]   --> src/control/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn simple_func() -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_functions` is never used
[INFO] [stdout]   --> src/control/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn test_functions() -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func_without_ret` is never used
[INFO] [stdout]   --> src/control/mod.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn func_without_ret(x: i32, label: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func_with_ret` is never used
[INFO] [stdout]   --> src/control/mod.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn func_with_ret() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `comparator` is never used
[INFO] [stdout]   --> src/control/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn comparator(param1: i32, param2: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_check` is never used
[INFO] [stdout]   --> src/control/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn simple_check() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_loop` is never used
[INFO] [stdout]   --> src/control/mod.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn repeat_loop() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_while` is never used
[INFO] [stdout]   --> src/control/mod.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn repeat_while() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeat_for` is never used
[INFO] [stdout]    --> src/control/mod.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn repeat_for() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |         V4(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] 30 -         V4(String),
[INFO] [stdout] 30 +         V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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] 31 -         V6(String),
[INFO] [stdout] 31 +         V6(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/mod.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Write(String),
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` 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] 44 -         Write(String),
[INFO] [stdout] 44 +         Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enums/mod.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub enum Message {
[INFO] [stdout]    |              ------- variants in this enum
[INFO] [stdout] 42 |         Quit,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |         Move { x: i32, y: i32 },
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 44 |         Write(String),
[INFO] [stdout] 45 |         ChangeColor(i32, i32, i32),
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` 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 `play` is never used
[INFO] [stdout]    --> src/enums/mod.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn play() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn test_ownership() -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn takes_ownership(some: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn gives_ownership() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn calculate_length(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_change` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn try_to_change(s: &String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_change_mutable` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn try_to_change_mutable(s: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_references` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn test_references() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_slices` is never used
[INFO] [stdout]   --> src/ownership/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn test_slices() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> src/ownership/mod.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn first_word(s: &String) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/structs/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/structs/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_structs` is never used
[INFO] [stdout]   --> src/structs/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn test_structs() {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]   --> src/structs/mod.rs:90:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     impl Rectangle {
[INFO] [stdout]    |     -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |         pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grow_things` is never used
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn grow_things() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cabbage` is never constructed
[INFO] [stdout]   --> src/main.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |         pub struct Cabbage {
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289", kill_on_drop: false }`
[INFO] [stdout] 099f81e36f4b12383b8b2bedd70d86b4ffd5661a6f14fd9fd9b5aa304d8c2289
