cargo : warning: variable does not need to be mutable Au caractère C:\Users\serameza\AppData\Local\Temp\ps-script-442b02dc-99fb-4cd0-b9d7-6ab814d90fb8.ps1:96 : 59 + ... pyk-main\entropyk"; cargo test --package entropyk-solver 2>&1 | Out-F ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (warning: variab...d to be mutable:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError --> crates\components\src\screw_economizer_compressor.rs:623:13 | 623 | let mut incoming_iter = external_edge_state_indices.iter() | ----^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: struct `MockBrineBackend` is never constructed --> crates\components\src\brine_boundary.rs:601:12 | 601 | struct MockBrineBackend; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated function `new` is never used --> crates\components\src\brine_boundary.rs:604:12 | 603 | impl MockBrineBackend { | --------------------- associated function in this implementation 604 | fn new() -> Self { | ^^^ warning: function `make_port` is never used --> crates\components\src\brine_boundary.rs:676:8 | 676 | fn make_port(fluid: &str, p_pa: f64, h_jkg: f64) -> ConnectedPort { | ^^^^^^^^^ warning: constant `K_AIR` is never used --> crates\components\src\heat_exchanger\fin_coil_condenser.rs:92:7 | 92 | const K_AIR: f64 = 0.0270; | ^^^^^ warning: constant `RHO_AIR_STD` is never used --> crates\components\src\heat_exchanger\fin_coil_condenser.rs:96:7 | 96 | const RHO_AIR_STD: f64 = 1.145; | ^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\heat_exchanger\condenser.rs:218:5 | 218 | pub fn hot_inlet_state(&self) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> crates\components\src\lib.rs:55:9 | 55 | #![warn(missing_docs)] | ^^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\heat_exchanger\evaporator.rs:244:5 | 244 | pub fn hot_inlet_state(&self) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\isentropic_compressor.rs:135:5 | 135 | pub fn isentropic_efficiency(&self) -> f64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\isentropic_compressor.rs:139:5 | 139 | pub fn t_cond_k(&self) -> f64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\isentropic_compressor.rs:143:5 | 143 | pub fn t_evap_k(&self) -> f64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a method --> crates\components\src\isentropic_compressor.rs:147:5 | 147 | pub fn superheat_k(&self) -> f64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\registry.rs:18:24 | 18 | MissingParameter { component: String, parameter: String }, | ^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\registry.rs:18:43 | 18 | MissingParameter { component: String, parameter: String }, | ^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\registry.rs:20:24 | 20 | InvalidParameter { component: String, parameter: String, reason: String }, | ^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\registry.rs:20:43 | 20 | InvalidParameter { component: String, parameter: String, reason: String }, | ^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\registry.rs:20:62 | 20 | InvalidParameter { component: String, parameter: String, reason: String }, | ^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1002:5 | 1002 | pub fluid: FluidId, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1003:5 | 1003 | pub p_set_pa: f64, | ^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1004:5 | 1004 | pub quality: f64, | ^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1005:5 | 1005 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1097:5 | 1097 | pub fluid: FluidId, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1098:5 | 1098 | pub p_back_pa: f64, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1099:5 | 1099 | pub quality_opt: Option, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1100:5 | 1100 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1188:5 | 1188 | pub fluid: FluidId, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1189:5 | 1189 | pub concentration: f64, | ^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1190:5 | 1190 | pub temperature_k: f64, | ^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1191:5 | 1191 | pub pressure_pa: f64, | ^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1192:5 | 1192 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1292:5 | 1292 | pub p_back_pa: f64, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1293:5 | 1293 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1366:5 | 1366 | pub temperature_k: f64, | ^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1367:5 | 1367 | pub relative_humidity: f64, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1368:5 | 1368 | pub pressure_pa: f64, | ^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1369:5 | 1369 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1456:5 | 1456 | pub p_back_pa: f64, | ^^^^^^^^^^^^^^^^^^ warning: missing documentation for a struct field --> crates\components\src\python_components.rs:1457:5 | 1457 | pub edge_indices: Vec<(usize, usize)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: `entropyk-components` (lib) generated 38 warnings (run `cargo fix --lib -p entropyk-components` to apply 1 suggestion) warning: value assigned to `eq_offset` is never read --> crates\solver\src\system.rs:1900:9 | 1900 | eq_offset += n_couplings; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: field `n_ports` is never read --> crates\solver\src\snapshot_params.rs:25:5 | 22 | pub struct ParamsPlaceholder { | ----------------- field in this struct ... 25 | n_ports: usize, | ^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates\solver\src\inverse\calibration.rs:1005:13 | 1005 | let mut sys = System::new(); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates\solver\src\inverse\calibration.rs:1021:13 | 1021 | let mut sys = System::new(); | ----^^^ | | | help: remove this `mut` warning: `entropyk-solver` (lib) generated 2 warnings warning: `entropyk-solver` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p entropyk-solver --tests` to apply 2 suggestions) warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:17:39 | 17 | use entropyk_solver::system::{System, TEMP_MASS_FLOW_SEED_KG_S}; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:166:31 | 166 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 2.0]; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:215:31 | 215 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 5.0, 10.0]; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:240:31 | 240 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 2.0]; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:306:34 | 306 | initial_state: Some(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]), | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\timeout_budgeted_solving.rs:420:34 | 420 | initial_state: Some(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]), | ^^^^^^^^^^^^^^^^^^^^^^^^ Compiling entropyk-solver v0.1.0 (C:\Users\serameza\impact\dev\Entropyk-main\entropyk\crates\solver) warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\refrigeration_cycle_integration.rs:13:22 | 13 | system::{System, TEMP_MASS_FLOW_SEED_KG_S}, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\refrigeration_cycle_integration.rs:170:13 | 170 | let m = TEMP_MASS_FLOW_SEED_KG_S; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `ConvergenceStatus` --> crates\solver\tests\fallback_solver.rs:15:5 | 15 | ConvergenceStatus, FallbackConfig, FallbackSolver, NewtonConfig, PicardConfig, Solver, | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\fallback_solver.rs:19:30 | 19 | use entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\fallback_solver.rs:372:57 | 372 | PicardConfig::default().with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\fallback_solver.rs:679:34 | 679 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, 0.0, 0.0]); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `SlowConvergingSystem` is never constructed --> crates\solver\tests\fallback_solver.rs:147:8 | 147 | struct SlowConvergingSystem { | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated function `new` is never used --> crates\solver\tests\fallback_solver.rs:155:8 | 154 | impl SlowConvergingSystem { | ------------------------- associated function in this implementation 155 | fn new(rate: f64, target: f64) -> Self { | ^^^ warning: unused import: `Pressure` --> crates\solver\tests\smart_initializer.rs:13:31 | 13 | use entropyk_core::{Enthalpy, Pressure, Temperature}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:16:13 | 16 | system::TEMP_MASS_FLOW_SEED_KG_S, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:100:34 | 100 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:120:34 | 120 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:159:34 | 159 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:190:49 | 190 | let smart_state: Vec = std::iter::once(TEMP_MASS_FLOW_SEED_KG_S) | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:269:35 | 269 | assert_relative_eq!(state[0], TEMP_MASS_FLOW_SEED_KG_S, max_relative = 1e-9); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\smart_initializer.rs:272:35 | 272 | assert_relative_eq!(state[3], TEMP_MASS_FLOW_SEED_KG_S, max_relative = 1e-9); | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\jacobian_freezing.rs:15:13 | 15 | system::TEMP_MASS_FLOW_SEED_KG_S, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\jacobian_freezing.rs:374:13 | 374 | TEMP_MASS_FLOW_SEED_KG_S, | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\traceability.rs:5:39 | 5 | use entropyk_solver::system::{System, TEMP_MASS_FLOW_SEED_KG_S}; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\traceability.rs:88:28 | 88 | initial_state[m] = TEMP_MASS_FLOW_SEED_KG_S; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\calibrated_cycle_integration.rs:23:13 | 23 | system::TEMP_MASS_FLOW_SEED_KG_S, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\calibrated_cycle_integration.rs:175:32 | 175 | initial_state[m_idx] = TEMP_MASS_FLOW_SEED_KG_S; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\homotopy_continuation.rs:27:22 | 27 | system::{System, TEMP_MASS_FLOW_SEED_KG_S}, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use DEFAULT_MASS_FLOW_SEED_KG_S instead --> crates\solver\tests\homotopy_continuation.rs:197:13 | 197 | let m = TEMP_MASS_FLOW_SEED_KG_S; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `std::collections::HashMap` --> crates\solver\tests\inverse_calibration_algorithm.rs:11:5 | 11 | use std::collections::HashMap; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `Solver` --> crates\solver\tests\inverse_calibration_algorithm.rs:21:19 | 21 | NewtonConfig, Solver, System, | ^^^^^^ warning: field `base_capacity` is never read --> crates\solver\tests\inverse_calibration_algorithm.rs:28:5 | 26 | struct MockCalibratedHx { | ---------------- field in this struct 27 | calib_indices: CalibIndices, 28 | base_capacity: f64, | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> crates\solver\tests\chiller_air_glycol_integration.rs:273:9 | 273 | let mut coil_35 = MchxCondenserCoil::for_35c_ambient(15_000.0, 0); | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: type alias `CP` is never used --> crates\solver\tests\chiller_air_glycol_integration.rs:47:6 | 47 | type CP = Port; | ^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: field `circuit_id` is never read --> crates\solver\tests\chiller_air_glycol_integration.rs:90:5 | 88 | struct Mock { | ---- field in this struct 89 | n: usize, 90 | circuit_id: CircuitId, | ^^^^^^^^^^ warning: `entropyk-solver` (test "timeout_budgeted_solving") generated 6 warnings warning: `entropyk-solver` (test "refrigeration_cycle_integration") generated 2 warnings warning: `entropyk-solver` (test "fallback_solver") generated 6 warnings (run `cargo fix --test "fallback_solver" -p entropyk-solver` to apply 1 suggestion) warning: `entropyk-solver` (test "smart_initializer") generated 8 warnings (run `cargo fix --test "smart_initializer" -p entropyk-solver` to apply 1 suggestion) warning: `entropyk-solver` (test "jacobian_freezing") generated 2 warnings warning: `entropyk-solver` (test "traceability") generated 2 warnings warning: `entropyk-solver` (test "calibrated_cycle_integration") generated 2 warnings warning: `entropyk-solver` (test "homotopy_continuation") generated 2 warnings warning: `entropyk-solver` (test "inverse_calibration_algorithm") generated 3 warnings (run `cargo fix --test "inverse_calibration_algorithm" -p entropyk-solver` to apply 2 suggestions) warning: `entropyk-solver` (test "chiller_air_glycol_integration") generated 3 warnings (run `cargo fix --test "chiller_air_glycol_integration" -p entropyk-solver` to apply 1 suggestion) warning: type alias `CP` is never used --> crates\solver\tests\real_cycle_inverse_integration.rs:11:6 | 11 | type CP = Port; | ^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: field `circuit_id` is never read --> crates\solver\tests\real_cycle_inverse_integration.rs:37:5 | 35 | struct Mock { | ---- field in this struct 36 | n: usize, 37 | circuit_id: CircuitId, | ^^^^^^^^^^ warning: unused import: `FallbackConfig` --> crates\solver\tests\convergence_criteria.rs:11:5 | 11 | FallbackConfig, FallbackSolver, NewtonConfig, PicardConfig, Solver, System, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `internal_state_len_each` --> crates\solver\tests\macro_component_integration.rs:398:9 | 398 | let internal_state_len_each = chiller_a.internal_state_len(); // = 12 | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_state_len_each` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: `entropyk-solver` (test "real_cycle_inverse_integration") generated 2 warnings warning: `entropyk-solver` (test "convergence_criteria") generated 1 warning (run `cargo fix --test "convergence_criteria" -p entropyk-solver` to apply 1 suggestion) warning: `entropyk-solver` (test "macro_component_integration") generated 1 warning (run `cargo fix --test "macro_component_integration" -p entropyk-solver` to apply 1 suggestion) error[E0053]: method `set_system_context` has an incompatible type for trait --> crates\solver\examples\real_cycle_html.rs:46:5 | 46 | fn set_system_context(&mut self, _off: usize, edges: &[(usize, usize)]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements | = note: expected signature `fn(&mut MockCompressor, _, &[(usize, usize, usize)])` found signature `fn(&mut MockCompressor, _, &[(usize, usize)])` error[E0053]: method `set_system_context` has an incompatible type for trait --> crates\solver\examples\real_cycle_html.rs:74:5 | 74 | fn set_system_context(&mut self, _off: usize, edges: &[(usize, usize)]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements | = note: expected signature `fn(&mut MockCondenser, _, &[(usize, usize, usize)])` found signature `fn(&mut MockCondenser, _, &[(usize, usize)])` error[E0053]: method `set_system_context` has an incompatible type for trait --> crates\solver\examples\real_cycle_html.rs:101:5 | 101 | fn set_system_context(&mut self, _off: usize, edges: &[(usize, usize)]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements | = note: expected signature `fn(&mut MockValve, _, &[(usize, usize, usize)])` found signature `fn(&mut MockValve, _, &[(usize, usize)])` error[E0053]: method `set_system_context` has an incompatible type for trait --> crates\solver\examples\real_cycle_html.rs:140:5 | 140 | fn set_system_context(&mut self, _off: usize, edges: &[(usize, usize)]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements | = note: expected signature `fn(&mut MockEvaporator, _, &[(usize, usize, usize)])` found signature `fn(&mut MockEvaporator, _, &[(usize, usize)])` For more information about this error, try `rustc --explain E0053`. error: could not compile `entropyk-solver` (example "real_cycle_html") due to 4 previous errors