[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/14eea3e9378c15774333eafc20c1b4486fccd6d5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wantbetter/fdm on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ddb06bb0a836f42b9af5c7c065294256cae0a6bb1569c2425be019a3a36ea47 [INFO] running `Command { std: "docker" "start" "-a" "4ddb06bb0a836f42b9af5c7c065294256cae0a6bb1569c2425be019a3a36ea47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ddb06bb0a836f42b9af5c7c065294256cae0a6bb1569c2425be019a3a36ea47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddb06bb0a836f42b9af5c7c065294256cae0a6bb1569c2425be019a3a36ea47", kill_on_drop: false }` [INFO] [stdout] 4ddb06bb0a836f42b9af5c7c065294256cae0a6bb1569c2425be019a3a36ea47 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb89e619d24277bd50806a7cc8f04febc10130ee530c5edc1e88235a1921aa9 [INFO] running `Command { std: "docker" "start" "-a" "ebb89e619d24277bd50806a7cc8f04febc10130ee530c5edc1e88235a1921aa9", 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] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Checking fdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array3` and `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: `Array3` and `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`, and `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 imports: `fs`, `mem`, and `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 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: 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: 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: 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: 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: `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: `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: `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: `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: `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` [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: `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` [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: `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: `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: `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: `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: `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: `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: `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: `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: `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: 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/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: 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 `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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 the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/grd.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | fn process_error(line: Option>) -> String { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | line.unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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 the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/grd.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | fn process_error(line: Option>) -> String { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | line.unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fdm` (lib) due to 2 previous errors; 41 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fdm` (lib test) due to 2 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ebb89e619d24277bd50806a7cc8f04febc10130ee530c5edc1e88235a1921aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb89e619d24277bd50806a7cc8f04febc10130ee530c5edc1e88235a1921aa9", kill_on_drop: false }` [INFO] [stdout] ebb89e619d24277bd50806a7cc8f04febc10130ee530c5edc1e88235a1921aa9