[INFO] cloning repository https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F2D-Edge-Released-Protein-Diffusion-Simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F2D-Edge-Released-Protein-Diffusion-Simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5eceed54c48f147cc13a7bb31df5a4341637814
[INFO] checking MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F2D-Edge-Released-Protein-Diffusion-Simulation" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation
[INFO] finished tweaking git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation
[INFO] tweaked toml for git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F2D-Edge-Released-Protein-Diffusion-Simulation" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation
[INFO] finished tweaking git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation
[INFO] tweaked toml for git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MathiasBjerggaard/2D-Edge-Released-Protein-Diffusion-Simulation 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8e2ed240be2dc2e6546b093b7e35855db40f9757f660f798ead60e54c5c1520
[INFO] running `Command { std: "docker" "start" "-a" "f8e2ed240be2dc2e6546b093b7e35855db40f9757f660f798ead60e54c5c1520", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8e2ed240be2dc2e6546b093b7e35855db40f9757f660f798ead60e54c5c1520", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8e2ed240be2dc2e6546b093b7e35855db40f9757f660f798ead60e54c5c1520", kill_on_drop: false }`
[INFO] [stdout] f8e2ed240be2dc2e6546b093b7e35855db40f9757f660f798ead60e54c5c1520
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 658d57b0b95122081954fa0de539236ea83c911a9ddae9a215d4a6e8201e39f6
[INFO] running `Command { std: "docker" "start" "-a" "658d57b0b95122081954fa0de539236ea83c911a9ddae9a215d4a6e8201e39f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking Particles2D v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:80:51
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout]    |                                                   ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 - fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout] 80 + fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->Vec<f64> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:98:31
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn placedna(dnanumber:usize)->(Vec<Vec<f64>>){
[INFO] [stdout]    |                               ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 - fn placedna(dnanumber:usize)->(Vec<Vec<f64>>){
[INFO] [stdout] 98 + fn placedna(dnanumber:usize)->Vec<Vec<f64>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut rng = rand::thread_rng();
[INFO] [stdout]     |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let angle = rng.gen::<f64>() * 2.0 * std::f64::consts::PI;
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:190:37
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let random_number = rng.gen::<f64>();
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:80:51
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout]    |                                                   ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 - fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout] 80 + fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->Vec<f64> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:98:31
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn placedna(dnanumber:usize)->(Vec<Vec<f64>>){
[INFO] [stdout]    |                               ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 - fn placedna(dnanumber:usize)->(Vec<Vec<f64>>){
[INFO] [stdout] 98 + fn placedna(dnanumber:usize)->Vec<Vec<f64>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Distribution`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand_distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut done:usize = 0;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `old_particles` is never read
[INFO] [stdout]   --> src/main.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut old_particles = particles.clone();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn resetstatus(mut status: Vec<u32>, number: usize) -> Vec<u32>{
[INFO] [stdout]    |                ----^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/main.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut rng = rand::thread_rng();
[INFO] [stdout]     |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dna`
[INFO] [stdout]    --> src/main.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn Placeparticles(number:usize, dna: &mut Vec<Vec<f64>>)->Vec<Vec<f64>>{
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_dna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/main.rs:204:43
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn boundpercentfunction(status:&Vec<u32>, number:&usize)->i32{
[INFO] [stdout]     |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testboundpercent` is never used
[INFO] [stdout]    --> src/main.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn testboundpercent(status:&Vec<u32>, number:&usize)->String{
[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 `Save` is never used
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn Save(dna:&Vec<Vec<f64>>,particles:&Vec<Vec<f64>>, writer: &mut BufWriter<File>,i:usize)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let angle = rng.gen::<f64>() * 2.0 * std::f64::consts::PI;
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     saveboundpercent(boundpercent, &mut writer2);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let _ = saveboundpercent(boundpercent, &mut writer2);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Placeparticles` should have a snake case name
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn Placeparticles(number:usize, dna: &mut Vec<Vec<f64>>)->Vec<Vec<f64>>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Save` should have a snake case name
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn Save(dna:&Vec<Vec<f64>>,particles:&Vec<Vec<f64>>, writer: &mut BufWriter<File>,i:usize)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |    ^^^^ help: convert the identifier to snake case (notice the capitalization): `save`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |         writeln!(writer, "Particles start");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let _ = writeln!(writer, "Particles start");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:190:37
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let random_number = rng.gen::<f64>();
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Distribution`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand_distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut done:usize = 0;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `old_particles` is never read
[INFO] [stdout]   --> src/main.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut old_particles = particles.clone();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn resetstatus(mut status: Vec<u32>, number: usize) -> Vec<u32>{
[INFO] [stdout]    |                ----^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn placenewdna(dna: &mut Vec<Vec<f64>>, i:usize)->(Vec<f64>){
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dna`
[INFO] [stdout]    --> src/main.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn Placeparticles(number:usize, dna: &mut Vec<Vec<f64>>)->Vec<Vec<f64>>{
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_dna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/main.rs:204:43
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn boundpercentfunction(status:&Vec<u32>, number:&usize)->i32{
[INFO] [stdout]     |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let mut particles = vec![vec![0.5, 0.5], vec![0.2, 0.2]];
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut particles = vec![vec![0.5, 0.5], vec![0.2, 0.2]];
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:299:13
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let mut status = vec![0, 0];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |         let mut status = vec![0, 0];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut status = vec![0, 0];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |     let mut particles = vec![vec![0.1, 0.1], vec![0.2, 0.2]];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |     let mut status = vec![0, 999999];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Save` is never used
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn Save(dna:&Vec<Vec<f64>>,particles:&Vec<Vec<f64>>, writer: &mut BufWriter<File>,i:usize)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     saveboundpercent(boundpercent, &mut writer2);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let _ = saveboundpercent(boundpercent, &mut writer2);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Placeparticles` should have a snake case name
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn Placeparticles(number:usize, dna: &mut Vec<Vec<f64>>)->Vec<Vec<f64>>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Save` should have a snake case name
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn Save(dna:&Vec<Vec<f64>>,particles:&Vec<Vec<f64>>, writer: &mut BufWriter<File>,i:usize)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |    ^^^^ help: convert the identifier to snake case (notice the capitalization): `save`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |         writeln!(writer, "Particles start");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let _ = writeln!(writer, "Particles start");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.60s
[INFO] running `Command { std: "docker" "inspect" "658d57b0b95122081954fa0de539236ea83c911a9ddae9a215d4a6e8201e39f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "658d57b0b95122081954fa0de539236ea83c911a9ddae9a215d4a6e8201e39f6", kill_on_drop: false }`
[INFO] [stdout] 658d57b0b95122081954fa0de539236ea83c911a9ddae9a215d4a6e8201e39f6
