[INFO] cloning repository https://github.com/Wantbetter/fdm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wantbetter/fdm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14eea3e9378c15774333eafc20c1b4486fccd6d5 [INFO] checking Wantbetter/fdm against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wantbetter/fdm on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wantbetter/fdm [INFO] finished tweaking git repo https://github.com/Wantbetter/fdm [INFO] tweaked toml for git repo https://github.com/Wantbetter/fdm written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Wantbetter/fdm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fe4bd956d857b3b411aeb2af660cac8314577ac2aa6f710ef0ade5bfe7e579a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8fe4bd956d857b3b411aeb2af660cac8314577ac2aa6f710ef0ade5bfe7e579a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fe4bd956d857b3b411aeb2af660cac8314577ac2aa6f710ef0ade5bfe7e579a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe4bd956d857b3b411aeb2af660cac8314577ac2aa6f710ef0ade5bfe7e579a", kill_on_drop: false }` [INFO] [stdout] 8fe4bd956d857b3b411aeb2af660cac8314577ac2aa6f710ef0ade5bfe7e579a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 179db8351f7d63de5309af31320185d4dbeb4bf89b141054fdb2ce2187f0dead [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "179db8351f7d63de5309af31320185d4dbeb4bf89b141054fdb2ce2187f0dead", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking ndarray v0.12.1 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Checking fdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array3`, `Array` [INFO] [stdout] --> src/sw.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array2, Array3, ShapeBuilder}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/lame.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array2, ShapeBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `mem`, `path::Path` [INFO] [stdout] --> src/io/grd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 5 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/io/grd.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array3`, `Array` [INFO] [stdout] --> src/sw.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array2, Array3, ShapeBuilder}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/lame.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array2, ShapeBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `mem`, `path::Path` [INFO] [stdout] --> src/io/grd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 5 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/io/grd.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vpmin` [INFO] [stdout] --> src/sw.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let (vpmax, vpmin, vsmax, vsmin) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vpmin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vsmin` [INFO] [stdout] --> src/sw.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let (vpmax, vpmin, vsmax, vsmin) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsmin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wave` [INFO] [stdout] --> src/sw.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let wave = crate::wavelet::ricker(fm, t0, dt, nt); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/sw.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/sw.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c3` [INFO] [stdout] --> src/sw.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(pp).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c4` [INFO] [stdout] --> src/sw.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(pp).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c5` [INFO] [stdout] --> src/sw.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let c5 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lame_c).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c6` [INFO] [stdout] --> src/sw.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let c6 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lambda).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c7` [INFO] [stdout] --> src/sw.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let c7 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lambda).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> src/sw.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let c8 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lame_c).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c9` [INFO] [stdout] --> src/sw.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let c9 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&miu).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c0` [INFO] [stdout] --> src/sw.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let c0 = (2.0 * dt).div(2.0 + dt * d_pml_z) * (&miu).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_nodes_pml` [INFO] [stdout] --> src/sw.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let z_nodes_pml = jl..(nz_pml_jl - jl); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes_pml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_nodes_pml` [INFO] [stdout] --> src/sw.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let x_nodes_pml = jl..(nx_pml_jl - jl); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes_pml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_nodes` [INFO] [stdout] --> src/sw.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let z_nodes = (jl + pml_h)..(jl + pml_h + nz); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_nodes` [INFO] [stdout] --> src/sw.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let x_nodes = (jl + pml_h)..(jl + pml_h + nx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nsrcx` [INFO] [stdout] --> src/sw.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let nsrcx = jl + pml_h + sx; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nsrcz` [INFO] [stdout] --> src/sw.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let nsrcz = jl + pml_h + sz; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxt` [INFO] [stdout] --> src/sw.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let vxt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxx` [INFO] [stdout] --> src/sw.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let vxx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxz` [INFO] [stdout] --> src/sw.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let vxz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzt` [INFO] [stdout] --> src/sw.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let vzt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzx` [INFO] [stdout] --> src/sw.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let vzx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzz` [INFO] [stdout] --> src/sw.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let vzz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxt` [INFO] [stdout] --> src/sw.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let txxt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxx` [INFO] [stdout] --> src/sw.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let txxx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxz` [INFO] [stdout] --> src/sw.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let txxz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tzzz` [INFO] [stdout] --> src/sw.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let tzzz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tzzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txzt` [INFO] [stdout] --> src/sw.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let txzt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txzt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txzz` [INFO] [stdout] --> src/sw.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let txzz = [zeros.clone(), zeros]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_sum` [INFO] [stdout] --> src/sw.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let p_sum = std::f64::NAN * Array2::::ones((nz_pml, nx_pml)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sw.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let p = vec![std::f64::NAN * Array2::::ones((nz, nx)); nt]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sw.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut r = vmax.powf(2.0) * dt.powf(2.0) * (1.0 / dx.powf(2.0) + 1.0 / dz.powf(2.0)) * d; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut lines: Vec<_> = file.lines().map(|l| l.unwrap()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | write!(file, "{}\r\n", model_template[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/mod.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | write!(file, "{}\r\n", model_values[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vpmin` [INFO] [stdout] --> src/sw.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let (vpmax, vpmin, vsmax, vsmin) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vpmin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vsmin` [INFO] [stdout] --> src/sw.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let (vpmax, vpmin, vsmax, vsmin) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsmin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wave` [INFO] [stdout] --> src/sw.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let wave = crate::wavelet::ricker(fm, t0, dt, nt); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/sw.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/sw.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c3` [INFO] [stdout] --> src/sw.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(pp).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c4` [INFO] [stdout] --> src/sw.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(pp).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c5` [INFO] [stdout] --> src/sw.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let c5 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lame_c).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c6` [INFO] [stdout] --> src/sw.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let c6 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lambda).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c7` [INFO] [stdout] --> src/sw.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let c7 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lambda).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> src/sw.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let c8 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lame_c).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c9` [INFO] [stdout] --> src/sw.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let c9 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&miu).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c0` [INFO] [stdout] --> src/sw.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let c0 = (2.0 * dt).div(2.0 + dt * d_pml_z) * (&miu).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_nodes_pml` [INFO] [stdout] --> src/sw.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let z_nodes_pml = jl..(nz_pml_jl - jl); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes_pml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_nodes_pml` [INFO] [stdout] --> src/sw.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let x_nodes_pml = jl..(nx_pml_jl - jl); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes_pml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_nodes` [INFO] [stdout] --> src/sw.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let z_nodes = (jl + pml_h)..(jl + pml_h + nz); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_nodes` [INFO] [stdout] --> src/sw.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let x_nodes = (jl + pml_h)..(jl + pml_h + nx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nsrcx` [INFO] [stdout] --> src/sw.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let nsrcx = jl + pml_h + sx; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nsrcz` [INFO] [stdout] --> src/sw.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let nsrcz = jl + pml_h + sz; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxt` [INFO] [stdout] --> src/sw.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let vxt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxx` [INFO] [stdout] --> src/sw.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let vxx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vxz` [INFO] [stdout] --> src/sw.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let vxz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vxz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzt` [INFO] [stdout] --> src/sw.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let vzt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzx` [INFO] [stdout] --> src/sw.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let vzx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vzz` [INFO] [stdout] --> src/sw.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let vzz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxt` [INFO] [stdout] --> src/sw.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let txxt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxx` [INFO] [stdout] --> src/sw.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let txxx = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txxz` [INFO] [stdout] --> src/sw.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let txxz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txxz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tzzz` [INFO] [stdout] --> src/sw.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let tzzz = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tzzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txzt` [INFO] [stdout] --> src/sw.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let txzt = [zeros.clone(), zeros.clone()]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txzt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txzz` [INFO] [stdout] --> src/sw.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let txzz = [zeros.clone(), zeros]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_sum` [INFO] [stdout] --> src/sw.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let p_sum = std::f64::NAN * Array2::::ones((nz_pml, nx_pml)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sw.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let p = vec![std::f64::NAN * Array2::::ones((nz, nx)); nt]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sw.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut r = vmax.powf(2.0) * dt.powf(2.0) * (1.0 / dx.powf(2.0) + 1.0 / dz.powf(2.0)) * d; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut lines: Vec<_> = file.lines().map(|l| l.unwrap()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | write!(file, "{}\r\n", model_template[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/mod.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | write!(file, "{}\r\n", model_values[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `Axis` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::{Array2, Array, ShapeBuilder, Axis}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fdm::sw` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fdm::sw; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `Axis` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::{Array2, Array, ShapeBuilder, Axis}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fdm::sw` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fdm::sw; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | let vp = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 2000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | let vs = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | let pp = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c3` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(&pp).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c4` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(&pp).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | let vp = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 2000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | let vs = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/main.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | let pp = Array2::::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c3` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(&pp).div(dx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c4` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(&pp).div(dz); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.02s [INFO] running `Command { std: "docker" "inspect" "179db8351f7d63de5309af31320185d4dbeb4bf89b141054fdb2ce2187f0dead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179db8351f7d63de5309af31320185d4dbeb4bf89b141054fdb2ce2187f0dead", kill_on_drop: false }` [INFO] [stdout] 179db8351f7d63de5309af31320185d4dbeb4bf89b141054fdb2ce2187f0dead