[INFO] cloning repository https://github.com/FutureThrone795/Plant_Evolution_Simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FutureThrone795/Plant_Evolution_Simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFutureThrone795%2FPlant_Evolution_Simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFutureThrone795%2FPlant_Evolution_Simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9db86e37bf802b2eadb5a18b747a5c648bc70f94 [INFO] testing FutureThrone795/Plant_Evolution_Simulator against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFutureThrone795%2FPlant_Evolution_Simulator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator [INFO] finished tweaking git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator [INFO] tweaked toml for git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glium v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a81b364964505d23a5bbdaa47e3ebf66f530b841121cdfb93b18b6033268cf06 [INFO] running `Command { std: "docker" "start" "-a" "a81b364964505d23a5bbdaa47e3ebf66f530b841121cdfb93b18b6033268cf06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a81b364964505d23a5bbdaa47e3ebf66f530b841121cdfb93b18b6033268cf06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81b364964505d23a5bbdaa47e3ebf66f530b841121cdfb93b18b6033268cf06", kill_on_drop: false }` [INFO] [stdout] a81b364964505d23a5bbdaa47e3ebf66f530b841121cdfb93b18b6033268cf06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d91a3105b60f4866d838eab8055fcfce57f1dbee571abc7c499f977d453e1b0 [INFO] running `Command { std: "docker" "start" "-a" "4d91a3105b60f4866d838eab8055fcfce57f1dbee571abc7c499f977d453e1b0", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling plant_evolution_simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glium::winit::dpi::LogicalSize` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::winit::dpi::LogicalSize; [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: `BranchConnection` [INFO] [stdout] --> src/plant/plant.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::plant::branch::{Branch, BranchConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModifyBranch` and `NewOffshoot` [INFO] [stdout] --> src/plant/plant.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::plant::growth_priority_item::PriorityItemType::{NewOffshoot, ModifyBranch}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/plant/genome.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/plant/plant.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | display: &glium::backend::glutin::Display, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain` [INFO] [stdout] --> src/plant/genome.rs:68:74 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn evaluate(&self, depth: usize, branch: &Branch, plant: &Plant, terrain: &Terrain) -> Option<&RuleOutcome> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/plant/growth_priority_item.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let cost = Branch::calculate_cost_from_individual_parts(strength, photoreceptiveness, water_intake, length); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `total_time` is never read [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | total_time = instant_now.duration_since(start_time).as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta_time` is never read [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | delta_time = instant_now.duration_since(prev_instant).as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "4d91a3105b60f4866d838eab8055fcfce57f1dbee571abc7c499f977d453e1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d91a3105b60f4866d838eab8055fcfce57f1dbee571abc7c499f977d453e1b0", kill_on_drop: false }` [INFO] [stdout] 4d91a3105b60f4866d838eab8055fcfce57f1dbee571abc7c499f977d453e1b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f74f51820495d42697b7b55458e9acf702091cce21dd001a284c48892ab4404 [INFO] running `Command { std: "docker" "start" "-a" "5f74f51820495d42697b7b55458e9acf702091cce21dd001a284c48892ab4404", kill_on_drop: false }` [INFO] [stderr] Compiling plant_evolution_simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glium::winit::dpi::LogicalSize` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::winit::dpi::LogicalSize; [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: `BranchConnection` [INFO] [stdout] --> src/plant/plant.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::plant::branch::{Branch, BranchConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModifyBranch` and `NewOffshoot` [INFO] [stdout] --> src/plant/plant.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::plant::growth_priority_item::PriorityItemType::{NewOffshoot, ModifyBranch}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/plant/genome.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/plant/plant.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | display: &glium::backend::glutin::Display, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain` [INFO] [stdout] --> src/plant/genome.rs:68:74 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn evaluate(&self, depth: usize, branch: &Branch, plant: &Plant, terrain: &Terrain) -> Option<&RuleOutcome> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/plant/growth_priority_item.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let cost = Branch::calculate_cost_from_individual_parts(strength, photoreceptiveness, water_intake, length); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `total_time` is never read [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | total_time = instant_now.duration_since(start_time).as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta_time` is never read [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | delta_time = instant_now.duration_since(prev_instant).as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "5f74f51820495d42697b7b55458e9acf702091cce21dd001a284c48892ab4404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f74f51820495d42697b7b55458e9acf702091cce21dd001a284c48892ab4404", kill_on_drop: false }` [INFO] [stdout] 5f74f51820495d42697b7b55458e9acf702091cce21dd001a284c48892ab4404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5512c570d1246e9513392a5109c7c6e21b74e84a41e16f64aa97d8d2491e1bb3 [INFO] running `Command { std: "docker" "start" "-a" "5512c570d1246e9513392a5109c7c6e21b74e84a41e16f64aa97d8d2491e1bb3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `glium::winit::dpi::LogicalSize` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use glium::winit::dpi::LogicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BranchConnection` [INFO] [stderr] --> src/plant/plant.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::plant::branch::{Branch, BranchConnection}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ModifyBranch` and `NewOffshoot` [INFO] [stderr] --> src/plant/plant.rs:14:60 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::plant::growth_priority_item::PriorityItemType::{NewOffshoot, ModifyBranch}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/plant/genome.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `display` [INFO] [stderr] --> src/plant/plant.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | display: &glium::backend::glutin::Display, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `terrain` [INFO] [stderr] --> src/plant/genome.rs:68:74 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn evaluate(&self, depth: usize, branch: &Branch, plant: &Plant, terrain: &Terrain) -> Option<&RuleOutcome> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cost` [INFO] [stderr] --> src/plant/growth_priority_item.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let cost = Branch::calculate_cost_from_individual_parts(strength, photoreceptiveness, water_intake, length); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stderr] [INFO] [stderr] warning: value captured by `total_time` is never read [INFO] [stderr] --> src/main.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | total_time = instant_now.duration_since(start_time).as_secs_f64(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value captured by `delta_time` is never read [INFO] [stderr] --> src/main.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | delta_time = instant_now.duration_since(prev_instant).as_secs_f64(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: `plant_evolution_simulator` (bin "plant_evolution_simulator" test) generated 9 warnings (run `cargo fix --bin "plant_evolution_simulator" -p plant_evolution_simulator --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/plant_evolution_simulator-1f31779f75d80aa7) [INFO] running `Command { std: "docker" "inspect" "5512c570d1246e9513392a5109c7c6e21b74e84a41e16f64aa97d8d2491e1bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5512c570d1246e9513392a5109c7c6e21b74e84a41e16f64aa97d8d2491e1bb3", kill_on_drop: false }` [INFO] [stdout] 5512c570d1246e9513392a5109c7c6e21b74e84a41e16f64aa97d8d2491e1bb3