[INFO] cloning repository https://github.com/Nelson6203/SolitaireRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nelson6203/SolitaireRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNelson6203%2FSolitaireRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNelson6203%2FSolitaireRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc61779cbc78a59ff853e5707a2026c01d8fa292 [INFO] building Nelson6203/SolitaireRust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNelson6203%2FSolitaireRust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nelson6203/SolitaireRust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nelson6203/SolitaireRust [INFO] finished tweaking git repo https://github.com/Nelson6203/SolitaireRust [INFO] tweaked toml for git repo https://github.com/Nelson6203/SolitaireRust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nelson6203/SolitaireRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26852b1719244d6bd54e6e2b9b200a4a7b15e3ed7c9e88e0fcd7fefb74952f01 [INFO] running `Command { std: "docker" "start" "-a" "26852b1719244d6bd54e6e2b9b200a4a7b15e3ed7c9e88e0fcd7fefb74952f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26852b1719244d6bd54e6e2b9b200a4a7b15e3ed7c9e88e0fcd7fefb74952f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26852b1719244d6bd54e6e2b9b200a4a7b15e3ed7c9e88e0fcd7fefb74952f01", kill_on_drop: false }` [INFO] [stdout] 26852b1719244d6bd54e6e2b9b200a4a7b15e3ed7c9e88e0fcd7fefb74952f01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b1571976c4abe13a0549d70bcb2f7c2b8f9c06b04b49311f9945b9e93871504 [INFO] running `Command { std: "docker" "start" "-a" "6b1571976c4abe13a0549d70bcb2f7c2b8f9c06b04b49311f9945b9e93871504", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling solitarioNelsonFinal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, any}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut ReglasEscribir = "Bienvenido!!\nSolitario de Piramide\nComandos Disponibles:\nRET - Agarrar carta de la baraja sobrante\nP - ... [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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nFELICIDADES!! GANASTE LA PARTIDA\nVidas sobrantes:".to_owned... [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:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVid... [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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nSaliendo del Juego Solitario de Piramide:\n*----------------... [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | for i in 0..2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cartaDisponible` is never read [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut cartaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let mut string0 = "\n"; [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:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let mut string14 = "\n-------------------------------------------------------------\n"; [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:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut string13 = "\nPuntos ganados: ".to_owned() + &puntos.to_string(); [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:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let mut string1 = "\nVueltas a la baraja disponibles: ".to_owned() + &vidas.to_string(); [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:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let mut string2 = "\nCartas baraja total:".to_owned() + &cartastotal.to_string(); [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:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | let mut string3 = "\nCartas baraja:".to_owned() + &cartas.len().to_string(); [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:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let mut string4 = "\nCartas Esquina:".to_owned() + &cartas[cartas.len()-1].to_string(); [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:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let mut string5 = "\nFila 1: ".to_owned() + &fila1.join(" "); [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:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let mut string6 = "\nFila 2: ".to_owned() + &fila2.join(" "); [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:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let mut string7 = "\nFila 3: ".to_owned() + &fila3.join(" "); [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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut string8 = "\nFila 4: ".to_owned() + &fila4.join(" "); [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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut string9 = "\nFila 5: ".to_owned() + &fila5.join(" "); [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:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut string10 = "\nFila 6: ".to_owned() + &fila6.join(" "); [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:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let mut string11 = "\nFila 7: ".to_owned() + &fila7.join(" "); [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:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let mut string12 = "\n"; [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:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | ... let mut escribirTablero1 = string0.to_owned() + &string14 + &string13 + &string1 + &string2 + &string3 + &string4 + &string5 + &str... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `respuesta` [INFO] [stdout] --> src/main.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | let mut respuesta = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_respuesta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | let mut respuesta = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionFila1ElegidaesNumero` is never read [INFO] [stdout] --> src/main.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | let mut opcionFila1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegida1Disponible` is never read [INFO] [stdout] --> src/main.rs:587:25 [INFO] [stdout] | [INFO] [stdout] 587 | let mut filaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionCarta1ElegidaesNumero` is never read [INFO] [stdout] --> src/main.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | let mut opcionCarta1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegida2Disponible` is never read [INFO] [stdout] --> src/main.rs:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | ... let mut filaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionFila1RetesNumero` is never read [INFO] [stdout] --> src/main.rs:962:25 [INFO] [stdout] | [INFO] [stdout] 962 | let mut opcionFila1RetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegidaDisponibleRET` is never read [INFO] [stdout] --> src/main.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | let mut filaElegidaDisponibleRET = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionCartaElegidaRetesNumero` is never read [INFO] [stdout] --> src/main.rs:998:33 [INFO] [stdout] | [INFO] [stdout] 998 | let mut opcionCartaElegidaRetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `movimientoCorrecto` is never read [INFO] [stdout] --> src/main.rs:1024:41 [INFO] [stdout] | [INFO] [stdout] 1024 | ... let mut movimientoCorrecto = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1107:25 [INFO] [stdout] | [INFO] [stdout] 1107 | for i in 0..cartasRespaldo.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1029:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1029 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1039:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1039 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1049:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1049 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1059:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1059 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1069:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1069 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1079:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1079 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1089:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1089 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | let mut string1 = "\nDigite el comando, o la primer fila (1 a 7):\n"; [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:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | let mut string1 = "\nFila disponible\n"; [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:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | let mut string1 = "\nDigite la posición de la primer carta a utilizar:\n"; [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:649:33 [INFO] [stdout] | [INFO] [stdout] 649 | ... let mut string0 = "\nCarta disponible:\n"; [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:652:33 [INFO] [stdout] | [INFO] [stdout] 652 | ... let mut string1 = "\nEliga la segunda fila (1 a 7):\n"; [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:686:41 [INFO] [stdout] | [INFO] [stdout] 686 | ... let mut string0 = "\nFila disponible:\n"; [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:687:41 [INFO] [stdout] | [INFO] [stdout] 687 | ... let mut string1 = "\nDigite la posición de la segunda carta a utilizar:\n"; [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:948:21 [INFO] [stdout] | [INFO] [stdout] 948 | let mut string1 = "\nRET elegida\n"; [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:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | let mut string2 = "\nDigite la fila (1 a 7): \n"; [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:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let mut string3 = "\n"; [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:990:29 [INFO] [stdout] | [INFO] [stdout] 990 | let mut string4 = "\nDigite la posición de la carta a utilizar:\n"; [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:1120:21 [INFO] [stdout] | [INFO] [stdout] 1120 | let mut string1 = "\n"; [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:1121:21 [INFO] [stdout] | [INFO] [stdout] 1121 | let mut string2 = "\nIniciando un juego Nuevo"; [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:1122:21 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut string3 = "\nComandos Disponibles:"; [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:1123:21 [INFO] [stdout] | [INFO] [stdout] 1123 | let mut string4 = "\nRET - Agarrar Carta de las sobrantes"; [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:1124:21 [INFO] [stdout] | [INFO] [stdout] 1124 | let mut string5 = "\nP - Cambiar Carta Esquina"; [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:1125:21 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut string6 = "\nN/n - Juego Nuevoo"; [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:1126:21 [INFO] [stdout] | [INFO] [stdout] 1126 | let mut string7 = "\nESC - Salir\n"; [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:1127:21 [INFO] [stdout] | [INFO] [stdout] 1127 | let mut stringtodo = string1.to_owned() + &string2 + &string3 + &string4 + &string5 + &string6 + &string7; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `filaTemp1` is never used [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | static mut filaTemp1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `filaTemp2` is never used [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | static mut filaTemp2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartas` should have an upper case name [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut cartas: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CARTAS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartasRespaldo` should have an upper case name [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | static mut cartasRespaldo: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARTAS_RESPALDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `EstadoJuego` should have an upper case name [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static mut EstadoJuego: bool = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ESTADO_JUEGO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila1` should have an upper case name [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | static mut fila1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila2` should have an upper case name [INFO] [stdout] --> src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut fila2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila3` should have an upper case name [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | static mut fila3: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila4` should have an upper case name [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut fila4: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila5` should have an upper case name [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | static mut fila5: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila6` should have an upper case name [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | static mut fila6: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila7` should have an upper case name [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | static mut fila7: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `filaTemp1` should have an upper case name [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | static mut filaTemp1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `FILA_TEMP1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `filaTemp2` should have an upper case name [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | static mut filaTemp2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `FILA_TEMP2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `vidas` should have an upper case name [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | static mut vidas: u32 = 3; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VIDAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Gano` should have an upper case name [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | static mut Gano: bool = false; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GANO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartastotal` should have an upper case name [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | static mut cartastotal: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CARTASTOTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `puntos` should have an upper case name [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | static mut puntos: usize = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `PUNTOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir` should have a snake case name [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut ReglasEscribir = "Bienvenido!!\nSolitario de Piramide\nComandos Disponibles:\nRET - Agarrar carta de la baraja sobrante\nP - ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `salirJuego` should have a snake case name [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn salirJuego(archivo: &mut File){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `salir_juego` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | println!("Vidas sobrantes: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:53:150 [INFO] [stdout] | [INFO] [stdout] 53 | ...PARTIDA\nVidas sobrantes:".to_owned() + &vidas.to_string() + "\n*--------------------------------------*"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nFELICIDADES!! GANASTE LA PARTIDA\nVidas sobrantes:".to_owned... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | println!("Vidas disponibles: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:64:118 [INFO] [stdout] | [INFO] [stdout] 64 | ...----*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVidas disponibles agotadas\nPerdiste la partida\n*--------------------... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVid... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nSaliendo del Juego Solitario de Piramide:\n*----------------... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generarCartas` should have a snake case name [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn generarCartas() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generar_cartas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | cartas.push(valor.to_owned() + tipo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generarTablero` should have a snake case name [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn generarTablero() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generar_tablero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | fila1.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | fila2.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | fila3.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fila4.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | fila5.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fila6.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | fila7.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | cartastotal = cartas.len(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisandoFilaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn revisandoFilaDisponible(filaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `revisando_fila_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn revisandoFilaDisponible(filaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 164 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 169 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 189 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 194 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 214 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 219 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:239:28 [INFO] [stdout] | [INFO] [stdout] 239 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 239 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 244 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 265 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 270 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 290 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | for element in &fila1 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 295 | for element in &raw const fila1 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisandoCartaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `revisando_carta_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaAbajo` should have a snake case name [INFO] [stdout] --> src/main.rs:317:60 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fila_abajo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `columnaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:317:89 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `columna_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut cartaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lendfilaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | let lendfilaElegida = filaElegida.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lendfila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let cartaMover = &filaElegida[columnaElegida]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaAbajoIzq` should have a snake case name [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let cartaAbajoIzq = &filaAbajo[columnaElegida]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_abajo_izq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaAbajoDer` should have a snake case name [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let cartaAbajoDer = &filaAbajo[columnaElegida+1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_abajo_der` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fila1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | fn movimiento(fila1Elegida: &mut Vec,fila2Elegida: &mut Vec, posicioncarta1: usize, posicioncarta2: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fila1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fila2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | fn movimiento(fila1Elegida: &mut Vec,fila2Elegida: &mut Vec, posicioncarta1: usize, posicioncarta2: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fila2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCarta1` should have a snake case name [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut numCarta1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_carta1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCarta2` should have a snake case name [INFO] [stdout] --> src/main.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | let mut numCarta2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_carta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 397 | let _ = &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 404 | let _ = &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 405 | let _ = &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 413 | let _ = &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 414 | let _ = &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 416 | let _ = &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 417 | let _ = &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imprimirTablero` should have a snake case name [INFO] [stdout] --> src/main.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn imprimirTablero(archivo: &mut File){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `imprimir_tablero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:434:42 [INFO] [stdout] | [INFO] [stdout] 434 | println!("Puntos ganados: {:?}", puntos); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:435:59 [INFO] [stdout] | [INFO] [stdout] 435 | println!("Vueltas a la baraja disponibles: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:436:47 [INFO] [stdout] | [INFO] [stdout] 436 | println!("Cartas baraja total: {:?}", cartastotal); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:437:41 [INFO] [stdout] | [INFO] [stdout] 437 | println!("Cartas baraja: {:?}", cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | println!("Cartas Esquina: {:?}", cartas[cartas.len()-1]); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 439 | println!("Fila 1: {:?}", fila1); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:440:49 [INFO] [stdout] | [INFO] [stdout] 440 | println!("Fila 2: {:?}", fila2); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:441:46 [INFO] [stdout] | [INFO] [stdout] 441 | println!("Fila 3: {:?}", fila3); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | println!("Fila 4: {:?}", fila4); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:443:40 [INFO] [stdout] | [INFO] [stdout] 443 | println!("Fila 5: {:?}", fila5); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:444:37 [INFO] [stdout] | [INFO] [stdout] 444 | println!("Fila 6: {:?}", fila6); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:445:34 [INFO] [stdout] | [INFO] [stdout] 445 | println!("Fila 7: {:?}", fila7); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:449:63 [INFO] [stdout] | [INFO] [stdout] 449 | let mut string13 = "\nPuntos ganados: ".to_owned() + &puntos.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:450:79 [INFO] [stdout] | [INFO] [stdout] 450 | let mut string1 = "\nVueltas a la baraja disponibles: ".to_owned() + &vidas.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:451:66 [INFO] [stdout] | [INFO] [stdout] 451 | let mut string2 = "\nCartas baraja total:".to_owned() + &cartastotal.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:452:60 [INFO] [stdout] | [INFO] [stdout] 452 | let mut string3 = "\nCartas baraja:".to_owned() + &cartas.len().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:453:68 [INFO] [stdout] | [INFO] [stdout] 453 | let mut string4 = "\nCartas Esquina:".to_owned() + &cartas[cartas.len()-1].to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:454:68 [INFO] [stdout] | [INFO] [stdout] 454 | let mut string5 = "\nFila 1: ".to_owned() + &fila1.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:455:66 [INFO] [stdout] | [INFO] [stdout] 455 | let mut string6 = "\nFila 2: ".to_owned() + &fila2.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:456:64 [INFO] [stdout] | [INFO] [stdout] 456 | let mut string7 = "\nFila 3: ".to_owned() + &fila3.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:457:62 [INFO] [stdout] | [INFO] [stdout] 457 | let mut string8 = "\nFila 4: ".to_owned() + &fila4.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:458:60 [INFO] [stdout] | [INFO] [stdout] 458 | let mut string9 = "\nFila 5: ".to_owned() + &fila5.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:459:58 [INFO] [stdout] | [INFO] [stdout] 459 | let mut string10 = "\nFila 6: ".to_owned() + &fila6.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:460:56 [INFO] [stdout] | [INFO] [stdout] 460 | let mut string11 = "\nFila 7: ".to_owned() + &fila7.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `escribirTablero1` should have a snake case name [INFO] [stdout] --> src/main.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | ... let mut escribirTablero1 = string0.to_owned() + &string14 + &string13 + &string1 + &string2 + &string3 + &string4 + &string5 + &str... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `escribir_tablero1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verificandoEsNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 469 | fn verificandoEsNumero(string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verificando_es_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisarGano` should have a snake case name [INFO] [stdout] --> src/main.rs:478:4 [INFO] [stdout] | [INFO] [stdout] 478 | fn revisarGano(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `revisar_gano` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 489 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 494 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 499 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 499 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:504:24 [INFO] [stdout] | [INFO] [stdout] 504 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 504 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:509:24 [INFO] [stdout] | [INFO] [stdout] 509 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 509 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:514:24 [INFO] [stdout] | [INFO] [stdout] 514 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 514 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:519:24 [INFO] [stdout] | [INFO] [stdout] 519 | for element in &fila1 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 519 | for element in &raw const fila1 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | cartas.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | cartasRespaldo.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | fila7.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | fila6.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | fila5.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | fila4.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | fila3.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | fila2.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | fila1.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | EstadoJuego == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 546 | let _ = EstadoJuego == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crearArchivo` should have a snake case name [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn crearArchivo() -> File { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crear_archivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escribirArchivo` should have a snake case name [INFO] [stdout] --> src/main.rs:554:4 [INFO] [stdout] | [INFO] [stdout] 554 | fn escribirArchivo(file: &mut File, escribir: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `escribir_archivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/main.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | EstadoJuego == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = EstadoJuego == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1` should have a snake case name [INFO] [stdout] --> src/main.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | let mut opcionFila1: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | / io::stdin() [INFO] [stdout] 581 | | .read_line(&mut opcionFila1); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | let opcionFila1Elegida = opcionFila1.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | let mut opcionFila1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida1Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:587:25 [INFO] [stdout] | [INFO] [stdout] 587 | let mut filaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida1_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFila` should have a snake case name [INFO] [stdout] --> src/main.rs:592:29 [INFO] [stdout] | [INFO] [stdout] 592 | let mut lenFila = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `len_fila` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:594:35 [INFO] [stdout] | [INFO] [stdout] 594 | lenFila = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:597:35 [INFO] [stdout] | [INFO] [stdout] 597 | lenFila = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:600:35 [INFO] [stdout] | [INFO] [stdout] 600 | lenFila = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | lenFila = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:606:35 [INFO] [stdout] | [INFO] [stdout] 606 | lenFila = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:609:35 [INFO] [stdout] | [INFO] [stdout] 609 | lenFila = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:612:35 [INFO] [stdout] | [INFO] [stdout] 612 | lenFila = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1` should have a snake case name [INFO] [stdout] --> src/main.rs:617:29 [INFO] [stdout] | [INFO] [stdout] 617 | let mut opcionCarta1: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:618:21 [INFO] [stdout] | [INFO] [stdout] 618 | / io::stdin() [INFO] [stdout] 619 | | .read_line(&mut opcionCarta1); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 618 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | let opcionCarta1Elegida = opcionCarta1.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | let mut opcionCarta1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CartaElegida1Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | let mut CartaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida1_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:627:80 [INFO] [stdout] | [INFO] [stdout] 627 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 627 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:627:91 [INFO] [stdout] | [INFO] [stdout] 627 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 627 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:630:80 [INFO] [stdout] | [INFO] [stdout] 630 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:630:91 [INFO] [stdout] | [INFO] [stdout] 630 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:633:80 [INFO] [stdout] | [INFO] [stdout] 633 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 633 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:633:91 [INFO] [stdout] | [INFO] [stdout] 633 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 633 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:636:80 [INFO] [stdout] | [INFO] [stdout] 636 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 636 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:636:91 [INFO] [stdout] | [INFO] [stdout] 636 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 636 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:639:80 [INFO] [stdout] | [INFO] [stdout] 639 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 639 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:639:91 [INFO] [stdout] | [INFO] [stdout] 639 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 639 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:642:80 [INFO] [stdout] | [INFO] [stdout] 642 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 642 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:642:91 [INFO] [stdout] | [INFO] [stdout] 642 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 642 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:645:80 [INFO] [stdout] | [INFO] [stdout] 645 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 645 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:645:91 [INFO] [stdout] | [INFO] [stdout] 645 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 645 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:655:29 [INFO] [stdout] | [INFO] [stdout] 655 | / ... io::stdin() [INFO] [stdout] 656 | | ... .read_line(&mut opcionfila2); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 655 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionfila2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:657:33 [INFO] [stdout] | [INFO] [stdout] 657 | ... let opcionfila2Elegida = opcionfila2.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcionfila2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionfila2ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:659:33 [INFO] [stdout] | [INFO] [stdout] 659 | ... let opcionfila2ElegidaesNumero = verificandoEsNumero(opcionfila2Elegida); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcionfila2_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFila2` should have a snake case name [INFO] [stdout] --> src/main.rs:660:37 [INFO] [stdout] | [INFO] [stdout] 660 | ... let mut lenFila2 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `len_fila2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:662:44 [INFO] [stdout] | [INFO] [stdout] 662 | ... lenFila2 = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:665:44 [INFO] [stdout] | [INFO] [stdout] 665 | ... lenFila2 = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:668:44 [INFO] [stdout] | [INFO] [stdout] 668 | ... lenFila2 = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:671:44 [INFO] [stdout] | [INFO] [stdout] 671 | ... lenFila2 = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:674:44 [INFO] [stdout] | [INFO] [stdout] 674 | ... lenFila2 = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | ... lenFila2 = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:680:44 [INFO] [stdout] | [INFO] [stdout] 680 | ... lenFila2 = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida2Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | ... let mut filaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida2_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2` should have a snake case name [INFO] [stdout] --> src/main.rs:691:45 [INFO] [stdout] | [INFO] [stdout] 691 | ... let mut opcionCarta2: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 692 | / ... io::stdin() [INFO] [stdout] 693 | | ... .read_line(&mut opcionCarta2); [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 692 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:694:41 [INFO] [stdout] | [INFO] [stdout] 694 | ... let opcionCarta2Elegida = opcionCarta2.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:696:41 [INFO] [stdout] | [INFO] [stdout] 696 | ... let opcionCarta2ElegidaesNumero = verificandoEsNumero(opcionCarta2Elegida); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaElegida2Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:698:49 [INFO] [stdout] | [INFO] [stdout] 698 | ... let mut cartaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida2_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:96 [INFO] [stdout] | [INFO] [stdout] 700 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 700 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:107 [INFO] [stdout] | [INFO] [stdout] 700 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 700 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:703:96 [INFO] [stdout] | [INFO] [stdout] 703 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 703 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:703:107 [INFO] [stdout] | [INFO] [stdout] 703 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 703 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:706:96 [INFO] [stdout] | [INFO] [stdout] 706 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 706 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:706:107 [INFO] [stdout] | [INFO] [stdout] 706 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 706 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:709:96 [INFO] [stdout] | [INFO] [stdout] 709 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 709 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:709:107 [INFO] [stdout] | [INFO] [stdout] 709 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 709 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:712:96 [INFO] [stdout] | [INFO] [stdout] 712 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 712 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:712:107 [INFO] [stdout] | [INFO] [stdout] 712 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 712 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:715:96 [INFO] [stdout] | [INFO] [stdout] 715 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 715 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:715:107 [INFO] [stdout] | [INFO] [stdout] 715 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 715 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:718:96 [INFO] [stdout] | [INFO] [stdout] 718 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 718 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:718:107 [INFO] [stdout] | [INFO] [stdout] 718 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 718 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:723:64 [INFO] [stdout] | [INFO] [stdout] 723 | ... movimiento(&mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 723 | movimiento(&raw mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:723:75 [INFO] [stdout] | [INFO] [stdout] 723 | ... movimiento(&mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 723 | movimiento(&mut fila7,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:727:64 [INFO] [stdout] | [INFO] [stdout] 727 | ... movimiento(&mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 727 | movimiento(&raw mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:727:75 [INFO] [stdout] | [INFO] [stdout] 727 | ... movimiento(&mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 727 | movimiento(&mut fila7,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:731:64 [INFO] [stdout] | [INFO] [stdout] 731 | ... movimiento(&mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 731 | movimiento(&raw mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:731:75 [INFO] [stdout] | [INFO] [stdout] 731 | ... movimiento(&mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 731 | movimiento(&mut fila7,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:735:64 [INFO] [stdout] | [INFO] [stdout] 735 | ... movimiento(&mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | movimiento(&raw mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:735:75 [INFO] [stdout] | [INFO] [stdout] 735 | ... movimiento(&mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | movimiento(&mut fila7,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:739:64 [INFO] [stdout] | [INFO] [stdout] 739 | ... movimiento(&mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | movimiento(&raw mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:739:75 [INFO] [stdout] | [INFO] [stdout] 739 | ... movimiento(&mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | movimiento(&mut fila7,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:743:64 [INFO] [stdout] | [INFO] [stdout] 743 | ... movimiento(&mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 743 | movimiento(&raw mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:743:75 [INFO] [stdout] | [INFO] [stdout] 743 | ... movimiento(&mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 743 | movimiento(&mut fila7,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:747:64 [INFO] [stdout] | [INFO] [stdout] 747 | ... movimiento(&mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 747 | movimiento(&raw mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:747:75 [INFO] [stdout] | [INFO] [stdout] 747 | ... movimiento(&mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 747 | movimiento(&mut fila7,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:754:64 [INFO] [stdout] | [INFO] [stdout] 754 | ... movimiento(&mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 754 | movimiento(&raw mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:754:75 [INFO] [stdout] | [INFO] [stdout] 754 | ... movimiento(&mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 754 | movimiento(&mut fila6,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:758:64 [INFO] [stdout] | [INFO] [stdout] 758 | ... movimiento(&mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 758 | movimiento(&raw mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:758:75 [INFO] [stdout] | [INFO] [stdout] 758 | ... movimiento(&mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 758 | movimiento(&mut fila6,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:762:64 [INFO] [stdout] | [INFO] [stdout] 762 | ... movimiento(&mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 762 | movimiento(&raw mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:762:75 [INFO] [stdout] | [INFO] [stdout] 762 | ... movimiento(&mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 762 | movimiento(&mut fila6,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:766:64 [INFO] [stdout] | [INFO] [stdout] 766 | ... movimiento(&mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 766 | movimiento(&raw mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:766:75 [INFO] [stdout] | [INFO] [stdout] 766 | ... movimiento(&mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 766 | movimiento(&mut fila6,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:770:64 [INFO] [stdout] | [INFO] [stdout] 770 | ... movimiento(&mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 770 | movimiento(&raw mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:770:75 [INFO] [stdout] | [INFO] [stdout] 770 | ... movimiento(&mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 770 | movimiento(&mut fila6,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:774:64 [INFO] [stdout] | [INFO] [stdout] 774 | ... movimiento(&mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 774 | movimiento(&raw mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:774:75 [INFO] [stdout] | [INFO] [stdout] 774 | ... movimiento(&mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 774 | movimiento(&mut fila6,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:778:64 [INFO] [stdout] | [INFO] [stdout] 778 | ... movimiento(&mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 778 | movimiento(&raw mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:778:75 [INFO] [stdout] | [INFO] [stdout] 778 | ... movimiento(&mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 778 | movimiento(&mut fila6,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:785:64 [INFO] [stdout] | [INFO] [stdout] 785 | ... movimiento(&mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 785 | movimiento(&raw mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:785:75 [INFO] [stdout] | [INFO] [stdout] 785 | ... movimiento(&mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 785 | movimiento(&mut fila5,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:789:64 [INFO] [stdout] | [INFO] [stdout] 789 | ... movimiento(&mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 789 | movimiento(&raw mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:789:75 [INFO] [stdout] | [INFO] [stdout] 789 | ... movimiento(&mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 789 | movimiento(&mut fila5,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:793:64 [INFO] [stdout] | [INFO] [stdout] 793 | ... movimiento(&mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 793 | movimiento(&raw mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:793:75 [INFO] [stdout] | [INFO] [stdout] 793 | ... movimiento(&mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 793 | movimiento(&mut fila5,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:797:64 [INFO] [stdout] | [INFO] [stdout] 797 | ... movimiento(&mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 797 | movimiento(&raw mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:797:75 [INFO] [stdout] | [INFO] [stdout] 797 | ... movimiento(&mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 797 | movimiento(&mut fila5,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:801:64 [INFO] [stdout] | [INFO] [stdout] 801 | ... movimiento(&mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 801 | movimiento(&raw mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:801:75 [INFO] [stdout] | [INFO] [stdout] 801 | ... movimiento(&mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 801 | movimiento(&mut fila5,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:805:64 [INFO] [stdout] | [INFO] [stdout] 805 | ... movimiento(&mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 805 | movimiento(&raw mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:805:75 [INFO] [stdout] | [INFO] [stdout] 805 | ... movimiento(&mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 805 | movimiento(&mut fila5,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:809:64 [INFO] [stdout] | [INFO] [stdout] 809 | ... movimiento(&mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | movimiento(&raw mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:809:75 [INFO] [stdout] | [INFO] [stdout] 809 | ... movimiento(&mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | movimiento(&mut fila5,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:816:64 [INFO] [stdout] | [INFO] [stdout] 816 | ... movimiento(&mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 816 | movimiento(&raw mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:816:75 [INFO] [stdout] | [INFO] [stdout] 816 | ... movimiento(&mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 816 | movimiento(&mut fila4,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:820:64 [INFO] [stdout] | [INFO] [stdout] 820 | ... movimiento(&mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 820 | movimiento(&raw mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:820:75 [INFO] [stdout] | [INFO] [stdout] 820 | ... movimiento(&mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 820 | movimiento(&mut fila4,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:824:64 [INFO] [stdout] | [INFO] [stdout] 824 | ... movimiento(&mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 824 | movimiento(&raw mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:824:75 [INFO] [stdout] | [INFO] [stdout] 824 | ... movimiento(&mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 824 | movimiento(&mut fila4,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:828:64 [INFO] [stdout] | [INFO] [stdout] 828 | ... movimiento(&mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 828 | movimiento(&raw mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:828:75 [INFO] [stdout] | [INFO] [stdout] 828 | ... movimiento(&mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 828 | movimiento(&mut fila4,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:832:64 [INFO] [stdout] | [INFO] [stdout] 832 | ... movimiento(&mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 832 | movimiento(&raw mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:832:75 [INFO] [stdout] | [INFO] [stdout] 832 | ... movimiento(&mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 832 | movimiento(&mut fila4,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:836:64 [INFO] [stdout] | [INFO] [stdout] 836 | ... movimiento(&mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 836 | movimiento(&raw mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:836:75 [INFO] [stdout] | [INFO] [stdout] 836 | ... movimiento(&mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 836 | movimiento(&mut fila4,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:840:64 [INFO] [stdout] | [INFO] [stdout] 840 | ... movimiento(&mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 840 | movimiento(&raw mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:840:75 [INFO] [stdout] | [INFO] [stdout] 840 | ... movimiento(&mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 840 | movimiento(&mut fila4,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:847:64 [INFO] [stdout] | [INFO] [stdout] 847 | ... movimiento(&mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | movimiento(&raw mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:847:75 [INFO] [stdout] | [INFO] [stdout] 847 | ... movimiento(&mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | movimiento(&mut fila3,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:851:64 [INFO] [stdout] | [INFO] [stdout] 851 | ... movimiento(&mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 851 | movimiento(&raw mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:851:75 [INFO] [stdout] | [INFO] [stdout] 851 | ... movimiento(&mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 851 | movimiento(&mut fila3,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:855:64 [INFO] [stdout] | [INFO] [stdout] 855 | ... movimiento(&mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | movimiento(&raw mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:855:75 [INFO] [stdout] | [INFO] [stdout] 855 | ... movimiento(&mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | movimiento(&mut fila3,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:859:64 [INFO] [stdout] | [INFO] [stdout] 859 | ... movimiento(&mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 859 | movimiento(&raw mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:859:75 [INFO] [stdout] | [INFO] [stdout] 859 | ... movimiento(&mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 859 | movimiento(&mut fila3,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:863:64 [INFO] [stdout] | [INFO] [stdout] 863 | ... movimiento(&mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 863 | movimiento(&raw mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:863:75 [INFO] [stdout] | [INFO] [stdout] 863 | ... movimiento(&mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 863 | movimiento(&mut fila3,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:867:64 [INFO] [stdout] | [INFO] [stdout] 867 | ... movimiento(&mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 867 | movimiento(&raw mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:867:75 [INFO] [stdout] | [INFO] [stdout] 867 | ... movimiento(&mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 867 | movimiento(&mut fila3,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:871:64 [INFO] [stdout] | [INFO] [stdout] 871 | ... movimiento(&mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 871 | movimiento(&raw mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:871:75 [INFO] [stdout] | [INFO] [stdout] 871 | ... movimiento(&mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 871 | movimiento(&mut fila3,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:878:64 [INFO] [stdout] | [INFO] [stdout] 878 | ... movimiento(&mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 878 | movimiento(&raw mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:878:75 [INFO] [stdout] | [INFO] [stdout] 878 | ... movimiento(&mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 878 | movimiento(&mut fila2,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:882:64 [INFO] [stdout] | [INFO] [stdout] 882 | ... movimiento(&mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 882 | movimiento(&raw mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:882:75 [INFO] [stdout] | [INFO] [stdout] 882 | ... movimiento(&mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 882 | movimiento(&mut fila2,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:886:64 [INFO] [stdout] | [INFO] [stdout] 886 | ... movimiento(&mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 886 | movimiento(&raw mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:886:75 [INFO] [stdout] | [INFO] [stdout] 886 | ... movimiento(&mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 886 | movimiento(&mut fila2,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:890:64 [INFO] [stdout] | [INFO] [stdout] 890 | ... movimiento(&mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | movimiento(&raw mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:890:75 [INFO] [stdout] | [INFO] [stdout] 890 | ... movimiento(&mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | movimiento(&mut fila2,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:894:64 [INFO] [stdout] | [INFO] [stdout] 894 | ... movimiento(&mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 894 | movimiento(&raw mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:894:75 [INFO] [stdout] | [INFO] [stdout] 894 | ... movimiento(&mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 894 | movimiento(&mut fila2,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:898:64 [INFO] [stdout] | [INFO] [stdout] 898 | ... movimiento(&mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 898 | movimiento(&raw mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:898:75 [INFO] [stdout] | [INFO] [stdout] 898 | ... movimiento(&mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 898 | movimiento(&mut fila2,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:902:64 [INFO] [stdout] | [INFO] [stdout] 902 | ... movimiento(&mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 902 | movimiento(&raw mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:902:75 [INFO] [stdout] | [INFO] [stdout] 902 | ... movimiento(&mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 902 | movimiento(&mut fila2,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:909:68 [INFO] [stdout] | [INFO] [stdout] 909 | ... movimiento(&mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 909 | movimiento(&raw mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:909:79 [INFO] [stdout] | [INFO] [stdout] 909 | ... movimiento(&mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 909 | movimiento(&mut fila1,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:913:68 [INFO] [stdout] | [INFO] [stdout] 913 | ... movimiento(&mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 913 | movimiento(&raw mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:913:79 [INFO] [stdout] | [INFO] [stdout] 913 | ... movimiento(&mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 913 | movimiento(&mut fila1,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:917:68 [INFO] [stdout] | [INFO] [stdout] 917 | ... movimiento(&mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 917 | movimiento(&raw mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:917:79 [INFO] [stdout] | [INFO] [stdout] 917 | ... movimiento(&mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 917 | movimiento(&mut fila1,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:921:68 [INFO] [stdout] | [INFO] [stdout] 921 | ... movimiento(&mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 921 | movimiento(&raw mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:921:79 [INFO] [stdout] | [INFO] [stdout] 921 | ... movimiento(&mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 921 | movimiento(&mut fila1,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:925:68 [INFO] [stdout] | [INFO] [stdout] 925 | ... movimiento(&mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 925 | movimiento(&raw mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:925:79 [INFO] [stdout] | [INFO] [stdout] 925 | ... movimiento(&mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 925 | movimiento(&mut fila1,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:929:68 [INFO] [stdout] | [INFO] [stdout] 929 | ... movimiento(&mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 929 | movimiento(&raw mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:929:79 [INFO] [stdout] | [INFO] [stdout] 929 | ... movimiento(&mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 929 | movimiento(&mut fila1,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:933:68 [INFO] [stdout] | [INFO] [stdout] 933 | ... movimiento(&mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 933 | movimiento(&raw mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:933:79 [INFO] [stdout] | [INFO] [stdout] 933 | ... movimiento(&mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 933 | movimiento(&mut fila1,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFilaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | let mut opcionFilaRet: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:958:17 [INFO] [stdout] | [INFO] [stdout] 958 | / io::stdin() [INFO] [stdout] 959 | | .read_line(&mut opcionFilaRet); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 958 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFilaRetElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | let opcionFilaRetElegida = opcionFilaRet.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila_ret_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1RetesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:962:25 [INFO] [stdout] | [INFO] [stdout] 962 | let mut opcionFila1RetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_retes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegidaDisponibleRET` should have a snake case name [INFO] [stdout] --> src/main.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | let mut filaElegidaDisponibleRET = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida_disponible_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFilaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:968:33 [INFO] [stdout] | [INFO] [stdout] 968 | let mut lenFilaRet = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `len_fila_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:970:42 [INFO] [stdout] | [INFO] [stdout] 970 | ... lenFilaRet = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:973:42 [INFO] [stdout] | [INFO] [stdout] 973 | ... lenFilaRet = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:976:42 [INFO] [stdout] | [INFO] [stdout] 976 | ... lenFilaRet = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:979:42 [INFO] [stdout] | [INFO] [stdout] 979 | ... lenFilaRet = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:982:42 [INFO] [stdout] | [INFO] [stdout] 982 | ... lenFilaRet = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:985:42 [INFO] [stdout] | [INFO] [stdout] 985 | ... lenFilaRet = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:988:42 [INFO] [stdout] | [INFO] [stdout] 988 | ... lenFilaRet = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1Ret` should have a snake case name [INFO] [stdout] --> src/main.rs:993:33 [INFO] [stdout] | [INFO] [stdout] 993 | let mut opcionCarta1Ret: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:994:25 [INFO] [stdout] | [INFO] [stdout] 994 | / io::stdin() [INFO] [stdout] 995 | | .read_line(&mut opcionCarta1Ret); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 994 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCartaElegidaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:996:29 [INFO] [stdout] | [INFO] [stdout] 996 | let opcionCartaElegidaRet: &str = opcionCarta1Ret.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta_elegida_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCartaElegidaRetesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:998:33 [INFO] [stdout] | [INFO] [stdout] 998 | let mut opcionCartaElegidaRetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta_elegida_retes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CartaElegidaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:1001:37 [INFO] [stdout] | [INFO] [stdout] 1001 | ... let mut CartaElegidaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1003:83 [INFO] [stdout] | [INFO] [stdout] 1003 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1003 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1003:94 [INFO] [stdout] | [INFO] [stdout] 1003 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1003 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1006:83 [INFO] [stdout] | [INFO] [stdout] 1006 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1006 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1006:94 [INFO] [stdout] | [INFO] [stdout] 1006 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1006 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1009:83 [INFO] [stdout] | [INFO] [stdout] 1009 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1009 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1009:94 [INFO] [stdout] | [INFO] [stdout] 1009 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1009 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1012:83 [INFO] [stdout] | [INFO] [stdout] 1012 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1012 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1012:94 [INFO] [stdout] | [INFO] [stdout] 1012 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1012 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1015:83 [INFO] [stdout] | [INFO] [stdout] 1015 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1015 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1015:94 [INFO] [stdout] | [INFO] [stdout] 1015 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1015 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1018:83 [INFO] [stdout] | [INFO] [stdout] 1018 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1018 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1018:94 [INFO] [stdout] | [INFO] [stdout] 1018 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1018 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1021:83 [INFO] [stdout] | [INFO] [stdout] 1021 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1021 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1021:94 [INFO] [stdout] | [INFO] [stdout] 1021 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1021 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `movimientoCorrecto` should have a snake case name [INFO] [stdout] --> src/main.rs:1024:41 [INFO] [stdout] | [INFO] [stdout] 1024 | ... let mut movimientoCorrecto = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `movimiento_correcto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:69 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1026 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:81 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1026 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:92 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1028:55 [INFO] [stdout] | [INFO] [stdout] 1028 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:69 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1036 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:81 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1036 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:92 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1038:41 [INFO] [stdout] | [INFO] [stdout] 1038 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1038:55 [INFO] [stdout] | [INFO] [stdout] 1038 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:69 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1046 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:81 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1046 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:92 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1048:41 [INFO] [stdout] | [INFO] [stdout] 1048 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1048:55 [INFO] [stdout] | [INFO] [stdout] 1048 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:69 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1056 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:81 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1056 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:92 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1058:41 [INFO] [stdout] | [INFO] [stdout] 1058 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1058:55 [INFO] [stdout] | [INFO] [stdout] 1058 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:69 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1066 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:81 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1066 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:92 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1068:41 [INFO] [stdout] | [INFO] [stdout] 1068 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1068:55 [INFO] [stdout] | [INFO] [stdout] 1068 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:69 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1076 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:81 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1076 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:92 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1078:41 [INFO] [stdout] | [INFO] [stdout] 1078 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1078:55 [INFO] [stdout] | [INFO] [stdout] 1078 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:69 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1086 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:81 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1086 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:92 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1088:41 [INFO] [stdout] | [INFO] [stdout] 1088 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1088:55 [INFO] [stdout] | [INFO] [stdout] 1088 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1103:20 [INFO] [stdout] | [INFO] [stdout] 1103 | if cartas.len() == 1 { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1104:46 [INFO] [stdout] | [INFO] [stdout] 1104 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:1104:25 [INFO] [stdout] | [INFO] [stdout] 1104 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1105:21 [INFO] [stdout] | [INFO] [stdout] 1105 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1105:43 [INFO] [stdout] | [INFO] [stdout] 1105 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1106:35 [INFO] [stdout] | [INFO] [stdout] 1106 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1107:33 [INFO] [stdout] | [INFO] [stdout] 1107 | for i in 0..cartasRespaldo.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1108:25 [INFO] [stdout] | [INFO] [stdout] 1108 | cartas.push(cartasRespaldo[cartasRespaldo.len()-1].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1108:52 [INFO] [stdout] | [INFO] [stdout] 1108 | cartas.push(cartasRespaldo[cartasRespaldo.len()-1].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1109:25 [INFO] [stdout] | [INFO] [stdout] 1109 | cartasRespaldo.remove(cartasRespaldo.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1109:47 [INFO] [stdout] | [INFO] [stdout] 1109 | cartasRespaldo.remove(cartasRespaldo.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1113:46 [INFO] [stdout] | [INFO] [stdout] 1113 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:1113:25 [INFO] [stdout] | [INFO] [stdout] 1113 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1114:21 [INFO] [stdout] | [INFO] [stdout] 1114 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1114:43 [INFO] [stdout] | [INFO] [stdout] 1114 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1115:21 [INFO] [stdout] | [INFO] [stdout] 1115 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1115:35 [INFO] [stdout] | [INFO] [stdout] 1115 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "6b1571976c4abe13a0549d70bcb2f7c2b8f9c06b04b49311f9945b9e93871504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1571976c4abe13a0549d70bcb2f7c2b8f9c06b04b49311f9945b9e93871504", kill_on_drop: false }` [INFO] [stdout] 6b1571976c4abe13a0549d70bcb2f7c2b8f9c06b04b49311f9945b9e93871504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f053d25369b5c884c0db3bcb78e7c3f288a5f2e2fd544efcd4c3111b5ee785 [INFO] running `Command { std: "docker" "start" "-a" "74f053d25369b5c884c0db3bcb78e7c3f288a5f2e2fd544efcd4c3111b5ee785", kill_on_drop: false }` [INFO] [stderr] Compiling solitarioNelsonFinal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, any}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut ReglasEscribir = "Bienvenido!!\nSolitario de Piramide\nComandos Disponibles:\nRET - Agarrar carta de la baraja sobrante\nP - ... [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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nFELICIDADES!! GANASTE LA PARTIDA\nVidas sobrantes:".to_owned... [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:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVid... [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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nSaliendo del Juego Solitario de Piramide:\n*----------------... [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | for i in 0..2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cartaDisponible` is never read [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut cartaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let mut string0 = "\n"; [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:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let mut string14 = "\n-------------------------------------------------------------\n"; [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:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut string13 = "\nPuntos ganados: ".to_owned() + &puntos.to_string(); [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:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let mut string1 = "\nVueltas a la baraja disponibles: ".to_owned() + &vidas.to_string(); [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:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let mut string2 = "\nCartas baraja total:".to_owned() + &cartastotal.to_string(); [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:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | let mut string3 = "\nCartas baraja:".to_owned() + &cartas.len().to_string(); [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:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let mut string4 = "\nCartas Esquina:".to_owned() + &cartas[cartas.len()-1].to_string(); [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:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let mut string5 = "\nFila 1: ".to_owned() + &fila1.join(" "); [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:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let mut string6 = "\nFila 2: ".to_owned() + &fila2.join(" "); [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:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let mut string7 = "\nFila 3: ".to_owned() + &fila3.join(" "); [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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut string8 = "\nFila 4: ".to_owned() + &fila4.join(" "); [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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut string9 = "\nFila 5: ".to_owned() + &fila5.join(" "); [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:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut string10 = "\nFila 6: ".to_owned() + &fila6.join(" "); [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:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let mut string11 = "\nFila 7: ".to_owned() + &fila7.join(" "); [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:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let mut string12 = "\n"; [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:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | ... let mut escribirTablero1 = string0.to_owned() + &string14 + &string13 + &string1 + &string2 + &string3 + &string4 + &string5 + &str... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `respuesta` [INFO] [stdout] --> src/main.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | let mut respuesta = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_respuesta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | let mut respuesta = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionFila1ElegidaesNumero` is never read [INFO] [stdout] --> src/main.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | let mut opcionFila1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegida1Disponible` is never read [INFO] [stdout] --> src/main.rs:587:25 [INFO] [stdout] | [INFO] [stdout] 587 | let mut filaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionCarta1ElegidaesNumero` is never read [INFO] [stdout] --> src/main.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | let mut opcionCarta1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegida2Disponible` is never read [INFO] [stdout] --> src/main.rs:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | ... let mut filaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionFila1RetesNumero` is never read [INFO] [stdout] --> src/main.rs:962:25 [INFO] [stdout] | [INFO] [stdout] 962 | let mut opcionFila1RetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `filaElegidaDisponibleRET` is never read [INFO] [stdout] --> src/main.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | let mut filaElegidaDisponibleRET = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcionCartaElegidaRetesNumero` is never read [INFO] [stdout] --> src/main.rs:998:33 [INFO] [stdout] | [INFO] [stdout] 998 | let mut opcionCartaElegidaRetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `movimientoCorrecto` is never read [INFO] [stdout] --> src/main.rs:1024:41 [INFO] [stdout] | [INFO] [stdout] 1024 | ... let mut movimientoCorrecto = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1107:25 [INFO] [stdout] | [INFO] [stdout] 1107 | for i in 0..cartasRespaldo.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1029:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1029 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1039:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1039 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1049:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1049 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1059:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1059 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1069:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1069 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1079:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1079 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:1089:41 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 1089 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | let mut string1 = "\nDigite el comando, o la primer fila (1 a 7):\n"; [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:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | let mut string1 = "\nFila disponible\n"; [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:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | let mut string1 = "\nDigite la posición de la primer carta a utilizar:\n"; [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:649:33 [INFO] [stdout] | [INFO] [stdout] 649 | ... let mut string0 = "\nCarta disponible:\n"; [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:652:33 [INFO] [stdout] | [INFO] [stdout] 652 | ... let mut string1 = "\nEliga la segunda fila (1 a 7):\n"; [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:686:41 [INFO] [stdout] | [INFO] [stdout] 686 | ... let mut string0 = "\nFila disponible:\n"; [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:687:41 [INFO] [stdout] | [INFO] [stdout] 687 | ... let mut string1 = "\nDigite la posición de la segunda carta a utilizar:\n"; [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:948:21 [INFO] [stdout] | [INFO] [stdout] 948 | let mut string1 = "\nRET elegida\n"; [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:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | let mut string2 = "\nDigite la fila (1 a 7): \n"; [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:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let mut string3 = "\n"; [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:990:29 [INFO] [stdout] | [INFO] [stdout] 990 | let mut string4 = "\nDigite la posición de la carta a utilizar:\n"; [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:1120:21 [INFO] [stdout] | [INFO] [stdout] 1120 | let mut string1 = "\n"; [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:1121:21 [INFO] [stdout] | [INFO] [stdout] 1121 | let mut string2 = "\nIniciando un juego Nuevo"; [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:1122:21 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut string3 = "\nComandos Disponibles:"; [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:1123:21 [INFO] [stdout] | [INFO] [stdout] 1123 | let mut string4 = "\nRET - Agarrar Carta de las sobrantes"; [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:1124:21 [INFO] [stdout] | [INFO] [stdout] 1124 | let mut string5 = "\nP - Cambiar Carta Esquina"; [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:1125:21 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut string6 = "\nN/n - Juego Nuevoo"; [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:1126:21 [INFO] [stdout] | [INFO] [stdout] 1126 | let mut string7 = "\nESC - Salir\n"; [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:1127:21 [INFO] [stdout] | [INFO] [stdout] 1127 | let mut stringtodo = string1.to_owned() + &string2 + &string3 + &string4 + &string5 + &string6 + &string7; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `filaTemp1` is never used [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | static mut filaTemp1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `filaTemp2` is never used [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | static mut filaTemp2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartas` should have an upper case name [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut cartas: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CARTAS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartasRespaldo` should have an upper case name [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | static mut cartasRespaldo: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARTAS_RESPALDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `EstadoJuego` should have an upper case name [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static mut EstadoJuego: bool = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ESTADO_JUEGO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila1` should have an upper case name [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | static mut fila1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila2` should have an upper case name [INFO] [stdout] --> src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut fila2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila3` should have an upper case name [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | static mut fila3: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila4` should have an upper case name [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut fila4: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila5` should have an upper case name [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | static mut fila5: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila6` should have an upper case name [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | static mut fila6: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `fila7` should have an upper case name [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | static mut fila7: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FILA7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `filaTemp1` should have an upper case name [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | static mut filaTemp1: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `FILA_TEMP1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `filaTemp2` should have an upper case name [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | static mut filaTemp2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `FILA_TEMP2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `vidas` should have an upper case name [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | static mut vidas: u32 = 3; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VIDAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Gano` should have an upper case name [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | static mut Gano: bool = false; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GANO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cartastotal` should have an upper case name [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | static mut cartastotal: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CARTASTOTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `puntos` should have an upper case name [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | static mut puntos: usize = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `PUNTOS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir` should have a snake case name [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut ReglasEscribir = "Bienvenido!!\nSolitario de Piramide\nComandos Disponibles:\nRET - Agarrar carta de la baraja sobrante\nP - ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `salirJuego` should have a snake case name [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn salirJuego(archivo: &mut File){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `salir_juego` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | println!("Vidas sobrantes: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:53:150 [INFO] [stdout] | [INFO] [stdout] 53 | ...PARTIDA\nVidas sobrantes:".to_owned() + &vidas.to_string() + "\n*--------------------------------------*"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nFELICIDADES!! GANASTE LA PARTIDA\nVidas sobrantes:".to_owned... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | println!("Vidas disponibles: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:64:118 [INFO] [stdout] | [INFO] [stdout] 64 | ...----*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVidas disponibles agotadas\nPerdiste la partida\n*--------------------... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nVidas disponibles:".to_owned() + &vidas.to_string() + "\nVid... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReglasEscribir1` should have a snake case name [INFO] [stdout] --> src/main.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | ... let mut ReglasEscribir1 = "\n*--------------------------------------*\nSaliendo del Juego Solitario de Piramide:\n*----------------... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reglas_escribir1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generarCartas` should have a snake case name [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn generarCartas() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generar_cartas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | cartas.push(valor.to_owned() + tipo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generarTablero` should have a snake case name [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn generarTablero() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generar_tablero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | fila1.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | fila2.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | fila3.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fila4.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | fila5.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fila6.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let num = rng.gen_range(0..cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | fila7.push(cartas[num].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | cartas.remove(num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | cartastotal = cartas.len(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisandoFilaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn revisandoFilaDisponible(filaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `revisando_fila_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn revisandoFilaDisponible(filaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 164 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 169 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 189 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 194 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 214 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 219 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:239:28 [INFO] [stdout] | [INFO] [stdout] 239 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 239 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 244 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 265 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 270 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 290 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | for element in &fila1 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 295 | for element in &raw const fila1 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisandoCartaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `revisando_carta_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaAbajo` should have a snake case name [INFO] [stdout] --> src/main.rs:317:60 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fila_abajo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `columnaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:317:89 [INFO] [stdout] | [INFO] [stdout] 317 | fn revisandoCartaDisponible(filaElegida: &mut Vec, filaAbajo: &mut Vec, columnaElegida: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `columna_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut cartaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lendfilaElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | let lendfilaElegida = filaElegida.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lendfila_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let cartaMover = &filaElegida[columnaElegida]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaAbajoIzq` should have a snake case name [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let cartaAbajoIzq = &filaAbajo[columnaElegida]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_abajo_izq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaAbajoDer` should have a snake case name [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let cartaAbajoDer = &filaAbajo[columnaElegida+1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_abajo_der` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fila1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | fn movimiento(fila1Elegida: &mut Vec,fila2Elegida: &mut Vec, posicioncarta1: usize, posicioncarta2: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fila1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fila2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:354:46 [INFO] [stdout] | [INFO] [stdout] 354 | fn movimiento(fila1Elegida: &mut Vec,fila2Elegida: &mut Vec, posicioncarta1: usize, posicioncarta2: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fila2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCarta1` should have a snake case name [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut numCarta1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_carta1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCarta2` should have a snake case name [INFO] [stdout] --> src/main.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | let mut numCarta2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_carta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 397 | let _ = &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 404 | let _ = &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 405 | let _ = &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 413 | let _ = &mut fila1Elegida.remove(posicioncarta1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 414 | let _ = &mut fila1Elegida.insert(posicioncarta1, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 416 | let _ = &mut fila2Elegida.remove(posicioncarta2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 417 | let _ = &mut fila2Elegida.insert(posicioncarta2, String::from(" ")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imprimirTablero` should have a snake case name [INFO] [stdout] --> src/main.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn imprimirTablero(archivo: &mut File){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `imprimir_tablero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:434:42 [INFO] [stdout] | [INFO] [stdout] 434 | println!("Puntos ganados: {:?}", puntos); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:435:59 [INFO] [stdout] | [INFO] [stdout] 435 | println!("Vueltas a la baraja disponibles: {:?}", vidas); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:436:47 [INFO] [stdout] | [INFO] [stdout] 436 | println!("Cartas baraja total: {:?}", cartastotal); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:437:41 [INFO] [stdout] | [INFO] [stdout] 437 | println!("Cartas baraja: {:?}", cartas.len()); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | println!("Cartas Esquina: {:?}", cartas[cartas.len()-1]); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 439 | println!("Fila 1: {:?}", fila1); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:440:49 [INFO] [stdout] | [INFO] [stdout] 440 | println!("Fila 2: {:?}", fila2); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:441:46 [INFO] [stdout] | [INFO] [stdout] 441 | println!("Fila 3: {:?}", fila3); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | println!("Fila 4: {:?}", fila4); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:443:40 [INFO] [stdout] | [INFO] [stdout] 443 | println!("Fila 5: {:?}", fila5); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:444:37 [INFO] [stdout] | [INFO] [stdout] 444 | println!("Fila 6: {:?}", fila6); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:445:34 [INFO] [stdout] | [INFO] [stdout] 445 | println!("Fila 7: {:?}", fila7); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:449:63 [INFO] [stdout] | [INFO] [stdout] 449 | let mut string13 = "\nPuntos ganados: ".to_owned() + &puntos.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:450:79 [INFO] [stdout] | [INFO] [stdout] 450 | let mut string1 = "\nVueltas a la baraja disponibles: ".to_owned() + &vidas.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:451:66 [INFO] [stdout] | [INFO] [stdout] 451 | let mut string2 = "\nCartas baraja total:".to_owned() + &cartastotal.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:452:60 [INFO] [stdout] | [INFO] [stdout] 452 | let mut string3 = "\nCartas baraja:".to_owned() + &cartas.len().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:453:68 [INFO] [stdout] | [INFO] [stdout] 453 | let mut string4 = "\nCartas Esquina:".to_owned() + &cartas[cartas.len()-1].to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:454:68 [INFO] [stdout] | [INFO] [stdout] 454 | let mut string5 = "\nFila 1: ".to_owned() + &fila1.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:455:66 [INFO] [stdout] | [INFO] [stdout] 455 | let mut string6 = "\nFila 2: ".to_owned() + &fila2.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:456:64 [INFO] [stdout] | [INFO] [stdout] 456 | let mut string7 = "\nFila 3: ".to_owned() + &fila3.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:457:62 [INFO] [stdout] | [INFO] [stdout] 457 | let mut string8 = "\nFila 4: ".to_owned() + &fila4.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:458:60 [INFO] [stdout] | [INFO] [stdout] 458 | let mut string9 = "\nFila 5: ".to_owned() + &fila5.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:459:58 [INFO] [stdout] | [INFO] [stdout] 459 | let mut string10 = "\nFila 6: ".to_owned() + &fila6.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:460:56 [INFO] [stdout] | [INFO] [stdout] 460 | let mut string11 = "\nFila 7: ".to_owned() + &fila7.join(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `escribirTablero1` should have a snake case name [INFO] [stdout] --> src/main.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | ... let mut escribirTablero1 = string0.to_owned() + &string14 + &string13 + &string1 + &string2 + &string3 + &string4 + &string5 + &str... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `escribir_tablero1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verificandoEsNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 469 | fn verificandoEsNumero(string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verificando_es_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revisarGano` should have a snake case name [INFO] [stdout] --> src/main.rs:478:4 [INFO] [stdout] | [INFO] [stdout] 478 | fn revisarGano(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `revisar_gano` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | for element in &fila7 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 489 | for element in &raw const fila7 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | for element in &fila6 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 494 | for element in &raw const fila6 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 499 | for element in &fila5 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 499 | for element in &raw const fila5 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:504:24 [INFO] [stdout] | [INFO] [stdout] 504 | for element in &fila4 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 504 | for element in &raw const fila4 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:509:24 [INFO] [stdout] | [INFO] [stdout] 509 | for element in &fila3 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 509 | for element in &raw const fila3 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:514:24 [INFO] [stdout] | [INFO] [stdout] 514 | for element in &fila2 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 514 | for element in &raw const fila2 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:519:24 [INFO] [stdout] | [INFO] [stdout] 519 | for element in &fila1 { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 519 | for element in &raw const fila1 { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | cartas.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | cartasRespaldo.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | fila7.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | fila6.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | fila5.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | fila4.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | fila3.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | fila2.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | fila1.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | EstadoJuego == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 546 | let _ = EstadoJuego == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crearArchivo` should have a snake case name [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn crearArchivo() -> File { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crear_archivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escribirArchivo` should have a snake case name [INFO] [stdout] --> src/main.rs:554:4 [INFO] [stdout] | [INFO] [stdout] 554 | fn escribirArchivo(file: &mut File, escribir: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `escribir_archivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/main.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | EstadoJuego == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = EstadoJuego == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1` should have a snake case name [INFO] [stdout] --> src/main.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | let mut opcionFila1: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | / io::stdin() [INFO] [stdout] 581 | | .read_line(&mut opcionFila1); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | let opcionFila1Elegida = opcionFila1.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | let mut opcionFila1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida1Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:587:25 [INFO] [stdout] | [INFO] [stdout] 587 | let mut filaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida1_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFila` should have a snake case name [INFO] [stdout] --> src/main.rs:592:29 [INFO] [stdout] | [INFO] [stdout] 592 | let mut lenFila = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `len_fila` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:594:35 [INFO] [stdout] | [INFO] [stdout] 594 | lenFila = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:597:35 [INFO] [stdout] | [INFO] [stdout] 597 | lenFila = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:600:35 [INFO] [stdout] | [INFO] [stdout] 600 | lenFila = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | lenFila = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:606:35 [INFO] [stdout] | [INFO] [stdout] 606 | lenFila = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:609:35 [INFO] [stdout] | [INFO] [stdout] 609 | lenFila = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:612:35 [INFO] [stdout] | [INFO] [stdout] 612 | lenFila = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1` should have a snake case name [INFO] [stdout] --> src/main.rs:617:29 [INFO] [stdout] | [INFO] [stdout] 617 | let mut opcionCarta1: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:618:21 [INFO] [stdout] | [INFO] [stdout] 618 | / io::stdin() [INFO] [stdout] 619 | | .read_line(&mut opcionCarta1); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 618 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | let opcionCarta1Elegida = opcionCarta1.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | let mut opcionCarta1ElegidaesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CartaElegida1Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | let mut CartaElegida1Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida1_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:627:80 [INFO] [stdout] | [INFO] [stdout] 627 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 627 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:627:91 [INFO] [stdout] | [INFO] [stdout] 627 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 627 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:630:80 [INFO] [stdout] | [INFO] [stdout] 630 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:630:91 [INFO] [stdout] | [INFO] [stdout] 630 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:633:80 [INFO] [stdout] | [INFO] [stdout] 633 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 633 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:633:91 [INFO] [stdout] | [INFO] [stdout] 633 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 633 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:636:80 [INFO] [stdout] | [INFO] [stdout] 636 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 636 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:636:91 [INFO] [stdout] | [INFO] [stdout] 636 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 636 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:639:80 [INFO] [stdout] | [INFO] [stdout] 639 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 639 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:639:91 [INFO] [stdout] | [INFO] [stdout] 639 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 639 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:642:80 [INFO] [stdout] | [INFO] [stdout] 642 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 642 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:642:91 [INFO] [stdout] | [INFO] [stdout] 642 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 642 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:645:80 [INFO] [stdout] | [INFO] [stdout] 645 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 645 | CartaElegida1Disponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:645:91 [INFO] [stdout] | [INFO] [stdout] 645 | ... CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 645 | CartaElegida1Disponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCarta1Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:655:29 [INFO] [stdout] | [INFO] [stdout] 655 | / ... io::stdin() [INFO] [stdout] 656 | | ... .read_line(&mut opcionfila2); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 655 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionfila2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:657:33 [INFO] [stdout] | [INFO] [stdout] 657 | ... let opcionfila2Elegida = opcionfila2.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcionfila2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionfila2ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:659:33 [INFO] [stdout] | [INFO] [stdout] 659 | ... let opcionfila2ElegidaesNumero = verificandoEsNumero(opcionfila2Elegida); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcionfila2_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFila2` should have a snake case name [INFO] [stdout] --> src/main.rs:660:37 [INFO] [stdout] | [INFO] [stdout] 660 | ... let mut lenFila2 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `len_fila2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:662:44 [INFO] [stdout] | [INFO] [stdout] 662 | ... lenFila2 = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:665:44 [INFO] [stdout] | [INFO] [stdout] 665 | ... lenFila2 = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:668:44 [INFO] [stdout] | [INFO] [stdout] 668 | ... lenFila2 = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:671:44 [INFO] [stdout] | [INFO] [stdout] 671 | ... lenFila2 = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:674:44 [INFO] [stdout] | [INFO] [stdout] 674 | ... lenFila2 = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | ... lenFila2 = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:680:44 [INFO] [stdout] | [INFO] [stdout] 680 | ... lenFila2 = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegida2Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | ... let mut filaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida2_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2` should have a snake case name [INFO] [stdout] --> src/main.rs:691:45 [INFO] [stdout] | [INFO] [stdout] 691 | ... let mut opcionCarta2: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 692 | / ... io::stdin() [INFO] [stdout] 693 | | ... .read_line(&mut opcionCarta2); [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 692 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2Elegida` should have a snake case name [INFO] [stdout] --> src/main.rs:694:41 [INFO] [stdout] | [INFO] [stdout] 694 | ... let opcionCarta2Elegida = opcionCarta2.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta2ElegidaesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:696:41 [INFO] [stdout] | [INFO] [stdout] 696 | ... let opcionCarta2ElegidaesNumero = verificandoEsNumero(opcionCarta2Elegida); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta2_elegidaes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaElegida2Disponible` should have a snake case name [INFO] [stdout] --> src/main.rs:698:49 [INFO] [stdout] | [INFO] [stdout] 698 | ... let mut cartaElegida2Disponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida2_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:96 [INFO] [stdout] | [INFO] [stdout] 700 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 700 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:107 [INFO] [stdout] | [INFO] [stdout] 700 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 700 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:703:96 [INFO] [stdout] | [INFO] [stdout] 703 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 703 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:703:107 [INFO] [stdout] | [INFO] [stdout] 703 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 703 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:706:96 [INFO] [stdout] | [INFO] [stdout] 706 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 706 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:706:107 [INFO] [stdout] | [INFO] [stdout] 706 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 706 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:709:96 [INFO] [stdout] | [INFO] [stdout] 709 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 709 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:709:107 [INFO] [stdout] | [INFO] [stdout] 709 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 709 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:712:96 [INFO] [stdout] | [INFO] [stdout] 712 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 712 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:712:107 [INFO] [stdout] | [INFO] [stdout] 712 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 712 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:715:96 [INFO] [stdout] | [INFO] [stdout] 715 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 715 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:715:107 [INFO] [stdout] | [INFO] [stdout] 715 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 715 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:718:96 [INFO] [stdout] | [INFO] [stdout] 718 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 718 | cartaElegida2Disponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:718:107 [INFO] [stdout] | [INFO] [stdout] 718 | ... cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 718 | cartaElegida2Disponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:723:64 [INFO] [stdout] | [INFO] [stdout] 723 | ... movimiento(&mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 723 | movimiento(&raw mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:723:75 [INFO] [stdout] | [INFO] [stdout] 723 | ... movimiento(&mut fila7,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 723 | movimiento(&mut fila7,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:727:64 [INFO] [stdout] | [INFO] [stdout] 727 | ... movimiento(&mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 727 | movimiento(&raw mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:727:75 [INFO] [stdout] | [INFO] [stdout] 727 | ... movimiento(&mut fila7,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 727 | movimiento(&mut fila7,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:731:64 [INFO] [stdout] | [INFO] [stdout] 731 | ... movimiento(&mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 731 | movimiento(&raw mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:731:75 [INFO] [stdout] | [INFO] [stdout] 731 | ... movimiento(&mut fila7,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 731 | movimiento(&mut fila7,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:735:64 [INFO] [stdout] | [INFO] [stdout] 735 | ... movimiento(&mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | movimiento(&raw mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:735:75 [INFO] [stdout] | [INFO] [stdout] 735 | ... movimiento(&mut fila7,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | movimiento(&mut fila7,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:739:64 [INFO] [stdout] | [INFO] [stdout] 739 | ... movimiento(&mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | movimiento(&raw mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:739:75 [INFO] [stdout] | [INFO] [stdout] 739 | ... movimiento(&mut fila7,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | movimiento(&mut fila7,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:743:64 [INFO] [stdout] | [INFO] [stdout] 743 | ... movimiento(&mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 743 | movimiento(&raw mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:743:75 [INFO] [stdout] | [INFO] [stdout] 743 | ... movimiento(&mut fila7,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 743 | movimiento(&mut fila7,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:747:64 [INFO] [stdout] | [INFO] [stdout] 747 | ... movimiento(&mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 747 | movimiento(&raw mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:747:75 [INFO] [stdout] | [INFO] [stdout] 747 | ... movimiento(&mut fila7,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 747 | movimiento(&mut fila7,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:754:64 [INFO] [stdout] | [INFO] [stdout] 754 | ... movimiento(&mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 754 | movimiento(&raw mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:754:75 [INFO] [stdout] | [INFO] [stdout] 754 | ... movimiento(&mut fila6,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 754 | movimiento(&mut fila6,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:758:64 [INFO] [stdout] | [INFO] [stdout] 758 | ... movimiento(&mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 758 | movimiento(&raw mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:758:75 [INFO] [stdout] | [INFO] [stdout] 758 | ... movimiento(&mut fila6,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 758 | movimiento(&mut fila6,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:762:64 [INFO] [stdout] | [INFO] [stdout] 762 | ... movimiento(&mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 762 | movimiento(&raw mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:762:75 [INFO] [stdout] | [INFO] [stdout] 762 | ... movimiento(&mut fila6,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 762 | movimiento(&mut fila6,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:766:64 [INFO] [stdout] | [INFO] [stdout] 766 | ... movimiento(&mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 766 | movimiento(&raw mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:766:75 [INFO] [stdout] | [INFO] [stdout] 766 | ... movimiento(&mut fila6,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 766 | movimiento(&mut fila6,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:770:64 [INFO] [stdout] | [INFO] [stdout] 770 | ... movimiento(&mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 770 | movimiento(&raw mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:770:75 [INFO] [stdout] | [INFO] [stdout] 770 | ... movimiento(&mut fila6,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 770 | movimiento(&mut fila6,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:774:64 [INFO] [stdout] | [INFO] [stdout] 774 | ... movimiento(&mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 774 | movimiento(&raw mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:774:75 [INFO] [stdout] | [INFO] [stdout] 774 | ... movimiento(&mut fila6,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 774 | movimiento(&mut fila6,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:778:64 [INFO] [stdout] | [INFO] [stdout] 778 | ... movimiento(&mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 778 | movimiento(&raw mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:778:75 [INFO] [stdout] | [INFO] [stdout] 778 | ... movimiento(&mut fila6,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 778 | movimiento(&mut fila6,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:785:64 [INFO] [stdout] | [INFO] [stdout] 785 | ... movimiento(&mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 785 | movimiento(&raw mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:785:75 [INFO] [stdout] | [INFO] [stdout] 785 | ... movimiento(&mut fila5,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 785 | movimiento(&mut fila5,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:789:64 [INFO] [stdout] | [INFO] [stdout] 789 | ... movimiento(&mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 789 | movimiento(&raw mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:789:75 [INFO] [stdout] | [INFO] [stdout] 789 | ... movimiento(&mut fila5,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 789 | movimiento(&mut fila5,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:793:64 [INFO] [stdout] | [INFO] [stdout] 793 | ... movimiento(&mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 793 | movimiento(&raw mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:793:75 [INFO] [stdout] | [INFO] [stdout] 793 | ... movimiento(&mut fila5,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 793 | movimiento(&mut fila5,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:797:64 [INFO] [stdout] | [INFO] [stdout] 797 | ... movimiento(&mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 797 | movimiento(&raw mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:797:75 [INFO] [stdout] | [INFO] [stdout] 797 | ... movimiento(&mut fila5,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 797 | movimiento(&mut fila5,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:801:64 [INFO] [stdout] | [INFO] [stdout] 801 | ... movimiento(&mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 801 | movimiento(&raw mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:801:75 [INFO] [stdout] | [INFO] [stdout] 801 | ... movimiento(&mut fila5,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 801 | movimiento(&mut fila5,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:805:64 [INFO] [stdout] | [INFO] [stdout] 805 | ... movimiento(&mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 805 | movimiento(&raw mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:805:75 [INFO] [stdout] | [INFO] [stdout] 805 | ... movimiento(&mut fila5,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 805 | movimiento(&mut fila5,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:809:64 [INFO] [stdout] | [INFO] [stdout] 809 | ... movimiento(&mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | movimiento(&raw mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:809:75 [INFO] [stdout] | [INFO] [stdout] 809 | ... movimiento(&mut fila5,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | movimiento(&mut fila5,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:816:64 [INFO] [stdout] | [INFO] [stdout] 816 | ... movimiento(&mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 816 | movimiento(&raw mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:816:75 [INFO] [stdout] | [INFO] [stdout] 816 | ... movimiento(&mut fila4,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 816 | movimiento(&mut fila4,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:820:64 [INFO] [stdout] | [INFO] [stdout] 820 | ... movimiento(&mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 820 | movimiento(&raw mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:820:75 [INFO] [stdout] | [INFO] [stdout] 820 | ... movimiento(&mut fila4,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 820 | movimiento(&mut fila4,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:824:64 [INFO] [stdout] | [INFO] [stdout] 824 | ... movimiento(&mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 824 | movimiento(&raw mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:824:75 [INFO] [stdout] | [INFO] [stdout] 824 | ... movimiento(&mut fila4,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 824 | movimiento(&mut fila4,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:828:64 [INFO] [stdout] | [INFO] [stdout] 828 | ... movimiento(&mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 828 | movimiento(&raw mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:828:75 [INFO] [stdout] | [INFO] [stdout] 828 | ... movimiento(&mut fila4,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 828 | movimiento(&mut fila4,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:832:64 [INFO] [stdout] | [INFO] [stdout] 832 | ... movimiento(&mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 832 | movimiento(&raw mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:832:75 [INFO] [stdout] | [INFO] [stdout] 832 | ... movimiento(&mut fila4,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 832 | movimiento(&mut fila4,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:836:64 [INFO] [stdout] | [INFO] [stdout] 836 | ... movimiento(&mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 836 | movimiento(&raw mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:836:75 [INFO] [stdout] | [INFO] [stdout] 836 | ... movimiento(&mut fila4,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 836 | movimiento(&mut fila4,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:840:64 [INFO] [stdout] | [INFO] [stdout] 840 | ... movimiento(&mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 840 | movimiento(&raw mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:840:75 [INFO] [stdout] | [INFO] [stdout] 840 | ... movimiento(&mut fila4,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 840 | movimiento(&mut fila4,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:847:64 [INFO] [stdout] | [INFO] [stdout] 847 | ... movimiento(&mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | movimiento(&raw mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:847:75 [INFO] [stdout] | [INFO] [stdout] 847 | ... movimiento(&mut fila3,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | movimiento(&mut fila3,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:851:64 [INFO] [stdout] | [INFO] [stdout] 851 | ... movimiento(&mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 851 | movimiento(&raw mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:851:75 [INFO] [stdout] | [INFO] [stdout] 851 | ... movimiento(&mut fila3,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 851 | movimiento(&mut fila3,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:855:64 [INFO] [stdout] | [INFO] [stdout] 855 | ... movimiento(&mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | movimiento(&raw mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:855:75 [INFO] [stdout] | [INFO] [stdout] 855 | ... movimiento(&mut fila3,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | movimiento(&mut fila3,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:859:64 [INFO] [stdout] | [INFO] [stdout] 859 | ... movimiento(&mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 859 | movimiento(&raw mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:859:75 [INFO] [stdout] | [INFO] [stdout] 859 | ... movimiento(&mut fila3,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 859 | movimiento(&mut fila3,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:863:64 [INFO] [stdout] | [INFO] [stdout] 863 | ... movimiento(&mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 863 | movimiento(&raw mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:863:75 [INFO] [stdout] | [INFO] [stdout] 863 | ... movimiento(&mut fila3,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 863 | movimiento(&mut fila3,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:867:64 [INFO] [stdout] | [INFO] [stdout] 867 | ... movimiento(&mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 867 | movimiento(&raw mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:867:75 [INFO] [stdout] | [INFO] [stdout] 867 | ... movimiento(&mut fila3,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 867 | movimiento(&mut fila3,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:871:64 [INFO] [stdout] | [INFO] [stdout] 871 | ... movimiento(&mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 871 | movimiento(&raw mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:871:75 [INFO] [stdout] | [INFO] [stdout] 871 | ... movimiento(&mut fila3,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 871 | movimiento(&mut fila3,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:878:64 [INFO] [stdout] | [INFO] [stdout] 878 | ... movimiento(&mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 878 | movimiento(&raw mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:878:75 [INFO] [stdout] | [INFO] [stdout] 878 | ... movimiento(&mut fila2,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 878 | movimiento(&mut fila2,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:882:64 [INFO] [stdout] | [INFO] [stdout] 882 | ... movimiento(&mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 882 | movimiento(&raw mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:882:75 [INFO] [stdout] | [INFO] [stdout] 882 | ... movimiento(&mut fila2,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 882 | movimiento(&mut fila2,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:886:64 [INFO] [stdout] | [INFO] [stdout] 886 | ... movimiento(&mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 886 | movimiento(&raw mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:886:75 [INFO] [stdout] | [INFO] [stdout] 886 | ... movimiento(&mut fila2,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 886 | movimiento(&mut fila2,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:890:64 [INFO] [stdout] | [INFO] [stdout] 890 | ... movimiento(&mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | movimiento(&raw mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:890:75 [INFO] [stdout] | [INFO] [stdout] 890 | ... movimiento(&mut fila2,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | movimiento(&mut fila2,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:894:64 [INFO] [stdout] | [INFO] [stdout] 894 | ... movimiento(&mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 894 | movimiento(&raw mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:894:75 [INFO] [stdout] | [INFO] [stdout] 894 | ... movimiento(&mut fila2,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 894 | movimiento(&mut fila2,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:898:64 [INFO] [stdout] | [INFO] [stdout] 898 | ... movimiento(&mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 898 | movimiento(&raw mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:898:75 [INFO] [stdout] | [INFO] [stdout] 898 | ... movimiento(&mut fila2,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 898 | movimiento(&mut fila2,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:902:64 [INFO] [stdout] | [INFO] [stdout] 902 | ... movimiento(&mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 902 | movimiento(&raw mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:902:75 [INFO] [stdout] | [INFO] [stdout] 902 | ... movimiento(&mut fila2,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 902 | movimiento(&mut fila2,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:909:68 [INFO] [stdout] | [INFO] [stdout] 909 | ... movimiento(&mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 909 | movimiento(&raw mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:909:79 [INFO] [stdout] | [INFO] [stdout] 909 | ... movimiento(&mut fila1,&mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 909 | movimiento(&mut fila1,&raw mut fila7,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:913:68 [INFO] [stdout] | [INFO] [stdout] 913 | ... movimiento(&mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 913 | movimiento(&raw mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:913:79 [INFO] [stdout] | [INFO] [stdout] 913 | ... movimiento(&mut fila1,&mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 913 | movimiento(&mut fila1,&raw mut fila6,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:917:68 [INFO] [stdout] | [INFO] [stdout] 917 | ... movimiento(&mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 917 | movimiento(&raw mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:917:79 [INFO] [stdout] | [INFO] [stdout] 917 | ... movimiento(&mut fila1,&mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 917 | movimiento(&mut fila1,&raw mut fila5,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:921:68 [INFO] [stdout] | [INFO] [stdout] 921 | ... movimiento(&mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 921 | movimiento(&raw mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:921:79 [INFO] [stdout] | [INFO] [stdout] 921 | ... movimiento(&mut fila1,&mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 921 | movimiento(&mut fila1,&raw mut fila4,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:925:68 [INFO] [stdout] | [INFO] [stdout] 925 | ... movimiento(&mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 925 | movimiento(&raw mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:925:79 [INFO] [stdout] | [INFO] [stdout] 925 | ... movimiento(&mut fila1,&mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 925 | movimiento(&mut fila1,&raw mut fila3,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:929:68 [INFO] [stdout] | [INFO] [stdout] 929 | ... movimiento(&mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 929 | movimiento(&raw mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:929:79 [INFO] [stdout] | [INFO] [stdout] 929 | ... movimiento(&mut fila1,&mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 929 | movimiento(&mut fila1,&raw mut fila2,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:933:68 [INFO] [stdout] | [INFO] [stdout] 933 | ... movimiento(&mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 933 | movimiento(&raw mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:933:79 [INFO] [stdout] | [INFO] [stdout] 933 | ... movimiento(&mut fila1,&mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() a... [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 933 | movimiento(&mut fila1,&raw mut fila1,opcionCarta1Elegida.parse::().unwrap() as usize,opcionCarta2Elegida.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFilaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | let mut opcionFilaRet: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:958:17 [INFO] [stdout] | [INFO] [stdout] 958 | / io::stdin() [INFO] [stdout] 959 | | .read_line(&mut opcionFilaRet); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 958 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFilaRetElegida` should have a snake case name [INFO] [stdout] --> src/main.rs:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | let opcionFilaRetElegida = opcionFilaRet.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila_ret_elegida` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionFila1RetesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:962:25 [INFO] [stdout] | [INFO] [stdout] 962 | let mut opcionFila1RetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_fila1_retes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filaElegidaDisponibleRET` should have a snake case name [INFO] [stdout] --> src/main.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | let mut filaElegidaDisponibleRET = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fila_elegida_disponible_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenFilaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:968:33 [INFO] [stdout] | [INFO] [stdout] 968 | let mut lenFilaRet = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `len_fila_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:970:42 [INFO] [stdout] | [INFO] [stdout] 970 | ... lenFilaRet = fila7.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:973:42 [INFO] [stdout] | [INFO] [stdout] 973 | ... lenFilaRet = fila6.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:976:42 [INFO] [stdout] | [INFO] [stdout] 976 | ... lenFilaRet = fila5.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:979:42 [INFO] [stdout] | [INFO] [stdout] 979 | ... lenFilaRet = fila4.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:982:42 [INFO] [stdout] | [INFO] [stdout] 982 | ... lenFilaRet = fila3.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:985:42 [INFO] [stdout] | [INFO] [stdout] 985 | ... lenFilaRet = fila2.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:988:42 [INFO] [stdout] | [INFO] [stdout] 988 | ... lenFilaRet = fila1.len(); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCarta1Ret` should have a snake case name [INFO] [stdout] --> src/main.rs:993:33 [INFO] [stdout] | [INFO] [stdout] 993 | let mut opcionCarta1Ret: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta1_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:994:25 [INFO] [stdout] | [INFO] [stdout] 994 | / io::stdin() [INFO] [stdout] 995 | | .read_line(&mut opcionCarta1Ret); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 994 | let _ = io::stdin() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCartaElegidaRet` should have a snake case name [INFO] [stdout] --> src/main.rs:996:29 [INFO] [stdout] | [INFO] [stdout] 996 | let opcionCartaElegidaRet: &str = opcionCarta1Ret.trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta_elegida_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcionCartaElegidaRetesNumero` should have a snake case name [INFO] [stdout] --> src/main.rs:998:33 [INFO] [stdout] | [INFO] [stdout] 998 | let mut opcionCartaElegidaRetesNumero = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `opcion_carta_elegida_retes_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CartaElegidaDisponible` should have a snake case name [INFO] [stdout] --> src/main.rs:1001:37 [INFO] [stdout] | [INFO] [stdout] 1001 | ... let mut CartaElegidaDisponible = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `carta_elegida_disponible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1003:83 [INFO] [stdout] | [INFO] [stdout] 1003 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1003 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1003:94 [INFO] [stdout] | [INFO] [stdout] 1003 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1003 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila7,&raw mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1006:83 [INFO] [stdout] | [INFO] [stdout] 1006 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1006 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1006:94 [INFO] [stdout] | [INFO] [stdout] 1006 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1006 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila6,&raw mut fila7, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1009:83 [INFO] [stdout] | [INFO] [stdout] 1009 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1009 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1009:94 [INFO] [stdout] | [INFO] [stdout] 1009 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1009 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila5,&raw mut fila6, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1012:83 [INFO] [stdout] | [INFO] [stdout] 1012 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1012 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1012:94 [INFO] [stdout] | [INFO] [stdout] 1012 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1012 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila4,&raw mut fila5, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1015:83 [INFO] [stdout] | [INFO] [stdout] 1015 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1015 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1015:94 [INFO] [stdout] | [INFO] [stdout] 1015 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1015 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila3,&raw mut fila4, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1018:83 [INFO] [stdout] | [INFO] [stdout] 1018 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1018 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1018:94 [INFO] [stdout] | [INFO] [stdout] 1018 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1018 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila2,&raw mut fila3, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1021:83 [INFO] [stdout] | [INFO] [stdout] 1021 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1021 | CartaElegidaDisponible = revisandoCartaDisponible(&raw mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1021:94 [INFO] [stdout] | [INFO] [stdout] 1021 | ... CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1021 | CartaElegidaDisponible = revisandoCartaDisponible(&mut fila1,&raw mut fila2, opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `movimientoCorrecto` should have a snake case name [INFO] [stdout] --> src/main.rs:1024:41 [INFO] [stdout] | [INFO] [stdout] 1024 | ... let mut movimientoCorrecto = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `movimiento_correcto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:69 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1026 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:81 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1026 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1026:92 [INFO] [stdout] | [INFO] [stdout] 1026 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila7,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1028:55 [INFO] [stdout] | [INFO] [stdout] 1028 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:69 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1036 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:81 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1036 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1036:92 [INFO] [stdout] | [INFO] [stdout] 1036 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila6,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1038:41 [INFO] [stdout] | [INFO] [stdout] 1038 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1038:55 [INFO] [stdout] | [INFO] [stdout] 1038 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:69 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1046 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:81 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1046 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1046:92 [INFO] [stdout] | [INFO] [stdout] 1046 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila5,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1048:41 [INFO] [stdout] | [INFO] [stdout] 1048 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1048:55 [INFO] [stdout] | [INFO] [stdout] 1048 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:69 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1056 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:81 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1056 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1056:92 [INFO] [stdout] | [INFO] [stdout] 1056 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila4,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1058:41 [INFO] [stdout] | [INFO] [stdout] 1058 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1058:55 [INFO] [stdout] | [INFO] [stdout] 1058 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:69 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1066 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:81 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1066 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1066:92 [INFO] [stdout] | [INFO] [stdout] 1066 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila3,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1068:41 [INFO] [stdout] | [INFO] [stdout] 1068 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1068:55 [INFO] [stdout] | [INFO] [stdout] 1068 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:69 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1076 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:81 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1076 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1076:92 [INFO] [stdout] | [INFO] [stdout] 1076 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila2,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1078:41 [INFO] [stdout] | [INFO] [stdout] 1078 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1078:55 [INFO] [stdout] | [INFO] [stdout] 1078 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:69 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1086 | movimientoCorrecto = movimiento(&raw mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:81 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1086 | movimientoCorrecto = movimiento(&mut cartas,&raw mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1086:92 [INFO] [stdout] | [INFO] [stdout] 1086 | ... movimientoCorrecto = movimiento(&mut cartas,&mut fila1,cartas.len()-1,opcionCartaElegidaRet.parse::().unwrap() as usize); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1088:41 [INFO] [stdout] | [INFO] [stdout] 1088 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1088:55 [INFO] [stdout] | [INFO] [stdout] 1088 | ... cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1103:20 [INFO] [stdout] | [INFO] [stdout] 1103 | if cartas.len() == 1 { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1104:46 [INFO] [stdout] | [INFO] [stdout] 1104 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:1104:25 [INFO] [stdout] | [INFO] [stdout] 1104 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1105:21 [INFO] [stdout] | [INFO] [stdout] 1105 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1105:43 [INFO] [stdout] | [INFO] [stdout] 1105 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1106:35 [INFO] [stdout] | [INFO] [stdout] 1106 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1107:33 [INFO] [stdout] | [INFO] [stdout] 1107 | for i in 0..cartasRespaldo.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1108:25 [INFO] [stdout] | [INFO] [stdout] 1108 | cartas.push(cartasRespaldo[cartasRespaldo.len()-1].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1108:52 [INFO] [stdout] | [INFO] [stdout] 1108 | cartas.push(cartasRespaldo[cartasRespaldo.len()-1].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1109:25 [INFO] [stdout] | [INFO] [stdout] 1109 | cartasRespaldo.remove(cartasRespaldo.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1109:47 [INFO] [stdout] | [INFO] [stdout] 1109 | cartasRespaldo.remove(cartasRespaldo.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1113:46 [INFO] [stdout] | [INFO] [stdout] 1113 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cartaMover` should have a snake case name [INFO] [stdout] --> src/main.rs:1113:25 [INFO] [stdout] | [INFO] [stdout] 1113 | let cartaMover = &cartas[cartas.len()-1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `carta_mover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1114:21 [INFO] [stdout] | [INFO] [stdout] 1114 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1114:43 [INFO] [stdout] | [INFO] [stdout] 1114 | cartasRespaldo.insert(cartasRespaldo.len(), cartaMover.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1115:21 [INFO] [stdout] | [INFO] [stdout] 1115 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1115:35 [INFO] [stdout] | [INFO] [stdout] 1115 | cartas.remove(cartas.len()-1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "74f053d25369b5c884c0db3bcb78e7c3f288a5f2e2fd544efcd4c3111b5ee785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f053d25369b5c884c0db3bcb78e7c3f288a5f2e2fd544efcd4c3111b5ee785", kill_on_drop: false }` [INFO] [stdout] 74f053d25369b5c884c0db3bcb78e7c3f288a5f2e2fd544efcd4c3111b5ee785