[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] testing theodoreOnzGit/fluid_mechanics_rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheodoreOnzGit%2Ffluid_mechanics_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theodoreOnzGit/fluid_mechanics_rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded puruspe v0.2.0 [INFO] [stderr] Downloaded roots v0.0.8 [INFO] [stderr] Downloaded thread-tree v0.3.3 [INFO] [stderr] Downloaded order-stat v0.1.3 [INFO] [stderr] Downloaded peroxide-ad v0.3.0 [INFO] [stderr] Downloaded uom v0.34.0 [INFO] [stderr] Downloaded peroxide v0.31.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aaf08852b5b6f751f4ba8ef6c9ca60d538e96ab1fa2ad5133a7ab69de0c4d2b [INFO] running `Command { std: "docker" "start" "-a" "8aaf08852b5b6f751f4ba8ef6c9ca60d538e96ab1fa2ad5133a7ab69de0c4d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aaf08852b5b6f751f4ba8ef6c9ca60d538e96ab1fa2ad5133a7ab69de0c4d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aaf08852b5b6f751f4ba8ef6c9ca60d538e96ab1fa2ad5133a7ab69de0c4d2b", kill_on_drop: false }` [INFO] [stdout] 8aaf08852b5b6f751f4ba8ef6c9ca60d538e96ab1fa2ad5133a7ab69de0c4d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2804b653464b2c32a03865b795e89af70d818ce3ec09b4a0ea753a574a5ed473 [INFO] running `Command { std: "docker" "start" "-a" "2804b653464b2c32a03865b795e89af70d818ce3ec09b4a0ea753a574a5ed473", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling peroxide v0.31.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling order-stat v0.1.3 [INFO] [stderr] Compiling puruspe v0.2.0 [INFO] [stderr] Compiling roots v0.0.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling thread-tree v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uom v0.34.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling peroxide-ad v0.3.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.76s [INFO] running `Command { std: "docker" "inspect" "2804b653464b2c32a03865b795e89af70d818ce3ec09b4a0ea753a574a5ed473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2804b653464b2c32a03865b795e89af70d818ce3ec09b4a0ea753a574a5ed473", kill_on_drop: false }` [INFO] [stdout] 2804b653464b2c32a03865b795e89af70d818ce3ec09b4a0ea753a574a5ed473 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48db8324b7f1eeaa5b81771f7c52b4b93c789ad05dd5b0b63712fd34b96dcf14 [INFO] running `Command { std: "docker" "start" "-a" "48db8324b7f1eeaa5b81771f7c52b4b93c789ad05dd5b0b63712fd34b96dcf14", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "48db8324b7f1eeaa5b81771f7c52b4b93c789ad05dd5b0b63712fd34b96dcf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48db8324b7f1eeaa5b81771f7c52b4b93c789ad05dd5b0b63712fd34b96dcf14", kill_on_drop: false }` [INFO] [stdout] 48db8324b7f1eeaa5b81771f7c52b4b93c789ad05dd5b0b63712fd34b96dcf14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 807f140aa3d0df50777161da38606da15935d2d115b06ff1a5f4ea7887dd14d9 [INFO] running `Command { std: "docker" "start" "-a" "807f140aa3d0df50777161da38606da15935d2d115b06ff1a5f4ea7887dd14d9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tests_and_examples_simple::*` [INFO] [stderr] --> src/lib/fluid_component_calculation/mod.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | pub use tests_and_examples_simple::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tests_and_examples_concurrency_multithreading::*` [INFO] [stderr] --> src/lib/fluid_component_calculation/mod.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | pub use tests_and_examples_concurrency_multithreading::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/lib/prelude/mod.rs:1274:9 [INFO] [stderr] | [INFO] [stderr] 1274 | pub use crate::fluid_component_collection::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `tests_and_examples` in the type namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 1279 | pub use crate::fluid_thermophysical_properties::*; [INFO] [stderr] | ----------------------------------------- but the name `tests_and_examples` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stderr] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:377:20 [INFO] [stderr] | [INFO] [stderr] 377 | if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stderr] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stderr] | [INFO] [stderr] 377 - if max_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stderr] 377 + if max_pressure_loss_at_specified_flow.is_nan() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stderr] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:381:20 [INFO] [stderr] | [INFO] [stderr] 381 | if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stderr] | [INFO] [stderr] 381 - if min_pressure_loss_at_specified_flow == f64::NAN { [INFO] [stderr] 381 + if min_pressure_loss_at_specified_flow.is_nan() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stderr] --> src/lib/fluid_component_collection/super_collection_series_and_parallel_functions.rs:462:20 [INFO] [stderr] | [INFO] [stderr] 462 | if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stderr] | ____________________^ [INFO] [stderr] 463 | | == f64::NAN { [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stderr] | [INFO] [stderr] 462 - if pressure_loss_at_specified_backward_flow.value.abs() [INFO] [stderr] 462 + if pressure_loss_at_specified_backward_flow.value.abs().is_nan() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FluidCustomComponentCalcPressureChange` and `FluidCustomComponentCalcPressureLoss` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | custom_component_calc::{FluidCustomComponentCalcPressureChange, FluidCustomComponentCalcPressureLoss}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FluidPipeCalcPressureChange` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | ::{FluidPipeCalcPressureLoss,FluidPipeCalcPressureChange}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `poise` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:12:58 [INFO] [stderr] | [INFO] [stderr] 12 | use uom::si::dynamic_viscosity::{millipascal_second, poise}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kilopascal` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:17:37 [INFO] [stderr] | [INFO] [stderr] 17 | use uom::si::pressure::{pascal, kilopascal}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `mass_flow` is never read [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:395:13 [INFO] [stderr] | [INFO] [stderr] 395 | mass_flow = air_pipe.get_mass_flowrate_from_pressure_loss_immutable(pressure); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mass_flow` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:395:13 [INFO] [stderr] | [INFO] [stderr] 395 | mass_flow = air_pipe.get_mass_flowrate_from_pressure_loss_immutable(pressure); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trait_object_in_thread` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:772:21 [INFO] [stderr] | [INFO] [stderr] 772 | let mut trait_object_in_thread: [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_in_thread` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trait_object_immutable` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:789:17 [INFO] [stderr] | [INFO] [stderr] 789 | let trait_object_immutable: &dyn FluidComponent = &air_pipe; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_immutable` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trait_object_mutable` [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:793:17 [INFO] [stderr] | [INFO] [stderr] 793 | let trait_object_mutable: &mut dyn FluidComponent = &mut air_pipe_mutable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_object_mutable` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:772:17 [INFO] [stderr] | [INFO] [stderr] 772 | let mut trait_object_in_thread: [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:766:13 [INFO] [stderr] | [INFO] [stderr] 766 | let mut mass_flow = MassRate::zero(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: trait `TherminolPipeTraits` is never used [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:84:19 [INFO] [stderr] | [INFO] [stderr] 84 | pub trait TherminolPipeTraits<'trait_lifetime> : [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: trait `TherminolCustomComponentTraits` is never used [INFO] [stdout] running 10 tests [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:584:19 [INFO] [stderr] | [INFO] [stderr] 584 | pub trait TherminolCustomComponentTraits<'trait_lifetime> : [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod fluid_component_tests_and_examples { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib/lib.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:931:45 [INFO] [stderr] | [INFO] [stderr] 931 | return self.custom_darcy.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:939:45 [INFO] [stderr] | [INFO] [stderr] 939 | return self.custom_darcy.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:946:41 [INFO] [stderr] | [INFO] [stderr] 946 | return self.custom_k.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_simple.rs:953:41 [INFO] [stderr] | [INFO] [stderr] 953 | return self.custom_k.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib/fluid_component_calculation/tests_and_examples_concurrency_multithreading.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod concurrency_tests { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib/fluid_component_collection/tests_and_examples.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | pub mod fluid_component_collection_test_and_examples { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | pub mod fluid_component_collection_test_and_examples { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] test fluid_component_calculation::tests_and_examples_simple::fluid_component_tests_and_examples::simple_fluid_pipe_example_1 ... ok [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:640:53 [INFO] [stdout] test fluid_component_calculation::tests_and_examples_concurrency_multithreading::concurrency_tests::thread_spawn_test ... ok [INFO] [stderr] | [INFO] [stdout] test fluid_component_calculation::tests_and_examples_concurrency_multithreading::concurrency_tests::thread_spawn_test_trait_objects ... ok [INFO] [stderr] 640 | ... return self.custom_darcy.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:648:53 [INFO] [stderr] | [INFO] [stderr] 648 | ... return self.custom_darcy.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:655:49 [INFO] [stderr] | [INFO] [stderr] 655 | ... return self.custom_k.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/fluid_thermophysical_properties/tests_and_examples.rs:662:49 [INFO] [stderr] | [INFO] [stderr] 662 | ... return self.custom_k.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `fluid_mechanics_rust` (lib) generated 6 warnings (run `cargo fix --lib -p fluid_mechanics_rust` to apply 5 suggestions) [INFO] [stderr] warning: `fluid_mechanics_rust` (lib test) generated 29 warnings (4 duplicates) (run `cargo fix --lib -p fluid_mechanics_rust --tests` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib/lib.rs (/opt/rustwide/target/debug/deps/fluid_mechanics_rust-6c4fe36175b4a2b6) [INFO] [stdout] test fluid_component_calculation::tests_and_examples_simple::fluid_component_tests_and_examples::water_pipe_with_internal_pump_example_2 ... ok [INFO] [stdout] test fluid_component_collection::tests_and_examples::fluid_component_collection_test_and_examples::simple_fluid_collection_example_1 ... ok [INFO] [stdout] test fluid_component_calculation::tests_and_examples_simple::fluid_component_tests_and_examples::coriolis_flowmeter_empirical_custom_component_example_3 ... ok [INFO] [stdout] test fluid_thermophysical_properties::tests_and_examples::fluid_component_collection_test_and_examples::example_2_therminol_custom_component ... ok [INFO] [stdout] test fluid_thermophysical_properties::tests_and_examples::fluid_component_collection_test_and_examples::example_1_therminol_pipe ... ok [INFO] [stdout] test fluid_component_collection::tests_and_examples::fluid_component_collection_test_and_examples::simple_fluid_collection_example_2 ... ok [INFO] [stdout] test fluid_component_collection::tests_and_examples::fluid_component_collection_test_and_examples::simple_fluid_collection_example_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fluid_mechanics_rust_bin-8be3e8b2924a9fb5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-ba7dde5fcebf33bb) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test my_test ... ok [INFO] [stdout] test when_ctah_pressure_change_expect_correct_value_non_zero_flow ... ok [INFO] [stdout] test when_ctah_pump_pressure_set_expect_correct_value ... ok [INFO] [stdout] test when_ctah_pressure_change_expect_correct_value_zero_flow ... ok [INFO] [stdout] test when_mx10_pressure_change_expect_correct_value_zero_flow ... ok [INFO] [stdout] test when_mx10_pressure_change_expect_correct_value_non_zero_flow ... ok [INFO] [stdout] test when_pump_with_resistance_pressure_set_expect_correct_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fluid_mechanics_rust [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test src/lib/lib.rs - CalcReynolds::from_velocity (line 788) ... ok [INFO] [stdout] test src/lib/fluid_component_calculation/mod.rs - fluid_component_calculation::fluid_component_trait (line 73) ... ok [INFO] [stdout] test src/lib/fluid_thermophysical_properties/property_library.rs - fluid_thermophysical_properties::property_library::TherminolVP1Properties::enthalpy (line 122) ... ok [INFO] [stdout] test src/lib/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib/lib.rs - CustomComponent::fldk (line 423) ... ok [INFO] [stdout] test src/lib/lib.rs - CalcBejan::to_pressure (line 944) ... ok [INFO] [stdout] test src/lib/lib.rs - CalcReynolds::from_mass_rate (line 735) ... ok [INFO] [stdout] test src/lib/fluid_thermophysical_properties/property_library.rs - fluid_thermophysical_properties::property_library::TherminolVP1Properties::get_temperature_from_enthalpy (line 223) ... ok [INFO] [stdout] test src/lib/lib.rs - CalcBejan::from_pressure (line 893) ... ok [INFO] [stdout] test src/lib/lib.rs - CustomComponent::get_bejan_custom_fldk (line 654) ... ok [INFO] [stdout] test src/lib/lib.rs - CalcReynolds::to_mass_rate (line 838) ... ok [INFO] [stdout] test src/lib/fluid_component_calculation/custom_component_calc.rs - fluid_component_calculation::custom_component_calc::CalcPressureLoss::from_mass_rate (line 396) ... ok [INFO] [stdout] test src/lib/lib.rs - CustomComponent::fldk_pipe (line 505) ... ok [INFO] [stdout] test src/lib/lib.rs - darcy (line 147) ... ok [INFO] [stdout] test src/lib/lib.rs - fldk (line 194) ... ok [INFO] [stdout] test src/lib/lib.rs - CustomComponent::get_bejan_custom_k_pipe (line 568) ... ok [INFO] [stdout] test src/lib/lib.rs - get_bejan_d (line 245) ... ok [INFO] [stdout] test src/lib/lib.rs - get_reynolds_number (line 312) ... ok [INFO] [stdout] test src/lib/fluid_component_calculation/standard_pipe_calc.rs - fluid_component_calculation::standard_pipe_calc::CalcPressureLoss::to_mass_rate (line 455) ... ok [INFO] [stdout] test src/lib/fluid_component_calculation/standard_pipe_calc.rs - fluid_component_calculation::standard_pipe_calc::CalcPressureLoss::from_mass_rate (line 345) ... ok [INFO] [stdout] test src/lib/therminol_component/dowtherm_a_properties.rs - therminol_component::dowtherm_a_properties::get_temperature_from_enthalpy (line 220) ... ok [INFO] [stdout] test src/lib/fluid_component_calculation/custom_component_calc.rs - fluid_component_calculation::custom_component_calc::CalcPressureLoss::to_mass_rate (line 532) ... ok [INFO] [stdout] test src/lib/therminol_component/therminol_pipe.rs - therminol_component::therminol_pipe::DowthermAPipe (line 65) ... ok [INFO] [stdout] test src/lib/therminol_component/custom_therminol_component.rs - therminol_component::custom_therminol_component::DowthermACustomComponent (line 66) ... ok [INFO] [stdout] test src/lib/therminol_component/mod.rs - therminol_component::factory (line 70) ... ok [INFO] [stdout] test src/lib/lib.rs - moody (line 168) ... ok [INFO] [stdout] test src/lib/prelude/mod.rs - prelude::FluidComponent (line 64) ... ok [INFO] [stdout] test src/lib/therminol_component/dowtherm_a_properties.rs - therminol_component::dowtherm_a_properties::getDowthermAEnthalpy (line 148) ... ok [INFO] [stdout] test src/lib/prelude/mod.rs - prelude (line 577) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "807f140aa3d0df50777161da38606da15935d2d115b06ff1a5f4ea7887dd14d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807f140aa3d0df50777161da38606da15935d2d115b06ff1a5f4ea7887dd14d9", kill_on_drop: false }` [INFO] [stdout] 807f140aa3d0df50777161da38606da15935d2d115b06ff1a5f4ea7887dd14d9