[INFO] cloning repository https://github.com/sameer/raster2svg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sameer/raster2svg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsameer%2Fraster2svg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsameer%2Fraster2svg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64985916d22bcd5b42c6f1fe274849aec73d41cd [INFO] testing sameer/raster2svg against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsameer%2Fraster2svg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sameer/raster2svg on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sameer/raster2svg [INFO] finished tweaking git repo https://github.com/sameer/raster2svg [INFO] tweaked toml for git repo https://github.com/sameer/raster2svg written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sameer/raster2svg 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba11b7ab9cd639505a6f6712bac26132fedebd824e1b9f00fd11ec27c2ab485d [INFO] running `Command { std: "docker" "start" "-a" "ba11b7ab9cd639505a6f6712bac26132fedebd824e1b9f00fd11ec27c2ab485d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba11b7ab9cd639505a6f6712bac26132fedebd824e1b9f00fd11ec27c2ab485d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba11b7ab9cd639505a6f6712bac26132fedebd824e1b9f00fd11ec27c2ab485d", kill_on_drop: false }` [INFO] [stdout] ba11b7ab9cd639505a6f6712bac26132fedebd824e1b9f00fd11ec27c2ab485d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5acc9316a6b13416ddabe8ba2d8482c689afc6d64f44491db985a39701394f2 [INFO] running `Command { std: "docker" "start" "-a" "b5acc9316a6b13416ddabe8ba2d8482c689afc6d64f44491db985a39701394f2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pdqselect v0.1.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling clamp v0.1.0 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling lyon_geom v0.17.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling ndarray-stats v0.5.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling spade v1.8.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uom v0.32.0 [INFO] [stderr] Compiling serde_with v1.12.1 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling cairo-rs v0.15.6 [INFO] [stderr] Compiling raster2svg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `edge_flow_estimation`, `step_edge_detection` [INFO] [stdout] --> src/render.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | edge_flow_estimation, edge_tangent_flow, flow_based_difference_of_gaussians, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | step_edge_detection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/voronoi/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | (-1, -1) => (s![..x, ..y]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 583 - (-1, -1) => (s![..x, ..y]), [INFO] [stdout] 583 + (-1, -1) => s![..x, ..y], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `first_derivative_weight_sum` is assigned to, but never used [INFO] [stdout] --> src/filter.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut first_derivative_weight_sum = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_first_derivative_weight_sum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `laplacian_of_gaussian_weight_sum` is assigned to, but never used [INFO] [stdout] --> src/filter.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | let mut laplacian_of_gaussian_weight_sum = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_laplacian_of_gaussian_weight_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrument_diameter_in_pixels` [INFO] [stdout] --> src/render.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | instrument_diameter_in_pixels: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrument_diameter_in_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/voronoi/mod.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | let dist = overlap.to_line().distance_to_point(¢roid); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeFlowEstimate` is never constructed [INFO] [stdout] --> src/filter.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct EdgeFlowEstimate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_flow_estimation` is never used [INFO] [stdout] --> src/filter.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn edge_flow_estimation(image: ArrayView2) -> EdgeFlowEstimate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_edge_detection` is never used [INFO] [stdout] --> src/filter.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn step_edge_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_pdf_first_derivative` is never used [INFO] [stdout] --> src/filter.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn gaussian_pdf_first_derivative(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_cdf` is never used [INFO] [stdout] --> src/filter.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | fn gaussian_cdf(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erf` is never used [INFO] [stdout] --> src/filter.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn erf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_svg` is never used [INFO] [stdout] --> src/voronoi/mod.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn to_svg( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 21s [INFO] running `Command { std: "docker" "inspect" "b5acc9316a6b13416ddabe8ba2d8482c689afc6d64f44491db985a39701394f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5acc9316a6b13416ddabe8ba2d8482c689afc6d64f44491db985a39701394f2", kill_on_drop: false }` [INFO] [stdout] b5acc9316a6b13416ddabe8ba2d8482c689afc6d64f44491db985a39701394f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a32a4282f75e55163fb878c23a95ef356c9728adb079578f6f12e15c38ae7d [INFO] running `Command { std: "docker" "start" "-a" "56a32a4282f75e55163fb878c23a95ef356c9728adb079578f6f12e15c38ae7d", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pretty_assertions v1.2.0 [INFO] [stderr] Compiling raster2svg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `edge_flow_estimation`, `step_edge_detection` [INFO] [stdout] --> src/render.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | edge_flow_estimation, edge_tangent_flow, flow_based_difference_of_gaussians, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | step_edge_detection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/voronoi/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | (-1, -1) => (s![..x, ..y]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 583 - (-1, -1) => (s![..x, ..y]), [INFO] [stdout] 583 + (-1, -1) => s![..x, ..y], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `first_derivative_weight_sum` is assigned to, but never used [INFO] [stdout] --> src/filter.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut first_derivative_weight_sum = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_first_derivative_weight_sum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `laplacian_of_gaussian_weight_sum` is assigned to, but never used [INFO] [stdout] --> src/filter.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | let mut laplacian_of_gaussian_weight_sum = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_laplacian_of_gaussian_weight_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrument_diameter_in_pixels` [INFO] [stdout] --> src/render.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | instrument_diameter_in_pixels: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrument_diameter_in_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/voronoi/mod.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | let dist = overlap.to_line().distance_to_point(¢roid); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeFlowEstimate` is never constructed [INFO] [stdout] --> src/filter.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct EdgeFlowEstimate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_flow_estimation` is never used [INFO] [stdout] --> src/filter.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn edge_flow_estimation(image: ArrayView2) -> EdgeFlowEstimate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_edge_detection` is never used [INFO] [stdout] --> src/filter.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn step_edge_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_pdf_first_derivative` is never used [INFO] [stdout] --> src/filter.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn gaussian_pdf_first_derivative(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_cdf` is never used [INFO] [stdout] --> src/filter.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | fn gaussian_cdf(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erf` is never used [INFO] [stdout] --> src/filter.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn erf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_svg` is never used [INFO] [stdout] --> src/voronoi/mod.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn to_svg( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 51.43s [INFO] running `Command { std: "docker" "inspect" "56a32a4282f75e55163fb878c23a95ef356c9728adb079578f6f12e15c38ae7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a32a4282f75e55163fb878c23a95ef356c9728adb079578f6f12e15c38ae7d", kill_on_drop: false }` [INFO] [stdout] 56a32a4282f75e55163fb878c23a95ef356c9728adb079578f6f12e15c38ae7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 125eb0d8ca58a1f95d6afb9182bfdf171f9a20620bbd251ce05879ee8c7a5983 [INFO] running `Command { std: "docker" "start" "-a" "125eb0d8ca58a1f95d6afb9182bfdf171f9a20620bbd251ce05879ee8c7a5983", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `edge_flow_estimation`, `step_edge_detection` [INFO] [stderr] --> src/render.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | edge_flow_estimation, edge_tangent_flow, flow_based_difference_of_gaussians, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | step_edge_detection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/voronoi/mod.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/main.rs:583:21 [INFO] [stderr] | [INFO] [stderr] 583 | (-1, -1) => (s![..x, ..y]), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 583 - (-1, -1) => (s![..x, ..y]), [INFO] [stderr] 583 + (-1, -1) => s![..x, ..y], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable `first_derivative_weight_sum` is assigned to, but never used [INFO] [stderr] --> src/filter.rs:325:21 [INFO] [stderr] | [INFO] [stderr] 325 | let mut first_derivative_weight_sum = 0.; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_first_derivative_weight_sum` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `laplacian_of_gaussian_weight_sum` is assigned to, but never used [INFO] [stderr] --> src/filter.rs:327:21 [INFO] [stderr] | [INFO] [stderr] 327 | let mut laplacian_of_gaussian_weight_sum = 0.; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_laplacian_of_gaussian_weight_sum` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instrument_diameter_in_pixels` [INFO] [stderr] --> src/render.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | instrument_diameter_in_pixels: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrument_diameter_in_pixels` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dist` [INFO] [stderr] --> src/voronoi/mod.rs:343:25 [INFO] [stderr] | [INFO] [stderr] 343 | let dist = overlap.to_line().distance_to_point(¢roid); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stderr] [INFO] [stderr] warning: struct `EdgeFlowEstimate` is never constructed [INFO] [stderr] --> src/filter.rs:258:12 [INFO] [stderr] | [INFO] [stderr] 258 | pub struct EdgeFlowEstimate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `edge_flow_estimation` is never used [INFO] [stderr] --> src/filter.rs:273:8 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn edge_flow_estimation(image: ArrayView2) -> EdgeFlowEstimate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `step_edge_detection` is never used [INFO] [stderr] --> src/filter.rs:302:8 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn step_edge_detection( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gaussian_pdf_first_derivative` is never used [INFO] [stderr] --> src/filter.rs:413:4 [INFO] [stderr] | [INFO] [stderr] 413 | fn gaussian_pdf_first_derivative(x: f64, sigma: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gaussian_cdf` is never used [INFO] [stderr] --> src/filter.rs:419:4 [INFO] [stderr] | [INFO] [stderr] 419 | fn gaussian_cdf(x: f64, sigma: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `erf` is never used [INFO] [stderr] --> src/filter.rs:423:4 [INFO] [stderr] | [INFO] [stderr] 423 | fn erf(x: f64) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_svg` is never used [INFO] [stderr] --> src/voronoi/mod.rs:381:4 [INFO] [stderr] | [INFO] [stderr] 381 | fn to_svg( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raster2svg` (bin "raster2svg" test) generated 14 warnings (run `cargo fix --bin "raster2svg" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raster2svg-b619c456c4a9df72) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test math::test_summation ... ok [INFO] [stdout] test voronoi::hull::tests::test_convex_hull_of_square ... ok [INFO] [stdout] test color::tests::srgb_to_ciexyz_is_correct ... ok [INFO] [stdout] test graph::mst::mst_is_correct_for_trivial_case ... ok [INFO] [stdout] test voronoi::hull::tests::test_convex_hull_of_square_with_inscribed_point ... ok [INFO] [stdout] test color::tests::srgb_to_hsl_is_correct ... ok [INFO] [stdout] test voronoi::hull::tests::test_convex_hull_of_triangle ... ok [INFO] [stdout] test color::tests::ciexyz_to_cielab_is_correct ... ok [INFO] [stdout] test filter::tests::test_convolution_operator ... ok [INFO] [stdout] test graph::tsp::tsp_is_correct_for_trivial_case ... ok [INFO] [stdout] test graph::tsp::tsp_is_correct_for_nontrivial_case ... ok [INFO] [stdout] test voronoi::tests::test_jump_flooding_voronoi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "125eb0d8ca58a1f95d6afb9182bfdf171f9a20620bbd251ce05879ee8c7a5983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125eb0d8ca58a1f95d6afb9182bfdf171f9a20620bbd251ce05879ee8c7a5983", kill_on_drop: false }` [INFO] [stdout] 125eb0d8ca58a1f95d6afb9182bfdf171f9a20620bbd251ce05879ee8c7a5983