[INFO] cloning repository https://github.com/0xWOLAND/nbody
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xWOLAND/nbody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fnbody", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fnbody'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b8cd08211e2132b3b5d5001a59a8196ac655e4f
[INFO] testing 0xWOLAND/nbody against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fnbody" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xWOLAND/nbody
[INFO] finished tweaking git repo https://github.com/0xWOLAND/nbody
[INFO] tweaked toml for git repo https://github.com/0xWOLAND/nbody written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xWOLAND/nbody on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xWOLAND/nbody 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.3
[INFO] [stderr]   Downloaded matrixmultiply v0.3.7
[INFO] [stderr]   Downloaded pest v2.7.2
[INFO] [stderr]   Downloaded ttf-parser v0.17.1
[INFO] [stderr]   Downloaded exr v1.7.0
[INFO] [stderr]   Downloaded ndrustfft v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b981978b309a229afbd8d0864a30f6b11bd6237d3115e7b03a869dd219b41639
[INFO] running `Command { std: "docker" "start" "-a" "b981978b309a229afbd8d0864a30f6b11bd6237d3115e7b03a869dd219b41639", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b981978b309a229afbd8d0864a30f6b11bd6237d3115e7b03a869dd219b41639", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b981978b309a229afbd8d0864a30f6b11bd6237d3115e7b03a869dd219b41639", kill_on_drop: false }`
[INFO] [stdout] b981978b309a229afbd8d0864a30f6b11bd6237d3115e7b03a869dd219b41639
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bea2fc5522743aef0be74c1629635c27c2ce7404c759edf0e16a654acf2a82b4
[INFO] running `Command { std: "docker" "start" "-a" "bea2fc5522743aef0be74c1629635c27c2ce7404c759edf0e16a654acf2a82b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling thiserror v1.0.47
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v3.2.0
[INFO] [stderr]    Compiling rustfft v6.1.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling strength_reduce v0.2.4
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling font-kit v0.11.0
[INFO] [stderr]    Compiling plotters-backend v0.3.5
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling const-cstr v0.3.0
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling float-ord v0.2.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling ttf-parser v0.17.1
[INFO] [stderr]    Compiling plotters-svg v0.3.5
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling transpose v0.2.2
[INFO] [stderr]    Compiling primal-check v0.3.3
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling freetype v0.7.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.47
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling pest v2.7.2
[INFO] [stderr]    Compiling exr v1.7.0
[INFO] [stderr]    Compiling rustdct v0.7.1
[INFO] [stderr]    Compiling realfft v3.3.0
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ndrustfft v0.4.1
[INFO] [stderr]    Compiling pathfinder_simd v0.5.1
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling plotters-bitmap v0.3.3
[INFO] [stderr]    Compiling plotters v0.3.5
[INFO] [stderr]    Compiling nbody v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/density.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `INFINITY`
[INFO] [stdout]  --> src/fourier.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::{consts::PI, INFINITY};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array`, and `s`
[INFO] [stdout]  --> src/fourier.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array, Array1, Array3};
[INFO] [stdout]   |               ^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FftPlanner`
[INFO] [stdout]  --> src/fourier.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustfft::{num_complex::Complex, FftPlanner};
[INFO] [stdout]   |                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_POSITIVE` and `ops::Div`
[INFO] [stdout]  --> src/ic.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     f64::{consts::PI, MIN_POSITIVE},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 6 |     ops::Div,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DIV_BY_ZERO`
[INFO] [stdout]   --> src/ic.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |     config::{A_INIT, BOX_SIZE, DIV_BY_ZERO, N_CELLS, N_PARTICLES},
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::num_traits::ToPrimitive`
[INFO] [stdout]  --> src/integrate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand_distr::num_traits::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `N_CELLS`
[INFO] [stdout]  --> src/potential.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::config::{N_CELLS, OMEGA_M0};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::array_3_to_image`
[INFO] [stdout]  --> src/potential.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::array_3_to_image;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/utils.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array, Array2, Array3, Axis};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ComplexFloat`
[INFO] [stdout]  --> src/ic.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rustfft::num_complex::{Complex, Complex64, ComplexFloat};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/utils.rs:19:43
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn array_2_to_image(arr: Array2<f64>, width: usize) -> ImageBuffer<image::Rgb<u8>, Vec<u8>> {
[INFO] [stdout]    |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `D_t` should have a snake case name
[INFO] [stdout]  --> src/cosmology.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn D_t(t: f64) -> f64 {
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `d_t`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |              ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                    ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `OUT_FILE_NAME` should have a snake case name
[INFO] [stdout]   --> src/utils.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let OUT_FILE_NAME = &format!("img/{}.png", title);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `out_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array_2_to_image` and `hist`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     utils::{array_2_to_image, array_3_to_image, hist},
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]   --> src/main.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::{s, Array2, Array3};
[INFO] [stdout]    |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `particle_mass`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let particle_mass = 1.32
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle_mass`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MASS` is never used
[INFO] [stdout]  --> src/config.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MASS: f64 = 4.0;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OMEGA_B0` is never used
[INFO] [stdout]   --> src/config.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const OMEGA_B0: f64 = 0.04;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OMEGA_K0` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const OMEGA_K0: f64 = 0.00;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OMEGA_LAMBDA0` is never used
[INFO] [stdout]   --> src/config.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const OMEGA_LAMBDA0: f64 = 0.69;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIV_BY_ZERO` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const DIV_BY_ZERO: f64 = 1e-34;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMG_WIDTH` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const IMG_WIDTH: usize = N_CELLS.pow(2);
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]  --> src/particle_mesh.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn test() -> String {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.38s
[INFO] running `Command { std: "docker" "inspect" "bea2fc5522743aef0be74c1629635c27c2ce7404c759edf0e16a654acf2a82b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bea2fc5522743aef0be74c1629635c27c2ce7404c759edf0e16a654acf2a82b4", kill_on_drop: false }`
[INFO] [stdout] bea2fc5522743aef0be74c1629635c27c2ce7404c759edf0e16a654acf2a82b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0be80fd0fff5ed934a72337d8929972ca0728cc69793d9acdb122ea4776bd41e
[INFO] running `Command { std: "docker" "start" "-a" "0be80fd0fff5ed934a72337d8929972ca0728cc69793d9acdb122ea4776bd41e", kill_on_drop: false }`
[INFO] [stderr]    Compiling nbody v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/density.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `INFINITY`
[INFO] [stdout]  --> src/fourier.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::{consts::PI, INFINITY};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array`, and `s`
[INFO] [stdout]  --> src/fourier.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array, Array1, Array3};
[INFO] [stdout]   |               ^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FftPlanner`
[INFO] [stdout]  --> src/fourier.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustfft::{num_complex::Complex, FftPlanner};
[INFO] [stdout]   |                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_POSITIVE` and `ops::Div`
[INFO] [stdout]  --> src/ic.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     f64::{consts::PI, MIN_POSITIVE},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 6 |     ops::Div,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DIV_BY_ZERO`
[INFO] [stdout]   --> src/ic.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |     config::{A_INIT, BOX_SIZE, DIV_BY_ZERO, N_CELLS, N_PARTICLES},
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::num_traits::ToPrimitive`
[INFO] [stdout]  --> src/integrate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand_distr::num_traits::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `N_CELLS`
[INFO] [stdout]  --> src/potential.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::config::{N_CELLS, OMEGA_M0};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::array_3_to_image`
[INFO] [stdout]  --> src/potential.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::array_3_to_image;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/utils.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array, Array2, Array3, Axis};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ComplexFloat`
[INFO] [stdout]  --> src/ic.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rustfft::num_complex::{Complex, Complex64, ComplexFloat};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/utils.rs:19:43
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn array_2_to_image(arr: Array2<f64>, width: usize) -> ImageBuffer<image::Rgb<u8>, Vec<u8>> {
[INFO] [stdout]    |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `D_t` should have a snake case name
[INFO] [stdout]  --> src/cosmology.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn D_t(t: f64) -> f64 {
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `d_t`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |              ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                    ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `OUT_FILE_NAME` should have a snake case name
[INFO] [stdout]   --> src/utils.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let OUT_FILE_NAME = &format!("img/{}.png", title);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `out_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::density`
[INFO] [stdout]   --> src/particle_mesh.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use crate::density::density;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `nbody::density`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::fourier`
[INFO] [stdout]   --> src/particle_mesh.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use crate::fourier::ksq_inv;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `nbody::fourier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::integrate`
[INFO] [stdout]   --> src/particle_mesh.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use crate::integrate::update;
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `nbody::integrate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::utils`
[INFO] [stdout]   --> src/particle_mesh.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use crate::utils::{array_2_to_image, hist};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `nbody::utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::ic`, `crate::random_field`
[INFO] [stdout]   --> src/particle_mesh.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::{ic::initial_conditions, random_field::gaussian_random_field};
[INFO] [stdout]    |                 ^^ unresolved import    ^^^^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::{nbody::ic::initial_conditions, random_field::gaussian_random_field};
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::{ic::initial_conditions, nbody::random_field::gaussian_random_field};
[INFO] [stdout]    |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array_2_to_image` and `hist`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     utils::{array_2_to_image, array_3_to_image, hist},
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]   --> src/main.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::{s, Array2, Array3};
[INFO] [stdout]    |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `A_INIT`
[INFO] [stdout]  --> src/particle_mesh.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use crate::config::{A_INIT, N_CELLS, N_PARTICLES};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `particle_mass`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let particle_mass = 1.32
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle_mass`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/density.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `INFINITY`
[INFO] [stdout]  --> src/fourier.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::{consts::PI, INFINITY};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array`, and `s`
[INFO] [stdout]  --> src/fourier.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array, Array1, Array3};
[INFO] [stdout]   |               ^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FftPlanner`
[INFO] [stdout]  --> src/fourier.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustfft::{num_complex::Complex, FftPlanner};
[INFO] [stdout]   |                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]   --> src/fourier.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use std::f64::consts::PI;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]   --> src/fourier.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use ndarray::{Array, Array3, Zip};
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOX_SIZE`, `N_PARTICLES`, and `meshgrid::Meshgrid3`
[INFO] [stdout]   --> src/fourier.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |         config::{BOX_SIZE, N_PARTICLES},
[INFO] [stdout]    |                  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 88 |         fourier::{inverse, ksq_inv},
[INFO] [stdout] 89 |         meshgrid::Meshgrid3,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_POSITIVE` and `ops::Div`
[INFO] [stdout]  --> src/ic.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     f64::{consts::PI, MIN_POSITIVE},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 6 |     ops::Div,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DIV_BY_ZERO`
[INFO] [stdout]   --> src/ic.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |     config::{A_INIT, BOX_SIZE, DIV_BY_ZERO, N_CELLS, N_PARTICLES},
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::num_traits::ToPrimitive`
[INFO] [stdout]  --> src/integrate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand_distr::num_traits::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `A_INIT`
[INFO] [stdout]  --> src/particle_mesh.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use crate::config::{A_INIT, N_CELLS, N_PARTICLES};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `N_CELLS`
[INFO] [stdout]  --> src/potential.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::config::{N_CELLS, OMEGA_M0};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::array_3_to_image`
[INFO] [stdout]  --> src/potential.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::array_3_to_image;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/utils.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array, Array2, Array3, Axis};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nbody` (bin "nbody" test) due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `rustfft::num_complex::ComplexFloat`
[INFO] [stdout]   --> src/fourier.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     use rustfft::num_complex::ComplexFloat;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ComplexFloat`
[INFO] [stdout]  --> src/ic.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rustfft::num_complex::{Complex, Complex64, ComplexFloat};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `average_density`
[INFO] [stdout]   --> src/particle_mesh.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let average_density = (N_CELLS / N_PARTICLES).pow(3) as f64;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average_density`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `velocities`
[INFO] [stdout]   --> src/particle_mesh.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (positions, velocities): (Array2<f64>, Array2<f64>) = initial_conditions(rho.clone());
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/utils.rs:19:43
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn array_2_to_image(arr: Array2<f64>, width: usize) -> ImageBuffer<image::Rgb<u8>, Vec<u8>> {
[INFO] [stdout]    |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `D_t` should have a snake case name
[INFO] [stdout]  --> src/cosmology.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn D_t(t: f64) -> f64 {
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `d_t`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |              ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z` should have a snake case name
[INFO] [stdout]   --> src/density.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let [X, Y, Z] = [x_c, y_c, z_c].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]    |                    ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z1` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let [X1, Y1, Z1] = [x1, y1, z1].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |              ^^ help: convert the identifier to snake case (notice the capitalization): `x2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Y2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `y2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Z2` should have a snake case name
[INFO] [stdout]    --> src/integrate.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let [X2, Y2, Z2] = [x2, y2, z2].map(|x| (x + 1).rem_euclid(N_CELLS));
[INFO] [stdout]     |                      ^^ help: convert the identifier to snake case (notice the capitalization): `z2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/particle_mesh.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         img.save("./img/positions0.png");
[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] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let _ = img.save("./img/positions0.png");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/particle_mesh.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             img.save(format!("./img/positions{}.png", t));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let _ = img.save(format!("./img/positions{}.png", t));
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/random_field.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         image.save("./out.png");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let _ = image.save("./out.png");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `OUT_FILE_NAME` should have a snake case name
[INFO] [stdout]   --> src/utils.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let OUT_FILE_NAME = &format!("img/{}.png", title);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `out_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0be80fd0fff5ed934a72337d8929972ca0728cc69793d9acdb122ea4776bd41e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0be80fd0fff5ed934a72337d8929972ca0728cc69793d9acdb122ea4776bd41e", kill_on_drop: false }`
[INFO] [stdout] 0be80fd0fff5ed934a72337d8929972ca0728cc69793d9acdb122ea4776bd41e
