[INFO] cloning repository https://github.com/SpeedyTurtle599/vortex-cores [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpeedyTurtle599/vortex-cores" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeedyTurtle599%2Fvortex-cores", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeedyTurtle599%2Fvortex-cores'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 610c56e9f7bd883441e1d84386651b3e748c45f2 [INFO] checking SpeedyTurtle599/vortex-cores against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeedyTurtle599%2Fvortex-cores" "/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/SpeedyTurtle599/vortex-cores [INFO] finished tweaking git repo https://github.com/SpeedyTurtle599/vortex-cores [INFO] tweaked toml for git repo https://github.com/SpeedyTurtle599/vortex-cores written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpeedyTurtle599/vortex-cores on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpeedyTurtle599/vortex-cores 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" "+149edce6c6ee840adb602803b96d083101ef3592" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c30b711d88428f057b484076bd7e32a6df18c01c55d34339f9cda11cba7d88cf [INFO] running `Command { std: "docker" "start" "-a" "c30b711d88428f057b484076bd7e32a6df18c01c55d34339f9cda11cba7d88cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c30b711d88428f057b484076bd7e32a6df18c01c55d34339f9cda11cba7d88cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30b711d88428f057b484076bd7e32a6df18c01c55d34339f9cda11cba7d88cf", kill_on_drop: false }` [INFO] [stdout] c30b711d88428f057b484076bd7e32a6df18c01c55d34339f9cda11cba7d88cf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4be7a169a0466cbac98853e60d8a9f487f4b0d99885d5d26a89f65ca4271e004 [INFO] running `Command { std: "docker" "start" "-a" "4be7a169a0466cbac98853e60d8a9f487f4b0d99885d5d26a89f65ca4271e004", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling wgpu-hal v24.0.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking vortex-cores v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/compute.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::Vector3; [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: `run_parameter_study` [INFO] [stdout] --> src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::simulation::{VortexSimulation, run_parameter_study}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/compute.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::Vector3; [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: `run_parameter_study` [INFO] [stdout] --> src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::simulation::{VortexSimulation, run_parameter_study}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_bar` [INFO] [stdout] --> src/simulation.rs:414:55 [INFO] [stdout] | [INFO] [stdout] 414 | fn update_statistics_with_progress_bar(&mut self, progress_bar: &ProgressBar) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut top_ring = self.create_vortex_ring(ring_radius, top_center); [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/simulation.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let mut left_ring = self.create_rotated_vortex_ring(ring_radius, left_center, [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut front_ring = self.create_rotated_vortex_ring(ring_radius, front_center, [1.0, 0.0, 0.0], [0.0, 0.0, 1.0]); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_ext` [INFO] [stdout] --> src/simulation.rs:963:25 [INFO] [stdout] | [INFO] [stdout] 963 | let v_ext = ext_field.velocity_at(&pos, self.time); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/simulation.rs:1429:17 [INFO] [stdout] | [INFO] [stdout] 1429 | let direction = (mid - start).normalize(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_radius` [INFO] [stdout] --> src/simulation.rs:1445:5 [INFO] [stdout] | [INFO] [stdout] 1445 | base_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1445 | _base_radius: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1445 - base_radius: f64, [INFO] [stdout] 1445 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_temperature` [INFO] [stdout] --> src/simulation.rs:1447:5 [INFO] [stdout] | [INFO] [stdout] 1447 | base_temperature: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1447 | _base_temperature: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1447 - base_temperature: f64, [INFO] [stdout] 1447 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_spacing` [INFO] [stdout] --> src/physics.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | min_spacing: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 804 | _min_spacing: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 804 - min_spacing: f64, [INFO] [stdout] 804 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compute.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let value = serde_json::Value::deserialize(deserializer)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> src/compute.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 890 | let ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 890 | let _ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 890 - let ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] 890 + let physics::LIA_BETA = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_spacing` [INFO] [stdout] --> src/compute.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | min_spacing: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1135 | _min_spacing: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1135 - min_spacing: f64, [INFO] [stdout] 1135 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_spacing` [INFO] [stdout] --> src/compute.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | max_spacing: f64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1136 | _max_spacing: f64 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1136 - max_spacing: f64 [INFO] [stdout] 1136 + physics::LIA_BETA: f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_gpu`, `initialize_vortices_random`, `create_helix`, `create_figure8`, and `update_statistics` are never used [INFO] [stdout] --> src/simulation.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 208 | impl VortexSimulation { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub async fn new_with_gpu(radius: f64, height: f64, temperature: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | fn initialize_vortices_random(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | fn create_helix(&self, radius: f64, num_points: usize, total_angle: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 669 | fn create_figure8(&self, radius1: f64, radius2: f64, center: [f64; 3], num_points: usize) -> VortexLine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 987 | fn update_statistics(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None` and `PoiseuilleFlow` are never constructed [INFO] [stdout] --> src/extfields.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ExternalField { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 6 | /// No external flow [INFO] [stdout] 7 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | PoiseuilleFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_pool` is never read [INFO] [stdout] --> src/compute.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ComputeCore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | buffer_pool: std::sync::Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputeCore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_or_create_buffer`, `return_buffer_to_pool`, `release_unused_buffers`, and `new` are never used [INFO] [stdout] --> src/compute.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl ComputeCore { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 112 | fn get_or_create_buffer(&self, size: u64, usage: wgpu::BufferUsages) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn return_buffer_to_pool(&self, buffer: wgpu::Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn release_unused_buffers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_bar` [INFO] [stdout] --> src/simulation.rs:414:55 [INFO] [stdout] | [INFO] [stdout] 414 | fn update_statistics_with_progress_bar(&mut self, progress_bar: &ProgressBar) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut top_ring = self.create_vortex_ring(ring_radius, top_center); [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/simulation.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let mut left_ring = self.create_rotated_vortex_ring(ring_radius, left_center, [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut front_ring = self.create_rotated_vortex_ring(ring_radius, front_center, [1.0, 0.0, 0.0], [0.0, 0.0, 1.0]); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_ext` [INFO] [stdout] --> src/simulation.rs:963:25 [INFO] [stdout] | [INFO] [stdout] 963 | let v_ext = ext_field.velocity_at(&pos, self.time); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/simulation.rs:1429:17 [INFO] [stdout] | [INFO] [stdout] 1429 | let direction = (mid - start).normalize(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_radius` [INFO] [stdout] --> src/simulation.rs:1445:5 [INFO] [stdout] | [INFO] [stdout] 1445 | base_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1445 | _base_radius: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1445 - base_radius: f64, [INFO] [stdout] 1445 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_temperature` [INFO] [stdout] --> src/simulation.rs:1447:5 [INFO] [stdout] | [INFO] [stdout] 1447 | base_temperature: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1447 | _base_temperature: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1447 - base_temperature: f64, [INFO] [stdout] 1447 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_spacing` [INFO] [stdout] --> src/physics.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | min_spacing: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 804 | _min_spacing: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 804 - min_spacing: f64, [INFO] [stdout] 804 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compute.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let value = serde_json::Value::deserialize(deserializer)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> src/compute.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 890 | let ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 890 | let _ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 890 - let ratio = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] 890 + let physics::LIA_BETA = (temperature / 2.17).clamp(0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_spacing` [INFO] [stdout] --> src/compute.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | min_spacing: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1135 | _min_spacing: f64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1135 - min_spacing: f64, [INFO] [stdout] 1135 + physics::LIA_BETA: f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_spacing` [INFO] [stdout] --> src/compute.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | max_spacing: f64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1136 | _max_spacing: f64 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LIA_BETA` [INFO] [stdout] | [INFO] [stdout] 1136 - max_spacing: f64 [INFO] [stdout] 1136 + physics::LIA_BETA: f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_gpu`, `initialize_vortices_random`, `create_helix`, `create_figure8`, and `update_statistics` are never used [INFO] [stdout] --> src/simulation.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 208 | impl VortexSimulation { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub async fn new_with_gpu(radius: f64, height: f64, temperature: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | fn initialize_vortices_random(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | fn create_helix(&self, radius: f64, num_points: usize, total_angle: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 669 | fn create_figure8(&self, radius1: f64, radius2: f64, center: [f64; 3], num_points: usize) -> VortexLine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 987 | fn update_statistics(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None` and `PoiseuilleFlow` are never constructed [INFO] [stdout] --> src/extfields.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ExternalField { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 6 | /// No external flow [INFO] [stdout] 7 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | PoiseuilleFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_pool` is never read [INFO] [stdout] --> src/compute.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ComputeCore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | buffer_pool: std::sync::Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputeCore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_or_create_buffer`, `return_buffer_to_pool`, `release_unused_buffers`, and `new` are never used [INFO] [stdout] --> src/compute.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl ComputeCore { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 112 | fn get_or_create_buffer(&self, size: u64, usage: wgpu::BufferUsages) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn return_buffer_to_pool(&self, buffer: wgpu::Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn release_unused_buffers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "4be7a169a0466cbac98853e60d8a9f487f4b0d99885d5d26a89f65ca4271e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be7a169a0466cbac98853e60d8a9f487f4b0d99885d5d26a89f65ca4271e004", kill_on_drop: false }` [INFO] [stdout] 4be7a169a0466cbac98853e60d8a9f487f4b0d99885d5d26a89f65ca4271e004