Some checks failed
CI / check (push) Has been cancelled
Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop. Co-authored-by: Cursor <cursoragent@cursor.com>
241 lines
8.1 KiB
Plaintext
241 lines
8.1 KiB
Plaintext
cargo : warning: struct `MockBrineBackend` is never constructed
|
|
Au caractère Ligne:2 : 82
|
|
+ ... v.ps1 2>$null; cargo build --package entropyk-components 2>&1 | Tee-O ...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (warning: struct...ver constructed:String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
--> 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:210:5
|
|
|
|
|
210 | pub fn hot_inlet_state(&self) -> Result<entropyk_fluids::ThermoState, ComponentError> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
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:236:5
|
|
|
|
|
236 | pub fn hot_inlet_state(&self) -> Result<entropyk_fluids::ThermoState, ComponentError> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:129:5
|
|
|
|
|
129 | pub fn isentropic_efficiency(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:133:5
|
|
|
|
|
133 | pub fn t_cond_k(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:137:5
|
|
|
|
|
137 | pub fn t_evap_k(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:141:5
|
|
|
|
|
141 | 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<f64>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
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 37 warnings
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
|