[INFO] cloning repository https://github.com/tomgelu/nbody
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomgelu/nbody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomgelu%2Fnbody", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomgelu%2Fnbody'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 728ef3c031bf27da89eff1f00ca3c33ca80625fc
[INFO] testing tomgelu/nbody against 1.55.0 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomgelu%2Fnbody" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tomgelu/nbody on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tomgelu/nbody
[INFO] finished tweaking git repo https://github.com/tomgelu/nbody
[INFO] tweaked toml for git repo https://github.com/tomgelu/nbody written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/tomgelu/nbody already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dee47449fa9eee78d4666227e263b1e25ad74c8ed3708c8e09d1dc697581f886
[INFO] running `Command { std: "docker" "start" "-a" "dee47449fa9eee78d4666227e263b1e25ad74c8ed3708c8e09d1dc697581f886", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dee47449fa9eee78d4666227e263b1e25ad74c8ed3708c8e09d1dc697581f886", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dee47449fa9eee78d4666227e263b1e25ad74c8ed3708c8e09d1dc697581f886", kill_on_drop: false }`
[INFO] [stdout] dee47449fa9eee78d4666227e263b1e25ad74c8ed3708c8e09d1dc697581f886
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33a679d3411cac4f3cec14719154dee0ff89f30255d4a2924102d1345d347e6d
[INFO] running `Command { std: "docker" "start" "-a" "33a679d3411cac4f3cec14719154dee0ff89f30255d4a2924102d1345d347e6d", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v1.0.30
[INFO] [stderr] Compiling serde v1.0.111
[INFO] [stderr] Compiling libm v0.1.4
[INFO] [stderr] Compiling rawpointer v0.2.1
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Compiling num-complex v0.2.4
[INFO] [stderr] Compiling num-iter v0.1.40
[INFO] [stderr] Compiling num-rational v0.2.4
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Compiling libloading v0.5.2
[INFO] [stderr] Compiling proc-macro2 v1.0.18
[INFO] [stderr] Compiling getrandom v0.1.14
[INFO] [stderr] Compiling rand_os v0.1.3
[INFO] [stderr] Compiling deflate v0.8.4
[INFO] [stderr] Compiling tiff v0.4.0
[INFO] [stderr] Compiling crossbeam-queue v0.2.2
[INFO] [stderr] Compiling generic-array v0.12.3
[INFO] [stderr] Compiling wayland-client v0.21.13
[INFO] [stderr] Compiling matrixmultiply v0.2.3
[INFO] [stderr] Compiling rayon-core v1.7.0
[INFO] [stderr] Compiling rand_core v0.5.1
[INFO] [stderr] Compiling rand_chacha v0.2.2
[INFO] [stderr] Compiling png v0.16.4
[INFO] [stderr] Compiling quote v1.0.6
[INFO] [stderr] Compiling rand v0.7.3
[INFO] [stderr] Compiling rayon v1.3.0
[INFO] [stderr] Compiling wayland-protocols v0.21.13
[INFO] [stderr] Compiling approx v0.3.2
[INFO] [stderr] Compiling ordered-float v1.0.2
[INFO] [stderr] Compiling line_drawing v0.7.0
[INFO] [stderr] Compiling rusttype v0.8.3
[INFO] [stderr] Compiling alga v0.8.2
[INFO] [stderr] Compiling jpeg-decoder v0.1.19
[INFO] [stderr] Compiling nalgebra v0.17.3
[INFO] [stderr] Compiling rusttype v0.7.9
[INFO] [stderr] Compiling piston2d-graphics v0.36.0
[INFO] [stderr] Compiling andrew v0.2.1
[INFO] [stderr] Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr] Compiling image v0.23.4
[INFO] [stderr] Compiling serde_derive v1.0.111
[INFO] [stderr] Compiling winit v0.19.5
[INFO] [stderr] Compiling glutin v0.21.2
[INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0
[INFO] [stderr] Compiling pistoncore-input v0.28.1
[INFO] [stderr] Compiling pistoncore-window v0.45.0
[INFO] [stderr] Compiling pistoncore-event_loop v0.50.0
[INFO] [stderr] Compiling pistoncore-glutin_window v0.64.0
[INFO] [stderr] Compiling piston v0.50.0
[INFO] [stderr] Compiling nalgebra-glm v0.3.0
[INFO] [stderr] Compiling nbody v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout] --> src/physics.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::f64::consts::PI;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::BLUE`
[INFO] [stdout] --> src/physics.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use super::BLUE;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::DAY`
[INFO] [stdout] --> src/physics.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | use super::DAY;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::SCALE`
[INFO] [stdout] --> src/physics.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use super::SCALE;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `graphics::*`
[INFO] [stdout] --> src/main.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use graphics::*;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `glm`
[INFO] [stdout] --> src/conv.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use glm::*;
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout] --> src/main.rs:32:63
[INFO] [stdout] |
[INFO] [stdout] 32 | fn render(&mut self, args: &RenderArgs, all: &mut [Body], opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout] --> src/main.rs:45:26
[INFO] [stdout] |
[INFO] [stdout] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec
, opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout] --> src/main.rs:45:66
[INFO] [stdout] |
[INFO] [stdout] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec, opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cartesian_to_spherical`
[INFO] [stdout] --> src/conv.rs:3:8
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn cartesian_to_spherical(cartesian: &glm::TVec3) -> glm::TVec3 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `DAY`
[INFO] [stdout] --> src/main.rs:22:1
[INFO] [stdout] |
[INFO] [stdout] 22 | const DAY: f64 = 24.0 * 3600.0;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `SCALE`
[INFO] [stdout] --> src/main.rs:24:1
[INFO] [stdout] |
[INFO] [stdout] 24 | const SCALE: f64 = 50.0 / AU;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `BLUE`
[INFO] [stdout] --> src/main.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.69s
[INFO] running `Command { std: "docker" "inspect" "33a679d3411cac4f3cec14719154dee0ff89f30255d4a2924102d1345d347e6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33a679d3411cac4f3cec14719154dee0ff89f30255d4a2924102d1345d347e6d", kill_on_drop: false }`
[INFO] [stdout] 33a679d3411cac4f3cec14719154dee0ff89f30255d4a2924102d1345d347e6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b14831d00b12e62277465c994491fa662922d58e1ae4d49b91c44b1784807122
[INFO] running `Command { std: "docker" "start" "-a" "b14831d00b12e62277465c994491fa662922d58e1ae4d49b91c44b1784807122", kill_on_drop: false }`
[INFO] [stderr] Compiling nbody v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout] --> src/physics.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::f64::consts::PI;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::BLUE`
[INFO] [stdout] --> src/physics.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use super::BLUE;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::DAY`
[INFO] [stdout] --> src/physics.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | use super::DAY;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::SCALE`
[INFO] [stdout] --> src/physics.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use super::SCALE;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `graphics::*`
[INFO] [stdout] --> src/main.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use graphics::*;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `glm`
[INFO] [stdout] --> src/conv.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use glm::*;
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout] --> src/main.rs:32:63
[INFO] [stdout] |
[INFO] [stdout] 32 | fn render(&mut self, args: &RenderArgs, all: &mut [Body], opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout] --> src/main.rs:45:26
[INFO] [stdout] |
[INFO] [stdout] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec, opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout] --> src/main.rs:45:66
[INFO] [stdout] |
[INFO] [stdout] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec, opts: &mut (f64, f64)) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cartesian_to_spherical`
[INFO] [stdout] --> src/conv.rs:3:8
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn cartesian_to_spherical(cartesian: &glm::TVec3) -> glm::TVec3 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `DAY`
[INFO] [stdout] --> src/main.rs:22:1
[INFO] [stdout] |
[INFO] [stdout] 22 | const DAY: f64 = 24.0 * 3600.0;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `SCALE`
[INFO] [stdout] --> src/main.rs:24:1
[INFO] [stdout] |
[INFO] [stdout] 24 | const SCALE: f64 = 50.0 / AU;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `BLUE`
[INFO] [stdout] --> src/main.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "b14831d00b12e62277465c994491fa662922d58e1ae4d49b91c44b1784807122", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b14831d00b12e62277465c994491fa662922d58e1ae4d49b91c44b1784807122", kill_on_drop: false }`
[INFO] [stdout] b14831d00b12e62277465c994491fa662922d58e1ae4d49b91c44b1784807122
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1265369ebba023a010fa3c12737838ffd3fc4f536d1630af9cd955c998b3d0de
[INFO] running `Command { std: "docker" "start" "-a" "1265369ebba023a010fa3c12737838ffd3fc4f536d1630af9cd955c998b3d0de", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::f64::consts::PI`
[INFO] [stderr] --> src/physics.rs:5:5
[INFO] [stderr] |
[INFO] [stderr] 5 | use std::f64::consts::PI;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `super::BLUE`
[INFO] [stderr] --> src/physics.rs:8:5
[INFO] [stderr] |
[INFO] [stderr] 8 | use super::BLUE;
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `super::DAY`
[INFO] [stderr] --> src/physics.rs:9:5
[INFO] [stderr] |
[INFO] [stderr] 9 | use super::DAY;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `super::SCALE`
[INFO] [stderr] --> src/physics.rs:11:5
[INFO] [stderr] |
[INFO] [stderr] 11 | use super::SCALE;
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `graphics::*`
[INFO] [stderr] --> src/main.rs:12:5
[INFO] [stderr] |
[INFO] [stderr] 12 | use graphics::*;
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `glm`
[INFO] [stderr] --> src/conv.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use glm::*;
[INFO] [stderr] | ^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `opts`
[INFO] [stderr] --> src/main.rs:32:63
[INFO] [stderr] |
[INFO] [stderr] 32 | fn render(&mut self, args: &RenderArgs, all: &mut [Body], opts: &mut (f64, f64)) {
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr] --> src/main.rs:45:26
[INFO] [stderr] |
[INFO] [stderr] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec, opts: &mut (f64, f64)) {
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `opts`
[INFO] [stderr] --> src/main.rs:45:66
[INFO] [stderr] |
[INFO] [stderr] 45 | fn update(&mut self, args: &UpdateArgs, all: &mut Vec, opts: &mut (f64, f64)) {
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `cartesian_to_spherical`
[INFO] [stderr] --> src/conv.rs:3:8
[INFO] [stderr] |
[INFO] [stderr] 3 | pub fn cartesian_to_spherical(cartesian: &glm::TVec3) -> glm::TVec3 {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: constant is never used: `DAY`
[INFO] [stderr] --> src/main.rs:22:1
[INFO] [stderr] |
[INFO] [stderr] 22 | const DAY: f64 = 24.0 * 3600.0;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: constant is never used: `SCALE`
[INFO] [stderr] --> src/main.rs:24:1
[INFO] [stderr] |
[INFO] [stderr] 24 | const SCALE: f64 = 50.0 / AU;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: constant is never used: `BLUE`
[INFO] [stderr] --> src/main.rs:25:1
[INFO] [stderr] |
[INFO] [stderr] 25 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: `nbody` (bin "nbody" test) generated 13 warnings
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nbody-b5e4a41660735a15)
[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" "1265369ebba023a010fa3c12737838ffd3fc4f536d1630af9cd955c998b3d0de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1265369ebba023a010fa3c12737838ffd3fc4f536d1630af9cd955c998b3d0de", kill_on_drop: false }`
[INFO] [stdout] 1265369ebba023a010fa3c12737838ffd3fc4f536d1630af9cd955c998b3d0de