[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 master#fe348cd1a8e0fa445b772393147ed865904dcd4d 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "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-tc1/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" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded fontdue v0.7.3 [INFO] [stderr] Downloaded png v0.17.15 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded miniquad v0.4.6 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded macroquad v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c8038e912124722c1da2854128bfdcfd6e026a1faae1a2813e6b5dcc0e1e62b [INFO] running `Command { std: "docker" "start" "-a" "7c8038e912124722c1da2854128bfdcfd6e026a1faae1a2813e6b5dcc0e1e62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c8038e912124722c1da2854128bfdcfd6e026a1faae1a2813e6b5dcc0e1e62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8038e912124722c1da2854128bfdcfd6e026a1faae1a2813e6b5dcc0e1e62b", kill_on_drop: false }` [INFO] [stdout] 7c8038e912124722c1da2854128bfdcfd6e026a1faae1a2813e6b5dcc0e1e62b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 873ba45175d6528009e25ca4199987f6e2e655feffe50a17884b8c6c7963ae35 [INFO] running `Command { std: "docker" "start" "-a" "873ba45175d6528009e25ca4199987f6e2e655feffe50a17884b8c6c7963ae35", 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] Checking bitflags v1.3.2 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking glam v0.27.0 [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: 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] [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: 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 8.51s [INFO] running `Command { std: "docker" "inspect" "873ba45175d6528009e25ca4199987f6e2e655feffe50a17884b8c6c7963ae35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873ba45175d6528009e25ca4199987f6e2e655feffe50a17884b8c6c7963ae35", kill_on_drop: false }` [INFO] [stdout] 873ba45175d6528009e25ca4199987f6e2e655feffe50a17884b8c6c7963ae35