[INFO] cloning repository https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanortiz22%2FSimudor---Sistemas-Dinamicos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanortiz22%2FSimudor---Sistemas-Dinamicos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ab7f0e602d184db29deba041807044f0636b6dd [INFO] checking jeanortiz22/Simudor---Sistemas-Dinamicos against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanortiz22%2FSimudor---Sistemas-Dinamicos" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos [INFO] finished tweaking git repo https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos [INFO] tweaked toml for git repo https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeanortiz22/Simudor---Sistemas-Dinamicos 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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113 [INFO] running `Command { std: "docker" "start" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking juego_mejorado v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/modelo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::rand::Rng` [INFO] [stdout] --> src/macroquad_main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/modelo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/modelo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/macroquad_main.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rng = ::rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/simulador.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/cabra.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/conejo.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lobo.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/simulador.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/simulador.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/cabra.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/cabra.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/conejo.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lobo.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/conejo.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lobo.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/simulador.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if rng.gen_bool(0.5) { "Cabra" } else { "Conejo" } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/simulador.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let (idx, _) = candidatas[rng.gen_range(0..candidatas.len())]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if rng.gen_bool(0.005) { // 0.5% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | if self.edad > 200 && self.sexo == Sexo::Hembra && rng.gen_bool(0.01) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/cabra.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let cantidad = rng.gen_range(1..=2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(0.01) { // 1% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | if self.edad > 90 && self.sexo == Sexo::Hembra && rng.gen_bool(0.1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/conejo.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let cantidad = rng.gen_range(1..=4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lobo.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let consumo_deseado = rng.gen_range(self.nivel_minimo..=self.nivel_optimo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/simulador.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if rng.gen_bool(0.5) { "Cabra" } else { "Conejo" } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/simulador.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if rng.gen_bool(0.5) { "Cabra" } else { "Conejo" } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/lobo.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | if self.edad > 500 && rng.gen_bool(0.005) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/simulador.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let (idx, _) = candidatas[rng.gen_range(0..candidatas.len())]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/simulador.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let (idx, _) = candidatas[rng.gen_range(0..candidatas.len())]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/modelo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::rand::Rng` [INFO] [stdout] --> src/macroquad_main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if rng.gen_bool(0.005) { // 0.5% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if rng.gen_bool(0.005) { // 0.5% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | if self.edad > 200 && self.sexo == Sexo::Hembra && rng.gen_bool(0.01) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | if self.edad > 200 && self.sexo == Sexo::Hembra && rng.gen_bool(0.01) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/cabra.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let cantidad = rng.gen_range(1..=2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/cabra.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let cantidad = rng.gen_range(1..=2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/organismo.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl dyn Organismo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 27 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/cabra.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cabra { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/conejo.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Conejo { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(0.01) { // 1% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(0.01) { // 1% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | if self.edad > 90 && self.sexo == Sexo::Hembra && rng.gen_bool(0.1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | if self.edad > 90 && self.sexo == Sexo::Hembra && rng.gen_bool(0.1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/conejo.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let cantidad = rng.gen_range(1..=4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/conejo.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let cantidad = rng.gen_range(1..=4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lobo.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let consumo_deseado = rng.gen_range(self.nivel_minimo..=self.nivel_optimo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lobo.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let consumo_deseado = rng.gen_range(self.nivel_minimo..=self.nivel_optimo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/lobo.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | if self.edad > 500 && rng.gen_bool(0.005) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/lobo.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | if self.edad > 500 && rng.gen_bool(0.005) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/macroquad_main.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rng = ::rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/simulador.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/cabra.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/conejo.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lobo.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/organismo.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl dyn Organismo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 27 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contar` is never used [INFO] [stdout] --> src/simulador.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Simulador { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contar(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/cabra.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cabra { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/conejo.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Conejo { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/organismo.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl dyn Organismo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 27 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contar` is never used [INFO] [stdout] --> src/simulador.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Simulador { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contar(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/cabra.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cabra { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/conejo.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Conejo { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/simulador.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | if rng.gen_bool(0.5) { "Cabra" } else { "Conejo" } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/simulador.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let (idx, _) = candidatas[rng.gen_range(0..candidatas.len())]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if rng.gen_bool(0.005) { // 0.5% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/cabra.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | if self.edad > 200 && self.sexo == Sexo::Hembra && rng.gen_bool(0.01) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/cabra.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let cantidad = rng.gen_range(1..=2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let sexo = if rng.gen_bool(0.5) { Sexo::Macho } else { Sexo::Hembra }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(0.01) { // 1% de probabilidad [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/conejo.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | if self.edad > 90 && self.sexo == Sexo::Hembra && rng.gen_bool(0.1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/conejo.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let cantidad = rng.gen_range(1..=4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lobo.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let consumo_deseado = rng.gen_range(self.nivel_minimo..=self.nivel_optimo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/lobo.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | if self.edad > 500 && rng.gen_bool(0.005) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/organismo.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl dyn Organismo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 27 | pub fn is(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/cabra.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cabra { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_con_sexo` is never used [INFO] [stdout] --> src/conejo.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Conejo { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_con_sexo(sexo: Sexo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113", kill_on_drop: false }` [INFO] [stdout] 41fb588fb689203659e8263f3d23a08c4b80b696cb740f19bb735cd412bbb113