[INFO] cloning repository https://github.com/linus131/DES_thermal_model [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_thermal_model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_thermal_model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_thermal_model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3588c043ddbf2ddb344eb5c7987bba1e448709e2 [INFO] checking linus131/DES_thermal_model against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FDES_thermal_model" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linus131/DES_thermal_model [INFO] finished tweaking git repo https://github.com/linus131/DES_thermal_model [INFO] tweaked toml for git repo https://github.com/linus131/DES_thermal_model written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linus131/DES_thermal_model on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/linus131/DES_thermal_model 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 776502261d611b03f908c6fa88134a2720417cf7135049850b1b208bac9cc663 [INFO] running `Command { std: "docker" "start" "-a" "776502261d611b03f908c6fa88134a2720417cf7135049850b1b208bac9cc663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "776502261d611b03f908c6fa88134a2720417cf7135049850b1b208bac9cc663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776502261d611b03f908c6fa88134a2720417cf7135049850b1b208bac9cc663", kill_on_drop: false }` [INFO] [stdout] 776502261d611b03f908c6fa88134a2720417cf7135049850b1b208bac9cc663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fe7f9ed056830262a07956ecc1b555fcf5d83ad8fbe7cebecfff9dda7797f35 [INFO] running `Command { std: "docker" "start" "-a" "6fe7f9ed056830262a07956ecc1b555fcf5d83ad8fbe7cebecfff9dda7797f35", kill_on_drop: false }` [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking DES_thermal_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `interpolator` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gcode_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)]` (part of `#[warn(unused)]`) 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/gcode_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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gcode_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)]` (part of `#[warn(unused)]`) 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/gcode_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)]` (part of `#[warn(unused)]`) 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: unnecessary parentheses around closure body [INFO] [stdout] --> src/model.rs:413:20 [INFO] [stdout] | [INFO] [stdout] 413 | || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] 413 + || Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool))); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `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: 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: unnecessary parentheses around closure body [INFO] [stdout] --> src/model.rs:413:20 [INFO] [stdout] | [INFO] [stdout] 413 | || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] 413 + || Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool))); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `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: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (layer != self.current_layer){ [INFO] [stdout] 161 + 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:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 297 - if (numthreads < maxthreads){ [INFO] [stdout] 297 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:546:52 [INFO] [stdout] | [INFO] [stdout] 546 | println!("kx ky kz {} {} {}", kx, ky, kz);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [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: unnecessary parentheses around closure body [INFO] [stdout] --> src/simpleModel.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 332 - || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] 332 + || Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool))); [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(time, 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_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: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (layer != self.current_layer){ [INFO] [stdout] 161 + 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:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 297 - if (numthreads < maxthreads){ [INFO] [stdout] 297 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:546:52 [INFO] [stdout] | [INFO] [stdout] 546 | println!("kx ky kz {} {} {}", kx, ky, kz);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [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: unnecessary parentheses around closure body [INFO] [stdout] --> src/simpleModel.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 332 - || (Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool)))); [INFO] [stdout] 332 + || Model::parallel_copy_newtemps(at1,nt1,num_threads*2, max_threads,pool))); [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(time, 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: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if (layer != self.current_layer){ [INFO] [stdout] 157 + 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.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - if (numthreads < maxthreads){ [INFO] [stdout] 292 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_iso_td_shc_td.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if (layer != self.current_layer){ [INFO] [stdout] 157 + 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.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - if (numthreads < maxthreads){ [INFO] [stdout] 292 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitives::Node` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::primitives::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - if (layer != self.current_layer){ [INFO] [stdout] 175 + 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_variable_h.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 311 - if (numthreads < maxthreads){ [INFO] [stdout] 311 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:563:52 [INFO] [stdout] | [INFO] [stdout] 563 | println!("kx ky kz {} {} {}", kx, ky, kz);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering` and `max` [INFO] [stdout] --> src/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cmp::{max, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `fs` [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpolator::*` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::interpolator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Model` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::model::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node` and `Point` [INFO] [stdout] --> src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::primitives::{Node, Point}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | if (layer != self.current_layer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - if (layer != self.current_layer){ [INFO] [stdout] 175 + 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_variable_h.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | if (numthreads < maxthreads){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 311 - if (numthreads < maxthreads){ [INFO] [stdout] 311 + if numthreads < maxthreads { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:563:52 [INFO] [stdout] | [INFO] [stdout] 563 | println!("kx ky kz {} {} {}", kx, ky, kz);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPool` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering` and `max` [INFO] [stdout] --> src/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cmp::{max, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `fs` [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use std::{fmt, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpolator::*` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::interpolator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Model` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::model::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node` and `Point` [INFO] [stdout] --> src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::primitives::{Node, Point}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file(sp_ht_cap_filename.as_str(),sp_heat_cap_step, 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:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | ... let conductivity_interpolation_table = Interpolator::read_data_from_file(conductivity_filename.as_str(),conductivity_step, maxthrea... [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:366:47 [INFO] [stdout] | [INFO] [stdout] 366 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file(sp_ht_cap_filename.as_str(),sp_heat_cap_step, 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point1` is never read [INFO] [stdout] --> src/gcode_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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point2` is never read [INFO] [stdout] --> src/gcode_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/gcode_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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `extrude` is never read [INFO] [stdout] --> src/gcode_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/gcode_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/gcode_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/gcode_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/gcode_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)]` (part of `#[warn(unused)]`) 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 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 266 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 266 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 266 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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: 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 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] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file(sp_ht_cap_filename.as_str(),sp_heat_cap_step, 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:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | ... let conductivity_interpolation_table = Interpolator::read_data_from_file(conductivity_filename.as_str(),conductivity_step, maxthrea... [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: 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/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:17 [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 | ...f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenera... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 203 | fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, _init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 203 - fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] 203 + fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | [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: `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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,_beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] 387 + pub fn group_cells_by_layers(&self,model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,_beadheight:f64)->Vec>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] 387 + pub fn group_cells_by_layers(&self,beadwidth:f64 ,model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64)->Vec>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 409 | move_speed:&Vec,bead_width:f64, _bead_height:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 409 - move_speed:&Vec,bead_width:f64, bead_height:f64, [INFO] [stdout] 409 + move_speed:&Vec,bead_width:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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] error[E0433]: failed to resolve: use of undeclared type `Interpolator` [INFO] [stdout] --> src/main.rs:366:47 [INFO] [stdout] | [INFO] [stdout] 366 | let sp_heat_cap_interpolation_table = Interpolator::read_data_from_file(sp_ht_cap_filename.as_str(),sp_heat_cap_step, 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: 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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let maxx; let miny; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let miny; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let maxx; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let maxx; let miny; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 624 | bead_width:f64, _bead_height:f64) [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 624 - bead_width:f64, bead_height:f64) [INFO] [stdout] 624 + bead_width:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64) [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 842 - let maxx; let minx ; let maxy; let miny; [INFO] [stdout] 842 + let maxx; let minx ; let maxy; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; [INFO] [stdout] | [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: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: variable does not need to be mutable [INFO] [stdout] --> src/model_generator.rs:1133:13 [INFO] [stdout] | [INFO] [stdout] 1133 | 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] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, _ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 67 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 67 + density:f64, kx:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, _kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 67 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 67 + density:f64, kx:f64, ky:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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: 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:191:151 [INFO] [stdout] | [INFO] [stdout] 191 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 191 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 191 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zval` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 133 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 133 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 133 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point1` is never read [INFO] [stdout] --> src/gcode_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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Point2` is never read [INFO] [stdout] --> src/gcode_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/gcode_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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | 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_orthotropic_td_shc.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | 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: `orientation` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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_orthotropic_td_shc.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | 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: value assigned to `extrude` is never read [INFO] [stdout] --> src/gcode_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/gcode_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/gcode_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/gcode_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: unused variable: `vol` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:316:151 [INFO] [stdout] | [INFO] [stdout] 316 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 316 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 316 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 316 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gcode_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)]` (part of `#[warn(unused)]`) 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: unused variable: `updated` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [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: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | for i in 0..nsteps { [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 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 266 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 266 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 266 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | for i in 0..(cooldown_period / dt) as usize { [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:16:74 [INFO] [stdout] | [INFO] [stdout] 16 | 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.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: 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: 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 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 216 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 216 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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: 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: 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: 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: 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: 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: 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/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/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_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: unused variable: `zval` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 129 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 129 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 129 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [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: unused variable: `elem` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [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: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | 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: 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: unused variable: `p2` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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: 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: unused variable: `ky` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, _ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 110 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 110 + density:f64, kx:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, _kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 110 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 110 + density:f64, kx:f64, ky:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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:129:17 [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 | ...f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenera... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 203 | fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, _init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 203 - fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, init_temp:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] 203 + fn new_internal(xmin:f64, xmax:f64, ymin:f64, ymax:f64, zmin:f64,zmax:f64, x_divisions:usize, y_divisions:usize, z_divisions:usize, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, element_width: f64, z_divs_per_layer: usize)->ModelGenerator{ [INFO] [stdout] | [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_iso_td_shc_td.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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,_beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] 387 + pub fn group_cells_by_layers(&self,model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:311:151 [INFO] [stdout] | [INFO] [stdout] 311 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 311 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 311 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 387 | pub fn group_cells_by_layers(&self,beadwidth:f64 ,_beadheight:f64)->Vec>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn group_cells_by_layers(&self,beadwidth:f64 ,beadheight:f64)->Vec>{ [INFO] [stdout] 387 + pub fn group_cells_by_layers(&self,beadwidth:f64 ,model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64)->Vec>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 409 | move_speed:&Vec,bead_width:f64, _bead_height:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 409 - move_speed:&Vec,bead_width:f64, bead_height:f64, [INFO] [stdout] 409 + move_speed:&Vec,bead_width:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let maxx; let miny; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let miny; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let maxx; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; let maxy; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 672 - let minx; let maxx; let miny; let maxy; [INFO] [stdout] 672 + let minx; let maxx; let miny; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 624 | bead_width:f64, _bead_height:f64) [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 624 - bead_width:f64, bead_height:f64) [INFO] [stdout] 624 + bead_width:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64) [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 842 - let maxx; let minx ; let maxy; let miny; [INFO] [stdout] 842 + let maxx; let minx ; let maxy; let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN; [INFO] [stdout] | [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: unused variable: `updated` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_iso_td_shc_td.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zval` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 147 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 147 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 147 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | 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_orthotropic_td_shc_variable_h.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | 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: `orientation` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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_orthotropic_td_shc_variable_h.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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: `conv_coeff2` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:330:51 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64,... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, _conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 330 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 330 + pub fn find_new_temp_all_split(&self, dt:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:330:152 [INFO] [stdout] | [INFO] [stdout] 330 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 330 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 330 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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: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: unused variable: `updated` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:602:21 [INFO] [stdout] | [INFO] [stdout] 602 | for i in 0..nsteps { [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_orthotropic_td_shc_variable_h.rs:632:13 [INFO] [stdout] | [INFO] [stdout] 632 | for i in 0..(cooldown_period / dt) as usize { [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: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:1133:13 [INFO] [stdout] | [INFO] [stdout] 1133 | 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: `v1` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let v1 = linesplit.next(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [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] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, _ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 67 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 67 + density:f64, kx:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | density:f64, kx:f64, ky:f64, _kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 67 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 67 + density:f64, kx:f64, ky:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [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_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: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td_con.rs:191:151 [INFO] [stdout] | [INFO] [stdout] 191 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 191 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 191 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zval` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 133 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 133 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 133 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | 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_orthotropic_td_shc.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | 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: `orientation` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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_orthotropic_td_shc.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | 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_orthotropic_td_shc.rs:316:151 [INFO] [stdout] | [INFO] [stdout] 316 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 316 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 316 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 316 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | for i in 0..nsteps { [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_orthotropic_td_shc.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | for i in 0..(cooldown_period / dt) as usize { [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:16:74 [INFO] [stdout] | [INFO] [stdout] 16 | 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 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 216 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 216 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [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] [stderr] error: could not compile `DES_thermal_simulation` (bin "DES_thermal_simulation" test) due to 4 previous errors; 193 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: `zval` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 129 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 129 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 129 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | 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.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, _ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 110 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 110 + density:f64, kx:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kz` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 110 | density:f64, kx:f64, ky:f64, _kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 110 - density:f64, kx:f64, ky:f64, kz:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] 110 + density:f64, kx:f64, ky:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, init_temp:f64,is_neighbor:[bool;6], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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_shc_td.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: unused variable: `vol` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:311:151 [INFO] [stdout] | [INFO] [stdout] 311 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 311 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 311 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated` [INFO] [stdout] --> src/model_iso_td_shc_td.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_iso_td_shc_td.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zval` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 147 | let _zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 147 - let zval = self.nodelist[node_no[kk]][2]; [INFO] [stdout] 147 + let model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN = self.nodelist[node_no[kk]][2]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let elem = [node_no[0],node_no[1],node_no[3],node_no[2],node_no[4],node_no[5],node_no[7],node_no[6]]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | 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_orthotropic_td_shc_variable_h.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | 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: `orientation` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | orientation:[f64;2],layer:usize,cell_indices:&mut Vec, node_data_storer: &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_orthotropic_td_shc_variable_h.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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: `conv_coeff2` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:330:51 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64,... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, _conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 330 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 330 + pub fn find_new_temp_all_split(&self, dt:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vol` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:330:152 [INFO] [stdout] | [INFO] [stdout] 330 | ...ut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 330 | pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, _vol:f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STEFAN_BOLTZMAN` [INFO] [stdout] | [INFO] [stdout] 330 - pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, vol:f64, [INFO] [stdout] 330 + pub fn find_new_temp_all_split(&self, dt:f64, conv_coeff2:f64, t_env:f64, temp: &mut [f64], side_area:f64, top_area:f64, sa_d_sd:f64, ta_d_td:f64, model_orthotropic_td_shc_variable_h::STEFAN_BOLTZMAN:f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | let mut updated = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | let mut updated = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/model_orthotropic_td_shc_variable_h.rs:602:21 [INFO] [stdout] | [INFO] [stdout] 602 | for i in 0..nsteps { [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_orthotropic_td_shc_variable_h.rs:632:13 [INFO] [stdout] | [INFO] [stdout] 632 | for i in 0..(cooldown_period / dt) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let v1 = linesplit.next(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `DES_thermal_simulation` (bin "DES_thermal_simulation") due to 4 previous errors; 193 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fe7f9ed056830262a07956ecc1b555fcf5d83ad8fbe7cebecfff9dda7797f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe7f9ed056830262a07956ecc1b555fcf5d83ad8fbe7cebecfff9dda7797f35", kill_on_drop: false }` [INFO] [stdout] 6fe7f9ed056830262a07956ecc1b555fcf5d83ad8fbe7cebecfff9dda7797f35