[INFO] cloning repository https://github.com/SpaceKing81/advanced_simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpaceKing81/advanced_simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fadvanced_simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fadvanced_simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 922c448e31f15e87954ed8308024e1a5ad33d762
[INFO] checking SpaceKing81/advanced_simulator against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fadvanced_simulator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SpaceKing81/advanced_simulator
[INFO] finished tweaking git repo https://github.com/SpaceKing81/advanced_simulator
[INFO] tweaked toml for git repo https://github.com/SpaceKing81/advanced_simulator written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SpaceKing81/advanced_simulator on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SpaceKing81/advanced_simulator 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded macroquad_macro v0.1.8
[INFO] [stderr]   Downloaded quad-rand v0.2.3
[INFO] [stderr]   Downloaded fontdue v0.7.3
[INFO] [stderr]   Downloaded miniquad v0.4.6
[INFO] [stderr]   Downloaded macroquad v0.4.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900
[INFO] running `Command { std: "docker" "start" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling miniquad v0.4.6
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking macroquad v0.4.13
[INFO] [stderr]     Checking simulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::carrier::FC`
[INFO] [stdout]  --> src/universe.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::carrier::FC;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut universe = Universe::new(PARTICAL_COUNT);
[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: `direction`
[INFO] [stdout]   --> src/partical.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let direction = d/distance;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]   --> src/partical.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let direction = d/distance;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vel` and `ang_mom` are never read
[INFO] [stdout]   --> src/partical.rs:6:7
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Partical {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  5 |   pub pos:Vec2, // current pos
[INFO] [stdout]  6 |   pub vel:Vec2, // direction of motion
[INFO] [stdout]    |       ^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |   pub ang_mom:f32, // spin of partical
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_forward` is never used
[INFO] [stdout]   --> src/partical.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Partical {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |   pub fn move_forward(&mut self) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `gravitaional_force`, `electrostatic_force`, `check_colliding`, `instantanious_collide`, `displacment`, and `kinetic_energy` are never used
[INFO] [stdout]    --> src/partical.rs:58:10
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl Partical {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  58 |   pub fn gravitaional_force(&self, other:&Partical) -> Vec2 {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |   pub fn electrostatic_force (&self,other:&Partical) -> Vec2 {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |   pub fn check_colliding(&self, other:&Partical) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |   pub fn instantanious_collide(&mut self, other:&mut Partical) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |   fn displacment(&self, pos:Vec2) -> (Vec2, f32){
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn kinetic_energy(&self) -> f32 {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spatial_map` and `cell_size` are never read
[INFO] [stdout]   --> src/universe.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Universe {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |   matter: Vec<Partical>,
[INFO] [stdout] 10 |   spatial_map: HashMap<(i32, i32), Vec<usize>>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 11 |   cell_size: f32,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cell` and `update_spatial_map` are never used
[INFO] [stdout]   --> src/universe.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Universe {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |   fn get_cell(&self, pos: Vec2) -> (i32, i32) {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |   fn update_spatial_map(&mut self) {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `total_force` and `collision` are never used
[INFO] [stdout]   --> src/universe.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Universe {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 46 |   fn total_force(&self, chosen:&Partical) -> f32 {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |   fn collision(&mut self) {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FC` is never constructed
[INFO] [stdout]  --> src/carrier.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct FC ;
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY` is never used
[INFO] [stdout]  --> src/consts.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const GRAVITY:f32 = 1.0;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHARGE` is never used
[INFO] [stdout]  --> src/consts.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const CHARGE:f32 = -1.0;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::carrier::FC`
[INFO] [stdout]  --> src/universe.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::carrier::FC;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut universe = Universe::new(PARTICAL_COUNT);
[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: `direction`
[INFO] [stdout]   --> src/partical.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let direction = d/distance;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]   --> src/partical.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let direction = d/distance;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vel` and `ang_mom` are never read
[INFO] [stdout]   --> src/partical.rs:6:7
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Partical {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  5 |   pub pos:Vec2, // current pos
[INFO] [stdout]  6 |   pub vel:Vec2, // direction of motion
[INFO] [stdout]    |       ^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |   pub ang_mom:f32, // spin of partical
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_forward` is never used
[INFO] [stdout]   --> src/partical.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Partical {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |   pub fn move_forward(&mut self) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `gravitaional_force`, `electrostatic_force`, `check_colliding`, `instantanious_collide`, `displacment`, and `kinetic_energy` are never used
[INFO] [stdout]    --> src/partical.rs:58:10
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl Partical {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  58 |   pub fn gravitaional_force(&self, other:&Partical) -> Vec2 {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |   pub fn electrostatic_force (&self,other:&Partical) -> Vec2 {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |   pub fn check_colliding(&self, other:&Partical) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |   pub fn instantanious_collide(&mut self, other:&mut Partical) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |   fn displacment(&self, pos:Vec2) -> (Vec2, f32){
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn kinetic_energy(&self) -> f32 {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spatial_map` and `cell_size` are never read
[INFO] [stdout]   --> src/universe.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Universe {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |   matter: Vec<Partical>,
[INFO] [stdout] 10 |   spatial_map: HashMap<(i32, i32), Vec<usize>>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 11 |   cell_size: f32,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cell` and `update_spatial_map` are never used
[INFO] [stdout]   --> src/universe.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Universe {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |   fn get_cell(&self, pos: Vec2) -> (i32, i32) {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |   fn update_spatial_map(&mut self) {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `total_force` and `collision` are never used
[INFO] [stdout]   --> src/universe.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Universe {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 46 |   fn total_force(&self, chosen:&Partical) -> f32 {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |   fn collision(&mut self) {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FC` is never constructed
[INFO] [stdout]  --> src/carrier.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct FC ;
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY` is never used
[INFO] [stdout]  --> src/consts.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const GRAVITY:f32 = 1.0;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHARGE` is never used
[INFO] [stdout]  --> src/consts.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const CHARGE:f32 = -1.0;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.95s
[INFO] running `Command { std: "docker" "inspect" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900", kill_on_drop: false }`
[INFO] [stdout] 78b6746415dcb69cbfd9391d1b5a61a54ad344b563fa3f8ede66c4fb1d81c900
