[INFO] cloning repository https://github.com/yuyttenhove/miniswift [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuyttenhove/miniswift" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyttenhove%2Fminiswift", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyttenhove%2Fminiswift'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398a7a931593b56e7cddad18a935645a4c215acc [INFO] testing yuyttenhove/miniswift against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyttenhove%2Fminiswift" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuyttenhove/miniswift on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuyttenhove/miniswift [INFO] finished tweaking git repo https://github.com/yuyttenhove/miniswift [INFO] tweaked toml for git repo https://github.com/yuyttenhove/miniswift written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/yuyttenhove/miniswift already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4014aa4112b07bdd0f6b872736f541449977bdf72c6e1f01458e32d2f8a97ca9 [INFO] running `Command { std: "docker" "start" "-a" "4014aa4112b07bdd0f6b872736f541449977bdf72c6e1f01458e32d2f8a97ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4014aa4112b07bdd0f6b872736f541449977bdf72c6e1f01458e32d2f8a97ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4014aa4112b07bdd0f6b872736f541449977bdf72c6e1f01458e32d2f8a97ca9", kill_on_drop: false }` [INFO] [stdout] 4014aa4112b07bdd0f6b872736f541449977bdf72c6e1f01458e32d2f8a97ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3a145c518bf9605f7a188d56bcac34c3719161b1daf20199a4ce17f07dc5c32 [INFO] running `Command { std: "docker" "start" "-a" "c3a145c518bf9605f7a188d56bcac34c3719161b1daf20199a4ce17f07dc5c32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling permutation v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand_distr v0.4.0 [INFO] [stderr] Compiling rust_voronoi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::mini_swift::direction::Direction` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mini_swift::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::num_traits::abs` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand_distr::num_traits::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | let other_x = (other_particle.x() + shift[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - let other_x = (other_particle.x() + shift[0]); [INFO] [stdout] 70 + let other_x = other_particle.x() + shift[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let other_y = (other_particle.y() + shift[1]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - let other_y = (other_particle.y() + shift[1]); [INFO] [stdout] 71 + let other_y = other_particle.y() + shift[1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::panic_any` [INFO] [stdout] --> src/mini_swift/cell/hydro_ghost.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::panic_any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tessellations/delaunay2d.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | Some(offset) => panic!("Delaunay triangulation was already finalized!"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progeny` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | Some(progeny) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progeny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let a = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_radius` [INFO] [stdout] --> src/mini_swift/cell/hydro_ghost.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let search_radius = del_tess.vertices[i + 3].search_radius; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | area: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `midpoint` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | midpoint: Vertex2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_points` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_points(points_x: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iact_force_self` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn iact_force_self(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iact_force_pair` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "c3a145c518bf9605f7a188d56bcac34c3719161b1daf20199a4ce17f07dc5c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a145c518bf9605f7a188d56bcac34c3719161b1daf20199a4ce17f07dc5c32", kill_on_drop: false }` [INFO] [stdout] c3a145c518bf9605f7a188d56bcac34c3719161b1daf20199a4ce17f07dc5c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db2897f12f4bd32bd4a3309c2807a0d009a038bafc269a5a9ef2c5de73dc8f9 [INFO] running `Command { std: "docker" "start" "-a" "3db2897f12f4bd32bd4a3309c2807a0d009a038bafc269a5a9ef2c5de73dc8f9", kill_on_drop: false }` [INFO] [stderr] Compiling rust_voronoi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::mini_swift::direction::Direction` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mini_swift::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::num_traits::abs` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand_distr::num_traits::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | let other_x = (other_particle.x() + shift[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - let other_x = (other_particle.x() + shift[0]); [INFO] [stdout] 70 + let other_x = other_particle.x() + shift[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let other_y = (other_particle.y() + shift[1]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - let other_y = (other_particle.y() + shift[1]); [INFO] [stdout] 71 + let other_y = other_particle.y() + shift[1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::panic_any` [INFO] [stdout] --> src/mini_swift/cell/hydro_ghost.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::panic_any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/tessellations/delaunay2d.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | Some(offset) => panic!("Delaunay triangulation was already finalized!"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progeny` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | Some(progeny) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progeny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_density.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let a = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_radius` [INFO] [stdout] --> src/mini_swift/cell/hydro_ghost.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let search_radius = del_tess.vertices[i + 3].search_radius; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | area: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `midpoint` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | midpoint: Vertex2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_points` [INFO] [stdout] --> src/tessellations/voronoi2d.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_points(points_x: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iact_force_self` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn iact_force_self(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iact_force_pair` [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_voronoi-c103061a632793f6) [INFO] running `Command { std: "docker" "inspect" "3db2897f12f4bd32bd4a3309c2807a0d009a038bafc269a5a9ef2c5de73dc8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db2897f12f4bd32bd4a3309c2807a0d009a038bafc269a5a9ef2c5de73dc8f9", kill_on_drop: false }` [INFO] [stdout] 3db2897f12f4bd32bd4a3309c2807a0d009a038bafc269a5a9ef2c5de73dc8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46d9426382d642fb4b62d3e4255880fe73a3bfc2c9397797d1281ce8a97bc7a8 [INFO] running `Command { std: "docker" "start" "-a" "46d9426382d642fb4b62d3e4255880fe73a3bfc2c9397797d1281ce8a97bc7a8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::mini_swift::direction::Direction` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::mini_swift::direction::Direction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand_distr::num_traits::abs` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_density.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rand_distr::num_traits::abs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_density.rs:70:31 [INFO] [stderr] | [INFO] [stderr] 70 | let other_x = (other_particle.x() + shift[0]); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 70 - let other_x = (other_particle.x() + shift[0]); [INFO] [stderr] 70 + let other_x = other_particle.x() + shift[0]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_density.rs:71:31 [INFO] [stderr] | [INFO] [stderr] 71 | let other_y = (other_particle.y() + shift[1]); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 71 - let other_y = (other_particle.y() + shift[1]); [INFO] [stderr] 71 + let other_y = other_particle.y() + shift[1]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::panic::panic_any` [INFO] [stderr] --> src/mini_swift/cell/hydro_ghost.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::panic::panic_any; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/tessellations/delaunay2d.rs:179:18 [INFO] [stderr] | [INFO] [stderr] 179 | Some(offset) => panic!("Delaunay triangulation was already finalized!"), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `progeny` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_density.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | Some(progeny) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progeny` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_density.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | let a = 0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_force.rs:6:39 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `search_radius` [INFO] [stderr] --> src/mini_swift/cell/hydro_ghost.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | let search_radius = del_tess.vertices[i + 3].search_radius; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_radius` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `area` [INFO] [stderr] --> src/tessellations/voronoi2d.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | area: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `midpoint` [INFO] [stderr] --> src/tessellations/voronoi2d.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | midpoint: Vertex2D, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoronoiFace2D` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tessellations/voronoi2d.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_points` [INFO] [stderr] --> src/tessellations/voronoi2d.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn from_points(points_x: &Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iact_force_self` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_force.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn iact_force_self(&mut self) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iact_force_pair` [INFO] [stderr] --> src/mini_swift/cell/hydro_iact_force.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_voronoi` (bin "rust_voronoi" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_voronoi-c103061a632793f6) [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" "46d9426382d642fb4b62d3e4255880fe73a3bfc2c9397797d1281ce8a97bc7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d9426382d642fb4b62d3e4255880fe73a3bfc2c9397797d1281ce8a97bc7a8", kill_on_drop: false }` [INFO] [stdout] 46d9426382d642fb4b62d3e4255880fe73a3bfc2c9397797d1281ce8a97bc7a8