[INFO] cloning repository https://github.com/mikesneider/RustGetstarted [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikesneider/RustGetstarted" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesneider%2FRustGetstarted", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesneider%2FRustGetstarted'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d06af7c33fea58e09eb9d147761830a176ffd3a9 [INFO] building mikesneider/RustGetstarted against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesneider%2FRustGetstarted" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikesneider/RustGetstarted on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikesneider/RustGetstarted [INFO] finished tweaking git repo https://github.com/mikesneider/RustGetstarted [INFO] tweaked toml for git repo https://github.com/mikesneider/RustGetstarted written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikesneider/RustGetstarted 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d86b346b34ae1be49c2d2b386a9b08d4ae56aa55792e892ae8142942531c707 [INFO] running `Command { std: "docker" "start" "-a" "0d86b346b34ae1be49c2d2b386a9b08d4ae56aa55792e892ae8142942531c707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d86b346b34ae1be49c2d2b386a9b08d4ae56aa55792e892ae8142942531c707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d86b346b34ae1be49c2d2b386a9b08d4ae56aa55792e892ae8142942531c707", kill_on_drop: false }` [INFO] [stdout] 0d86b346b34ae1be49c2d2b386a9b08d4ae56aa55792e892ae8142942531c707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49cef324e088e6af2339437bc7a13859f16f08f40158b42bb052e630dde0ada [INFO] running `Command { std: "docker" "start" "-a" "d49cef324e088e6af2339437bc7a13859f16f08f40158b42bb052e630dde0ada", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling Hola_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `Hola_cargo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hola_cargo` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `contadores` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum contadores { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Contadores` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v1` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | v1(String), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v10` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | v10(String), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v20` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | v20(u32) [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fifth.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | (self.sign_in_count + elnuevo + otro.sign_in_count) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - (self.sign_in_count + elnuevo + otro.sign_in_count) [INFO] [stdout] 61 + self.sign_in_count + elnuevo + otro.sign_in_count [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fifth.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (usuario.sign_in_count + elnuevo) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - (usuario.sign_in_count + elnuevo) [INFO] [stdout] 65 + usuario.sign_in_count + elnuevo [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/third.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut a1 = String::from("Mike"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/third.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut a3 = a2.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_text` [INFO] [stdout] --> src/fifth.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let some_text = Some("MIke"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec1` [INFO] [stdout] --> src/nine.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let vec1:Vec = vec![1,2,3]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vec1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `primera_clase` is never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn primera_clase(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/sencond.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sumame` is never used [INFO] [stdout] --> src/sencond.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn sumame(x: u32)->u32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mainloop` is never used [INFO] [stdout] --> src/sencond.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn mainloop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miwhile` is never used [INFO] [stdout] --> src/sencond.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn miwhile(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/third.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/third.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn calculate_length(s: String) -> (String, usize, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/forth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parteme_palabra` is never used [INFO] [stdout] --> src/forth.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn parteme_palabra(s: &String, desde: usize, hasta: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/forth.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/forth.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn first_word(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/forth.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn calculate_length(s: &mut String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/fifth.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `contadores` is never used [INFO] [stdout] --> src/fifth.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum contadores { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> src/fifth.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fifth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cambiar2` is never used [INFO] [stdout] --> src/fifth.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl User{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 60 | fn cambiar2(&self,otro: &User, elnuevo: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cambiar_contador` is never used [INFO] [stdout] --> src/fifth.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn cambiar_contador(usuario: &User, elnuevo: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_user` is never used [INFO] [stdout] --> src/fifth.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/fifth.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/six_match.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/six_match.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/six_match.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn plus_one(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/six_match.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/six_match.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/seven_consice.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/eight_crates.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "d49cef324e088e6af2339437bc7a13859f16f08f40158b42bb052e630dde0ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49cef324e088e6af2339437bc7a13859f16f08f40158b42bb052e630dde0ada", kill_on_drop: false }` [INFO] [stdout] d49cef324e088e6af2339437bc7a13859f16f08f40158b42bb052e630dde0ada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c60ea350cb9cec4b78ac8d4040963fc5144bcdc7efaea786b7c1f2108b358c2 [INFO] running `Command { std: "docker" "start" "-a" "2c60ea350cb9cec4b78ac8d4040963fc5144bcdc7efaea786b7c1f2108b358c2", kill_on_drop: false }` [INFO] [stdout] warning: crate `Hola_cargo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hola_cargo` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Hola_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `contadores` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum contadores { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Contadores` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v1` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | v1(String), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v10` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | v10(String), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `v20` should have an upper camel case name [INFO] [stdout] --> src/fifth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | v20(u32) [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fifth.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | (self.sign_in_count + elnuevo + otro.sign_in_count) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - (self.sign_in_count + elnuevo + otro.sign_in_count) [INFO] [stdout] 61 + self.sign_in_count + elnuevo + otro.sign_in_count [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fifth.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (usuario.sign_in_count + elnuevo) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - (usuario.sign_in_count + elnuevo) [INFO] [stdout] 65 + usuario.sign_in_count + elnuevo [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/third.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut a1 = String::from("Mike"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/third.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut a3 = a2.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_text` [INFO] [stdout] --> src/fifth.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let some_text = Some("MIke"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec1` [INFO] [stdout] --> src/nine.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let vec1:Vec = vec![1,2,3]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vec1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `primera_clase` is never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn primera_clase(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/sencond.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sumame` is never used [INFO] [stdout] --> src/sencond.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn sumame(x: u32)->u32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mainloop` is never used [INFO] [stdout] --> src/sencond.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn mainloop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miwhile` is never used [INFO] [stdout] --> src/sencond.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn miwhile(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/third.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/third.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn calculate_length(s: String) -> (String, usize, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/forth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parteme_palabra` is never used [INFO] [stdout] --> src/forth.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn parteme_palabra(s: &String, desde: usize, hasta: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/forth.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/forth.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn first_word(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/forth.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn calculate_length(s: &mut String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/fifth.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `contadores` is never used [INFO] [stdout] --> src/fifth.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum contadores { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> src/fifth.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fifth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cambiar2` is never used [INFO] [stdout] --> src/fifth.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl User{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 60 | fn cambiar2(&self,otro: &User, elnuevo: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cambiar_contador` is never used [INFO] [stdout] --> src/fifth.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn cambiar_contador(usuario: &User, elnuevo: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_user` is never used [INFO] [stdout] --> src/fifth.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/fifth.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/six_match.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/six_match.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/six_match.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn plus_one(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/six_match.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_of` is never used [INFO] [stdout] --> src/six_match.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/seven_consice.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/eight_crates.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "2c60ea350cb9cec4b78ac8d4040963fc5144bcdc7efaea786b7c1f2108b358c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c60ea350cb9cec4b78ac8d4040963fc5144bcdc7efaea786b7c1f2108b358c2", kill_on_drop: false }` [INFO] [stdout] 2c60ea350cb9cec4b78ac8d4040963fc5144bcdc7efaea786b7c1f2108b358c2