[INFO] cloning repository https://github.com/theodoreOnzGit/fluid_mechanics_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theodoreOnzGit/fluid_mechanics_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheodoreOnzGit%2Ffluid_mechanics_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheodoreOnzGit%2Ffluid_mechanics_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dce09eecd4ef3c5c0126a9de0af1889d3bba5ff1 [INFO] checking theodoreOnzGit/fluid_mechanics_rust against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheodoreOnzGit%2Ffluid_mechanics_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust [INFO] finished tweaking git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust [INFO] tweaked toml for git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c779268ef74d6e1e2bb2bfbaa6e14875bedad809d21420ee581fba27281611ff [INFO] running `Command { std: "docker" "start" "-a" "c779268ef74d6e1e2bb2bfbaa6e14875bedad809d21420ee581fba27281611ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c779268ef74d6e1e2bb2bfbaa6e14875bedad809d21420ee581fba27281611ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c779268ef74d6e1e2bb2bfbaa6e14875bedad809d21420ee581fba27281611ff", kill_on_drop: false }` [INFO] [stdout] c779268ef74d6e1e2bb2bfbaa6e14875bedad809d21420ee581fba27281611ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e3634088e2ab75dbc085fefcf3d8f13f3ae9f65530279aa1160afda46dc4d11 [INFO] running `Command { std: "docker" "start" "-a" "6e3634088e2ab75dbc085fefcf3d8f13f3ae9f65530279aa1160afda46dc4d11", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling peroxide v0.31.8 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking puruspe v0.2.0 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Checking roots v0.0.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking thread-tree v0.3.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking uom v0.34.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling peroxide-ad v0.3.0 [INFO] [stderr] Checking fluid_mechanics_rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tests_and_examples_simple::*` [INFO] [stdout] --> src/lib/fluid_component_calculation/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub use tests_and_examples_simple::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests_and_examples_concurrency_multithreading::*` [INFO] [stdout] --> src/lib/fluid_component_calculation/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub use tests_and_examples_concurrency_multithreading::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib/prelude/mod.rs:1274:9 [INFO] [stdout] | [INFO] [stdout] 1274 | pub use crate::fluid_component_collection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `tests_and_examples` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 1279 | pub use crate::fluid_thermophysical_properties::*; [INFO] [stdout] | ----------------------------------------- but the name `tests_and_examples` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FluidCustomComponentCalcPressureChange` and `FluidCustomComponentCalcPressureLoss` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | custom_component_calc::{FluidCustomComponentCalcPressureChange, FluidCustomComponentCalcPressureLoss}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FluidPipeCalcPressureChange` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | ::{FluidPipeCalcPressureLoss,FluidPipeCalcPressureChange}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poise` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | use uom::si::dynamic_viscosity::{millipascal_second, poise}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kilopascal` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | use uom::si::pressure::{pascal, kilopascal}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib/prelude/mod.rs:1274:9 [INFO] [stdout] | [INFO] [stdout] 1274 | pub use crate::fluid_component_collection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `tests_and_examples` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 1279 | pub use crate::fluid_thermophysical_properties::*; [INFO] [stdout] | ----------------------------------------- but the name `tests_and_examples` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 377 - if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] 377 + if max_pressure_loss_at_specified_flow.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 381 - if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] 381 + if min_pressure_loss_at_specified_flow.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stdout] | ____________________^ [INFO] [stdout] 463 | | == f64::NAN { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 462 - if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stdout] 462 + if pressure_loss_at_specified_backward_flow.value.abs().is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mass_flow` is never read [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | mass_flow = air_pipe.get_mass_flowrate_from_pressure_loss_immutable(pressure); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass_flow` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | mass_flow = air_pipe.get_mass_flowrate_from_pressure_loss_immutable(pressure); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_object_in_thread` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:772:21 [INFO] [stdout] | [INFO] [stdout] 772 | let mut trait_object_in_thread: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_in_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_object_immutable` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:789:17 [INFO] [stdout] | [INFO] [stdout] 789 | let trait_object_immutable: &dyn FluidComponent = &air_pipe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_immutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_object_mutable` [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:793:17 [INFO] [stdout] | [INFO] [stdout] 793 | let trait_object_mutable: &mut dyn FluidComponent = &mut air_pipe_mutable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_mutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:772:17 [INFO] [stdout] | [INFO] [stdout] 772 | let mut trait_object_in_thread: [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/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | let mut mass_flow = MassRate::zero(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TherminolPipeTraits` is never used [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait TherminolPipeTraits<'trait_lifetime> : [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TherminolCustomComponentTraits` is never used [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:584:19 [INFO] [stdout] | [INFO] [stdout] 584 | pub trait TherminolCustomComponentTraits<'trait_lifetime> : [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod fluid_component_tests_and_examples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:931:45 [INFO] [stdout] | [INFO] [stdout] 931 | return self.custom_darcy.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64, f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64, f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:939:45 [INFO] [stdout] | [INFO] [stdout] 939 | return self.custom_darcy.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64, f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64, f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:946:41 [INFO] [stdout] | [INFO] [stdout] 946 | return self.custom_k.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:953:41 [INFO] [stdout] | [INFO] [stdout] 953 | return self.custom_k.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod concurrency_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 377 - if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] 377 + if max_pressure_loss_at_specified_flow.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 381 - if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stdout] 381 + if min_pressure_loss_at_specified_flow.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stdout] | ____________________^ [INFO] [stdout] 463 | | == f64::NAN { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 462 - if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stdout] 462 + if pressure_loss_at_specified_backward_flow.value.abs().is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib/fluid_component_collection/tests_and_examples.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub mod fluid_component_collection_test_and_examples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub mod fluid_component_collection_test_and_examples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:640:53 [INFO] [stdout] | [INFO] [stdout] 640 | ... return self.custom_darcy.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64, f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64, f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:648:53 [INFO] [stdout] | [INFO] [stdout] 648 | ... return self.custom_darcy.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64, f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64, f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:655:49 [INFO] [stdout] | [INFO] [stdout] 655 | ... return self.custom_k.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:662:49 [INFO] [stdout] | [INFO] [stdout] 662 | ... return self.custom_k.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Fn(f64) -> f64` does not implement `Clone`, so calling `clone` on `&dyn Fn(f64) -> f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.24s [INFO] running `Command { std: "docker" "inspect" "6e3634088e2ab75dbc085fefcf3d8f13f3ae9f65530279aa1160afda46dc4d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3634088e2ab75dbc085fefcf3d8f13f3ae9f65530279aa1160afda46dc4d11", kill_on_drop: false }` [INFO] [stdout] 6e3634088e2ab75dbc085fefcf3d8f13f3ae9f65530279aa1160afda46dc4d11