[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] testing Kevinbriceo567/FakemonRustBattleSimulator against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinbriceo567%2FFakemonRustBattleSimulator" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kevinbriceo567/FakemonRustBattleSimulator on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded boxfnonce v0.1.1 [INFO] [stderr] Downloaded image v0.23.5 [INFO] [stderr] Downloaded rust-embed v0.3.5 [INFO] [stderr] Downloaded webview-sys v0.3.3 [INFO] [stderr] Downloaded web-view v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cee6440a9a86ab46e70aeaa407eddbfe576ce6f0c682e4720cbddaaddde2e99f [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" "cee6440a9a86ab46e70aeaa407eddbfe576ce6f0c682e4720cbddaaddde2e99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee6440a9a86ab46e70aeaa407eddbfe576ce6f0c682e4720cbddaaddde2e99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee6440a9a86ab46e70aeaa407eddbfe576ce6f0c682e4720cbddaaddde2e99f", kill_on_drop: false }` [INFO] [stdout] cee6440a9a86ab46e70aeaa407eddbfe576ce6f0c682e4720cbddaaddde2e99f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a2ecc04e959726e90797d753960597d2e2a34e5591d00af5e22dfdaecabc74 [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" "79a2ecc04e959726e90797d753960597d2e2a34e5591d00af5e22dfdaecabc74", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling boxfnonce v0.1.1 [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 miniz_oxide v0.3.7 [INFO] [stderr] Compiling webview-sys v0.3.3 [INFO] [stderr] Compiling fltk-sys v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling rust-embed v0.3.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling web-view v0.5.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling fltk-derive v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Compiling image v0.23.5 [INFO] [stderr] Compiling fltk v0.6.3 (https://github.com/MoAlyousef/fltk-rs#4e6c2fc8) [INFO] [stderr] Compiling 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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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 `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 43s [INFO] running `Command { std: "docker" "inspect" "79a2ecc04e959726e90797d753960597d2e2a34e5591d00af5e22dfdaecabc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a2ecc04e959726e90797d753960597d2e2a34e5591d00af5e22dfdaecabc74", kill_on_drop: false }` [INFO] [stdout] 79a2ecc04e959726e90797d753960597d2e2a34e5591d00af5e22dfdaecabc74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5a44aafdcf1720fcb5ba77c4f6d7a48b347a69a4f9523b323f4dc507bfed8b [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" "1f5a44aafdcf1720fcb5ba77c4f6d7a48b347a69a4f9523b323f4dc507bfed8b", kill_on_drop: false }` [INFO] [stderr] Compiling 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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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:13 [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 `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] [stderr] error: could not compile `azul2` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name messages --edition=2018 examples/messages.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=0f95c886f376ca30 -C extra-filename=-0f95c886f376ca30 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern fltk=/opt/rustwide/target/debug/deps/libfltk-b180e680857594ad.rlib --extern image=/opt/rustwide/target/debug/deps/libimage-22907d6840883178.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-83fb71d6269c9a27.rlib --extern rust_embed=/opt/rustwide/target/debug/deps/librust_embed-8edb4f6f78279fef.so --extern serde=/opt/rustwide/target/debug/deps/libserde-e0e7d39f278503fa.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-f641925f74e44940.rlib --extern web_view=/opt/rustwide/target/debug/deps/libweb_view-884b07525f9caad0.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/fltk-sys-9c0bc014a2e8273f/out/build -L native=/opt/rustwide/target/debug/build/fltk-sys-9c0bc014a2e8273f/out/lib -L native=/opt/rustwide/target/debug/build/fltk-sys-9c0bc014a2e8273f/out/lib/Release -L native=/usr/lib/x86_64-linux-gnu -L native=/opt/rustwide/target/debug/build/webview-sys-bb2a29ae1a7c6fc8/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1f5a44aafdcf1720fcb5ba77c4f6d7a48b347a69a4f9523b323f4dc507bfed8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5a44aafdcf1720fcb5ba77c4f6d7a48b347a69a4f9523b323f4dc507bfed8b", kill_on_drop: false }` [INFO] [stdout] 1f5a44aafdcf1720fcb5ba77c4f6d7a48b347a69a4f9523b323f4dc507bfed8b