[INFO] cloning repository https://github.com/seanlth/boltzmann [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanlth/boltzmann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75234d82d82666c389f86188ecd7318b8cced74a [INFO] checking seanlth/boltzmann against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanlth/boltzmann on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanlth/boltzmann [INFO] finished tweaking git repo https://github.com/seanlth/boltzmann [INFO] tweaked toml for git repo https://github.com/seanlth/boltzmann written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/seanlth/boltzmann already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 573c1fc8c71f62a4ba0bf57642b90646f0a13b16b470c1b7bc1e1281993f76bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "573c1fc8c71f62a4ba0bf57642b90646f0a13b16b470c1b7bc1e1281993f76bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "573c1fc8c71f62a4ba0bf57642b90646f0a13b16b470c1b7bc1e1281993f76bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573c1fc8c71f62a4ba0bf57642b90646f0a13b16b470c1b7bc1e1281993f76bb", kill_on_drop: false }` [INFO] [stdout] 573c1fc8c71f62a4ba0bf57642b90646f0a13b16b470c1b7bc1e1281993f76bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c305a2a6fd723d696cd0a6e9b59f7aff0c2b5f592291da0623e600cd0a4007 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "97c305a2a6fd723d696cd0a6e9b59f7aff0c2b5f592291da0623e600cd0a4007", kill_on_drop: false }` [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling gcc v0.3.42 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking scopeguard v0.1.2 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking variance v0.1.3 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking scoped-pool v1.0.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.6 [INFO] [stderr] Checking wayland-window v0.4.3 [INFO] [stderr] Checking wayland-kbd v0.6.2 [INFO] [stderr] Checking winit v0.5.7 [INFO] [stderr] Checking boltzmann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/spatial_hash.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/quadtree.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Probability = Fn() -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn attribute(&self, id: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `virus_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VirusAttr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `density_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DensityAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TagAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visted_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VistedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `range_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RangeAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `speed_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl_attribute! { speed_attr, self, i, p, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SpeedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::Uniforms` [INFO] [stdout] --> src/drawing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::uniforms::Uniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::EmptyUniforms` [INFO] [stdout] --> src/drawing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::uniforms::EmptyUniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/spatial_hash.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/quadtree.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Probability = Fn() -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn attribute(&self, id: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `virus_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VirusAttr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `density_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DensityAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TagAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visted_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VistedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `range_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RangeAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `speed_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl_attribute! { speed_attr, self, i, p, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SpeedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::Uniforms` [INFO] [stdout] --> src/drawing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::uniforms::Uniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::EmptyUniforms` [INFO] [stdout] --> src/drawing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::uniforms::EmptyUniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/attribute.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let max = self.t[i].max(self.t[j]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 79 | / impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 80 | | { [INFO] [stdout] 81 | | let max = self.t[i].max(self.t[j]); [INFO] [stdout] 82 | | [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 79 | / impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 80 | | { [INFO] [stdout] 81 | | let max = self.t[i].max(self.t[j]); [INFO] [stdout] 82 | | [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 98 | / impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] 99 | | { [INFO] [stdout] 100 | | let sum = ( self.t[i] + self.t[j] ) / 2.0; [INFO] [stdout] 101 | | self.t[i] = sum; self.t[j] = sum; [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:42:84 [INFO] [stdout] | [INFO] [stdout] 42 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 98 | / impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] 99 | | { [INFO] [stdout] 100 | | let sum = ( self.t[i] + self.t[j] ) / 2.0; [INFO] [stdout] 101 | | self.t[i] = sum; self.t[j] = sum; [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let t = self.t[i]; [INFO] [stdout] 108 | | self.t[i] = self.t[j]; [INFO] [stdout] 109 | | self.t[j] = t; [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let t = self.t[i]; [INFO] [stdout] 108 | | self.t[i] = self.t[j]; [INFO] [stdout] 109 | | self.t[j] = t; [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 113 | / impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 114 | | { [INFO] [stdout] 115 | | let t1 = self.t[i]; [INFO] [stdout] 116 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 113 | / impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 114 | | { [INFO] [stdout] 115 | | let t1 = self.t[i]; [INFO] [stdout] 116 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 122 | / impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 123 | | { [INFO] [stdout] 124 | | let t1 = self.t[i]; [INFO] [stdout] 125 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 122 | / impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 123 | | { [INFO] [stdout] 124 | | let t1 = self.t[i]; [INFO] [stdout] 125 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/drawing.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | for (i, &(v, (r, g, b))) in self.data.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/drawing.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let len = data.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/attribute.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let max = self.t[i].max(self.t[j]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 79 | / impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 80 | | { [INFO] [stdout] 81 | | let max = self.t[i].max(self.t[j]); [INFO] [stdout] 82 | | [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 79 | / impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 80 | | { [INFO] [stdout] 81 | | let max = self.t[i].max(self.t[j]); [INFO] [stdout] 82 | | [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 98 | / impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] 99 | | { [INFO] [stdout] 100 | | let sum = ( self.t[i] + self.t[j] ) / 2.0; [INFO] [stdout] 101 | | self.t[i] = sum; self.t[j] = sum; [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:42:84 [INFO] [stdout] | [INFO] [stdout] 42 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 98 | / impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] 99 | | { [INFO] [stdout] 100 | | let sum = ( self.t[i] + self.t[j] ) / 2.0; [INFO] [stdout] 101 | | self.t[i] = sum; self.t[j] = sum; [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let t = self.t[i]; [INFO] [stdout] 108 | | self.t[i] = self.t[j]; [INFO] [stdout] 109 | | self.t[j] = t; [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let t = self.t[i]; [INFO] [stdout] 108 | | self.t[i] = self.t[j]; [INFO] [stdout] 109 | | self.t[j] = t; [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 113 | / impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 114 | | { [INFO] [stdout] 115 | | let t1 = self.t[i]; [INFO] [stdout] 116 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 113 | / impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 114 | | { [INFO] [stdout] 115 | | let t1 = self.t[i]; [INFO] [stdout] 116 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 122 | / impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 123 | | { [INFO] [stdout] 124 | | let t1 = self.t[i]; [INFO] [stdout] 125 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | fn collision_update(&mut $self_, $i: usize, $j: usize, $p1: &Particle, $p2: &Particle) { $b } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] ... [INFO] [stdout] 122 | / impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] 123 | | { [INFO] [stdout] 124 | | let t1 = self.t[i]; [INFO] [stdout] 125 | | let t2 = self.t[j]; [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/drawing.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | for (i, &(v, (r, g, b))) in self.data.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/drawing.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let len = data.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulator.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | for (i, mut p) in &mut self.particles.iter_mut().enumerate() { [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: variable does not need to be mutable [INFO] [stdout] --> src/simulator.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | for (i, mut p) in &mut self.particles.iter_mut().enumerate() { [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: function is never used: `naive_collision_check` [INFO] [stdout] --> src/collision.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn naive_collision_check(radius: f64, particles: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/quadtree.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | self.empty == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `naive_collision_check` [INFO] [stdout] --> src/collision.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn naive_collision_check(radius: f64, particles: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/quadtree.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | self.empty == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> benches/spatial_hash_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> benches/quadtree_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quad` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let quad = Quadtree::new(width as f64, height as f64, radius); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_quad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `histogram_2d` [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn histogram_2d(data: Vec, max_x: f64, max_y: f64, number_of_rows: usize, number_of_columns: usize) -> (f64, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quad` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let quad = Quadtree::new(width as f64, height as f64, radius); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_quad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `histogram_2d` [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn histogram_2d(data: Vec, max_x: f64, max_y: f64, number_of_rows: usize, number_of_columns: usize) -> (f64, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quadtree_tests.rs:349:34 [INFO] [stdout] | [INFO] [stdout] 349 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/spatial_hash_tests.rs:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | let mut v1 = collision_pairs(c_o); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found reference [INFO] [stdout] | help: try using a conversion method: `c_o.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boltzmann` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "97c305a2a6fd723d696cd0a6e9b59f7aff0c2b5f592291da0623e600cd0a4007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c305a2a6fd723d696cd0a6e9b59f7aff0c2b5f592291da0623e600cd0a4007", kill_on_drop: false }` [INFO] [stdout] 97c305a2a6fd723d696cd0a6e9b59f7aff0c2b5f592291da0623e600cd0a4007