[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] 5f52aadcc3eba4b0822443ff4ba2ebe04c11ba7a [INFO] checking bigbass1997/coevolution-huegene-model/5f52aadcc3eba4b0822443ff4ba2ebe04c11ba7a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Fcoevolution-huegene-model" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bigbass1997/coevolution-huegene-model on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b08f0f19c2d2cb576af6411917ebceba9303b6f5a425901b814ad39da36c88fb [INFO] running `Command { std: "docker" "start" "-a" "b08f0f19c2d2cb576af6411917ebceba9303b6f5a425901b814ad39da36c88fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b08f0f19c2d2cb576af6411917ebceba9303b6f5a425901b814ad39da36c88fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08f0f19c2d2cb576af6411917ebceba9303b6f5a425901b814ad39da36c88fb", kill_on_drop: false }` [INFO] [stdout] b08f0f19c2d2cb576af6411917ebceba9303b6f5a425901b814ad39da36c88fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7ddfcb508ea0059f275db3ec29ec0954b069cf1706c187e625cf12de7bfcb88 [INFO] running `Command { std: "docker" "start" "-a" "f7ddfcb508ea0059f275db3ec29ec0954b069cf1706c187e625cf12de7bfcb88", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling palette v0.6.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling minifb v0.22.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking jpeg-decoder v0.2.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling palette_derive v0.6.0 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking phf v0.9.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking image v0.24.1 [INFO] [stderr] Checking coevolution-huegene-model v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `simulation::Kind::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use simulation::Kind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/main.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use minifb::{Key, Window, WindowOptions, clamp, KeyRepeat}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Frame`, `ImageEncoder`, and `Rgba` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use image::{Frame, RgbaImage, ImageBuffer, Rgba, ImageEncoder, ColorType}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulation::Kind::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use simulation::Kind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/main.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use minifb::{Key, Window, WindowOptions, clamp, KeyRepeat}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Frame`, `ImageEncoder`, and `Rgba` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use image::{Frame, RgbaImage, ImageBuffer, Rgba, ImageEncoder, ColorType}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::codecs::png::PngEncoder::::encode`: Use `PngEncoder::write_image` instead. Beware that `write_image` has a different endianness convention [INFO] [stdout] --> src/main.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | gif::png_encoder().encode(&image, WIDTH as u32, HEIGHT as u32, ColorType::Rgba8).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut c = &mut self.grid.get_mut()[cell_index]; [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 `total` is assigned to, but never used [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut total = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::codecs::png::PngEncoder::::encode`: Use `PngEncoder::write_image` instead. Beware that `write_image` has a different endianness convention [INFO] [stdout] --> src/main.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | gif::png_encoder().encode(&image, WIDTH as u32, HEIGHT as u32, ColorType::Rgba8).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_decay` [INFO] [stdout] --> src/main.rs:81:78 [INFO] [stdout] | [INFO] [stdout] 81 | fn update(sim: &mut Simulation, buf: &mut [u32], rng: &mut oorandom::Rand32, run_decay: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_decay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/gif.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | 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: variant `HERBIVORE` is never constructed [INFO] [stdout] --> src/simulation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | PLANT, HERBIVORE, EMPTY [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/simulation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `energy_scalar` is never read [INFO] [stdout] --> src/simulation.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Bias { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 80 | pub energy_scalar: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bias` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bias_map` is never read [INFO] [stdout] --> src/simulation.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 84 | pub grid: InfCell>, [INFO] [stdout] 85 | pub bias_map: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `seed_random` is never used [INFO] [stdout] --> src/simulation.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Simulation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn seed_random(&mut self, rng: &mut oorandom::Rand32, r_bias: f32, g_bias: f32, b_bias: f32, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self { uc: UnsafeCell::new(val) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut c = &mut self.grid.get_mut()[cell_index]; [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] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total` is assigned to, but never used [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut total = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_decay` [INFO] [stdout] --> src/main.rs:81:78 [INFO] [stdout] | [INFO] [stdout] 81 | fn update(sim: &mut Simulation, buf: &mut [u32], rng: &mut oorandom::Rand32, run_decay: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_decay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/gif.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | 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: variant `HERBIVORE` is never constructed [INFO] [stdout] --> src/simulation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | PLANT, HERBIVORE, EMPTY [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/simulation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `energy_scalar` is never read [INFO] [stdout] --> src/simulation.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Bias { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 80 | pub energy_scalar: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bias` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coevolution-huegene-model` (bin "coevolution-huegene-model") due to 2 previous errors; 14 warnings emitted [INFO] [stdout] warning: field `bias_map` is never read [INFO] [stdout] --> src/simulation.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 84 | pub grid: InfCell>, [INFO] [stdout] 85 | pub bias_map: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `seed_random` is never used [INFO] [stdout] --> src/simulation.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Simulation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn seed_random(&mut self, rng: &mut oorandom::Rand32, r_bias: f32, g_bias: f32, b_bias: f32, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self { uc: UnsafeCell::new(val) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coevolution-huegene-model` (bin "coevolution-huegene-model" test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7ddfcb508ea0059f275db3ec29ec0954b069cf1706c187e625cf12de7bfcb88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ddfcb508ea0059f275db3ec29ec0954b069cf1706c187e625cf12de7bfcb88", kill_on_drop: false }` [INFO] [stdout] f7ddfcb508ea0059f275db3ec29ec0954b069cf1706c187e625cf12de7bfcb88