[INFO] cloning repository https://github.com/Nathanjp91/upolygon-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nathanjp91/upolygon-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanjp91%2Fupolygon-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanjp91%2Fupolygon-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e602492b2db6972ef1ae6702916ac6fe371a8c6 [INFO] checking Nathanjp91/upolygon-rs/3e602492b2db6972ef1ae6702916ac6fe371a8c6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanjp91%2Fupolygon-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nathanjp91/upolygon-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nathanjp91/upolygon-rs [INFO] finished tweaking git repo https://github.com/Nathanjp91/upolygon-rs [INFO] tweaked toml for git repo https://github.com/Nathanjp91/upolygon-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nathanjp91/upolygon-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.19.0 [INFO] [stderr] Downloaded pyo3-ffi v0.19.0 [INFO] [stderr] Downloaded target-lexicon v0.12.7 [INFO] [stderr] Downloaded pyo3-build-config v0.19.0 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.0 [INFO] [stderr] Downloaded pyo3 v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a9107890731e7f89366b3511f533fcbfe6e4169fdd10803ec450f9e905175eb [INFO] running `Command { std: "docker" "start" "-a" "7a9107890731e7f89366b3511f533fcbfe6e4169fdd10803ec450f9e905175eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9107890731e7f89366b3511f533fcbfe6e4169fdd10803ec450f9e905175eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9107890731e7f89366b3511f533fcbfe6e4169fdd10803ec450f9e905175eb", kill_on_drop: false }` [INFO] [stdout] 7a9107890731e7f89366b3511f533fcbfe6e4169fdd10803ec450f9e905175eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bb39d0c7b07aebc226934ce9750f490d32ac9e0a5dfcdec657e9b176266344a [INFO] running `Command { std: "docker" "start" "-a" "9bb39d0c7b07aebc226934ce9750f490d32ac9e0a5dfcdec657e9b176266344a", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.7 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling pyo3-build-config v0.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling pyo3-ffi v0.19.0 [INFO] [stderr] Compiling pyo3 v0.19.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.0 [INFO] [stderr] Compiling pyo3-macros v0.19.0 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking upolygon-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/polygons.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for i in (0..(points.len()-1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - for i in (0..(points.len()-1)) { [INFO] [stdout] 80 + for i in 0..(points.len()-1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/polygons.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for i in (0..(points.len()-1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - for i in (0..(points.len()-1)) { [INFO] [stdout] 80 + for i in 0..(points.len()-1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `out_of_bounds` are never used [INFO] [stdout] --> src/geometry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn shift(&mut self, x: i64, y: i64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn out_of_bounds(self, width: usize, height: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexPolygon` is never constructed [INFO] [stdout] --> src/geometry.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ComplexPolygon { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_paths` is never used [INFO] [stdout] --> src/geometry.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ComplexPolygon { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn from_paths(paths: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `points_as_mut` and `correct` are never used [INFO] [stdout] --> src/geometry.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn points_as_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn correct(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `out_of_bounds` are never used [INFO] [stdout] --> src/geometry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn shift(&mut self, x: i64, y: i64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn out_of_bounds(self, width: usize, height: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexPolygon` is never constructed [INFO] [stdout] --> src/geometry.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ComplexPolygon { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_paths` is never used [INFO] [stdout] --> src/geometry.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ComplexPolygon { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn from_paths(paths: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `points_as_mut` and `correct` are never used [INFO] [stdout] --> src/geometry.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn points_as_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn correct(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.30s [INFO] running `Command { std: "docker" "inspect" "9bb39d0c7b07aebc226934ce9750f490d32ac9e0a5dfcdec657e9b176266344a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb39d0c7b07aebc226934ce9750f490d32ac9e0a5dfcdec657e9b176266344a", kill_on_drop: false }` [INFO] [stdout] 9bb39d0c7b07aebc226934ce9750f490d32ac9e0a5dfcdec657e9b176266344a