[INFO] cloning repository https://github.com/linus131/DES_FE_viscous_thermomechanical [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linus131/DES_FE_viscous_thermomechanical" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_FE_viscous_thermomechanical", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_FE_viscous_thermomechanical'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52694b5890909fe3ca17e1ba6a1840a7c1756b15 [INFO] checking linus131/DES_FE_viscous_thermomechanical against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_FE_viscous_thermomechanical" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linus131/DES_FE_viscous_thermomechanical on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linus131/DES_FE_viscous_thermomechanical [INFO] finished tweaking git repo https://github.com/linus131/DES_FE_viscous_thermomechanical [INFO] tweaked toml for git repo https://github.com/linus131/DES_FE_viscous_thermomechanical written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/linus131/DES_FE_viscous_thermomechanical 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.134 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aedf2e770a4c487ca61486c9bfa7b6d3ada6883293efe2a7d8d21b74c9620e5 [INFO] running `Command { std: "docker" "start" "-a" "1aedf2e770a4c487ca61486c9bfa7b6d3ada6883293efe2a7d8d21b74c9620e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aedf2e770a4c487ca61486c9bfa7b6d3ada6883293efe2a7d8d21b74c9620e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aedf2e770a4c487ca61486c9bfa7b6d3ada6883293efe2a7d8d21b74c9620e5", kill_on_drop: false }` [INFO] [stdout] 1aedf2e770a4c487ca61486c9bfa7b6d3ada6883293efe2a7d8d21b74c9620e5 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f984f728f3326451cc4dcb1101e6f10bdc4137196e50269c24fc9752b3b598bf [INFO] running `Command { std: "docker" "start" "-a" "f984f728f3326451cc4dcb1101e6f10bdc4137196e50269c24fc9752b3b598bf", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atomistic_thermal_analysis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `interpolator` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `interpolator`, create file "src/interpolator.rs" or "src/interpolator/mod.rs" [INFO] [stdout] = note: if there is a `mod interpolator` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `interpolator` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `interpolator`, create file "src/interpolator.rs" or "src/interpolator/mod.rs" [INFO] [stdout] = note: if there is a `mod interpolator` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/simpleModel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/simpleModel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interpolator::Interpolator` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::interpolator::Interpolator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Interpolator` in `interpolator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gode_reader.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | if (nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z') { [INFO] [stdout] 106 + if nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gode_reader.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | if (self.is_extrusion_on[i]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (self.is_extrusion_on[i]) { [INFO] [stdout] 156 + if self.is_extrusion_on[i] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (layer != self.current_layer){ [INFO] [stdout] 98 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - if (numthreads < maxthreads){ [INFO] [stdout] 247 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | if (interface_temp > self.tr_interpolation_table.xvalues[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 371 - if (interface_temp > self.tr_interpolation_table.xvalues[0]) { [INFO] [stdout] 371 + if interface_temp > self.tr_interpolation_table.xvalues[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | ///let mut cts_dat = Vec::with_capacity(100000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | / for i in 0..60 { [INFO] [stdout] 527 | | global_time = global_time+1.0; [INFO] [stdout] 528 | | mdl.run_model(1.0, dt, conv_coeff, t_env, bw, &mut global_time, &pool, areas_and_dists, &mut temporary_templist, [INFO] [stdout] 529 | | maxthreads,&cell_indices, &mut datastorer); [INFO] [stdout] 530 | | [INFO] [stdout] 531 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `fs` [INFO] [stdout] --> src/model_generator.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if ((i +1) % xincr == 0) {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - if ((i +1) % xincr == 0) {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] 333 + if (i +1) % xincr == 0 {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | if (i % xincr == 0) {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - if (i % xincr == 0) {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] 334 + if i % xincr == 0 {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | if (xyincr - i % xyincr <= xincr ) {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if (xyincr - i % xyincr <= xincr ) {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] 335 + if xyincr - i % xyincr <= xincr {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | if (i % xyincr < xincr) {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - if (i % xyincr < xincr) {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] 336 + if i % xyincr < xincr {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if (i >= xyincr*(z_divisions-2)) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - if (i >= xyincr*(z_divisions-2)) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] 337 + if i >= xyincr*(z_divisions-2) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | if (i < xyincr) {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - if (i < xyincr) {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] 338 + if i < xyincr {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | if (err < 12.0 * bead_width) {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - if (err < 12.0 * bead_width) {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] 459 + if err < 12.0 * bead_width {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:699:24 [INFO] [stdout] | [INFO] [stdout] 699 | if (err < 12.0 * bead_width){ cells_to_check.push(ii);} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 699 - if (err < 12.0 * bead_width){ cells_to_check.push(ii);} [INFO] [stdout] 699 + if err < 12.0 * bead_width { cells_to_check.push(ii);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:791:11 [INFO] [stdout] | [INFO] [stdout] 791 | if(center.x>pts[0].x && center.x pts[0].y && center.ypts[0].x && center.x pts[0].y && center.ypts[0].x && center.x pts[0].y && center.y src/model_generator.rs:843:12 [INFO] [stdout] | [INFO] [stdout] 843 | if (p.x>r.x) {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 843 - if (p.x>r.x) {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] 843 + if p.x>r.x {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:844:12 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 844 - if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] 844 + if p.y>r.y {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model_generator.rs:856:19 [INFO] [stdout] | [INFO] [stdout] 856 | let col = ((q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 856 - let col = ((q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)); [INFO] [stdout] 856 + let col = (q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - if (layer != self.current_layer){ [INFO] [stdout] 74 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (numthreads < maxthreads){ [INFO] [stdout] 172 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if (newtemp.len()>62) {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 283 - if (newtemp.len()>62) {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] 283 + if newtemp.len()>62 {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (layer != self.current_layer){ [INFO] [stdout] 80 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - if (numthreads < maxthreads){ [INFO] [stdout] 189 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | if (newtemp.len()>12473) {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - if (newtemp.len()>12473) {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] 413 + if newtemp.len()>12473 {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/simpleModel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/simpleModel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/simpleModel.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (layer != self.current_layer){ [INFO] [stdout] 84 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/simpleModel.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (numthreads < maxthreads){ [INFO] [stdout] 197 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/simpleModel.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | ///let mut cts_dat = Vec::with_capacity(100000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | / for i in 0..60 { [INFO] [stdout] 446 | | global_time = global_time+1.0; [INFO] [stdout] 447 | | mdl.run_model(1.0, dt, conv_coeff, t_env, bw, &mut global_time, &pool, areas_and_dists, &mut temporary_templist, [INFO] [stdout] 448 | | maxthreads,&cell_indices, &mut datastorer); [INFO] [stdout] 449 | | [INFO] [stdout] 450 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (layer != self.current_layer){ [INFO] [stdout] 142 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - if (numthreads < maxthreads){ [INFO] [stdout] 277 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if (self.templist.len() > elemno) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (self.templist.len() > elemno) { [INFO] [stdout] 407 + if self.templist.len() > elemno { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/structural_model2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/structural_model2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/sparse_matrix_new.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHasher` [INFO] [stdout] --> src/sparse_matrix_new.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_hash::{FxHashMap,FxHasher}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sparse_matrix_new.rs:187:43 [INFO] [stdout] | [INFO] [stdout] 187 | let data_borrow_tmp:&[Vec] = (self.data.borrow()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - let data_borrow_tmp:&[Vec] = (self.data.borrow()); [INFO] [stdout] 187 + let data_borrow_tmp:&[Vec] = self.data.borrow(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sparse_matrix_new.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if (sumri src/sparse_matrix_new.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | if (sumri src/sparse_matrix_new.rs:706:16 [INFO] [stdout] | [INFO] [stdout] 706 | if (sumri src/gode_reader.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | if (nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z') { [INFO] [stdout] 106 + if nextk2chars == 'X' || nextk2chars == 'Y' || nextk2chars =='Z' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gode_reader.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | if (self.is_extrusion_on[i]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (self.is_extrusion_on[i]) { [INFO] [stdout] 156 + if self.is_extrusion_on[i] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `max` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::cmp::{max, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (layer != self.current_layer){ [INFO] [stdout] 98 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{BufRead, BufReader, BufWriter, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - if (numthreads < maxthreads){ [INFO] [stdout] 247 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | if (interface_temp > self.tr_interpolation_table.xvalues[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 371 - if (interface_temp > self.tr_interpolation_table.xvalues[0]) { [INFO] [stdout] 371 + if interface_temp > self.tr_interpolation_table.xvalues[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `fs` [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | ///let mut cts_dat = Vec::with_capacity(100000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | / for i in 0..60 { [INFO] [stdout] 527 | | global_time = global_time+1.0; [INFO] [stdout] 528 | | mdl.run_model(1.0, dt, conv_coeff, t_env, bw, &mut global_time, &pool, areas_and_dists, &mut temporary_templist, [INFO] [stdout] 529 | | maxthreads,&cell_indices, &mut datastorer); [INFO] [stdout] 530 | | [INFO] [stdout] 531 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpolator::*` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::interpolator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Model` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `fs` [INFO] [stdout] --> src/model_generator.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::primitives::{Node, Point}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if ((i +1) % xincr == 0) {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - if ((i +1) % xincr == 0) {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] 333 + if (i +1) % xincr == 0 {bool_neighbor[0] = false} // has no neighbor in front (+x dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | temp_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - temp_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] 255 + temp_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | if (i % xincr == 0) {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - if (i % xincr == 0) {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] 334 + if i % xincr == 0 {bool_neighbor[1] = false} // has no neighbor in back (-x dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | G_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * G_units); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - G_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * G_units); [INFO] [stdout] 256 + G_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64") * G_units); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | if (xyincr - i % xyincr <= xincr ) {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if (xyincr - i % xyincr <= xincr ) {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] 335 + if xyincr - i % xyincr <= xincr {bool_neighbor[2] = false} // has no neighbor in left (+y dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | n_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * n_units); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 257 - n_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * n_units); [INFO] [stdout] 257 + n_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64") * n_units); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | if (i % xyincr < xincr) {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - if (i % xyincr < xincr) {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] 336 + if i % xyincr < xincr {bool_neighbor[3] = false} // has no neighbor in right (-y dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | tandel_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - tandel_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] 258 + tandel_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if (i >= xyincr*(z_divisions-2)) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - if (i >= xyincr*(z_divisions-2)) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] 337 + if i >= xyincr*(z_divisions-2) {bool_neighbor[4] = false} // has no neighbor on top (+z dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | if (i < xyincr) {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - if (i < xyincr) {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] 338 + if i < xyincr {bool_neighbor[5] = false} // has no neighbor on bottom (-z dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | if (err < 12.0 * bead_width) {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - if (err < 12.0 * bead_width) {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] 459 + if err < 12.0 * bead_width {cells_to_check.push(ii);} // need to check why 12 is the magic number?? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:699:24 [INFO] [stdout] | [INFO] [stdout] 699 | if (err < 12.0 * bead_width){ cells_to_check.push(ii);} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 699 - if (err < 12.0 * bead_width){ cells_to_check.push(ii);} [INFO] [stdout] 699 + if err < 12.0 * bead_width { cells_to_check.push(ii);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:791:11 [INFO] [stdout] | [INFO] [stdout] 791 | if(center.x>pts[0].x && center.x pts[0].y && center.ypts[0].x && center.x pts[0].y && center.ypts[0].x && center.x pts[0].y && center.y src/model_generator.rs:843:12 [INFO] [stdout] | [INFO] [stdout] 843 | if (p.x>r.x) {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 843 - if (p.x>r.x) {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] 843 + if p.x>r.x {maxx = p.x; minx = r.x} else {maxx = r.x; minx = p.x} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_generator.rs:844:12 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 844 - if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] 844 + if p.y>r.y {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model_generator.rs:856:19 [INFO] [stdout] | [INFO] [stdout] 856 | let col = ((q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 856 - let col = ((q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)); [INFO] [stdout] 856 + let col = (q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - if (layer != self.current_layer){ [INFO] [stdout] 74 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (numthreads < maxthreads){ [INFO] [stdout] 172 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if (newtemp.len()>62) {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 283 - if (newtemp.len()>62) {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] 283 + if newtemp.len()>62 {write!(file, "{},{}\n", newtemp[62].clone(), global_time); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (layer != self.current_layer){ [INFO] [stdout] 80 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - if (numthreads < maxthreads){ [INFO] [stdout] 189 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | if (newtemp.len()>12473) {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - if (newtemp.len()>12473) {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] 413 + if newtemp.len()>12473 {write!(file, "{},{}\n", newtemp[12473].clone(), global_time ); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/simpleModel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/simpleModel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/simpleModel.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (layer != self.current_layer){ [INFO] [stdout] 84 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/simpleModel.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (numthreads < maxthreads){ [INFO] [stdout] 197 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/simpleModel.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | ///let mut cts_dat = Vec::with_capacity(100000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | / for i in 0..60 { [INFO] [stdout] 446 | | global_time = global_time+1.0; [INFO] [stdout] 447 | | mdl.run_model(1.0, dt, conv_coeff, t_env, bw, &mut global_time, &pool, areas_and_dists, &mut temporary_templist, [INFO] [stdout] 448 | | maxthreads,&cell_indices, &mut datastorer); [INFO] [stdout] 449 | | [INFO] [stdout] 450 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (layer != self.current_layer){ [INFO] [stdout] 142 + if layer != self.current_layer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - if (numthreads < maxthreads){ [INFO] [stdout] 277 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_con_visco.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if (self.templist.len() > elemno) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (self.templist.len() > elemno) { [INFO] [stdout] 407 + if self.templist.len() > elemno { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/structural_model2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/structural_model2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/sparse_matrix_new.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHasher` [INFO] [stdout] --> src/sparse_matrix_new.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_hash::{FxHashMap,FxHasher}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sparse_matrix_new.rs:187:43 [INFO] [stdout] | [INFO] [stdout] 187 | let data_borrow_tmp:&[Vec] = (self.data.borrow()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - let data_borrow_tmp:&[Vec] = (self.data.borrow()); [INFO] [stdout] 187 + let data_borrow_tmp:&[Vec] = self.data.borrow(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sparse_matrix_new.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if (sumri src/sparse_matrix_new.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | if (sumri src/sparse_matrix_new.rs:706:16 [INFO] [stdout] | [INFO] [stdout] 706 | if (sumri src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `max` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::cmp::{max, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{BufRead, BufReader, BufWriter, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `fs` [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpolator::*` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::interpolator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Model` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::primitives::{Node, Point}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | temp_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - temp_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] 255 + temp_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | G_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * G_units); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - G_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * G_units); [INFO] [stdout] 256 + G_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64") * G_units); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | n_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * n_units); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 257 - n_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64") * n_units); [INFO] [stdout] 257 + n_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64") * n_units); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | tandel_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - tandel_vis.push(f64::from_str((data.next().expect("cant get next"))).expect("cant convert to f64")); [INFO] [stdout] 258 + tandel_vis.push(f64::from_str(data.next().expect("cant get next")).expect("cant convert to f64")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file("input/sp_heat_cap_data.csv",1.0,maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Interpolator::new(temps.clone(), conductivity.clone(), xstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let G_interp = Interpolator::new(temp_vis.clone(),G_vis,tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | let n_interp = Interpolator::new(temp_vis.clone(), n_vis, tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | let tandel_interp = Interpolator::new(temp_vis, tandel_vis, tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point1` is never read [INFO] [stdout] --> src/gode_reader.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut Point1 = Point{x:0.0,y:0.0,z:0.0,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point2` is never read [INFO] [stdout] --> src/gode_reader.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut Point2 = Point{x:0.0,y:0.0,z:0.0,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_true` [INFO] [stdout] --> src/gode_reader.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let is_true = file_output.2[i]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_true` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `extrude` is never read [INFO] [stdout] --> src/gode_reader.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut extrude = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `moveupdate` is never read [INFO] [stdout] --> src/gode_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut moveupdate = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `moveupdate` is never read [INFO] [stdout] --> src/gode_reader.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | moveupdate = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/gode_reader.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | ... Err(E) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gode_reader.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut codedump = File::create(filename).expect("can't create the specified file"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model.rs:266:151 [INFO] [stdout] | [INFO] [stdout] 266 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file("input/sp_heat_cap_data.csv",1.0,maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Interpolator::new(temps.clone(), conductivity.clone(), xstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let G_interp = Interpolator::new(temp_vis.clone(),G_vis,tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | let n_interp = Interpolator::new(temp_vis.clone(), n_vis, tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | let tandel_interp = Interpolator::new(temp_vis, tandel_vis, tempstep, maxthreads); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Interpolator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut store_temp_data = Vec::with_capacity(mu.activation_times.len()); [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/model.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut store_global_time = Vec::with_capacity(mu.activation_times.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point1` is never read [INFO] [stdout] --> src/gode_reader.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut Point1 = Point{x:0.0,y:0.0,z:0.0,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point2` is never read [INFO] [stdout] --> src/gode_reader.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut Point2 = Point{x:0.0,y:0.0,z:0.0,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_true` [INFO] [stdout] --> src/gode_reader.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let is_true = file_output.2[i]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_true` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `extrude` is never read [INFO] [stdout] --> src/gode_reader.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut extrude = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `moveupdate` is never read [INFO] [stdout] --> src/gode_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut moveupdate = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `moveupdate` is never read [INFO] [stdout] --> src/gode_reader.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | moveupdate = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/gode_reader.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | ... Err(E) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut base_filename = filename.to_string(); [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/model_generator.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut file1 = File::create(fn1).expect("can't create the file"); [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/model_generator.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut file2 = File::create(fn2).expect("can't create the file"); [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/model_generator.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut file3 = File::create(fn3).expect("can't create the file"); [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/model_generator.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file4 = File::create(fn4).expect("can't create the file"); [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/model_generator.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file5 = File::create(fn5).expect("can't create the file"); [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/model_generator.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut file6 = File::create(fn6).expect("can't create the file"); [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/model_generator.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut base_filename = filename.to_string(); [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/model_generator.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut file1 = File::open(fn1).expect("can't open the file"); [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/model_generator.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut file2 = File::open(fn2).expect("can't open the file"); [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/model_generator.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut file3 = File::open(fn3).expect("can't open the file"); [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/model_generator.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut file4 = File::open(fn4).expect("can't open the file"); [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/model_generator.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut file5 = File::open(fn5).expect("can't open the file"); [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/model_generator.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut file6 = File::open(fn6).expect("can't open the file"); [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/model_generator.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut bf2 = BufReader::with_capacity(100000,file2); [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/gode_reader.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut codedump = File::create(filename).expect("can't create the specified file"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut bf3 = BufReader::with_capacity(100000,file3); [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/model_generator.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bf4 = BufReader::with_capacity(100000,file4); [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/model_generator.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut bf5 = BufReader::with_capacity(100000,file5); [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/model_generator.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut bf6 = BufReader::with_capacity(100000,file6); [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/model_generator.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let mut tmpi = i.expect("can't read string"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut tmpi = i.expect("can't read string"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_temp` [INFO] [stdout] --> src/model_generator.rs:203:137 [INFO] [stdout] | [INFO] [stdout] 203 | ...usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/model_generator.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | let index = ((i)*y_divisions+j)*z_divisions+k; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | for i in 0..num_cells{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | for i in 0..numlayers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `newz` is never read [INFO] [stdout] --> src/model_generator.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | newz = segments[i][0].z; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | for i in 0..num_layers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beadwidth` [INFO] [stdout] --> src/model_generator.rs:387:40 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beadwidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beadheight` [INFO] [stdout] --> src/model_generator.rs:387:55 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beadheight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | for i in 0..num_cells_in_layer{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model.rs:266:151 [INFO] [stdout] | [INFO] [stdout] 266 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bead_height` [INFO] [stdout] --> src/model_generator.rs:409:85 [INFO] [stdout] | [INFO] [stdout] 409 | ... move_speed:&Vec,bead_width:f64, bead_height:f64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bead_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `celllist_layer` [INFO] [stdout] --> src/model_generator.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | ... celllist_layer:&Vec, layer_no:usize, num_cells_in_layer:usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_celllist_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpc0` [INFO] [stdout] --> src/model_generator.rs:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | let (grpc0,grpc1) = grps_cells.split_at(num_layers/2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpc1` [INFO] [stdout] --> src/model_generator.rs:535:20 [INFO] [stdout] | [INFO] [stdout] 535 | let (grpc0,grpc1) = grps_cells.split_at(num_layers/2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leg0` [INFO] [stdout] --> src/model_generator.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | let (leg0, leg1) = layer_end_time_grp.split_at_mut(num_layers/2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leg0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leg1` [INFO] [stdout] --> src/model_generator.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | let (leg0, leg1) = layer_end_time_grp.split_at_mut(num_layers/2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | for i in 0..num_layers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | for i in 0..num_cells_in_layer*num_layers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minx` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:21 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_minx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxx` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:31 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_maxx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `miny` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:41 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_miny` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxy` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:51 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_maxy` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `minx` is never read [INFO] [stdout] --> src/model_generator.rs:673:62 [INFO] [stdout] | [INFO] [stdout] 673 | if current_segment[0].x>current_segment[1].x{minx = current_segment[1].x; maxx = current_segment[0].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxx` is never read [INFO] [stdout] --> src/model_generator.rs:673:91 [INFO] [stdout] | [INFO] [stdout] 673 | if current_segment[0].x>current_segment[1].x{minx = current_segment[1].x; maxx = current_segment[0].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `minx` is never read [INFO] [stdout] --> src/model_generator.rs:674:23 [INFO] [stdout] | [INFO] [stdout] 674 | else {minx = current_segment[0].x; maxx = current_segment[1].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxx` is never read [INFO] [stdout] --> src/model_generator.rs:674:52 [INFO] [stdout] | [INFO] [stdout] 674 | else {minx = current_segment[0].x; maxx = current_segment[1].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:675:62 [INFO] [stdout] | [INFO] [stdout] 675 | if current_segment[0].y>current_segment[1].y{miny = current_segment[1].y; maxy = current_segment[0].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxy` is never read [INFO] [stdout] --> src/model_generator.rs:675:91 [INFO] [stdout] | [INFO] [stdout] 675 | if current_segment[0].y>current_segment[1].y{miny = current_segment[1].y; maxy = current_segment[0].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:676:23 [INFO] [stdout] | [INFO] [stdout] 676 | else {miny = current_segment[0].y; maxy = current_segment[1].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxy` is never read [INFO] [stdout] --> src/model_generator.rs:676:52 [INFO] [stdout] | [INFO] [stdout] 676 | else {miny = current_segment[0].y; maxy = current_segment[1].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bead_height` [INFO] [stdout] --> src/model_generator.rs:624:54 [INFO] [stdout] | [INFO] [stdout] 624 | ... bead_width:f64, bead_height:f64) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bead_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut store_temp_data = Vec::with_capacity(mu.activation_times.len()); [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/model.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut store_global_time = Vec::with_capacity(mu.activation_times.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `miny` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:842:44 [INFO] [stdout] | [INFO] [stdout] 842 | let maxx; let minx ; let maxy; let miny; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_miny` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:844:35 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:844:65 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let mut nodefl = File::create(nodefile).expect("can't create the nodefile at the specified location"); [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/model_generator.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | let mut elemfl = File::create(elemfile).expect("can't create the elementfile at the specified location"); [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/model_generator.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut base_filename = filename.to_string(); [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/model_generator.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut file1 = File::create(fn1).expect("can't create the file"); [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/model_generator.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut file2 = File::create(fn2).expect("can't create the file"); [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/model_generator.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut file3 = File::create(fn3).expect("can't create the file"); [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/model_generator.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 911 | let mut abaqus_input = File::create(abaqus_meshfile).expect("can't create the abaqus input file at the specified location"); [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/model_generator.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file4 = File::create(fn4).expect("can't create the file"); [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/model_generator.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file5 = File::create(fn5).expect("can't create the file"); [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/model_generator.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut file6 = File::create(fn6).expect("can't create the file"); [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/model_generator.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut abaqus_input = File::create(abaqus_meshfile).expect("can't create the nodefile at the specified location"); [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/model_generator.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | let mut uepactvol = File::create(uepactivationvolfile).expect("can't create the nodefile at the specified location"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let p1 = self.nodelist[node_no[0]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let p2 = self.nodelist[node_no[7]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ky` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ky` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut base_filename = filename.to_string(); [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/model_generator.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut file1 = File::open(fn1).expect("can't open the file"); [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/model_generator.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut file2 = File::open(fn2).expect("can't open the file"); [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/model_iso_td_shc_td_con.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut counter = self.sp_heat_cap.len(); [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/model_generator.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut file3 = File::open(fn3).expect("can't open the file"); [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/model_generator.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut file4 = File::open(fn4).expect("can't open the file"); [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/model_generator.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut file5 = File::open(fn5).expect("can't open the file"); [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/model_generator.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut file6 = File::open(fn6).expect("can't open the file"); [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/model_generator.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut bf2 = BufReader::with_capacity(100000,file2); [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/model_generator.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut bf3 = BufReader::with_capacity(100000,file3); [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/model_generator.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bf4 = BufReader::with_capacity(100000,file4); [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/model_generator.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut bf5 = BufReader::with_capacity(100000,file5); [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/model_generator.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut bf6 = BufReader::with_capacity(100000,file6); [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/model_generator.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut tmpi = i.expect("can't read string"); [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/model_generator.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut tmpi = i.expect("can't read string"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_temp` [INFO] [stdout] --> src/model_generator.rs:203:137 [INFO] [stdout] | [INFO] [stdout] 203 | ...usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/model_generator.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | let index = ((i)*y_divisions+j)*z_divisions+k; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:191:151 [INFO] [stdout] | [INFO] [stdout] 191 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | for i in 0..num_cells{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | for i in 0..numlayers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `newz` is never read [INFO] [stdout] --> src/model_generator.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | newz = segments[i][0].z; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | for i in 0..num_layers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beadwidth` [INFO] [stdout] --> src/model_generator.rs:387:40 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beadwidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beadheight` [INFO] [stdout] --> src/model_generator.rs:387:55 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beadheight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | for i in 0..num_cells_in_layer{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bead_height` [INFO] [stdout] --> src/model_generator.rs:409:85 [INFO] [stdout] | [INFO] [stdout] 409 | ... move_speed:&Vec,bead_width:f64, bead_height:f64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bead_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `celllist_layer` [INFO] [stdout] --> src/model_generator.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | ... celllist_layer:&Vec, layer_no:usize, num_cells_in_layer:usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_celllist_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mult` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let mult = &self.density_vol_sp_ht_cap[cell] * self.sp_heat_cap[cell]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:207:151 [INFO] [stdout] | [INFO] [stdout] 207 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpc0` [INFO] [stdout] --> src/model_generator.rs:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | let (grpc0,grpc1) = grps_cells.split_at(num_layers/2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpc1` [INFO] [stdout] --> src/model_generator.rs:535:20 [INFO] [stdout] | [INFO] [stdout] 535 | let (grpc0,grpc1) = grps_cells.split_at(num_layers/2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leg0` [INFO] [stdout] --> src/model_generator.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | let (leg0, leg1) = layer_end_time_grp.split_at_mut(num_layers/2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leg0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leg1` [INFO] [stdout] --> src/model_generator.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | let (leg0, leg1) = layer_end_time_grp.split_at_mut(num_layers/2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | for i in 0..num_layers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let density = input_data.1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_temp` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let init_temp = input_data.4[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_env` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let t_env = input_data.4[1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv_coeff` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let conv_coeff = input_data.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conv_coeff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_heat_cap` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let sp_heat_cap = input_data.2; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_heat_cap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_updater.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let is_cell_activated = (0..model_generator.celllist.len()).map(|i| false).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_generator.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | for i in 0..num_cells_in_layer*num_layers{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minx` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:21 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_minx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxx` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:31 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_maxx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `miny` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:41 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_miny` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxy` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:672:51 [INFO] [stdout] | [INFO] [stdout] 672 | let minx; let maxx; let miny; let maxy; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_maxy` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `minx` is never read [INFO] [stdout] --> src/model_generator.rs:673:62 [INFO] [stdout] | [INFO] [stdout] 673 | if current_segment[0].x>current_segment[1].x{minx = current_segment[1].x; maxx = current_segment[0].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxx` is never read [INFO] [stdout] --> src/model_generator.rs:673:91 [INFO] [stdout] | [INFO] [stdout] 673 | if current_segment[0].x>current_segment[1].x{minx = current_segment[1].x; maxx = current_segment[0].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `minx` is never read [INFO] [stdout] --> src/model_generator.rs:674:23 [INFO] [stdout] | [INFO] [stdout] 674 | else {minx = current_segment[0].x; maxx = current_segment[1].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxx` is never read [INFO] [stdout] --> src/model_generator.rs:674:52 [INFO] [stdout] | [INFO] [stdout] 674 | else {minx = current_segment[0].x; maxx = current_segment[1].x} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:675:62 [INFO] [stdout] | [INFO] [stdout] 675 | if current_segment[0].y>current_segment[1].y{miny = current_segment[1].y; maxy = current_segment[0].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxy` is never read [INFO] [stdout] --> src/model_generator.rs:675:91 [INFO] [stdout] | [INFO] [stdout] 675 | if current_segment[0].y>current_segment[1].y{miny = current_segment[1].y; maxy = current_segment[0].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:676:23 [INFO] [stdout] | [INFO] [stdout] 676 | else {miny = current_segment[0].y; maxy = current_segment[1].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxy` is never read [INFO] [stdout] --> src/model_generator.rs:676:52 [INFO] [stdout] | [INFO] [stdout] 676 | else {miny = current_segment[0].y; maxy = current_segment[1].y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bead_height` [INFO] [stdout] --> src/model_generator.rs:624:54 [INFO] [stdout] | [INFO] [stdout] 624 | ... bead_width:f64, bead_height:f64) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bead_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/simpleModel.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `miny` is assigned to, but never used [INFO] [stdout] --> src/model_generator.rs:842:44 [INFO] [stdout] | [INFO] [stdout] 842 | let maxx; let minx ; let maxy; let miny; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_miny` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:844:35 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `miny` is never read [INFO] [stdout] --> src/model_generator.rs:844:65 [INFO] [stdout] | [INFO] [stdout] 844 | if (p.y>r.y) {maxy = p.y; miny = r.y} else {maxy = r.y; miny = p.y} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simpleModel.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/simpleModel.rs:216:151 [INFO] [stdout] | [INFO] [stdout] 216 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let mut nodefl = File::create(nodefile).expect("can't create the nodefile at the specified location"); [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/model_generator.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | let mut elemfl = File::create(elemfile).expect("can't create the elementfile at the specified location"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inactive_temps` [INFO] [stdout] --> src/simpleModel.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | let (inactive_temps,active_temps) = newtemp.split_at_mut(self.active_layer_first_element); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inactive_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_cell_indices_slice` [INFO] [stdout] --> src/simpleModel.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | let (old_cell_indices_slice, new_cell_indices_slice) = cell_indices.split_at(self.active_layer_first_element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_cell_indices_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simpleModel.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/simpleModel.rs:266:78 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn run_model(&mut self, time:f64, dt:f64, conv_coeff:f64, t_env:f64, file:&mut BufWriter, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_time` [INFO] [stdout] --> src/simpleModel.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | global_time:&mut f64,pool:&ThreadPool, areas_and_dists:[f64;5], newtemp: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datastorer` [INFO] [stdout] --> src/simpleModel.rs:268:66 [INFO] [stdout] | [INFO] [stdout] 268 | maxthreads:usize, cell_indices:&Vec, datastorer:&mut (Vec>,Vec>) ) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datastorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 911 | let mut abaqus_input = File::create(abaqus_meshfile).expect("can't create the abaqus input file at the specified location"); [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/model_generator.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut abaqus_input = File::create(abaqus_meshfile).expect("can't create the nodefile at the specified location"); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simpleModel.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | let mut uepactvol = File::create(uepactivationvolfile).expect("can't create the nodefile at the specified location"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let p1 = self.nodelist[node_no[0]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let p2 = self.nodelist[node_no[7]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ky` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ky` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simpleModel.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let mut store_temp_data = Vec::with_capacity(mu.activation_times.len()); [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/simpleModel.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let mut store_global_time = Vec::with_capacity(mu.activation_times.len()); [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/model_iso_td_shc_td_con.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let p1 = self.nodelist[node_no[0]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let p2 = self.nodelist[node_no[7]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endcell` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut endcell = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cellcount` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut cellcount = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cellcount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `botcell` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut botcell:usize = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_botcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ky` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ky` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:191:151 [INFO] [stdout] | [INFO] [stdout] 191 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_iso_td_con_visco.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut counter = self.sp_heat_cap.len(); [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/model_iso_td_con_visco.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut endcell = false; [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/model_iso_td_con_visco.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut cellcount = 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/model_iso_td_con_visco.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut botcell:usize = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:296:151 [INFO] [stdout] | [INFO] [stdout] 296 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mult` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let mult = &self.density_vol_sp_ht_cap[cell] * self.sp_heat_cap[cell]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:207:151 [INFO] [stdout] | [INFO] [stdout] 207 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:618:29 [INFO] [stdout] | [INFO] [stdout] 618 | let n = temporary_nlist[i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etm1` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:621:29 [INFO] [stdout] | [INFO] [stdout] 621 | let etm1 = strain_time_dep_prev[element_no[i]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let density = input_data.1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_temp` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let init_temp = input_data.4[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_env` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let t_env = input_data.4[1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv_coeff` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let conv_coeff = input_data.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conv_coeff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_heat_cap` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let sp_heat_cap = input_data.2; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_heat_cap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_updater.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let is_cell_activated = (0..model_generator.celllist.len()).map(|i| false).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/simpleModel.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simpleModel.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut counter = self.sp_heat_cap.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/simpleModel.rs:216:151 [INFO] [stdout] | [INFO] [stdout] 216 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inactive_temps` [INFO] [stdout] --> src/simpleModel.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | let (inactive_temps,active_temps) = newtemp.split_at_mut(self.active_layer_first_element); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inactive_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_cell_indices_slice` [INFO] [stdout] --> src/simpleModel.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | let (old_cell_indices_slice, new_cell_indices_slice) = cell_indices.split_at(self.active_layer_first_element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_cell_indices_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simpleModel.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/simpleModel.rs:266:78 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn run_model(&mut self, time:f64, dt:f64, conv_coeff:f64, t_env:f64, file:&mut BufWriter, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_time` [INFO] [stdout] --> src/simpleModel.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | global_time:&mut f64,pool:&ThreadPool, areas_and_dists:[f64;5], newtemp: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datastorer` [INFO] [stdout] --> src/simpleModel.rs:268:66 [INFO] [stdout] | [INFO] [stdout] 268 | maxthreads:usize, cell_indices:&Vec, datastorer:&mut (Vec>,Vec>) ) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datastorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simpleModel.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | for i in 0..60 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simpleModel.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let mut store_temp_data = Vec::with_capacity(mu.activation_times.len()); [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/simpleModel.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let mut store_global_time = Vec::with_capacity(mu.activation_times.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let p1 = self.nodelist[node_no[0]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let p2 = self.nodelist[node_no[7]].clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endcell` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut endcell = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cellcount` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut cellcount = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cellcount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `botcell` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut botcell:usize = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_botcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ky` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ky` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_iso_td_con_visco.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut counter = self.sp_heat_cap.len(); [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/model_iso_td_con_visco.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut endcell = false; [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/model_iso_td_con_visco.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut cellcount = 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/model_iso_td_con_visco.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut botcell:usize = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:296:151 [INFO] [stdout] | [INFO] [stdout] 296 | ...:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:618:29 [INFO] [stdout] | [INFO] [stdout] 618 | let n = temporary_nlist[i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etm1` [INFO] [stdout] --> src/model_iso_td_con_visco.rs:621:29 [INFO] [stdout] | [INFO] [stdout] 621 | let etm1 = strain_time_dep_prev[element_no[i]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structural_model2.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | let mut vol = dxdydz[0] * dxdydz[1] * dxdydz[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/structural_model2.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut t1 = SparseMatrix::dense_mat_mult_easy_transpose(&Bmat, &Ctmp[0]); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numthreads` [INFO] [stdout] --> src/structural_model2.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn reset(&mut self, numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:617:79 [INFO] [stdout] | [INFO] [stdout] 617 | pub(crate) fn generate_global_stiffness_matrix_with_bc_rowwise(&mut self, num_bcs:usize){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:661:83 [INFO] [stdout] | [INFO] [stdout] 661 | pub(crate) fn generate_global_stiffness_matrix_with_bc_rowwise_par(&mut self, num_bcs:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:718:70 [INFO] [stdout] | [INFO] [stdout] 718 | pub(crate) fn generate_global_stiffness_matrix_with_bc(&mut self,num_bcs:usize){//-> SparseMatrix { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loads` [INFO] [stdout] --> src/structural_model2.rs:769:49 [INFO] [stdout] | [INFO] [stdout] 769 | pub(crate) fn calc_self_wt_loads(&mut self, loads: &Vec){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structural_model2.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let mut soln = self.ubcs.borrow_mut();//= vec![0.0;self.loads_bcs.len()]; [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/structural_model2.rs:923:13 [INFO] [stdout] | [INFO] [stdout] 923 | let mut newfile1 = File::create(nodefile).expect("cant create the file"); [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/structural_model2.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | let mut newfile2 = File::create(elemfile).expect("cant create the file"); [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/structural_model2.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | let mut newfile3 = File::create(ufile).expect("cant create the file"); [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/structural_model2.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let mut newfile4 = File::create(loadfile).expect("cant create the file"); [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/structural_model2.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let mut newfile5 = File::create(bcfile).expect("cant create the file"); [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/structural_model2.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let mut newfile6 = File::create(strainfile).expect("cant create the file"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/structural_model2.rs:1119:13 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut a = StructuralModel::with_capacity(1000,1.0,1.0,1.0,1200.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structural_model2.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | let mut vol = dxdydz[0] * dxdydz[1] * dxdydz[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/structural_model2.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut t1 = SparseMatrix::dense_mat_mult_easy_transpose(&Bmat, &Ctmp[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/structural_model2.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | let mut C2 = [ [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/structural_model2.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut a = StructuralModel::with_capacity(1000,1.0,1.0,1.0,1200.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..capacity{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numthreads` [INFO] [stdout] --> src/structural_model2.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn reset(&mut self, numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut current_size = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d2` [INFO] [stdout] --> src/sparse_matrix_new.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let (d1,d2) = data_borrow_tmp.split_at(self.current_size); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_d2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ncolsmax` [INFO] [stdout] --> src/sparse_matrix_new.rs:337:59 [INFO] [stdout] | [INFO] [stdout] 337 | pub(crate) fn from_file(filename: &str, nrows: usize, ncolsmax: usize) -> SparseMatrix{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ncolsmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | for i in 0..numelems{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbr` [INFO] [stdout] --> src/sparse_matrix_new.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let nbr = usize::from_str(split.next().expect("no next")).expect("can't parse to usize"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ncolsmax` [INFO] [stdout] --> src/sparse_matrix_new.rs:356:66 [INFO] [stdout] | [INFO] [stdout] 356 | pub(crate) fn from_file_sparse(filename: &str, nrows: usize, ncolsmax: usize) -> SparseMatrix{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ncolsmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | for i in 0..nrows{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:617:79 [INFO] [stdout] | [INFO] [stdout] 617 | pub(crate) fn generate_global_stiffness_matrix_with_bc_rowwise(&mut self, num_bcs:usize){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:661:83 [INFO] [stdout] | [INFO] [stdout] 661 | pub(crate) fn generate_global_stiffness_matrix_with_bc_rowwise_par(&mut self, num_bcs:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bcs` [INFO] [stdout] --> src/structural_model2.rs:718:70 [INFO] [stdout] | [INFO] [stdout] 718 | pub(crate) fn generate_global_stiffness_matrix_with_bc(&mut self,num_bcs:usize){//-> SparseMatrix { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loads` [INFO] [stdout] --> src/structural_model2.rs:769:49 [INFO] [stdout] | [INFO] [stdout] 769 | pub(crate) fn calc_self_wt_loads(&mut self, loads: &Vec){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structural_model2.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let mut soln = self.ubcs.borrow_mut();//= vec![0.0;self.loads_bcs.len()]; [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/structural_model2.rs:923:13 [INFO] [stdout] | [INFO] [stdout] 923 | let mut newfile1 = File::create(nodefile).expect("cant create the file"); [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/structural_model2.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | let mut newfile2 = File::create(elemfile).expect("cant create the file"); [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/structural_model2.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | let mut newfile3 = File::create(ufile).expect("cant create the file"); [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/structural_model2.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let mut newfile4 = File::create(loadfile).expect("cant create the file"); [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/structural_model2.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let mut newfile5 = File::create(bcfile).expect("cant create the file"); [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/structural_model2.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let mut newfile6 = File::create(strainfile).expect("cant create the file"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/structural_model2.rs:1119:13 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut a = StructuralModel::with_capacity(1000,1.0,1.0,1.0,1200.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | let mut ptkApk = SparseMatrix::axb_accumulate_par(p,tmp,&mut store, 1, maxthreads, pool); [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/sparse_matrix_new.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | let mut rkp1tzkp1 = SparseMatrix::axb_accumulate_par(z0,r,&mut store, 1, maxthreads,pool); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:54 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn cgsolve_incomplete_cholesky_precon(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:64 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn cgsolve_incomplete_cholesky_precon(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:78 [INFO] [stdout] | [INFO] [stdout] 725 | ...on(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:91 [INFO] [stdout] | [INFO] [stdout] 725 | ...[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:104 [INFO] [stdout] | [INFO] [stdout] 725 | ...f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numthreads` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:120 [INFO] [stdout] | [INFO] [stdout] 725 | ...ut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxthreads` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:138 [INFO] [stdout] | [INFO] [stdout] 725 | ...[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:156 [INFO] [stdout] | [INFO] [stdout] 725 | ...reads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structural_model2.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | let mut C2 = [ [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/structural_model2.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut a = StructuralModel::with_capacity(1000,1.0,1.0,1.0,1200.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..capacity{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut current_size = 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/sparse_matrix_new.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut b = vec![-1.0,1.0,2.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/sparse_matrix_new.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | let mut b = vec![1.0,2.0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d2` [INFO] [stdout] --> src/sparse_matrix_new.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let (d1,d2) = data_borrow_tmp.split_at(self.current_size); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_d2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 222 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ncolsmax` [INFO] [stdout] --> src/sparse_matrix_new.rs:337:59 [INFO] [stdout] | [INFO] [stdout] 337 | pub(crate) fn from_file(filename: &str, nrows: usize, ncolsmax: usize) -> SparseMatrix{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ncolsmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | for i in 0..numelems{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbr` [INFO] [stdout] --> src/sparse_matrix_new.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let nbr = usize::from_str(split.next().expect("no next")).expect("can't parse to usize"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ncolsmax` [INFO] [stdout] --> src/sparse_matrix_new.rs:356:66 [INFO] [stdout] | [INFO] [stdout] 356 | pub(crate) fn from_file_sparse(filename: &str, nrows: usize, ncolsmax: usize) -> SparseMatrix{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ncolsmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sparse_matrix_new.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | for i in 0..nrows{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut file = File::open(filename).expect("cant open file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomistic_thermal_analysis` (bin "atomistic_thermal_analysis") due to 12 previous errors; 222 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | let mut ptkApk = SparseMatrix::axb_accumulate_par(p,tmp,&mut store, 1, maxthreads, pool); [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/sparse_matrix_new.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | let mut rkp1tzkp1 = SparseMatrix::axb_accumulate_par(z0,r,&mut store, 1, maxthreads,pool); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:54 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn cgsolve_incomplete_cholesky_precon(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:64 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn cgsolve_incomplete_cholesky_precon(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:78 [INFO] [stdout] | [INFO] [stdout] 725 | ...on(&self, b:&[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:91 [INFO] [stdout] | [INFO] [stdout] 725 | ...[f64], x:&mut [f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:104 [INFO] [stdout] | [INFO] [stdout] 725 | ...f64], r:&mut[f64], p:&mut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numthreads` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:120 [INFO] [stdout] | [INFO] [stdout] 725 | ...ut[f64], tmp: &mut[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxthreads` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:138 [INFO] [stdout] | [INFO] [stdout] 725 | ...[f64], numthreads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxthreads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/sparse_matrix_new.rs:725:156 [INFO] [stdout] | [INFO] [stdout] 725 | ...reads:usize, maxthreads:usize, pool:&ThreadPool){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse_matrix_new.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut b = vec![-1.0,1.0,2.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/sparse_matrix_new.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | let mut b = vec![1.0,2.0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 222 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomistic_thermal_analysis` (bin "atomistic_thermal_analysis" test) due to 12 previous errors; 222 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f984f728f3326451cc4dcb1101e6f10bdc4137196e50269c24fc9752b3b598bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f984f728f3326451cc4dcb1101e6f10bdc4137196e50269c24fc9752b3b598bf", kill_on_drop: false }` [INFO] [stdout] f984f728f3326451cc4dcb1101e6f10bdc4137196e50269c24fc9752b3b598bf [INFO] checking linus131/DES_FE_viscous_thermomechanical against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_FE_viscous_thermomechanical" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linus131/DES_FE_viscous_thermomechanical on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linus131/DES_FE_viscous_thermomechanical [INFO] finished tweaking git repo https://github.com/linus131/DES_FE_viscous_thermomechanical [INFO] tweaked toml for git repo https://github.com/linus131/DES_FE_viscous_thermomechanical written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/linus131/DES_FE_viscous_thermomechanical 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46258a47408d3532485cbf90535417490dfe9fac0052599a73faf49d6710462b [INFO] running `Command { std: "docker" "start" "-a" "46258a47408d3532485cbf90535417490dfe9fac0052599a73faf49d6710462b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46258a47408d3532485cbf90535417490dfe9fac0052599a73faf49d6710462b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46258a47408d3532485cbf90535417490dfe9fac0052599a73faf49d6710462b", kill_on_drop: false }` [INFO] [stdout] 46258a47408d3532485cbf90535417490dfe9fac0052599a73faf49d6710462b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae156c953668a75c30bd36564fed20ee6bc163575ffea4a46069019120bc8dcd [INFO] running `Command { std: "docker" "start" "-a" "ae156c953668a75c30bd36564fed20ee6bc163575ffea4a46069019120bc8dcd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "ae156c953668a75c30bd36564fed20ee6bc163575ffea4a46069019120bc8dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae156c953668a75c30bd36564fed20ee6bc163575ffea4a46069019120bc8dcd", kill_on_drop: false }` [INFO] [stdout] ae156c953668a75c30bd36564fed20ee6bc163575ffea4a46069019120bc8dcd