[INFO] cloning repository https://github.com/AJMC2002/hydra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AJMC2002/hydra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJMC2002%2Fhydra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJMC2002%2Fhydra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e30b88f7a0818b0f527e49af222d0a2dd3ee537 [INFO] building AJMC2002/hydra against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJMC2002%2Fhydra" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AJMC2002/hydra [INFO] finished tweaking git repo https://github.com/AJMC2002/hydra [INFO] tweaked toml for git repo https://github.com/AJMC2002/hydra written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AJMC2002/hydra on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AJMC2002/hydra 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ee76b8653f1d21d3e491cc1f066ffb40d0be7820a8d8a701153acb84fe78582 [INFO] running `Command { std: "docker" "start" "-a" "7ee76b8653f1d21d3e491cc1f066ffb40d0be7820a8d8a701153acb84fe78582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ee76b8653f1d21d3e491cc1f066ffb40d0be7820a8d8a701153acb84fe78582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee76b8653f1d21d3e491cc1f066ffb40d0be7820a8d8a701153acb84fe78582", kill_on_drop: false }` [INFO] [stdout] 7ee76b8653f1d21d3e491cc1f066ffb40d0be7820a8d8a701153acb84fe78582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c0422a5dad5e772ae83d8bacf43f18f21857d091bb5c331dd013300df9e62d1a [INFO] running `Command { std: "docker" "start" "-a" "c0422a5dad5e772ae83d8bacf43f18f21857d091bb5c331dd013300df9e62d1a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling roxmltree v0.19.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling fontconfig-parser v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling euclid v0.22.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling unicode-script v0.5.6 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling kurbo v0.11.0 [INFO] [stderr] Compiling fontdb v0.16.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling lyon_geom v1.0.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling lyon_path v1.0.5 [INFO] [stderr] Compiling svgtypes v0.15.1 [INFO] [stderr] Compiling rustybuzz v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling usvg v0.41.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling i-slint-core v1.6.0 [INFO] [stderr] Compiling i-slint-compiler v1.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling css-color-parser2 v1.0.1 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling codemap-diagnostic v0.1.2 [INFO] [stderr] Compiling lyon_algorithms v1.0.4 [INFO] [stderr] Compiling resvg v0.41.0 [INFO] [stderr] Compiling fontdue v0.8.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling pin-weak v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling clru v0.6.2 [INFO] [stderr] Compiling spin_on v0.1.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling softbuffer v0.3.4 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling i-slint-backend-qt v1.6.0 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling i-slint-backend-winit v1.6.0 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling vtable-macro v0.2.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling auto_enums v0.8.5 [INFO] [stderr] Compiling i-slint-core-macros v1.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling const-field-offset v0.1.5 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling vtable v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling lyon_extra v1.0.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling i-slint-common v1.6.0 [INFO] [stderr] Compiling i-slint-backend-selector v1.6.0 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling slint-build v1.6.0 [INFO] [stderr] Compiling hydra v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slint-macros v1.6.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling femtovg v0.9.1 [INFO] [stderr] Compiling i-slint-renderer-femtovg v1.6.0 [INFO] [stderr] Compiling slint v1.6.0 [INFO] [stdout] warning: unused import: `accessory::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use accessory::*; [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: `consts::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formulas::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use formulas::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> src/formulas.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pressure` [INFO] [stdout] --> src/formulas.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EquivalentLength` is never used [INFO] [stdout] --> src/accessory.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EquivalentLength { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fitting` is never used [INFO] [stdout] --> src/accessory.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Fitting { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Valve` is never used [INFO] [stdout] --> src/accessory.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Valve { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Accessory` is never used [INFO] [stdout] --> src/accessory.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum Accessory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXIMUM_AREA_OF_COVERAGE` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAXIMUM_AREA_OF_COVERAGE: u64 = 225; // 10.2.4.2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_DISTANCE_BETWEEN_SPRINKLERS` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MINIMUM_DISTANCE_BETWEEN_SPRINKLERS: f64 = 6.0; // 10.2.5.4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_OPERATING_PRESSURE` is never used [INFO] [stdout] --> src/consts.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MINIMUM_OPERATING_PRESSURE: f64 = 7.0; // 28.2.4.11.1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXIMUM_OPERATING_PRESSURE` is never used [INFO] [stdout] --> src/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAXIMUM_OPERATING_PRESSURE: f64 = 175.0; // 28.2.4.11.2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Diameter` is never used [INFO] [stdout] --> src/diameter.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Diameter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `to_string` are never used [INFO] [stdout] --> src/diameter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Diameter { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 21 | pub fn value(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frictional_resistance` is never used [INFO] [stdout] --> src/formulas.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn frictional_resistance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `friction_loss` is never used [INFO] [stdout] --> src/formulas.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn friction_loss( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `velocity_pressure` is never used [INFO] [stdout] --> src/formulas.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn velocity_pressure(flow: f64, inside_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_pressure` is never used [INFO] [stdout] --> src/formulas.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn normal_pressure(total_pressure: f64, velocity_pressure: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `K_factor` is never used [INFO] [stdout] --> src/formulas.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hazard` is never used [INFO] [stdout] --> src/hazard.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Hazard { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `maximum_protection_area`, `maximum_spacing`, `density_area`, and `duration` are never used [INFO] [stdout] --> src/hazard.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Hazard { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 10 | /// Based on Tables 10.2.4.2.1 (a), (b), (c), (d) [INFO] [stdout] 11 | pub fn maximum_protection_area(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn maximum_spacing(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn density_area(&self) -> [(f64, u64); 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn duration(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `K_factor` should have a snake case name [INFO] [stdout] --> src/formulas.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `k_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.37s [INFO] running `Command { std: "docker" "inspect" "c0422a5dad5e772ae83d8bacf43f18f21857d091bb5c331dd013300df9e62d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0422a5dad5e772ae83d8bacf43f18f21857d091bb5c331dd013300df9e62d1a", kill_on_drop: false }` [INFO] [stdout] c0422a5dad5e772ae83d8bacf43f18f21857d091bb5c331dd013300df9e62d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8dffe44d29ec83a57432ff244e06202c94732c60ad3c77ff52f8dd76764b52b7 [INFO] running `Command { std: "docker" "start" "-a" "8dffe44d29ec83a57432ff244e06202c94732c60ad3c77ff52f8dd76764b52b7", kill_on_drop: false }` [INFO] [stderr] Compiling hydra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `accessory::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use accessory::*; [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: `consts::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formulas::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use formulas::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> src/formulas.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pressure` [INFO] [stdout] --> src/formulas.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EquivalentLength` is never used [INFO] [stdout] --> src/accessory.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EquivalentLength { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fitting` is never used [INFO] [stdout] --> src/accessory.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Fitting { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Valve` is never used [INFO] [stdout] --> src/accessory.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Valve { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Accessory` is never used [INFO] [stdout] --> src/accessory.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum Accessory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXIMUM_AREA_OF_COVERAGE` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAXIMUM_AREA_OF_COVERAGE: u64 = 225; // 10.2.4.2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_DISTANCE_BETWEEN_SPRINKLERS` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MINIMUM_DISTANCE_BETWEEN_SPRINKLERS: f64 = 6.0; // 10.2.5.4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_OPERATING_PRESSURE` is never used [INFO] [stdout] --> src/consts.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MINIMUM_OPERATING_PRESSURE: f64 = 7.0; // 28.2.4.11.1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXIMUM_OPERATING_PRESSURE` is never used [INFO] [stdout] --> src/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAXIMUM_OPERATING_PRESSURE: f64 = 175.0; // 28.2.4.11.2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Diameter` is never used [INFO] [stdout] --> src/diameter.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Diameter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `to_string` are never used [INFO] [stdout] --> src/diameter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Diameter { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 21 | pub fn value(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frictional_resistance` is never used [INFO] [stdout] --> src/formulas.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn frictional_resistance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `friction_loss` is never used [INFO] [stdout] --> src/formulas.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn friction_loss( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `velocity_pressure` is never used [INFO] [stdout] --> src/formulas.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn velocity_pressure(flow: f64, inside_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_pressure` is never used [INFO] [stdout] --> src/formulas.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn normal_pressure(total_pressure: f64, velocity_pressure: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `K_factor` is never used [INFO] [stdout] --> src/formulas.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hazard` is never used [INFO] [stdout] --> src/hazard.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Hazard { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `maximum_protection_area`, `maximum_spacing`, `density_area`, and `duration` are never used [INFO] [stdout] --> src/hazard.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Hazard { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 10 | /// Based on Tables 10.2.4.2.1 (a), (b), (c), (d) [INFO] [stdout] 11 | pub fn maximum_protection_area(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn maximum_spacing(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn density_area(&self) -> [(f64, u64); 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn duration(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `K_factor` should have a snake case name [INFO] [stdout] --> src/formulas.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn K_factor(flow: f64, pressure: f64) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `k_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "8dffe44d29ec83a57432ff244e06202c94732c60ad3c77ff52f8dd76764b52b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dffe44d29ec83a57432ff244e06202c94732c60ad3c77ff52f8dd76764b52b7", kill_on_drop: false }` [INFO] [stdout] 8dffe44d29ec83a57432ff244e06202c94732c60ad3c77ff52f8dd76764b52b7