[INFO] cloning repository https://github.com/filtsin/rust-twobody [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/filtsin/rust-twobody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiltsin%2Frust-twobody", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiltsin%2Frust-twobody'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3979a8caf6d09f48cefa59aac2baba468ebed212 [INFO] checking filtsin/rust-twobody/3979a8caf6d09f48cefa59aac2baba468ebed212 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiltsin%2Frust-twobody" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/filtsin/rust-twobody on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/filtsin/rust-twobody [INFO] finished tweaking git repo https://github.com/filtsin/rust-twobody [INFO] tweaked toml for git repo https://github.com/filtsin/rust-twobody written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/filtsin/rust-twobody 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded plotters-backend v0.3.0 [INFO] [stderr] Downloaded plotters-svg v0.3.0 [INFO] [stderr] Downloaded cast v0.2.5 [INFO] [stderr] Downloaded criterion v0.3.4 [INFO] [stderr] Downloaded plotters v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb7f54c65de3f1fbfa7742ade67f8b8cf73292dcb8167bba5f617de63fd22d2d [INFO] running `Command { std: "docker" "start" "-a" "eb7f54c65de3f1fbfa7742ade67f8b8cf73292dcb8167bba5f617de63fd22d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb7f54c65de3f1fbfa7742ade67f8b8cf73292dcb8167bba5f617de63fd22d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7f54c65de3f1fbfa7742ade67f8b8cf73292dcb8167bba5f617de63fd22d2d", kill_on_drop: false }` [INFO] [stdout] eb7f54c65de3f1fbfa7742ade67f8b8cf73292dcb8167bba5f617de63fd22d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eee566a5e9e05c99d1ed2eb4714e89b2ed9eee2107aa36f28c35fab64b177a7d [INFO] running `Command { std: "docker" "start" "-a" "eee566a5e9e05c99d1ed2eb4714e89b2ed9eee2107aa36f28c35fab64b177a7d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking two-body v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.5.4 [INFO] [stdout] warning: unused imports: `IndexMut`, `Index`, and `fmt::Debug` [INFO] [stdout] --> src/methods/rk4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | ops::{Div, Index, IndexMut, Mul}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kepler::Kepler` [INFO] [stdout] --> src/methods/rk45.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kepler::Kepler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector::Vector5` [INFO] [stdout] --> src/methods/rk45.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vector::Vector5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Soe2`, `Vector2`, `Vector3`, `Vector5`, and `Vector7` [INFO] [stdout] --> src/twobody.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | soe::{Soe, Soe2, Soe2Builder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | vector::{Vector, Vector2, Vector3, Vector5, Vector7}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/vector.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Deref, DerefMut, Div, Mul, Sub, Neg}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::twobody::TwoBodySystem2d` [INFO] [stdout] --> src/kepler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::twobody::TwoBodySystem2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/kepler.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::{self, PI}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `methods::abs` and `vector::Vector2` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{methods::abs, vector::Vector2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/kepler.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | for i in 0..max_iter { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solver` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut solver = system.construct_rk4(h); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kepler` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut kepler = Kepler::new([init[1], init[2], 0.0].into(), [init[3], init[4], 0.0].into(), g * (body1.m + body2.m), h); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kepler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | for i in 0..limit { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let position = reader.get(solve_step); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut solver = system.construct_rk4(h); [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/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut kepler = Kepler::new([init[1], init[2], 0.0].into(), [init[3], init[4], 0.0].into(), g * (body1.m + body2.m), h); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/ab2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ab2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(init1: T, init2: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/am2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Am2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(init1: T, init2: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/euler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Euler { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(init: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleSoeBuilder` is never constructed [INFO] [stdout] --> src/soe.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build` are never used [INFO] [stdout] --> src/soe.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl SimpleSoeBuilder { [INFO] [stdout] | --------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn build(self, f1: F1) -> SimpleSoe { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Body3d` is never used [INFO] [stdout] --> src/twobody.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Body3d = Body<3>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodySystem3d` is never used [INFO] [stdout] --> src/twobody.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type TwoBodySystem3d = TwoBodySystem<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodyReader2d` is never used [INFO] [stdout] --> src/twobody.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TwoBodyReader2d = TwoBodyReader<2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodyReader3d` is never used [INFO] [stdout] --> src/twobody.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub type TwoBodyReader3d = TwoBodyReader<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/twobody.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl TwoBodyReader<3> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 74 | pub fn get(&self, data: Vector) -> Position<3> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `construct_euler`, `construct_ab2`, `construct_am2`, and `construct_kepler` are never used [INFO] [stdout] --> src/twobody.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl TwoBodySystem<2> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn construct_kepler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/twobody.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl TwoBodySystem<3> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 196 | // Generate system of equations [INFO] [stdout] 197 | pub fn generate_soe(self) -> impl Soe> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn get_init(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn calc_center(&self) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn build_reader(&self) -> TwoBodyReader<3> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn construct_rk4(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn construct_rk45( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector1` is never used [INFO] [stdout] --> src/vector.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | pub type Vector1 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector2` is never used [INFO] [stdout] --> src/vector.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | pub type Vector2 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector4` is never used [INFO] [stdout] --> src/vector.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type Vector4 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector6` is never used [INFO] [stdout] --> src/vector.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type Vector6 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector7` is never used [INFO] [stdout] --> src/vector.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Vector7 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_current_time` is never used [INFO] [stdout] --> src/kepler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Kepler { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_current_time(&mut self, t: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Soe2Builder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Soe2Builder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | impl Soe for Soe2 [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | impl Soe for Soe2 [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl Soe for SimpleSoe [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | impl Soe for SimpleSoe [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/kepler.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | M: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/kepler.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let E = 2.0 * ((nu / 2.0).tan() / ((1.0 + e) / (1.0 - e)).sqrt()).atan(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/kepler.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let M = E - e * E.sin(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Mt` should have a snake case name [INFO] [stdout] --> src/kepler.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let Mt = self.M + delta_t * (self.mu / self.a.powi(3)).sqrt(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `mt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/kepler.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut E = Mt; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/kepler.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let mut F = E - self.e * E.sin() - Mt; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0432]: unresolved import `two_body` [INFO] [stdout] --> benches/benchmark.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use two_body::{TwoBodySystem2d, Body2d}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `two_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fun` [INFO] [stdout] --> benches/benchmark.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{Criterion, criterion_main, criterion_group, Fun}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index`, and `fmt::Debug` [INFO] [stdout] --> src/methods/rk4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | ops::{Div, Index, IndexMut, Mul}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kepler::Kepler` [INFO] [stdout] --> src/methods/rk45.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kepler::Kepler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector::Vector5` [INFO] [stdout] --> src/methods/rk45.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vector::Vector5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Soe2`, `Vector2`, `Vector3`, `Vector5`, and `Vector7` [INFO] [stdout] --> src/twobody.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | soe::{Soe, Soe2, Soe2Builder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | vector::{Vector, Vector2, Vector3, Vector5, Vector7}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/vector.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Deref, DerefMut, Div, Mul, Sub, Neg}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::twobody::TwoBodySystem2d` [INFO] [stdout] --> src/kepler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::twobody::TwoBodySystem2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/kepler.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::{self, PI}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `methods::abs` and `vector::Vector2` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{methods::abs, vector::Vector2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `two-body` (bench "benchmark") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/kepler.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | for i in 0..max_iter { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solver` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut solver = system.construct_rk4(h); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kepler` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut kepler = Kepler::new([init[1], init[2], 0.0].into(), [init[3], init[4], 0.0].into(), g * (body1.m + body2.m), h); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kepler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | for i in 0..limit { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let position = reader.get(solve_step); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut solver = system.construct_rk4(h); [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/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut kepler = Kepler::new([init[1], init[2], 0.0].into(), [init[3], init[4], 0.0].into(), g * (body1.m + body2.m), h); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/ab2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ab2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(init1: T, init2: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/am2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Am2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(init1: T, init2: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/methods/euler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Euler { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(init: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleSoeBuilder` is never constructed [INFO] [stdout] --> src/soe.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build` are never used [INFO] [stdout] --> src/soe.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl SimpleSoeBuilder { [INFO] [stdout] | --------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn build(self, f1: F1) -> SimpleSoe { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Body3d` is never used [INFO] [stdout] --> src/twobody.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Body3d = Body<3>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodySystem3d` is never used [INFO] [stdout] --> src/twobody.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type TwoBodySystem3d = TwoBodySystem<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodyReader2d` is never used [INFO] [stdout] --> src/twobody.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TwoBodyReader2d = TwoBodyReader<2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TwoBodyReader3d` is never used [INFO] [stdout] --> src/twobody.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub type TwoBodyReader3d = TwoBodyReader<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/twobody.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl TwoBodyReader<3> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 74 | pub fn get(&self, data: Vector) -> Position<3> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `construct_euler`, `construct_ab2`, `construct_am2`, and `construct_kepler` are never used [INFO] [stdout] --> src/twobody.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl TwoBodySystem<2> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn construct_kepler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/twobody.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl TwoBodySystem<3> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 196 | // Generate system of equations [INFO] [stdout] 197 | pub fn generate_soe(self) -> impl Soe> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn get_init(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn calc_center(&self) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn build_reader(&self) -> TwoBodyReader<3> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn construct_rk4(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn construct_rk45( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector1` is never used [INFO] [stdout] --> src/vector.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | pub type Vector1 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector2` is never used [INFO] [stdout] --> src/vector.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | pub type Vector2 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector4` is never used [INFO] [stdout] --> src/vector.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type Vector4 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector6` is never used [INFO] [stdout] --> src/vector.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type Vector6 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector7` is never used [INFO] [stdout] --> src/vector.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Vector7 = Vector; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_current_time` is never used [INFO] [stdout] --> src/kepler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Kepler { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_current_time(&mut self, t: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Soe2Builder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Soe2Builder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SimpleSoeBuilder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | impl Soe for Soe2 [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | impl Soe for Soe2 [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `ArgLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl Soe for SimpleSoe [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `ARG_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `OutLen` should have an upper case name [INFO] [stdout] --> src/soe.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | impl Soe for SimpleSoe [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `OUT_LEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/kepler.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | M: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/kepler.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let E = 2.0 * ((nu / 2.0).tan() / ((1.0 + e) / (1.0 - e)).sqrt()).atan(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/kepler.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let M = E - e * E.sin(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Mt` should have a snake case name [INFO] [stdout] --> src/kepler.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let Mt = self.M + delta_t * (self.mu / self.a.powi(3)).sqrt(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `mt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/kepler.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut E = Mt; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/kepler.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let mut F = E - self.e * E.sin() - Mt; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eee566a5e9e05c99d1ed2eb4714e89b2ed9eee2107aa36f28c35fab64b177a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee566a5e9e05c99d1ed2eb4714e89b2ed9eee2107aa36f28c35fab64b177a7d", kill_on_drop: false }` [INFO] [stdout] eee566a5e9e05c99d1ed2eb4714e89b2ed9eee2107aa36f28c35fab64b177a7d