[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] testing monkeyswift/orbits-mechanics-and-numerical-methods against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonkeyswift%2Forbits-mechanics-and-numerical-methods" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/monkeyswift/orbits-mechanics-and-numerical-methods on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded png v0.17.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dc5ddb5740065947c44e32f9c5bd95516e9ba38f1d7f1d7aed800e3136a5044 [INFO] running `Command { std: "docker" "start" "-a" "7dc5ddb5740065947c44e32f9c5bd95516e9ba38f1d7f1d7aed800e3136a5044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dc5ddb5740065947c44e32f9c5bd95516e9ba38f1d7f1d7aed800e3136a5044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc5ddb5740065947c44e32f9c5bd95516e9ba38f1d7f1d7aed800e3136a5044", kill_on_drop: false }` [INFO] [stdout] 7dc5ddb5740065947c44e32f9c5bd95516e9ba38f1d7f1d7aed800e3136a5044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebca78fdce0c78690c0cd0a82a3eff079c415b8a7f5152c711c1a20acb4e2708 [INFO] running `Command { std: "docker" "start" "-a" "ebca78fdce0c78690c0cd0a82a3eff079c415b8a7f5152c711c1a20acb4e2708", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling png v0.17.15 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 5.26s [INFO] running `Command { std: "docker" "inspect" "ebca78fdce0c78690c0cd0a82a3eff079c415b8a7f5152c711c1a20acb4e2708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebca78fdce0c78690c0cd0a82a3eff079c415b8a7f5152c711c1a20acb4e2708", kill_on_drop: false }` [INFO] [stdout] ebca78fdce0c78690c0cd0a82a3eff079c415b8a7f5152c711c1a20acb4e2708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e895992e18c788158f45a61a70ce06442a93d5d38537da69f5bf5b20b5e44f77 [INFO] running `Command { std: "docker" "start" "-a" "e895992e18c788158f45a61a70ce06442a93d5d38537da69f5bf5b20b5e44f77", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "e895992e18c788158f45a61a70ce06442a93d5d38537da69f5bf5b20b5e44f77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e895992e18c788158f45a61a70ce06442a93d5d38537da69f5bf5b20b5e44f77", kill_on_drop: false }` [INFO] [stdout] e895992e18c788158f45a61a70ce06442a93d5d38537da69f5bf5b20b5e44f77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9de33a43d05981414ad2a94e0af83d4a42e899a43eaaa605c4d407717e43c66a [INFO] running `Command { std: "docker" "start" "-a" "9de33a43d05981414ad2a94e0af83d4a42e899a43eaaa605c4d407717e43c66a", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:20:97 [INFO] [stderr] | [INFO] [stderr] 20 | fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 20 - fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> (Object) { [INFO] [stderr] 20 + fn initialize_object(x: f32, y: f32, dx: f32, dy: f32, mass: f32, radius: f32, color: Color) -> Object { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | if (index > planet_vector.len() - 1) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 80 - if (index > planet_vector.len() - 1) [INFO] [stderr] 80 + if index > planet_vector.len() - 1 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:128:60 [INFO] [stderr] | [INFO] [stderr] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 128 - fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stderr] 128 + fn calculate_forces_rk4(mut planet_vector: Vec) -> Vec [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | if (index > planet_vector.len() - 1) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 132 - if (index > planet_vector.len() - 1) [INFO] [stderr] 132 + if index > planet_vector.len() - 1 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_one_y` [INFO] [stderr] --> src/main.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let k_one_y = planet_vector[i - 1].dy; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_one_x` [INFO] [stderr] --> src/main.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | let k_one_x = planet_vector[i - 1].dx; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_one_x` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | for (mut index, mut planet) in planet_vector.clone().into_iter().enumerate() { //see if you can get rid of the .clone() [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order` [INFO] [stderr] --> src/main.rs:167:47 [INFO] [stderr] | [INFO] [stderr] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stderr] [INFO] [stderr] warning: function `calculate_forces_rk4` is never used [INFO] [stderr] --> src/main.rs:128:4 [INFO] [stderr] | [INFO] [stderr] 128 | fn calculate_forces_rk4(mut planet_vector: Vec) -> (Vec) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `rk4_update` is never used [INFO] [stderr] --> src/main.rs:167:4 [INFO] [stderr] | [INFO] [stderr] 167 | fn rk4_update(mut planet_vector: Vec, order: u8) -> Vec [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hamiltonian_symplectic_integration` is never used [INFO] [stderr] --> src/main.rs:182:4 [INFO] [stderr] | [INFO] [stderr] 182 | fn hamiltonian_symplectic_integration() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verlet_integration` is never used [INFO] [stderr] --> src/main.rs:187:4 [INFO] [stderr] | [INFO] [stderr] 187 | fn verlet_integration() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `threeBodyProblem` (bin "threeBodyProblem" test) generated 13 warnings (run `cargo fix --bin "threeBodyProblem" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/threeBodyProblem-47b2f295b353ecba) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9de33a43d05981414ad2a94e0af83d4a42e899a43eaaa605c4d407717e43c66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de33a43d05981414ad2a94e0af83d4a42e899a43eaaa605c4d407717e43c66a", kill_on_drop: false }` [INFO] [stdout] 9de33a43d05981414ad2a94e0af83d4a42e899a43eaaa605c4d407717e43c66a