[INFO] cloning repository https://github.com/lucland/rust-plasma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucland/rust-plasma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucland%2Frust-plasma", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucland%2Frust-plasma'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ca82ef3371c0e926ad6d11559822f5e6b216341 [INFO] checking lucland/rust-plasma against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucland%2Frust-plasma" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucland/rust-plasma [INFO] finished tweaking git repo https://github.com/lucland/rust-plasma [INFO] tweaked toml for git repo https://github.com/lucland/rust-plasma written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucland/rust-plasma on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucland/rust-plasma 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded rhai_codegen v2.2.0 [INFO] [stderr] Downloaded approx v0.5.1 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded bumpalo v3.17.0 [INFO] [stderr] Downloaded rhai v1.21.0 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded regex v1.11.1 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded portable-atomic v1.11.0 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded humantime v2.2.0 [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded same-file v1.0.6 [INFO] [stderr] Downloaded walkdir v2.5.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded crunchy v0.2.3 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded clap_lex v0.7.4 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded rustversion v1.0.20 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bdfce00179119710a4b01aa010cf78740ce884dfb24ff0b897b584b090e59de [INFO] running `Command { std: "docker" "start" "-a" "0bdfce00179119710a4b01aa010cf78740ce884dfb24ff0b897b584b090e59de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bdfce00179119710a4b01aa010cf78740ce884dfb24ff0b897b584b090e59de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bdfce00179119710a4b01aa010cf78740ce884dfb24ff0b897b584b090e59de", kill_on_drop: false }` [INFO] [stdout] 0bdfce00179119710a4b01aa010cf78740ce884dfb24ff0b897b584b090e59de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e23d8d1ad705a1e7158d9c44743c251343bfba0f540b100c8cec0af3d8c5e40 [INFO] running `Command { std: "docker" "start" "-a" "6e23d8d1ad705a1e7158d9c44743c251343bfba0f540b100c8cec0af3d8c5e40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rhai v1.21.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking plasma_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::simulation::solver::Solver` [INFO] [stdout] --> src/simulation/parametric.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::simulation::solver::Solver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Solver` in `simulation::solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::simulation::physics::PlasmaPhysics` [INFO] [stdout] --> src/simulation/parametric.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::simulation::physics::PlasmaPhysics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PlasmaPhysics` in `simulation::physics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::simulation::solver::Solver` [INFO] [stdout] --> src/simulation/parametric.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::simulation::solver::Solver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Solver` in `simulation::solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::simulation::physics::PlasmaPhysics` [INFO] [stdout] --> src/simulation/parametric.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::simulation::physics::PlasmaPhysics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PlasmaPhysics` in `simulation::physics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp_3d` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:873:107 [INFO] [stdout] | [INFO] [stdout] 873 | ... let (grad_r, grad_theta, grad_z) = self.calculate_gradient_at_point(i, j, k, &temp_3d, mesh); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:890:47 [INFO] [stdout] | [INFO] [stdout] 890 | ... let flux_r = -THERMAL_CONDUCTIVITY * grad_r; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:891:51 [INFO] [stdout] | [INFO] [stdout] 891 | ... let flux_theta = -THERMAL_CONDUCTIVITY * grad_theta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:892:47 [INFO] [stdout] | [INFO] [stdout] 892 | ... let flux_z = -THERMAL_CONDUCTIVITY * grad_z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:901:29 [INFO] [stdout] | [INFO] [stdout] 901 | ... gradient_data.push(serde_json::Value::Object(point_data)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:907:92 [INFO] [stdout] | [INFO] [stdout] 907 | step_data.insert("gradient_data".to_string(), serde_json::Value::Array(gradient_data.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:911:93 [INFO] [stdout] | [INFO] [stdout] 911 | step_data.insert("heat_flux_data".to_string(), serde_json::Value::Array(gradient_data)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `step_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:915:52 [INFO] [stdout] | [INFO] [stdout] 915 | results.push(serde_json::Value::Object(step_data)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the binding `step_data` is available in a different scope in the same function [INFO] [stdout] --> src/simulation/metrics.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | let mut step_data = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `export_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | export_data.insert("results".to_string(), serde_json::Value::Array(results)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `export_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:921:71 [INFO] [stdout] | [INFO] [stdout] 921 | serde_json::to_writer_pretty(file, &serde_json::Value::Object(export_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `ArrayView3` [INFO] [stdout] --> src/simulation/metrics.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | use ndarray::{prelude::*, s, Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/simulation/metrics.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array3`, and `ArrayView3` [INFO] [stdout] --> src/simulation/parametric.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | use ndarray::{Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `self` [INFO] [stdout] --> src/simulation/parametric.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/simulation/physics.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use ndarray::{Array2, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `Axis` [INFO] [stdout] --> src/simulation/solver.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{Array, Array2, Array3, Axis, s, Zip}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array3`, `ArrayView3`, and `s` [INFO] [stdout] --> src/simulation/validation.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{s, Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/simulation/validation.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetricsAnalyzer` and `SimulationMetrics` [INFO] [stdout] --> src/simulation/validation.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::simulation::metrics::{SimulationMetrics, MetricsAnalyzer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/simulation/visualization.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{Array2, Array3, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/simulation/visualization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptimizationGoal`, `ParametricParameter`, `ParametricSimulationResult`, `ParametricStudyConfig`, `ParametricStudyManager`, `ParametricStudyResult`, and `ScaleType` [INFO] [stdout] --> src/simulation/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ParametricParameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ScaleType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | ParametricStudyConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | OptimizationGoal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | ParametricSimulationResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | ParametricStudyResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ParametricStudyManager [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `FnPtr` [INFO] [stdout] --> src/formula/engine.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | use rhai::{Engine, AST, Scope, Dynamic, Map, Array, FnPtr}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormulaCategory`, `FormulaEngine`, `FormulaParameter`, `FormulaResult`, `Formula`, `ParameterType`, and `ParameterValue` [INFO] [stdout] --> src/formula/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | FormulaEngine, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | Formula, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | FormulaParameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ParameterType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | ParameterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | FormulaCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | FormulaResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormulaManager` and `FunctionType` [INFO] [stdout] --> src/formula/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | FormulaManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | FunctionType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parameters` in `super` [INFO] [stdout] --> src/simulation/validation.rs:798:29 [INFO] [stdout] | [INFO] [stdout] 798 | let params = super::parameters::SimulationParameters { [INFO] [stdout] | ^^^^^^^^^^ could not find `parameters` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp_3d` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:873:107 [INFO] [stdout] | [INFO] [stdout] 873 | ... let (grad_r, grad_theta, grad_z) = self.calculate_gradient_at_point(i, j, k, &temp_3d, mesh); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:890:47 [INFO] [stdout] | [INFO] [stdout] 890 | ... let flux_r = -THERMAL_CONDUCTIVITY * grad_r; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:891:51 [INFO] [stdout] | [INFO] [stdout] 891 | ... let flux_theta = -THERMAL_CONDUCTIVITY * grad_theta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THERMAL_CONDUCTIVITY` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:892:47 [INFO] [stdout] | [INFO] [stdout] 892 | ... let flux_z = -THERMAL_CONDUCTIVITY * grad_z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:901:29 [INFO] [stdout] | [INFO] [stdout] 901 | ... gradient_data.push(serde_json::Value::Object(point_data)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:907:92 [INFO] [stdout] | [INFO] [stdout] 907 | step_data.insert("gradient_data".to_string(), serde_json::Value::Array(gradient_data.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradient_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:911:93 [INFO] [stdout] | [INFO] [stdout] 911 | step_data.insert("heat_flux_data".to_string(), serde_json::Value::Array(gradient_data)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `step_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:915:52 [INFO] [stdout] | [INFO] [stdout] 915 | results.push(serde_json::Value::Object(step_data)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the binding `step_data` is available in a different scope in the same function [INFO] [stdout] --> src/simulation/metrics.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | let mut step_data = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `export_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | export_data.insert("results".to_string(), serde_json::Value::Array(results)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `export_data` in this scope [INFO] [stdout] --> src/simulation/metrics.rs:921:71 [INFO] [stdout] | [INFO] [stdout] 921 | serde_json::to_writer_pretty(file, &serde_json::Value::Object(export_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mesh` in `super` [INFO] [stdout] --> src/simulation/validation.rs:811:27 [INFO] [stdout] | [INFO] [stdout] 811 | let mesh = super::mesh::CylindricalMesh::new( [INFO] [stdout] | ^^^^ could not find `mesh` in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 792 + use crate::simulation::validation::CylindricalMesh; [INFO] [stdout] | [INFO] [stdout] help: if you import `CylindricalMesh`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 811 - let mesh = super::mesh::CylindricalMesh::new( [INFO] [stdout] 811 + let mesh = CylindricalMesh::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solver` in `super` [INFO] [stdout] --> src/simulation/validation.rs:830:34 [INFO] [stdout] | [INFO] [stdout] 830 | let mut results = super::solver::SimulationResults { [INFO] [stdout] | ^^^^^^ could not find `solver` in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 792 + use crate::simulation::solver; [INFO] [stdout] | [INFO] [stdout] help: if you import `solver`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 830 - let mut results = super::solver::SimulationResults { [INFO] [stdout] 830 + let mut results = solver::SimulationResults { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `state` in `super` [INFO] [stdout] --> src/simulation/validation.rs:842:31 [INFO] [stdout] | [INFO] [stdout] 842 | state.status = super::state::SimulationStatus::Completed; [INFO] [stdout] | ^^^^^ could not find `state` in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 792 + use crate::simulation::state::SimulationStatus; [INFO] [stdout] | [INFO] [stdout] help: if you import `SimulationStatus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 842 - state.status = super::state::SimulationStatus::Completed; [INFO] [stdout] 842 + state.status = SimulationStatus::Completed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `ArrayView3` [INFO] [stdout] --> src/simulation/metrics.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | use ndarray::{prelude::*, s, Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/simulation/metrics.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array3`, and `ArrayView3` [INFO] [stdout] --> src/simulation/parametric.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | use ndarray::{Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `self` [INFO] [stdout] --> src/simulation/parametric.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/simulation/parametric.rs:1075:35 [INFO] [stdout] | [INFO] [stdout] 1075 | use crate::simulation::mesh::{self, CylindricalMesh}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/simulation/physics.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use ndarray::{Array2, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `Axis` [INFO] [stdout] --> src/simulation/solver.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{Array, Array2, Array3, Axis, s, Zip}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/simulation/state.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array3`, `ArrayView3`, and `s` [INFO] [stdout] --> src/simulation/validation.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{s, Array1, Array2, Array3, ArrayView3}; [INFO] [stdout] | ^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/simulation/validation.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetricsAnalyzer` and `SimulationMetrics` [INFO] [stdout] --> src/simulation/validation.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::simulation::metrics::{SimulationMetrics, MetricsAnalyzer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::simulation::mesh::CylindricalMesh` [INFO] [stdout] --> src/simulation/validation.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use crate::simulation::mesh::CylindricalMesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/simulation/visualization.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::{Array2, Array3, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptimizationGoal`, `ParametricParameter`, `ParametricSimulationResult`, `ParametricStudyConfig`, `ParametricStudyManager`, `ParametricStudyResult`, and `ScaleType` [INFO] [stdout] --> src/simulation/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ParametricParameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ScaleType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | ParametricStudyConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | OptimizationGoal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | ParametricSimulationResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | ParametricStudyResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ParametricStudyManager [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `FnPtr` [INFO] [stdout] --> src/formula/engine.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | use rhai::{Engine, AST, Scope, Dynamic, Map, Array, FnPtr}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormulaParameter` and `ParameterType` [INFO] [stdout] --> src/formula/integration.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | use crate::formula::engine::{FormulaParameter, ParameterType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormulaCategory`, `FormulaEngine`, `FormulaParameter`, `FormulaResult`, `Formula`, `ParameterType`, and `ParameterValue` [INFO] [stdout] --> src/formula/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | FormulaEngine, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | Formula, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | FormulaParameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ParameterType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | ParameterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | FormulaCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | FormulaResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormulaManager` and `FunctionType` [INFO] [stdout] --> src/formula/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | FormulaManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | FunctionType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: NdIndex>` is not satisfied [INFO] [stdout] --> src/simulation/metrics.rs:589:48 [INFO] [stdout] | [INFO] [stdout] 589 | ... temp_slice[flat_idx] [INFO] [stdout] | ^^^^^^^^ the trait `NdIndex>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `NdIndex`: [INFO] [stdout] `usize` implements `NdIndex>` [INFO] [stdout] `usize` implements `NdIndex>` [INFO] [stdout] = note: required for `ArrayBase, Dim<[usize; 2]>>` to implement `std::ops::Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `SimulationState` in the current scope [INFO] [stdout] --> src/simulation/metrics.rs:723:54 [INFO] [stdout] | [INFO] [stdout] 723 | let simulation_state = self.simulation_state.lock().map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^ method not found in `SimulationState` [INFO] [stdout] | [INFO] [stdout] ::: src/simulation/state.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SimulationState { [INFO] [stdout] | -------------------------- method `lock` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `executed_steps` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:769:28 [INFO] [stdout] | [INFO] [stdout] 769 | if step >= results.executed_steps { [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `execution_time` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:774:42 [INFO] [stdout] | [INFO] [stdout] 774 | let time_step_duration = results.execution_time / (results.executed_steps as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `executed_steps` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:774:68 [INFO] [stdout] | [INFO] [stdout] 774 | let time_step_duration = results.execution_time / (results.executed_steps as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:935:48 [INFO] [stdout] | [INFO] [stdout] 935 | None => vec![self.simulation_state.temperature_history.len() - 1], // Último passo por padrão [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:940:42 [INFO] [stdout] | [INFO] [stdout] 940 | if step >= self.simulation_state.temperature_history.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:944:50 [INFO] [stdout] | [INFO] [stdout] 944 | let temperature = &self.simulation_state.temperature_history[step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mesh` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:945:43 [INFO] [stdout] | [INFO] [stdout] 945 | let mesh = &self.simulation_state.mesh; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mesh` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1133:43 [INFO] [stdout] | [INFO] [stdout] 1133 | let mesh = &self.simulation_state.mesh; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1145:35 [INFO] [stdout] | [INFO] [stdout] 1145 | self.simulation_state.temperature_history.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time_steps` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1146:35 [INFO] [stdout] | [INFO] [stdout] 1146 | self.simulation_state.time_steps.last().unwrap_or(&0.0) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1146 | self.simulation_state.parameters.time_steps.last().unwrap_or(&0.0) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `usize` is not an iterator [INFO] [stdout] --> src/simulation/metrics.rs:1222:57 [INFO] [stdout] | [INFO] [stdout] 1222 | self.simulation_state.parameters.time_steps.last().unwrap_or(&0.0), [INFO] [stdout] | ^^^^ `usize` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `usize: std::iter::Iterator` [INFO] [stdout] which is required by `&mut usize: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: NdIndex>` is not satisfied [INFO] [stdout] --> src/simulation/metrics.rs:589:48 [INFO] [stdout] | [INFO] [stdout] 589 | ... temp_slice[flat_idx] [INFO] [stdout] | ^^^^^^^^ the trait `NdIndex>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `NdIndex`: [INFO] [stdout] `usize` implements `NdIndex>` [INFO] [stdout] `usize` implements `NdIndex>` [INFO] [stdout] = note: required for `ArrayBase, Dim<[usize; 2]>>` to implement `std::ops::Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `SimulationState` in the current scope [INFO] [stdout] --> src/simulation/metrics.rs:723:54 [INFO] [stdout] | [INFO] [stdout] 723 | let simulation_state = self.simulation_state.lock().map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^ method not found in `SimulationState` [INFO] [stdout] | [INFO] [stdout] ::: src/simulation/state.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SimulationState { [INFO] [stdout] | -------------------------- method `lock` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `executed_steps` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:769:28 [INFO] [stdout] | [INFO] [stdout] 769 | if step >= results.executed_steps { [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `execution_time` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:774:42 [INFO] [stdout] | [INFO] [stdout] 774 | let time_step_duration = results.execution_time / (results.executed_steps as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `executed_steps` on type `Vec<_>` [INFO] [stdout] --> src/simulation/metrics.rs:774:68 [INFO] [stdout] | [INFO] [stdout] 774 | let time_step_duration = results.execution_time / (results.executed_steps as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:935:48 [INFO] [stdout] | [INFO] [stdout] 935 | None => vec![self.simulation_state.temperature_history.len() - 1], // Último passo por padrão [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:940:42 [INFO] [stdout] | [INFO] [stdout] 940 | if step >= self.simulation_state.temperature_history.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:944:50 [INFO] [stdout] | [INFO] [stdout] 944 | let temperature = &self.simulation_state.temperature_history[step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mesh` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:945:43 [INFO] [stdout] | [INFO] [stdout] 945 | let mesh = &self.simulation_state.mesh; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mesh` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1133:43 [INFO] [stdout] | [INFO] [stdout] 1133 | let mesh = &self.simulation_state.mesh; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1145:35 [INFO] [stdout] | [INFO] [stdout] 1145 | self.simulation_state.temperature_history.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time_steps` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1146:35 [INFO] [stdout] | [INFO] [stdout] 1146 | self.simulation_state.time_steps.last().unwrap_or(&0.0) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1146 | self.simulation_state.parameters.time_steps.last().unwrap_or(&0.0) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `usize` is not an iterator [INFO] [stdout] --> src/simulation/metrics.rs:1222:57 [INFO] [stdout] | [INFO] [stdout] 1222 | self.simulation_state.parameters.time_steps.last().unwrap_or(&0.0), [INFO] [stdout] | ^^^^ `usize` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `usize: std::iter::Iterator` [INFO] [stdout] which is required by `&mut usize: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/simulation/metrics.rs:1247:20 [INFO] [stdout] | [INFO] [stdout] 1247 | let mesh = CylindricalMesh::new(10, 8, 10, 0.1, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ -- - --- --- expected `usize`, found `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `usize`, found `{float}` [INFO] [stdout] | | expected `f64`, found `{integer}` [INFO] [stdout] | expected `f64`, found `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/simulation/mesh.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(height: f64, radius: f64, nr: usize, nz: usize, ntheta: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 1247 - let mesh = CylindricalMesh::new(10, 8, 10, 0.1, 1.0); [INFO] [stdout] 1247 + let mesh = CylindricalMesh::new(0.1, 1.0, 10, 10, 8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simulation/metrics.rs:1250:46 [INFO] [stdout] | [INFO] [stdout] 1250 | let mut state = SimulationState::new(mesh); [INFO] [stdout] | -------------------- ^^^^ expected `SimulationParameters`, found `CylindricalMesh` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/simulation/state.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(parameters: SimulationParameters) -> Self { [INFO] [stdout] | ^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `total_cells` found for struct `mesh::CylindricalMesh` in the current scope [INFO] [stdout] --> src/simulation/metrics.rs:1253:47 [INFO] [stdout] | [INFO] [stdout] 1253 | let mut temperature = vec![25.0; mesh.total_cells()]; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `mesh::CylindricalMesh` [INFO] [stdout] | [INFO] [stdout] ::: src/simulation/mesh.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CylindricalMesh { [INFO] [stdout] | -------------------------- method `total_cells` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1254:15 [INFO] [stdout] | [INFO] [stdout] 1254 | state.temperature_history.push(temperature.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `r_max` on type `mesh::CylindricalMesh` [INFO] [stdout] --> src/simulation/metrics.rs:1264:64 [INFO] [stdout] | [INFO] [stdout] 1264 | temperature[idx] = 500.0 * (1.0 - r / mesh.r_max) + 25.0; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `height`, `radius`, `nr`, `nz`, `ntheta` ... and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `temperature_history` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1269:15 [INFO] [stdout] | [INFO] [stdout] 1269 | state.temperature_history.push(temperature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parameters`, `status`, `progress`, `error_message`, `results` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time_steps` on type `SimulationState` [INFO] [stdout] --> src/simulation/metrics.rs:1272:15 [INFO] [stdout] | [INFO] [stdout] 1272 | state.time_steps = vec![0.0, 10.0]; [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1272 | state.parameters.time_steps = vec![0.0, 10.0]; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simulation/solver.rs:987:29 [INFO] [stdout] | [INFO] [stdout] 987 | mat.specific_heat = Box::new(move |_| cp_val); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `Box<{closure@solver.rs:987:38}>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `Box<{closure@src/simulation/solver.rs:987:38: 987:46}>` [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 987 | mat.specific_heat = Box::new(move |_| cp_val)(/* value */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simulation/solver.rs:989:23 [INFO] [stdout] | [INFO] [stdout] 989 | mat.density = Box::new(move |_| rho_val); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `Box<{closure@solver.rs:989:32}>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `Box<{closure@src/simulation/solver.rs:989:32: 989:40}>` [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 989 | mat.density = Box::new(move |_| rho_val)(/* value */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simulation/solver.rs:991:36 [INFO] [stdout] | [INFO] [stdout] 991 | mat.thermal_conductivity = Box::new(move |_| k_val); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `Box<{closure@solver.rs:991:45}>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `Box<{closure@src/simulation/solver.rs:991:45: 991:53}>` [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 991 | mat.thermal_conductivity = Box::new(move |_| k_val)(/* value */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_results` found for struct `SimulationState` in the current scope [INFO] [stdout] --> src/simulation/validation.rs:841:15 [INFO] [stdout] | [INFO] [stdout] 841 | state.set_results(results); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/simulation/state.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SimulationState { [INFO] [stdout] | -------------------------- method `set_results` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_results` with a similar name, but with different arguments [INFO] [stdout] --> src/simulation/state.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_results(&self) -> Option<&SimulationResults> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulation/solver.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/simulation/materials.rs:154:61 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn effective_specific_heat(&self, temperature: f64, delta_t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_step` [INFO] [stdout] --> src/simulation/mesh.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn create_3d_temperature_array(&self, time_step: usize) -> Array3 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_temp` [INFO] [stdout] --> src/simulation/metrics.rs:402:86 [INFO] [stdout] | [INFO] [stdout] 402 | fn calculate_temporal_metrics(&self, results: &super::solver::SimulationResults, max_temp: f64) -> TemporalMetrics { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulation/solver.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/simulation/materials.rs:154:61 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn effective_specific_heat(&self, temperature: f64, delta_t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_step` [INFO] [stdout] --> src/simulation/mesh.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn create_3d_temperature_array(&self, time_step: usize) -> Array3 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/solver.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let (mut melt_fraction, mut melt_fraction_history, mut vapor_fraction, mut vapor_fraction_history) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/solver.rs:328:60 [INFO] [stdout] | [INFO] [stdout] 328 | let (mut melt_fraction, mut melt_fraction_history, mut vapor_fraction, mut vapor_fraction_history) = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/simulation/solver.rs:645:17 [INFO] [stdout] | [INFO] [stdout] 645 | let r = mesh_ref.r_coords[i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_temp` [INFO] [stdout] --> src/simulation/metrics.rs:402:86 [INFO] [stdout] | [INFO] [stdout] 402 | fn calculate_temporal_metrics(&self, results: &super::solver::SimulationResults, max_temp: f64) -> TemporalMetrics { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/state.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | let mut handle_guard = self.simulation_thread.lock() [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/simulation/validation.rs:255:38 [INFO] [stdout] | [INFO] [stdout] 255 | fn import_from_custom(&mut self, options: &ImportOptions) -> Result<&ReferenceData, String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mesh` [INFO] [stdout] --> src/simulation/validation.rs:383:149 [INFO] [stdout] | [INFO] [stdout] 383 | ...4>, ndarray::Dim<[usize; 3]>>, mesh: &CylindricalMesh) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/simulation/validation.rs:757:17 [INFO] [stdout] | [INFO] [stdout] 757 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/validation.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/simulation/visualization.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let x = r * theta.cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/simulation/visualization.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | temperature: &Array3, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_coords` [INFO] [stdout] --> src/simulation/visualization.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | r_coords: &[f64], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta_coords` [INFO] [stdout] --> src/simulation/visualization.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | theta_coords: &[f64], [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theta_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_coords` [INFO] [stdout] --> src/simulation/visualization.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | z_coords: &[f64], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/solver.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let (mut melt_fraction, mut melt_fraction_history, mut vapor_fraction, mut vapor_fraction_history) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/solver.rs:328:60 [INFO] [stdout] | [INFO] [stdout] 328 | let (mut melt_fraction, mut melt_fraction_history, mut vapor_fraction, mut vapor_fraction_history) = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/simulation/solver.rs:645:17 [INFO] [stdout] | [INFO] [stdout] 645 | let r = mesh_ref.r_coords[i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fv` [INFO] [stdout] --> src/simulation/solver.rs:1029:21 [INFO] [stdout] | [INFO] [stdout] 1029 | let (t, fm, fv) = calculate_temperature_and_fractions(h, &mat, t_ref); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library` [INFO] [stdout] --> src/simulation/solver.rs:1070:13 [INFO] [stdout] | [INFO] [stdout] 1070 | let library = MaterialLibrary::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_type` [INFO] [stdout] --> src/formula/integration.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(function_type) = FunctionType::from_string(key) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/state.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | let mut handle_guard = self.simulation_thread.lock() [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plasma_simulation` (lib) due to 25 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/simulation/validation.rs:255:38 [INFO] [stdout] | [INFO] [stdout] 255 | fn import_from_custom(&mut self, options: &ImportOptions) -> Result<&ReferenceData, String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mesh` [INFO] [stdout] --> src/simulation/validation.rs:383:149 [INFO] [stdout] | [INFO] [stdout] 383 | ...4>, ndarray::Dim<[usize; 3]>>, mesh: &CylindricalMesh) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/simulation/validation.rs:757:17 [INFO] [stdout] | [INFO] [stdout] 757 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/validation.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/simulation/visualization.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let x = r * theta.cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/simulation/visualization.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | temperature: &Array3, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_coords` [INFO] [stdout] --> src/simulation/visualization.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | r_coords: &[f64], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta_coords` [INFO] [stdout] --> src/simulation/visualization.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | theta_coords: &[f64], [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theta_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_coords` [INFO] [stdout] --> src/simulation/visualization.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | z_coords: &[f64], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_type` [INFO] [stdout] --> src/formula/integration.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(function_type) = FunctionType::from_string(key) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plasma_simulation` (lib test) due to 40 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e23d8d1ad705a1e7158d9c44743c251343bfba0f540b100c8cec0af3d8c5e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e23d8d1ad705a1e7158d9c44743c251343bfba0f540b100c8cec0af3d8c5e40", kill_on_drop: false }` [INFO] [stdout] 6e23d8d1ad705a1e7158d9c44743c251343bfba0f540b100c8cec0af3d8c5e40