[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] b28b7e0302fab7a26fae1555afbb549f6ac308d1 [INFO] building sameer/raster2svg against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsameer%2Fraster2svg" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sameer/raster2svg on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyon_geom v0.17.7 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded pdqselect v0.1.1 [INFO] [stderr] Downloaded ndarray-stats v0.6.0 [INFO] [stderr] Downloaded uom v0.36.0 [INFO] [stderr] Downloaded syn v2.0.94 [INFO] [stderr] Downloaded clamp v0.1.0 [INFO] [stderr] Downloaded spade v1.8.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b2b48af0cdb547b965c851aee7b909991258323e2d9bedc1c42c066b2fb8ab7 [INFO] running `Command { std: "docker" "start" "-a" "7b2b48af0cdb547b965c851aee7b909991258323e2d9bedc1c42c066b2fb8ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b2b48af0cdb547b965c851aee7b909991258323e2d9bedc1c42c066b2fb8ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2b48af0cdb547b965c851aee7b909991258323e2d9bedc1c42c066b2fb8ab7", kill_on_drop: false }` [INFO] [stdout] 7b2b48af0cdb547b965c851aee7b909991258323e2d9bedc1c42c066b2fb8ab7 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbc402c30f368b4fee670121dcffaf4ba566b0db0f45a68f440322fa3414a033 [INFO] running `Command { std: "docker" "start" "-a" "fbc402c30f368b4fee670121dcffaf4ba566b0db0f45a68f440322fa3414a033", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cfg-expr v0.17.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling clamp v0.1.0 [INFO] [stderr] Compiling pdqselect v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling system-deps v7.0.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling cairo-sys-rs v0.20.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cairo-rs v0.20.7 [INFO] [stderr] Compiling spade v1.8.2 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling ndarray-stats v0.6.0 [INFO] [stderr] Compiling raster2svg v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HULL_EPSILON` [INFO] [stdout] | [INFO] [stdout] 325 - let mut first_derivative_weight_sum = 0.; [INFO] [stdout] 325 + let mut voronoi::CellProperties::::calculate::HULL_EPSILON = 0.; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `HULL_EPSILON` [INFO] [stdout] | [INFO] [stdout] 327 - let mut laplacian_of_gaussian_weight_sum = 0.; [INFO] [stdout] 327 + let mut voronoi::CellProperties::::calculate::HULL_EPSILON = 0.; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_STANDARD_DEVIATIONS` is never used [INFO] [stdout] --> src/filter.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NUM_STANDARD_DEVIATIONS: f64 = 3.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sobel_operator` is never used [INFO] [stdout] --> src/filter.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sobel_operator(image: ArrayView2) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_tangent_flow` is never used [INFO] [stdout] --> src/filter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn edge_tangent_flow(image: ArrayView2) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flow_based_difference_of_gaussians` is never used [INFO] [stdout] --> src/filter.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn flow_based_difference_of_gaussians( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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` is never used [INFO] [stdout] --> src/filter.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | fn gaussian_pdf(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_pdf_first_derivative` is never used [INFO] [stdout] --> src/filter.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | 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:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | 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:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn erf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convolve` is never used [INFO] [stdout] --> src/filter.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | fn convolve<'a>(image: ArrayView2<'a, f64>, kernel: ArrayView2<'a, f64>) -> Array2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Direct` is never constructed [INFO] [stdout] --> src/optimize/direct.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Direct [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirectState` is never constructed [INFO] [stdout] --> src/optimize/direct.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct DirectState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SizeMetric` is never used [INFO] [stdout] --> src/optimize/direct.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum SizeMetric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/optimize/direct.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/optimize/direct.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fmin` is never used [INFO] [stdout] --> src/optimize/direct.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 81 | fn fmin(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `initialize`, `extract_potentially_optimal`, `split`, and `denormalize_point` are never used [INFO] [stdout] --> src/optimize/direct.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 86 | / impl Direct [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | F: Fn(ArrayView1) -> f64, [INFO] [stdout] | |__________________________________- methods in this implementation [INFO] [stdout] 89 | { [INFO] [stdout] 90 | pub fn run(&self) -> (Array1, f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn initialize(&self, state: &mut DirectState) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn extract_potentially_optimal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn split( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | fn denormalize_point(&self, hypercube_point: ArrayView1) -> Array1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdaptiveEpsilon` is never constructed [INFO] [stdout] --> src/optimize/direct.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | struct AdaptiveEpsilon { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `value`, `improved`, and `no_improvement` are never used [INFO] [stdout] --> src/optimize/direct.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl AdaptiveEpsilon { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 425 | fn new(enabled: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | fn value(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn improved(&mut self, iteration: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn no_improvement(&mut self, iteration: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_fdog_based` is never used [INFO] [stdout] --> src/render.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_fdog_based( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "fbc402c30f368b4fee670121dcffaf4ba566b0db0f45a68f440322fa3414a033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc402c30f368b4fee670121dcffaf4ba566b0db0f45a68f440322fa3414a033", kill_on_drop: false }` [INFO] [stdout] fbc402c30f368b4fee670121dcffaf4ba566b0db0f45a68f440322fa3414a033 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 456432c174fff332c8faf58519e138c6354d09953611b9f07dd43c1918fafcf2 [INFO] running `Command { std: "docker" "start" "-a" "456432c174fff332c8faf58519e138c6354d09953611b9f07dd43c1918fafcf2", kill_on_drop: false }` [INFO] [stderr] Compiling raster2svg v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HULL_EPSILON` [INFO] [stdout] | [INFO] [stdout] 325 - let mut first_derivative_weight_sum = 0.; [INFO] [stdout] 325 + let mut voronoi::CellProperties::::calculate::HULL_EPSILON = 0.; [INFO] [stdout] | [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] help: you might have meant to pattern match on the similarly named constant `HULL_EPSILON` [INFO] [stdout] | [INFO] [stdout] 327 - let mut laplacian_of_gaussian_weight_sum = 0.; [INFO] [stdout] 327 + let mut voronoi::CellProperties::::calculate::HULL_EPSILON = 0.; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_STANDARD_DEVIATIONS` is never used [INFO] [stdout] --> src/filter.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NUM_STANDARD_DEVIATIONS: f64 = 3.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sobel_operator` is never used [INFO] [stdout] --> src/filter.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sobel_operator(image: ArrayView2) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_tangent_flow` is never used [INFO] [stdout] --> src/filter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn edge_tangent_flow(image: ArrayView2) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flow_based_difference_of_gaussians` is never used [INFO] [stdout] --> src/filter.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn flow_based_difference_of_gaussians( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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` is never used [INFO] [stdout] --> src/filter.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | fn gaussian_pdf(x: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_pdf_first_derivative` is never used [INFO] [stdout] --> src/filter.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | 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:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | 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:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn erf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L2` and `Linf` are never constructed [INFO] [stdout] --> src/optimize/direct.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum SizeMetric { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | L2, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | /// Largest dimension [INFO] [stdout] 45 | Linf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_fdog_based` is never used [INFO] [stdout] --> src/render.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_fdog_based( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.17s [INFO] running `Command { std: "docker" "inspect" "456432c174fff332c8faf58519e138c6354d09953611b9f07dd43c1918fafcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456432c174fff332c8faf58519e138c6354d09953611b9f07dd43c1918fafcf2", kill_on_drop: false }` [INFO] [stdout] 456432c174fff332c8faf58519e138c6354d09953611b9f07dd43c1918fafcf2