[INFO] cloning repository https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonkeyswift%2Forbits-mechanics-and-numerical-methods", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonkeyswift%2Forbits-mechanics-and-numerical-methods'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 817ea5510df6d68f45391ce52f34dcc269061020 [INFO] checking monkeyswift/orbits-mechanics-and-numerical-methods against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonkeyswift%2Forbits-mechanics-and-numerical-methods" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 76% (401/527) Updating files: 77% (406/527) Updating files: 78% (412/527) Updating files: 79% (417/527) Updating files: 80% (422/527) Updating files: 81% (427/527) Updating files: 82% (433/527) Updating files: 83% (438/527) Updating files: 84% (443/527) Updating files: 85% (448/527) Updating files: 86% (454/527) Updating files: 87% (459/527) Updating files: 88% (464/527) Updating files: 89% (470/527) Updating files: 90% (475/527) Updating files: 91% (480/527) Updating files: 92% (485/527) Updating files: 93% (491/527) Updating files: 94% (496/527) Updating files: 95% (501/527) Updating files: 96% (506/527) Updating files: 97% (512/527) Updating files: 98% (517/527) Updating files: 99% (522/527) Updating files: 100% (527/527) Updating files: 100% (527/527), done. [INFO] validating manifest of git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods [INFO] finished tweaking git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods [INFO] tweaked toml for git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1183b6c010adc521c875b7fb1730f9a2bcc0198abbd818c7b203cf14e4a757ac [INFO] running `Command { std: "docker" "start" "-a" "1183b6c010adc521c875b7fb1730f9a2bcc0198abbd818c7b203cf14e4a757ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1183b6c010adc521c875b7fb1730f9a2bcc0198abbd818c7b203cf14e4a757ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1183b6c010adc521c875b7fb1730f9a2bcc0198abbd818c7b203cf14e4a757ac", kill_on_drop: false }` [INFO] [stdout] 1183b6c010adc521c875b7fb1730f9a2bcc0198abbd818c7b203cf14e4a757ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3028c2016c71ced3513a8011b532fe1f1560cc4e4a3bf17016328502b6c07c [INFO] running `Command { std: "docker" "start" "-a" "7d3028c2016c71ced3513a8011b532fe1f1560cc4e4a3bf17016328502b6c07c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking png v0.17.15 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.13 [INFO] [stderr] Checking threeBodyProblem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:20:97 [INFO] [stdout] | [INFO] [stdout] 20 | fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stdout] 20 + fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> Object { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (index > planet_vector.len() - 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (index > planet_vector.len() - 1) [INFO] [stdout] 80 + if index > planet_vector.len() - 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] 128 + fn calculate_forces_rk4(mut planet_vector: Vec) -> Vec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | if (index > planet_vector.len() - 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if (index > planet_vector.len() - 1) [INFO] [stdout] 132 + if index > planet_vector.len() - 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:20:97 [INFO] [stdout] | [INFO] [stdout] 20 | fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stdout] 20 + fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> Object { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (index > planet_vector.len() - 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (index > planet_vector.len() - 1) [INFO] [stdout] 80 + if index > planet_vector.len() - 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] 128 + fn calculate_forces_rk4(mut planet_vector: Vec) -> Vec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | if (index > planet_vector.len() - 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if (index > planet_vector.len() - 1) [INFO] [stdout] 132 + if index > planet_vector.len() - 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_one_y` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let k_one_y = planet_vector[i - 1].dy; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_one_x` [INFO] [stdout] --> src/main.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let k_one_x = planet_vector[i - 1].dx; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/main.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_one_y` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let k_one_y = planet_vector[i - 1].dy; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_forces_rk4` is never used [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_one_x` [INFO] [stdout] --> src/main.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let k_one_x = planet_vector[i - 1].dx; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk4_update` is never used [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamiltonian_symplectic_integration` is never used [INFO] [stdout] --> src/main.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn hamiltonian_symplectic_integration() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verlet_integration` is never used [INFO] [stdout] --> src/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn verlet_integration() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/main.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_forces_rk4` is never used [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk4_update` is never used [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamiltonian_symplectic_integration` is never used [INFO] [stdout] --> src/main.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn hamiltonian_symplectic_integration() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verlet_integration` is never used [INFO] [stdout] --> src/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn verlet_integration() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "7d3028c2016c71ced3513a8011b532fe1f1560cc4e4a3bf17016328502b6c07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3028c2016c71ced3513a8011b532fe1f1560cc4e4a3bf17016328502b6c07c", kill_on_drop: false }` [INFO] [stdout] 7d3028c2016c71ced3513a8011b532fe1f1560cc4e4a3bf17016328502b6c07c