[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] building FutureThrone795/Plant_Evolution_Simulator against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFutureThrone795%2FPlant_Evolution_Simulator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FutureThrone795/Plant_Evolution_Simulator on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded glium v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de6fb992457ac622fe01ee68a29a3a35961b0f73f8d6ede7b4b8c297edfb64d5 [INFO] running `Command { std: "docker" "start" "-a" "de6fb992457ac622fe01ee68a29a3a35961b0f73f8d6ede7b4b8c297edfb64d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de6fb992457ac622fe01ee68a29a3a35961b0f73f8d6ede7b4b8c297edfb64d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6fb992457ac622fe01ee68a29a3a35961b0f73f8d6ede7b4b8c297edfb64d5", kill_on_drop: false }` [INFO] [stdout] de6fb992457ac622fe01ee68a29a3a35961b0f73f8d6ede7b4b8c297edfb64d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b19b5c3acb4d958e07053ac7c82602d0b62bde584547804148e0a1e4a43f37c [INFO] running `Command { std: "docker" "start" "-a" "9b19b5c3acb4d958e07053ac7c82602d0b62bde584547804148e0a1e4a43f37c", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [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 56.68s [INFO] running `Command { std: "docker" "inspect" "9b19b5c3acb4d958e07053ac7c82602d0b62bde584547804148e0a1e4a43f37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b19b5c3acb4d958e07053ac7c82602d0b62bde584547804148e0a1e4a43f37c", kill_on_drop: false }` [INFO] [stdout] 9b19b5c3acb4d958e07053ac7c82602d0b62bde584547804148e0a1e4a43f37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb98257d8ae177d291cb5bf2c8a0b18d34fc87b8738ec796cd8d27acb688751 [INFO] running `Command { std: "docker" "start" "-a" "fbb98257d8ae177d291cb5bf2c8a0b18d34fc87b8738ec796cd8d27acb688751", 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 0.83s [INFO] running `Command { std: "docker" "inspect" "fbb98257d8ae177d291cb5bf2c8a0b18d34fc87b8738ec796cd8d27acb688751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb98257d8ae177d291cb5bf2c8a0b18d34fc87b8738ec796cd8d27acb688751", kill_on_drop: false }` [INFO] [stdout] fbb98257d8ae177d291cb5bf2c8a0b18d34fc87b8738ec796cd8d27acb688751