[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] building yuyttenhove/miniswift against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyttenhove%2Fminiswift" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuyttenhove/miniswift on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permutation v0.2.5 [INFO] [stderr] Downloaded rand_distr v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 499d13563fe053449b344248d9188be306f9468d70e89e5b9d66bc2823258baf [INFO] running `Command { std: "docker" "start" "-a" "499d13563fe053449b344248d9188be306f9468d70e89e5b9d66bc2823258baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "499d13563fe053449b344248d9188be306f9468d70e89e5b9d66bc2823258baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499d13563fe053449b344248d9188be306f9468d70e89e5b9d66bc2823258baf", kill_on_drop: false }` [INFO] [stdout] 499d13563fe053449b344248d9188be306f9468d70e89e5b9d66bc2823258baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 396861e40f59398fdf95404c8774b57ac3926990d4899c077afa5c8fe05b0c40 [INFO] running `Command { std: "docker" "start" "-a" "396861e40f59398fdf95404c8774b57ac3926990d4899c077afa5c8fe05b0c40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [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: fields `area` and `midpoint` are never read [INFO] [stdout] --> src/tessellations/voronoi2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct VoronoiFace2D { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | area: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | midpoint: Vertex2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoronoiFace2D` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/tessellations/voronoi2d.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl VoronoiGrid2D { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_points(points_x: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iact_force_self` and `iact_force_pair` are never used [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Cell{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 4 | pub fn iact_force_self(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "396861e40f59398fdf95404c8774b57ac3926990d4899c077afa5c8fe05b0c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396861e40f59398fdf95404c8774b57ac3926990d4899c077afa5c8fe05b0c40", kill_on_drop: false }` [INFO] [stdout] 396861e40f59398fdf95404c8774b57ac3926990d4899c077afa5c8fe05b0c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765930dfd9b1f9af20aa67999accafb3cdb8eaaffdee45e9cfcb89e6fc521eca [INFO] running `Command { std: "docker" "start" "-a" "765930dfd9b1f9af20aa67999accafb3cdb8eaaffdee45e9cfcb89e6fc521eca", 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: fields `area` and `midpoint` are never read [INFO] [stdout] --> src/tessellations/voronoi2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct VoronoiFace2D { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | area: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | midpoint: Vertex2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoronoiFace2D` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/tessellations/voronoi2d.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl VoronoiGrid2D { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_points(points_x: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iact_force_self` and `iact_force_pair` are never used [INFO] [stdout] --> src/mini_swift/cell/hydro_iact_force.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Cell{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 4 | pub fn iact_force_self(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub fn iact_force_pair(&mut self, other: &mut Cell) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "765930dfd9b1f9af20aa67999accafb3cdb8eaaffdee45e9cfcb89e6fc521eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765930dfd9b1f9af20aa67999accafb3cdb8eaaffdee45e9cfcb89e6fc521eca", kill_on_drop: false }` [INFO] [stdout] 765930dfd9b1f9af20aa67999accafb3cdb8eaaffdee45e9cfcb89e6fc521eca