[INFO] cloning repository https://github.com/Kevinbriceo567/FakemonRustBattleSimulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kevinbriceo567/FakemonRustBattleSimulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinbriceo567%2FFakemonRustBattleSimulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinbriceo567%2FFakemonRustBattleSimulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77d5cd40a2f54ac33890f40c15e95a165275b284 [INFO] checking Kevinbriceo567/FakemonRustBattleSimulator against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinbriceo567%2FFakemonRustBattleSimulator" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator [INFO] finished tweaking git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator [INFO] tweaked toml for git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c231c33d2e8b5d08ca14fe5ddb7a7a1cab8b4e0388923074950092818e3489aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c231c33d2e8b5d08ca14fe5ddb7a7a1cab8b4e0388923074950092818e3489aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c231c33d2e8b5d08ca14fe5ddb7a7a1cab8b4e0388923074950092818e3489aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c231c33d2e8b5d08ca14fe5ddb7a7a1cab8b4e0388923074950092818e3489aa", kill_on_drop: false }` [INFO] [stdout] c231c33d2e8b5d08ca14fe5ddb7a7a1cab8b4e0388923074950092818e3489aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a06130d75f38cc341e127c61ea315bcdcc5d1b50a9e833adafcfec49070e83f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a06130d75f38cc341e127c61ea315bcdcc5d1b50a9e833adafcfec49070e83f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rust-embed v0.3.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling webview-sys v0.3.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fltk-sys v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking png v0.16.5 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking web-view v0.5.4 [INFO] [stderr] Compiling fltk-derive v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.5 [INFO] [stderr] Checking fltk v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Checking azul2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `input::*`, `menu::*`, `output::*`, `valuator::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | input::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | menu::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | output::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | valuator::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `burbuja` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut burbuja = Habilidad { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_burbuja` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ascuas` [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut ascuas = Habilidad { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ascuas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corte_hoja` [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut corte_hoja = Habilidad { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corte_hoja` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_pocion` [INFO] [stdout] --> src/main.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut d_pocion = Frame::new(50, -5, 100, 300, &format!("{}",pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_pocion` [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut p_pocion = Frame::new(50, 15, 100, 300, &format!("Precio: {}",pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_super_pocion` [INFO] [stdout] --> src/main.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut d_super_pocion = Frame::new(270, -1, 100, 300, &format!("{}",super_pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_super_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_super_pocion` [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let mut p_super_pocion = Frame::new(270, 17, 100, 300, &format!("Precio: {}",super_pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_super_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_hiper_pocion` [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut d_hiper_pocion = Frame::new(490, -1, 100, 300, &format!("{}",hiper_pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_hiper_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_hiper_pocion` [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | let mut p_hiper_pocion = Frame::new(490, 17, 100, 300, &format!("Precio: {}",hiper_pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_hiper_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_fakebola` [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut d_fakebola = Frame::new(130, 185, 100, 300, &format!("{}",fakeball.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_fakebola` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_fakebola` [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut p_fakebola = Frame::new(130, 165, 100, 300, &format!("Precio: {}",fakeball.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_fakebola` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_revivir` [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut d_revivir = Frame::new(410, 180, 100, 300, &format!("{}",revivir.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_revivir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_revivir` [INFO] [stdout] --> src/main.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | let mut p_revivir = Frame::new(410, 160, 100, 300, &format!("Precio: {}",revivir.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_revivir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/main.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let label: i32 = 0;//frame.label().parse()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | fn readPokes(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `newHabilidad` is never read [INFO] [stdout] --> src/main.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | let mut newHabilidad = &fakemon.habilidad1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_health_text` [INFO] [stdout] --> src/main.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | frame_fake_health_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_health_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_defn_text` [INFO] [stdout] --> src/main.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | frame_fake_defn_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_defn_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_atk_text` [INFO] [stdout] --> src/main.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | frame_fake_atk_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_atk_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let mut latigo = Habilidad { [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/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut grunido = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut burbuja = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut placaje = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut ascuas = Habilidad { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut corte_hoja = Habilidad { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut pocion = Objeto { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut super_pocion = Objeto { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let mut hiper_pocion = Objeto { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut fakeball = Objeto { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut revivir = Objeto { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut grp2 = Group::new(0, 35, 650 - 20, 420 - 20, "Batalla"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut d_pocion = Frame::new(50, -5, 100, 300, &format!("{}",pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut p_pocion = Frame::new(50, 15, 100, 300, &format!("Precio: {}",pocion.precio)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut d_super_pocion = Frame::new(270, -1, 100, 300, &format!("{}",super_pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let mut p_super_pocion = Frame::new(270, 17, 100, 300, &format!("Precio: {}",super_pocion.precio)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut d_hiper_pocion = Frame::new(490, -1, 100, 300, &format!("{}",hiper_pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | let mut p_hiper_pocion = Frame::new(490, 17, 100, 300, &format!("Precio: {}",hiper_pocion.precio)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut d_fakebola = Frame::new(130, 185, 100, 300, &format!("{}",fakeball.nombre)); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut p_fakebola = Frame::new(130, 165, 100, 300, &format!("Precio: {}",fakeball.precio)); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut d_revivir = Frame::new(410, 180, 100, 300, &format!("{}",revivir.nombre)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | let mut p_revivir = Frame::new(410, 160, 100, 300, &format!("Precio: {}",revivir.precio)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | let mut randomNumber = rng.gen_range(0, 14); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | let mut randomPokemon = &names[randomNumber as usize]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | let mut dano : i32 = (newHabilidad.dano * fakemon.atk) - enemigo.defn; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | let mut nuevoHpEnemigo : i32 = enemigo.hp - dano; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | let mut nuevoDefEnemigo : i32 = enemigo.defn - newHabilidad.bajaDefensa; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let mut nuevoAtkEnemigo : i32 = enemigo.atk - newHabilidad.bajaAtaque; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cantidad` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | cantidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Damage` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Damage<'a>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nombre` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | nombre: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codigo` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | codigo: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nivel` [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | nivel: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocidad` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | velocidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `experiencia` [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | experiencia: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tipo` [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | tipo: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nombre` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | nombre: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nivel` [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | nivel: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocidad` [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | velocidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tipo` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | tipo: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Entrenador` [INFO] [stdout] --> src/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Entrenador<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `descripcion` [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | descripcion: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `entrenadorPlayer` [INFO] [stdout] --> src/main.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / static entrenadorPlayer: Entrenador = Entrenador { [INFO] [stdout] 115 | | nombre: "Chelox", [INFO] [stdout] 116 | | dinero: 350000, [INFO] [stdout] 117 | | pociones: 5, [INFO] [stdout] 118 | | medallas: 0, [INFO] [stdout] 119 | | sexo: "Masculino" [INFO] [stdout] 120 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `inGlobal` [INFO] [stdout] --> src/main.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | static inGlobal: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_gallery` [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn draw_gallery() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `changeEnemy` [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn changeEnemy(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change` [INFO] [stdout] --> src/main.rs:597:4 [INFO] [stdout] | [INFO] [stdout] 597 | fn change(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bajaDefensa` should have a snake case name [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | bajaDefensa: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `baja_defensa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bajaAtaque` should have a snake case name [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | bajaAtaque: i32 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `baja_ataque` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `entrenadorPlayer` should have an upper case name [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | static entrenadorPlayer: Entrenador = Entrenador { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENTRENADOR_PLAYER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `inGlobal` should have an upper case name [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | static inGlobal: i32 = 5; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `IN_GLOBAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frameLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut frameLogo = Frame::new(40, 410, 30, 30, ""); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `frame_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `imageLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let mut imageLogo = SharedImage::load(&PathBuf::from("res/iconos/coin.png"))?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frameLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut frameLogo = Frame::new(130, 410, 30, 30, ""); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `frame_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `imageLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut imageLogo = SharedImage::load(&PathBuf::from("res/iconos/blue_liquid.png"))?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readPokes` should have a snake case name [INFO] [stdout] --> src/main.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn readPokes(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_pokes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | let mut randomNumber = rng.gen_range(0, 14); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomPokemon` should have a snake case name [INFO] [stdout] --> src/main.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let mut randomPokemon = &names[randomNumber as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_pokemon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHabilidad` should have a snake case name [INFO] [stdout] --> src/main.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | let mut newHabilidad = &fakemon.habilidad1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_habilidad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoHpEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut nuevoHpEnemigo : i32 = enemigo.hp - dano; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_hp_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoDefEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | let mut nuevoDefEnemigo : i32 = enemigo.defn - newHabilidad.bajaDefensa; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_def_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoAtkEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | let mut nuevoAtkEnemigo : i32 = enemigo.atk - newHabilidad.bajaAtaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_atk_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn changeEnemy(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `input::*`, `menu::*`, `output::*`, `valuator::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | input::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | menu::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | output::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | valuator::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | change(frame_enemy, frame_enemy_health_text, enemigo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:599:13 [INFO] [stdout] | [INFO] [stdout] 599 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `burbuja` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut burbuja = Habilidad { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_burbuja` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ascuas` [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut ascuas = Habilidad { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ascuas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corte_hoja` [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut corte_hoja = Habilidad { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corte_hoja` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_pocion` [INFO] [stdout] --> src/main.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut d_pocion = Frame::new(50, -5, 100, 300, &format!("{}",pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_pocion` [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut p_pocion = Frame::new(50, 15, 100, 300, &format!("Precio: {}",pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_super_pocion` [INFO] [stdout] --> src/main.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut d_super_pocion = Frame::new(270, -1, 100, 300, &format!("{}",super_pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_super_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_super_pocion` [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let mut p_super_pocion = Frame::new(270, 17, 100, 300, &format!("Precio: {}",super_pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_super_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_hiper_pocion` [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut d_hiper_pocion = Frame::new(490, -1, 100, 300, &format!("{}",hiper_pocion.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_hiper_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_hiper_pocion` [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | let mut p_hiper_pocion = Frame::new(490, 17, 100, 300, &format!("Precio: {}",hiper_pocion.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_hiper_pocion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_fakebola` [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut d_fakebola = Frame::new(130, 185, 100, 300, &format!("{}",fakeball.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_fakebola` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_fakebola` [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut p_fakebola = Frame::new(130, 165, 100, 300, &format!("Precio: {}",fakeball.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_fakebola` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_revivir` [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut d_revivir = Frame::new(410, 180, 100, 300, &format!("{}",revivir.nombre)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_revivir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_revivir` [INFO] [stdout] --> src/main.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | let mut p_revivir = Frame::new(410, 160, 100, 300, &format!("Precio: {}",revivir.precio)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_revivir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/main.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let label: i32 = 0;//frame.label().parse()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | fn readPokes(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `newHabilidad` is never read [INFO] [stdout] --> src/main.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | let mut newHabilidad = &fakemon.habilidad1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_health_text` [INFO] [stdout] --> src/main.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | frame_fake_health_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_health_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_defn_text` [INFO] [stdout] --> src/main.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | frame_fake_defn_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_defn_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_fake_atk_text` [INFO] [stdout] --> src/main.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | frame_fake_atk_text: &mut Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_fake_atk_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let mut latigo = Habilidad { [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/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut grunido = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut burbuja = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut placaje = Habilidad { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut ascuas = Habilidad { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut corte_hoja = Habilidad { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut pocion = Objeto { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut super_pocion = Objeto { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let mut hiper_pocion = Objeto { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut fakeball = Objeto { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut revivir = Objeto { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut grp2 = Group::new(0, 35, 650 - 20, 420 - 20, "Batalla"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut d_pocion = Frame::new(50, -5, 100, 300, &format!("{}",pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut p_pocion = Frame::new(50, 15, 100, 300, &format!("Precio: {}",pocion.precio)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | let mut d_super_pocion = Frame::new(270, -1, 100, 300, &format!("{}",super_pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let mut p_super_pocion = Frame::new(270, 17, 100, 300, &format!("Precio: {}",super_pocion.precio)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut d_hiper_pocion = Frame::new(490, -1, 100, 300, &format!("{}",hiper_pocion.nombre)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | let mut p_hiper_pocion = Frame::new(490, 17, 100, 300, &format!("Precio: {}",hiper_pocion.precio)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut d_fakebola = Frame::new(130, 185, 100, 300, &format!("{}",fakeball.nombre)); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut p_fakebola = Frame::new(130, 165, 100, 300, &format!("Precio: {}",fakeball.precio)); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut d_revivir = Frame::new(410, 180, 100, 300, &format!("{}",revivir.nombre)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | let mut p_revivir = Frame::new(410, 160, 100, 300, &format!("Precio: {}",revivir.precio)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | let mut randomNumber = rng.gen_range(0, 14); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | let mut randomPokemon = &names[randomNumber as usize]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | let mut dano : i32 = (newHabilidad.dano * fakemon.atk) - enemigo.defn; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | let mut nuevoHpEnemigo : i32 = enemigo.hp - dano; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | let mut nuevoDefEnemigo : i32 = enemigo.defn - newHabilidad.bajaDefensa; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let mut nuevoAtkEnemigo : i32 = enemigo.atk - newHabilidad.bajaAtaque; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cantidad` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | cantidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Damage` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Damage<'a>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nombre` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | nombre: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codigo` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | codigo: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nivel` [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | nivel: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocidad` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | velocidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `experiencia` [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | experiencia: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tipo` [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | tipo: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nombre` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | nombre: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nivel` [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | nivel: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocidad` [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | velocidad: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tipo` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | tipo: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Entrenador` [INFO] [stdout] --> src/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Entrenador<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `descripcion` [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | descripcion: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `entrenadorPlayer` [INFO] [stdout] --> src/main.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / static entrenadorPlayer: Entrenador = Entrenador { [INFO] [stdout] 115 | | nombre: "Chelox", [INFO] [stdout] 116 | | dinero: 350000, [INFO] [stdout] 117 | | pociones: 5, [INFO] [stdout] 118 | | medallas: 0, [INFO] [stdout] 119 | | sexo: "Masculino" [INFO] [stdout] 120 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `inGlobal` [INFO] [stdout] --> src/main.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | static inGlobal: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_gallery` [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn draw_gallery() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `changeEnemy` [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn changeEnemy(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change` [INFO] [stdout] --> src/main.rs:597:4 [INFO] [stdout] | [INFO] [stdout] 597 | fn change(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bajaDefensa` should have a snake case name [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | bajaDefensa: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `baja_defensa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bajaAtaque` should have a snake case name [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | bajaAtaque: i32 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `baja_ataque` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `entrenadorPlayer` should have an upper case name [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | static entrenadorPlayer: Entrenador = Entrenador { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENTRENADOR_PLAYER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `inGlobal` should have an upper case name [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | static inGlobal: i32 = 5; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `IN_GLOBAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frameLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut frameLogo = Frame::new(40, 410, 30, 30, ""); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `frame_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `imageLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let mut imageLogo = SharedImage::load(&PathBuf::from("res/iconos/coin.png"))?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frameLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut frameLogo = Frame::new(130, 410, 30, 30, ""); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `frame_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `imageLogo` should have a snake case name [INFO] [stdout] --> src/main.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut imageLogo = SharedImage::load(&PathBuf::from("res/iconos/blue_liquid.png"))?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_logo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readPokes` should have a snake case name [INFO] [stdout] --> src/main.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn readPokes(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_pokes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | let mut randomNumber = rng.gen_range(0, 14); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomPokemon` should have a snake case name [INFO] [stdout] --> src/main.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let mut randomPokemon = &names[randomNumber as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_pokemon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHabilidad` should have a snake case name [INFO] [stdout] --> src/main.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | let mut newHabilidad = &fakemon.habilidad1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_habilidad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoHpEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut nuevoHpEnemigo : i32 = enemigo.hp - dano; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_hp_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoDefEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | let mut nuevoDefEnemigo : i32 = enemigo.defn - newHabilidad.bajaDefensa; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_def_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nuevoAtkEnemigo` should have a snake case name [INFO] [stdout] --> src/main.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | let mut nuevoAtkEnemigo : i32 = enemigo.atk - newHabilidad.bajaAtaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuevo_atk_enemigo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn changeEnemy(frame_enemy: &mut Frame, frame_enemy_health_text: &mut Frame, enemigo: &mut Enemigo) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | change(frame_enemy, frame_enemy_health_text, enemigo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomEnemy` should have a snake case name [INFO] [stdout] --> src/main.rs:599:13 [INFO] [stdout] | [INFO] [stdout] 599 | let mut randomEnemy = readPokes("str"); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "8a06130d75f38cc341e127c61ea315bcdcc5d1b50a9e833adafcfec49070e83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a06130d75f38cc341e127c61ea315bcdcc5d1b50a9e833adafcfec49070e83f", kill_on_drop: false }` [INFO] [stdout] 8a06130d75f38cc341e127c61ea315bcdcc5d1b50a9e833adafcfec49070e83f