[INFO] cloning repository https://github.com/MathiasBjerggaard/3DCylinderSimulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasBjerggaard/3DCylinderSimulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F3DCylinderSimulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F3DCylinderSimulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f30e72994f531da2b60879bb3c4344f07f1beac6
[INFO] building MathiasBjerggaard/3DCylinderSimulation against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasBjerggaard%2F3DCylinderSimulation" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MathiasBjerggaard/3DCylinderSimulation
[INFO] finished tweaking git repo https://github.com/MathiasBjerggaard/3DCylinderSimulation
[INFO] tweaked toml for git repo https://github.com/MathiasBjerggaard/3DCylinderSimulation written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MathiasBjerggaard/3DCylinderSimulation on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MathiasBjerggaard/3DCylinderSimulation 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75c506ad60c61ac46283a4599118de7b2ad7179013192fe54dc8c45e435fd22a
[INFO] running `Command { std: "docker" "start" "-a" "75c506ad60c61ac46283a4599118de7b2ad7179013192fe54dc8c45e435fd22a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75c506ad60c61ac46283a4599118de7b2ad7179013192fe54dc8c45e435fd22a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75c506ad60c61ac46283a4599118de7b2ad7179013192fe54dc8c45e435fd22a", kill_on_drop: false }`
[INFO] [stdout] 75c506ad60c61ac46283a4599118de7b2ad7179013192fe54dc8c45e435fd22a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2458ac138ac0f18011857a3314ba16ae3dc2df420a2256f07c277f06d071ed2d
[INFO] running `Command { std: "docker" "start" "-a" "2458ac138ac0f18011857a3314ba16ae3dc2df420a2256f07c277f06d071ed2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling rand_distr v0.5.1
[INFO] [stderr]    Compiling Sim3D v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:392:42
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 status[particle_index] = (strand_index + 1); // Store index+1
[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] 392 -                 status[particle_index] = (strand_index + 1); // Store index+1
[INFO] [stdout] 392 +                 status[particle_index] = strand_index + 1 ; // Store index+1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut rng = rand::thread_rng(); // Random number generator
[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:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:133:27
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r1: f64 = rng.gen_range(-1.0..2.0); // Coefficient for v2_norm
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:134:27
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let r2: f64 = rng.gen_range(-1.0..2.0); // Coefficient for v3
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let t = rng.gen_range(-0.5..1.5);
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let theta = rng.gen_range(0.0..2.0*std::f64::consts::PI);
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::r#gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:279:46
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 let random_number: f64 = rng.r#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: value assigned to `v` is never read
[INFO] [stdout]    --> src/main.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut v = [0.0, 0.0, 0.0];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 164 |         v = [0.0, 1.0, 0.0];
[INFO] [stdout]     |         ------------------- `v` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSQRD` is never used
[INFO] [stdout]  --> src/main.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const RSQRD: f64 = 0.0025; 
[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 `Placeparticles` is never used
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn Placeparticles(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testboundpercent` is never used
[INFO] [stdout]    --> src/main.rs:421:4
[INFO] [stdout]     |
[INFO] [stdout] 421 | fn testboundpercent(status:&Vec<usize>, number:usize)->String{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `PosWriter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut PosWriter = BufWriter::new(file);  
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `pos_writer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDfile` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let TTDfile = OpenOptions::new()
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `ttdfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDwriter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut TTDwriter = BufWriter::new(TTDfile);  
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `ttdwriter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Save(&dna,&particles,&mut PosWriter);
[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] 36 |     let _ = Save(&dna,&particles,&mut PosWriter);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     saveboundpercent(boundpercent, &mut TTDwriter); // For finding the amount bound to ANY ROD AT ANY POINT!
[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] 51 |     let _ = saveboundpercent(boundpercent, &mut TTDwriter); // For finding the amount bound to ANY ROD AT ANY POINT!
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PlaceparticlesonDNA` should have a snake case name
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn PlaceparticlesonDNA(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticleson_dna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Placeparticles` should have a snake case name
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn Placeparticles(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DNAdirection` should have a snake case name
[INFO] [stdout]    --> src/main.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |             let DNAdirection = dna[status[i]-1].1.clone();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `dnadirection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DNAcenter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:272:17
[INFO] [stdout]     |
[INFO] [stdout] 272 |             let DNAcenter = dna[status[i]-1].0.clone();
[INFO] [stdout]     |                 ^^^^^^^^^ help: convert the identifier to snake case: `dnacenter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Save` should have a snake case name
[INFO] [stdout]    --> src/main.rs:433:4
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn Save(
[INFO] [stdout]     |    ^^^^ help: convert the identifier to snake case (notice the capitalization): `save`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDPosWriter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:458:44
[INFO] [stdout]     |
[INFO] [stdout] 458 | fn saveboundpercent(boundpercent:Vec<i32>, TTDPosWriter: &mut BufWriter<File>)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |                                            ^^^^^^^^^^^^ help: convert the identifier to snake case: `ttdpos_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.89s
[INFO] running `Command { std: "docker" "inspect" "2458ac138ac0f18011857a3314ba16ae3dc2df420a2256f07c277f06d071ed2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2458ac138ac0f18011857a3314ba16ae3dc2df420a2256f07c277f06d071ed2d", kill_on_drop: false }`
[INFO] [stdout] 2458ac138ac0f18011857a3314ba16ae3dc2df420a2256f07c277f06d071ed2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 021135cc4d35fcd2c52a6c232588dcae2a18975afb456817d847a48be7829a32
[INFO] running `Command { std: "docker" "start" "-a" "021135cc4d35fcd2c52a6c232588dcae2a18975afb456817d847a48be7829a32", kill_on_drop: false }`
[INFO] [stderr]    Compiling Sim3D v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:392:42
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 status[particle_index] = (strand_index + 1); // Store index+1
[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] 392 -                 status[particle_index] = (strand_index + 1); // Store index+1
[INFO] [stdout] 392 +                 status[particle_index] = strand_index + 1 ; // Store index+1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/main.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut rng = rand::thread_rng(); // Random number generator
[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:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:133:27
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r1: f64 = rng.gen_range(-1.0..2.0); // Coefficient for v2_norm
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:134:27
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let r2: f64 = rng.gen_range(-1.0..2.0); // Coefficient for v3
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let t = rng.gen_range(-0.5..1.5);
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/main.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let theta = rng.gen_range(0.0..2.0*std::f64::consts::PI);
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::r#gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/main.rs:279:46
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 let random_number: f64 = rng.r#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: value assigned to `v` is never read
[INFO] [stdout]    --> src/main.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut v = [0.0, 0.0, 0.0];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 164 |         v = [0.0, 1.0, 0.0];
[INFO] [stdout]     |         ------------------- `v` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSQRD` is never used
[INFO] [stdout]  --> src/main.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const RSQRD: f64 = 0.0025; 
[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 `Placeparticles` is never used
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn Placeparticles(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testboundpercent` is never used
[INFO] [stdout]    --> src/main.rs:421:4
[INFO] [stdout]     |
[INFO] [stdout] 421 | fn testboundpercent(status:&Vec<usize>, number:usize)->String{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `PosWriter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut PosWriter = BufWriter::new(file);  
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `pos_writer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDfile` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let TTDfile = OpenOptions::new()
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `ttdfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDwriter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut TTDwriter = BufWriter::new(TTDfile);  
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `ttdwriter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Save(&dna,&particles,&mut PosWriter);
[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] 36 |     let _ = Save(&dna,&particles,&mut PosWriter);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     saveboundpercent(boundpercent, &mut TTDwriter); // For finding the amount bound to ANY ROD AT ANY POINT!
[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] 51 |     let _ = saveboundpercent(boundpercent, &mut TTDwriter); // For finding the amount bound to ANY ROD AT ANY POINT!
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PlaceparticlesonDNA` should have a snake case name
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn PlaceparticlesonDNA(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticleson_dna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Placeparticles` should have a snake case name
[INFO] [stdout]    --> src/main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn Placeparticles(number: usize, dna: &Vec<(Vec<f64>, Vec<f64>)>) -> Vec<Vec<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `placeparticles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DNAdirection` should have a snake case name
[INFO] [stdout]    --> src/main.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |             let DNAdirection = dna[status[i]-1].1.clone();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `dnadirection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DNAcenter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:272:17
[INFO] [stdout]     |
[INFO] [stdout] 272 |             let DNAcenter = dna[status[i]-1].0.clone();
[INFO] [stdout]     |                 ^^^^^^^^^ help: convert the identifier to snake case: `dnacenter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Save` should have a snake case name
[INFO] [stdout]    --> src/main.rs:433:4
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn Save(
[INFO] [stdout]     |    ^^^^ help: convert the identifier to snake case (notice the capitalization): `save`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTDPosWriter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:458:44
[INFO] [stdout]     |
[INFO] [stdout] 458 | fn saveboundpercent(boundpercent:Vec<i32>, TTDPosWriter: &mut BufWriter<File>)-> Result<(), Box<dyn std::error::Error>>{
[INFO] [stdout]     |                                            ^^^^^^^^^^^^ help: convert the identifier to snake case: `ttdpos_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "021135cc4d35fcd2c52a6c232588dcae2a18975afb456817d847a48be7829a32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "021135cc4d35fcd2c52a6c232588dcae2a18975afb456817d847a48be7829a32", kill_on_drop: false }`
[INFO] [stdout] 021135cc4d35fcd2c52a6c232588dcae2a18975afb456817d847a48be7829a32
