[INFO] cloning repository https://github.com/jhonatanG12353/SimulatorRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhonatanG12353/SimulatorRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjhonatanG12353%2FSimulatorRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjhonatanG12353%2FSimulatorRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9184da6a90ae8a917fd6e8739be1c1cf00e7dd3 [INFO] checking jhonatanG12353/SimulatorRust against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjhonatanG12353%2FSimulatorRust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jhonatanG12353/SimulatorRust [INFO] finished tweaking git repo https://github.com/jhonatanG12353/SimulatorRust [INFO] tweaked toml for git repo https://github.com/jhonatanG12353/SimulatorRust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jhonatanG12353/SimulatorRust 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/jhonatanG12353/SimulatorRust 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-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6 [INFO] running `Command { std: "docker" "start" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6", 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" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6", 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" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking simulacion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ::rand::{Rng, thread_rng}; [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 imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ::rand::{Rng, thread_rng}; [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 constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/organism/predator.rs:98:64 [INFO] [stdout] | [INFO] [stdout] 98 | .filter(|(_, p)| (*p - max_peso).abs() < std::f64::EPSILON) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/organism/predator.rs:98:64 [INFO] [stdout] | [INFO] [stdout] 98 | .filter(|(_, p)| (*p - max_peso).abs() < std::f64::EPSILON) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prob_muerte_enfermedad` is never used [INFO] [stdout] --> src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Organismo { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn prob_muerte_enfermedad(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `probabilidad` is never used [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn probabilidad(p: f64, rng: &mut impl Rng) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/sim.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | next_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prob_muerte_enfermedad` is never used [INFO] [stdout] --> src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Organismo { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn prob_muerte_enfermedad(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `probabilidad` is never used [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn probabilidad(p: f64, rng: &mut impl Rng) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/sim.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | next_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6", kill_on_drop: false }` [INFO] [stdout] 79b6789b77a76a321dc8a6f3ca7309b571d7703b149f65313cc4579e3d368be6