[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 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiltsin%2Frust-twobody" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/filtsin/rust-twobody on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-112/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b9cad0331e14042c3806140d1f1497b9ed94a2260a6a76968b97cfa55e407db [INFO] running `Command { std: "docker" "start" "-a" "3b9cad0331e14042c3806140d1f1497b9ed94a2260a6a76968b97cfa55e407db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b9cad0331e14042c3806140d1f1497b9ed94a2260a6a76968b97cfa55e407db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9cad0331e14042c3806140d1f1497b9ed94a2260a6a76968b97cfa55e407db", kill_on_drop: false }` [INFO] [stdout] 3b9cad0331e14042c3806140d1f1497b9ed94a2260a6a76968b97cfa55e407db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d21801fed57fc0ff0e5dfaa366c5bb7de3e462b92a0af6535912db6ec5e9a46 [INFO] running `Command { std: "docker" "start" "-a" "6d21801fed57fc0ff0e5dfaa366c5bb7de3e462b92a0af6535912db6ec5e9a46", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking two-body v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Fixed src/twobody.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (7 fixes) [INFO] [stderr] Fixed src/vector.rs (1 fix) [INFO] [stderr] Fixed src/kepler.rs (3 fixes) [INFO] [stderr] Fixed src/methods/rk4.rs (1 fix) [INFO] [stderr] Fixed src/methods/rk45.rs (2 fixes) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/methods/ab2.rs:18:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/methods/am2.rs:18:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/methods/euler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(init: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SimpleSoeBuilder` [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 function is never used: `new` [INFO] [stdout] --> src/soe.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/soe.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn build(self, f1: F1) -> SimpleSoe { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Body3d` [INFO] [stdout] --> src/twobody.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Body3d = Body<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodySystem3d` [INFO] [stdout] --> src/twobody.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub type TwoBodySystem3d = TwoBodySystem<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodyReader2d` [INFO] [stdout] --> src/twobody.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TwoBodyReader2d = TwoBodyReader<2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodyReader3d` [INFO] [stdout] --> src/twobody.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub type TwoBodyReader3d = TwoBodyReader<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/twobody.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get(&self, data: Vector) -> Position<3> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_euler` [INFO] [stdout] --> src/twobody.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_ab2` [INFO] [stdout] --> src/twobody.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_am2` [INFO] [stdout] --> src/twobody.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_kepler` [INFO] [stdout] --> src/twobody.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn construct_kepler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_soe` [INFO] [stdout] --> src/twobody.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn generate_soe(self) -> impl Soe> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_init` [INFO] [stdout] --> src/twobody.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_init(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_center` [INFO] [stdout] --> src/twobody.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn calc_center(&self) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reader` [INFO] [stdout] --> src/twobody.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn build_reader(&self) -> TwoBodyReader<3> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_rk4` [INFO] [stdout] --> src/twobody.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn construct_rk4(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_euler` [INFO] [stdout] --> src/twobody.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_rk45` [INFO] [stdout] --> src/twobody.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn construct_rk45( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_ab2` [INFO] [stdout] --> src/twobody.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_am2` [INFO] [stdout] --> src/twobody.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector1` [INFO] [stdout] --> src/vector.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub type Vector1 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector2` [INFO] [stdout] --> src/vector.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub type Vector2 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector4` [INFO] [stdout] --> src/vector.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | pub type Vector4 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector6` [INFO] [stdout] --> src/vector.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub type Vector6 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector7` [INFO] [stdout] --> src/vector.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Vector7 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_current_time` [INFO] [stdout] --> src/kepler.rs:140:12 [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: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Migrating benches/benchmark.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/methods/ab2.rs:18:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/methods/am2.rs:18:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/methods/euler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(init: T, soe: S, h: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SimpleSoeBuilder` [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 function is never used: `new` [INFO] [stdout] --> src/soe.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/soe.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn build(self, f1: F1) -> SimpleSoe { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Body3d` [INFO] [stdout] --> src/twobody.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Body3d = Body<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodySystem3d` [INFO] [stdout] --> src/twobody.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub type TwoBodySystem3d = TwoBodySystem<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodyReader2d` [INFO] [stdout] --> src/twobody.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TwoBodyReader2d = TwoBodyReader<2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TwoBodyReader3d` [INFO] [stdout] --> src/twobody.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub type TwoBodyReader3d = TwoBodyReader<3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/twobody.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get(&self, data: Vector) -> Position<3> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_euler` [INFO] [stdout] --> src/twobody.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_ab2` [INFO] [stdout] --> src/twobody.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_am2` [INFO] [stdout] --> src/twobody.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_kepler` [INFO] [stdout] --> src/twobody.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn construct_kepler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_soe` [INFO] [stdout] --> src/twobody.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn generate_soe(self) -> impl Soe> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_init` [INFO] [stdout] --> src/twobody.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_init(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_center` [INFO] [stdout] --> src/twobody.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn calc_center(&self) -> (Vector, Vector) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reader` [INFO] [stdout] --> src/twobody.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn build_reader(&self) -> TwoBodyReader<3> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_rk4` [INFO] [stdout] --> src/twobody.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn construct_rk4(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_euler` [INFO] [stdout] --> src/twobody.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn construct_euler(&self, h: VType) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_rk45` [INFO] [stdout] --> src/twobody.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn construct_rk45( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_ab2` [INFO] [stdout] --> src/twobody.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn construct_ab2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_am2` [INFO] [stdout] --> src/twobody.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn construct_am2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector1` [INFO] [stdout] --> src/vector.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub type Vector1 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector2` [INFO] [stdout] --> src/vector.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub type Vector2 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector4` [INFO] [stdout] --> src/vector.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | pub type Vector4 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector6` [INFO] [stdout] --> src/vector.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub type Vector6 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vector7` [INFO] [stdout] --> src/vector.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Vector7 = Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_current_time` [INFO] [stdout] --> src/kepler.rs:140:12 [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] 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: 44 warnings emitted [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] error: aborting due to 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` due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6d21801fed57fc0ff0e5dfaa366c5bb7de3e462b92a0af6535912db6ec5e9a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d21801fed57fc0ff0e5dfaa366c5bb7de3e462b92a0af6535912db6ec5e9a46", kill_on_drop: false }` [INFO] [stdout] 6d21801fed57fc0ff0e5dfaa366c5bb7de3e462b92a0af6535912db6ec5e9a46