[INFO] cloning repository https://github.com/DerLando/RustNFP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerLando/RustNFP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2FRustNFP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2FRustNFP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 067ce842ae756d07c5d496f88d0fe66790647df9 [INFO] checking DerLando/RustNFP against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2FRustNFP" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DerLando/RustNFP on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DerLando/RustNFP [INFO] finished tweaking git repo https://github.com/DerLando/RustNFP [INFO] tweaked toml for git repo https://github.com/DerLando/RustNFP written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/DerLando/RustNFP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71b27b8b83a6416b832b03e4d884cbdebf06a0b5826f7afc301a419e79c1c789 [INFO] running `Command { std: "docker" "start" "-a" "71b27b8b83a6416b832b03e4d884cbdebf06a0b5826f7afc301a419e79c1c789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b27b8b83a6416b832b03e4d884cbdebf06a0b5826f7afc301a419e79c1c789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b27b8b83a6416b832b03e4d884cbdebf06a0b5826f7afc301a419e79c1c789", kill_on_drop: false }` [INFO] [stdout] 71b27b8b83a6416b832b03e4d884cbdebf06a0b5826f7afc301a419e79c1c789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e06c423c4ea48d3e5548344a2627463dfd5ae27166e42fe9edc701e090c5ee [INFO] running `Command { std: "docker" "start" "-a" "d9e06c423c4ea48d3e5548344a2627463dfd5ae27166e42fe9edc701e090c5ee", 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] Checking no_fit_polygon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/geometry/point.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Vector, constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NEG_INFINITY` [INFO] [stdout] --> src/geometry/line.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::{INFINITY, NEG_INFINITY}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/geometry/vector.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point, constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `Vector` [INFO] [stdout] --> src/lib.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use super::geometry::{Point, Polygon, LineSegment, Line, Vector}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f64::consts::{PI}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/geometry/point.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Vector, constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NEG_INFINITY` [INFO] [stdout] --> src/geometry/line.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::{INFINITY, NEG_INFINITY}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/geometry/vector.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point, constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineSegment`, `Point`, `Polygon` [INFO] [stdout] --> src/tests/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | use super::super::geometry::{Vector, Polygon, Point, LineSegment, constants::ZERO_TOLERANCE}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `Vector` [INFO] [stdout] --> src/lib.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use super::geometry::{Point, Polygon, LineSegment, Line, Vector}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f64::consts::{PI}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_edge_index` is never read [INFO] [stdout] --> src/geometry/polygon.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | let mut first_edge_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `other_edge_index` is never read [INFO] [stdout] --> src/geometry/polygon.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let mut other_edge_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shared_vertex_indices` [INFO] [stdout] --> src/geometry/polygon.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let other_shared_vertex_indices = other.edge_from_to(other_edge_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shared_vertex_indices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry/polygon.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let mut all: HashSet = [self.from, self.middle, self.to].iter().cloned().collect(); [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: associated function is never used: `all_indices` [INFO] [stdout] --> src/geometry/polygon.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn all_indices(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_index_intersecting` [INFO] [stdout] --> src/geometry/polygon.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn is_index_intersecting(&self, other: &PartitionLine) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_other_middle` [INFO] [stdout] --> src/geometry/polygon.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn contains_other_middle(&self, other: &PartitionLine) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_edge_index` is never read [INFO] [stdout] --> src/geometry/polygon.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | let mut first_edge_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `other_edge_index` is never read [INFO] [stdout] --> src/geometry/polygon.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let mut other_edge_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shared_vertex_indices` [INFO] [stdout] --> src/geometry/polygon.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let other_shared_vertex_indices = other.edge_from_to(other_edge_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shared_vertex_indices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry/polygon.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let mut all: HashSet = [self.from, self.middle, self.to].iter().cloned().collect(); [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: associated function is never used: `all_indices` [INFO] [stdout] --> src/geometry/polygon.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn all_indices(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_index_intersecting` [INFO] [stdout] --> src/geometry/polygon.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn is_index_intersecting(&self, other: &PartitionLine) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_other_middle` [INFO] [stdout] --> src/geometry/polygon.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn contains_other_middle(&self, other: &PartitionLine) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:466:75 [INFO] [stdout] | [INFO] [stdout] 466 | LineSegmentLineSegmentIntersectionResult::Point(pt) => panic!(format!("Found a point, {:?}", pt)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 466 | LineSegmentLineSegmentIntersectionResult::Point(pt) => panic!("Found a point, {:?}", pt), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:512:32 [INFO] [stdout] | [INFO] [stdout] 512 | panic!(format!("Points were not equal under epsilon on index {}!, {:?}, {:?}", n, pt, original_corners[n])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 512 | panic!("Points were not equal under epsilon on index {}!, {:?}, {:?}", n, pt, original_corners[n]) [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 1.08s [INFO] running `Command { std: "docker" "inspect" "d9e06c423c4ea48d3e5548344a2627463dfd5ae27166e42fe9edc701e090c5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e06c423c4ea48d3e5548344a2627463dfd5ae27166e42fe9edc701e090c5ee", kill_on_drop: false }` [INFO] [stdout] d9e06c423c4ea48d3e5548344a2627463dfd5ae27166e42fe9edc701e090c5ee