[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permutation v0.2.5 [INFO] [stderr] Downloaded ordered-float v2.1.1 [INFO] [stderr] Downloaded rand_distr v0.4.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d871e0cdb8925a36ab155c681208c41fe1d513034d8ad454375d3b5b7e2dacbd [INFO] running `Command { std: "docker" "start" "-a" "d871e0cdb8925a36ab155c681208c41fe1d513034d8ad454375d3b5b7e2dacbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d871e0cdb8925a36ab155c681208c41fe1d513034d8ad454375d3b5b7e2dacbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d871e0cdb8925a36ab155c681208c41fe1d513034d8ad454375d3b5b7e2dacbd", kill_on_drop: false }` [INFO] [stdout] d871e0cdb8925a36ab155c681208c41fe1d513034d8ad454375d3b5b7e2dacbd [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbbaff06fcc89c85beb4a148a1a96fe6f1ffc7b839a7b30387f83f0f175f2c4e [INFO] running `Command { std: "docker" "start" "-a" "dbbaff06fcc89c85beb4a148a1a96fe6f1ffc7b839a7b30387f83f0f175f2c4e", 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 ordered-float v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "dbbaff06fcc89c85beb4a148a1a96fe6f1ffc7b839a7b30387f83f0f175f2c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbbaff06fcc89c85beb4a148a1a96fe6f1ffc7b839a7b30387f83f0f175f2c4e", kill_on_drop: false }` [INFO] [stdout] dbbaff06fcc89c85beb4a148a1a96fe6f1ffc7b839a7b30387f83f0f175f2c4e [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fee717cf9eeeaa32dd2213dd4ab471ac7fbb46929497c5f8a482ab8eb4f8c25 [INFO] running `Command { std: "docker" "start" "-a" "2fee717cf9eeeaa32dd2213dd4ab471ac7fbb46929497c5f8a482ab8eb4f8c25", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.30s [INFO] running `Command { std: "docker" "inspect" "2fee717cf9eeeaa32dd2213dd4ab471ac7fbb46929497c5f8a482ab8eb4f8c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fee717cf9eeeaa32dd2213dd4ab471ac7fbb46929497c5f8a482ab8eb4f8c25", kill_on_drop: false }` [INFO] [stdout] 2fee717cf9eeeaa32dd2213dd4ab471ac7fbb46929497c5f8a482ab8eb4f8c25 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27ab4fdbf4523fae34968800be49b0d72f9ada5a60f8cfc784a7f2504bb0a775 [INFO] running `Command { std: "docker" "start" "-a" "27ab4fdbf4523fae34968800be49b0d72f9ada5a60f8cfc784a7f2504bb0a775", 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_voronoi-4a1d34fd8758599e) [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" "27ab4fdbf4523fae34968800be49b0d72f9ada5a60f8cfc784a7f2504bb0a775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ab4fdbf4523fae34968800be49b0d72f9ada5a60f8cfc784a7f2504bb0a775", kill_on_drop: false }` [INFO] [stdout] 27ab4fdbf4523fae34968800be49b0d72f9ada5a60f8cfc784a7f2504bb0a775