[INFO] cloning repository https://github.com/bigbass1997/coevolution-huegene-model
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbass1997/coevolution-huegene-model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Fcoevolution-huegene-model", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Fcoevolution-huegene-model'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86d6bf3a0764572887f1cfc3d470ea08121813ca
[INFO] testing bigbass1997/coevolution-huegene-model against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Fcoevolution-huegene-model" "/workspace/builds/worker-26/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bigbass1997/coevolution-huegene-model on toolchain 722e1797249a965b6335aebd65d777f917e498f1
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bigbass1997/coevolution-huegene-model
[INFO] finished tweaking git repo https://github.com/bigbass1997/coevolution-huegene-model
[INFO] tweaked toml for git repo https://github.com/bigbass1997/coevolution-huegene-model written to /workspace/builds/worker-26/source/Cargo.toml
[INFO] crate git repo https://github.com/bigbass1997/coevolution-huegene-model already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e05d6aec7cbdb9e5286c68eee889f49d7e78d033e6dd3f57b54c97364c808581
[INFO] running `Command { std: "docker" "start" "-a" "e05d6aec7cbdb9e5286c68eee889f49d7e78d033e6dd3f57b54c97364c808581", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e05d6aec7cbdb9e5286c68eee889f49d7e78d033e6dd3f57b54c97364c808581", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e05d6aec7cbdb9e5286c68eee889f49d7e78d033e6dd3f57b54c97364c808581", kill_on_drop: false }`
[INFO] [stdout] e05d6aec7cbdb9e5286c68eee889f49d7e78d033e6dd3f57b54c97364c808581
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cc30a780b571b5d9b01a27234924c8bea10593c53817e5abfc2c05a01118e0e
[INFO] running `Command { std: "docker" "start" "-a" "1cc30a780b571b5d9b01a27234924c8bea10593c53817e5abfc2c05a01118e0e", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling libc v0.2.92
[INFO] [stderr] Compiling proc-macro2 v1.0.26
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling glob v0.3.0
[INFO] [stderr] Compiling xml-rs v0.8.3
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling regex-syntax v0.6.23
[INFO] [stderr] Compiling ansi_term v0.11.0
[INFO] [stderr] Compiling bindgen v0.56.0
[INFO] [stderr] Compiling strsim v0.8.0
[INFO] [stderr] Compiling getrandom v0.2.2
[INFO] [stderr] Compiling humantime v2.1.0
[INFO] [stderr] Compiling rustc-hash v1.1.0
[INFO] [stderr] Compiling peeking_take_while v0.1.2
[INFO] [stderr] Compiling lazycell v1.3.0
[INFO] [stderr] Compiling shlex v0.1.1
[INFO] [stderr] Compiling once_cell v1.7.2
[INFO] [stderr] Compiling smallvec v1.6.1
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling downcast-rs v1.2.0
[INFO] [stderr] Compiling adler32 v1.2.0
[INFO] [stderr] Compiling ppv-lite86 v0.2.10
[INFO] [stderr] Compiling weezl v0.1.4
[INFO] [stderr] Compiling cc v1.0.67
[INFO] [stderr] Compiling adler v1.0.2
[INFO] [stderr] Compiling byteorder v1.4.3
[INFO] [stderr] Compiling color_quant v1.1.0
[INFO] [stderr] Compiling remove_dir_all v0.5.3
[INFO] [stderr] Compiling bytemuck v1.5.1
[INFO] [stderr] Compiling scoped_threadpool v0.1.9
[INFO] [stderr] Compiling oorandom v11.1.3
[INFO] [stderr] Compiling crossbeam-utils v0.8.3
[INFO] [stderr] Compiling memoffset v0.6.3
[INFO] [stderr] Compiling libloading v0.7.0
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling textwrap v0.11.0
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling num-rational v0.3.2
[INFO] [stderr] Compiling num-iter v0.1.42
[INFO] [stderr] Compiling miniz_oxide v0.3.7
[INFO] [stderr] Compiling deflate v0.8.6
[INFO] [stderr] Compiling nom v5.1.2
[INFO] [stderr] Compiling nom v6.1.2
[INFO] [stderr] Compiling clang-sys v1.1.1
[INFO] [stderr] Compiling gif v0.11.2
[INFO] [stderr] Compiling minifb v0.19.3
[INFO] [stderr] Compiling wayland-sys v0.28.5
[INFO] [stderr] Compiling x11-dl v2.18.5
[INFO] [stderr] Compiling crossbeam-channel v0.5.0
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling which v3.1.1
[INFO] [stderr] Compiling num_cpus v1.13.0
[INFO] [stderr] Compiling raw-window-handle v0.3.3
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling crossbeam-epoch v0.9.3
[INFO] [stderr] Compiling nix v0.20.0
[INFO] [stderr] Compiling png v0.16.8
[INFO] [stderr] Compiling clap v2.33.3
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling aho-corasick v0.7.15
[INFO] [stderr] Compiling rand_core v0.6.2
[INFO] [stderr] Compiling crossbeam-deque v0.8.0
[INFO] [stderr] Compiling wayland-scanner v0.28.5
[INFO] [stderr] Compiling rand_chacha v0.3.0
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling rayon-core v1.9.0
[INFO] [stderr] Compiling rand v0.8.3
[INFO] [stderr] Compiling rayon v1.5.0
[INFO] [stderr] Compiling regex v1.4.5
[INFO] [stderr] Compiling tempfile v3.2.0
[INFO] [stderr] Compiling wayland-client v0.28.5
[INFO] [stderr] Compiling wayland-protocols v0.28.5
[INFO] [stderr] Compiling cexpr v0.4.0
[INFO] [stderr] Compiling env_logger v0.8.3
[INFO] [stderr] Compiling wayland-commons v0.28.5
[INFO] [stderr] Compiling jpeg-decoder v0.1.22
[INFO] [stderr] Compiling xcursor v0.3.3
[INFO] [stderr] Compiling tiff v0.6.1
[INFO] [stderr] Compiling image v0.23.14
[INFO] [stderr] Compiling wayland-cursor v0.28.5
[INFO] [stderr] Compiling xkbcommon-sys v0.7.5
[INFO] [stderr] Compiling xkb v0.2.1
[INFO] [stderr] Compiling coevolution-huegene-model v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clamp`
[INFO] [stdout] --> src/main.rs:11:42
[INFO] [stdout] |
[INFO] [stdout] 11 | use minifb::{Key, Window, WindowOptions, clamp, KeyRepeat};
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ImageEncoder`, `Rgba`
[INFO] [stdout] --> src/main.rs:14:44
[INFO] [stdout] |
[INFO] [stdout] 14 | use image::{Frame, RgbaImage, ImageBuffer, Rgba, ImageEncoder, ColorType};
[INFO] [stdout] | ^^^^ ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `image::buffer::PixelsMut`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use image::buffer::PixelsMut;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `gif_frames`
[INFO] [stdout] --> src/main.rs:28:13
[INFO] [stdout] |
[INFO] [stdout] 28 | let mut gif_frames = Vec::::new();
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gif_frames`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `total` is assigned to, but never used
[INFO] [stdout] --> src/main.rs:36:13
[INFO] [stdout] |
[INFO] [stdout] 36 | let mut total = 0;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: consider using `_total` instead
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `grid_len`
[INFO] [stdout] --> src/main.rs:74:9
[INFO] [stdout] |
[INFO] [stdout] 74 | let grid_len = sim.grid.len();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_len`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:28:9
[INFO] [stdout] |
[INFO] [stdout] 28 | let mut gif_frames = Vec::::new();
[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: function is never used: `new`
[INFO] [stdout] --> src/gif.rs:7:15
[INFO] [stdout] |
[INFO] [stdout] 7 | pub(crate) fn new() -> GifEncoder {
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `PngSequencer`
[INFO] [stdout] --> src/gif.rs:22:12
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct PngSequencer {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `avg`
[INFO] [stdout] --> src/simulation.rs:3:1
[INFO] [stdout] |
[INFO] [stdout] 3 | static mut avg: f64 = 0.0;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `HERBIVORE`
[INFO] [stdout] --> src/simulation.rs:8:12
[INFO] [stdout] |
[INFO] [stdout] 8 | PLANT, HERBIVORE, EMPTY
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `avg` should have an upper case name
[INFO] [stdout] --> src/simulation.rs:3:12
[INFO] [stdout] |
[INFO] [stdout] 3 | static mut avg: f64 = 0.0;
[INFO] [stdout] | ^^^ help: convert the identifier to upper case: `AVG`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "1cc30a780b571b5d9b01a27234924c8bea10593c53817e5abfc2c05a01118e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cc30a780b571b5d9b01a27234924c8bea10593c53817e5abfc2c05a01118e0e", kill_on_drop: false }`
[INFO] [stdout] 1cc30a780b571b5d9b01a27234924c8bea10593c53817e5abfc2c05a01118e0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3dc22f6c8ffb26b2d5b40e0ffcb3d0b8017c8dfbc0fb58bcf6283664e29235b6
[INFO] running `Command { std: "docker" "start" "-a" "3dc22f6c8ffb26b2d5b40e0ffcb3d0b8017c8dfbc0fb58bcf6283664e29235b6", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling coevolution-huegene-model v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clamp`
[INFO] [stdout] --> src/main.rs:11:42
[INFO] [stdout] |
[INFO] [stdout] 11 | use minifb::{Key, Window, WindowOptions, clamp, KeyRepeat};
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ImageEncoder`, `Rgba`
[INFO] [stdout] --> src/main.rs:14:44
[INFO] [stdout] |
[INFO] [stdout] 14 | use image::{Frame, RgbaImage, ImageBuffer, Rgba, ImageEncoder, ColorType};
[INFO] [stdout] | ^^^^ ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `image::buffer::PixelsMut`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use image::buffer::PixelsMut;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `gif_frames`
[INFO] [stdout] --> src/main.rs:28:13
[INFO] [stdout] |
[INFO] [stdout] 28 | let mut gif_frames = Vec::::new();
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gif_frames`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `total` is assigned to, but never used
[INFO] [stdout] --> src/main.rs:36:13
[INFO] [stdout] |
[INFO] [stdout] 36 | let mut total = 0;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: consider using `_total` instead
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `grid_len`
[INFO] [stdout] --> src/main.rs:74:9
[INFO] [stdout] |
[INFO] [stdout] 74 | let grid_len = sim.grid.len();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_len`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:28:9
[INFO] [stdout] |
[INFO] [stdout] 28 | let mut gif_frames = Vec::::new();
[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: function is never used: `new`
[INFO] [stdout] --> src/gif.rs:7:15
[INFO] [stdout] |
[INFO] [stdout] 7 | pub(crate) fn new() -> GifEncoder {
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `PngSequencer`
[INFO] [stdout] --> src/gif.rs:22:12
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct PngSequencer {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `avg`
[INFO] [stdout] --> src/simulation.rs:3:1
[INFO] [stdout] |
[INFO] [stdout] 3 | static mut avg: f64 = 0.0;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `HERBIVORE`
[INFO] [stdout] --> src/simulation.rs:8:12
[INFO] [stdout] |
[INFO] [stdout] 8 | PLANT, HERBIVORE, EMPTY
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `avg` should have an upper case name
[INFO] [stdout] --> src/simulation.rs:3:12
[INFO] [stdout] |
[INFO] [stdout] 3 | static mut avg: f64 = 0.0;
[INFO] [stdout] | ^^^ help: convert the identifier to upper case: `AVG`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "3dc22f6c8ffb26b2d5b40e0ffcb3d0b8017c8dfbc0fb58bcf6283664e29235b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dc22f6c8ffb26b2d5b40e0ffcb3d0b8017c8dfbc0fb58bcf6283664e29235b6", kill_on_drop: false }`
[INFO] [stdout] 3dc22f6c8ffb26b2d5b40e0ffcb3d0b8017c8dfbc0fb58bcf6283664e29235b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4f25c24261ff27815c420296687a525aa33c7f45dfc53309538769f45258bed4
[INFO] running `Command { std: "docker" "start" "-a" "4f25c24261ff27815c420296687a525aa33c7f45dfc53309538769f45258bed4", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stdout]
[INFO] [stderr] warning: unused import: `clamp`
[INFO] [stdout] running 0 tests
[INFO] [stderr] --> src/main.rs:11:42
[INFO] [stdout]
[INFO] [stderr] |
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 11 | use minifb::{Key, Window, WindowOptions, clamp, KeyRepeat};
[INFO] [stdout]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `ImageEncoder`, `Rgba`
[INFO] [stderr] --> src/main.rs:14:44
[INFO] [stderr] |
[INFO] [stderr] 14 | use image::{Frame, RgbaImage, ImageBuffer, Rgba, ImageEncoder, ColorType};
[INFO] [stderr] | ^^^^ ^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `image::buffer::PixelsMut`
[INFO] [stderr] --> src/main.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | use image::buffer::PixelsMut;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `gif_frames`
[INFO] [stderr] --> src/main.rs:28:13
[INFO] [stderr] |
[INFO] [stderr] 28 | let mut gif_frames = Vec::::new();
[INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gif_frames`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: variable `total` is assigned to, but never used
[INFO] [stderr] --> src/main.rs:36:13
[INFO] [stderr] |
[INFO] [stderr] 36 | let mut total = 0;
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: consider using `_total` instead
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `grid_len`
[INFO] [stderr] --> src/main.rs:74:9
[INFO] [stderr] |
[INFO] [stderr] 74 | let grid_len = sim.grid.len();
[INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_len`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/main.rs:28:9
[INFO] [stderr] |
[INFO] [stderr] 28 | let mut gif_frames = Vec::::new();
[INFO] [stderr] | ----^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `new`
[INFO] [stderr] --> src/gif.rs:7:15
[INFO] [stderr] |
[INFO] [stderr] 7 | pub(crate) fn new() -> GifEncoder {
[INFO] [stderr] | ^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: struct is never constructed: `PngSequencer`
[INFO] [stderr] --> src/gif.rs:22:12
[INFO] [stderr] |
[INFO] [stderr] 22 | pub struct PngSequencer {
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: static is never used: `avg`
[INFO] [stderr] --> src/simulation.rs:3:1
[INFO] [stderr] |
[INFO] [stderr] 3 | static mut avg: f64 = 0.0;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: variant is never constructed: `HERBIVORE`
[INFO] [stderr] --> src/simulation.rs:8:12
[INFO] [stderr] |
[INFO] [stderr] 8 | PLANT, HERBIVORE, EMPTY
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: static variable `avg` should have an upper case name
[INFO] [stderr] --> src/simulation.rs:3:12
[INFO] [stderr] |
[INFO] [stderr] 3 | static mut avg: f64 = 0.0;
[INFO] [stderr] | ^^^ help: convert the identifier to upper case: `AVG`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: `coevolution-huegene-model` (bin "coevolution-huegene-model" test) generated 12 warnings
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.88s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/coevolution_huegene_model-12aea57b52804c09)
[INFO] running `Command { std: "docker" "inspect" "4f25c24261ff27815c420296687a525aa33c7f45dfc53309538769f45258bed4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f25c24261ff27815c420296687a525aa33c7f45dfc53309538769f45258bed4", kill_on_drop: false }`
[INFO] [stdout] 4f25c24261ff27815c420296687a525aa33c7f45dfc53309538769f45258bed4