[INFO] fetching crate voronoiify-image 1.0.2... [INFO] checking voronoiify-image-1.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate voronoiify-image 1.0.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate voronoiify-image 1.0.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate voronoiify-image 1.0.2 [INFO] disabled cargo feature 'default-run' from crates.io crate voronoiify-image 1.0.2 [INFO] finished tweaking crates.io crate voronoiify-image 1.0.2 [INFO] tweaked toml for crates.io crate voronoiify-image 1.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding byteorder v1.2.7 (available: v1.5.0) [INFO] [stderr] Adding clap v2.32.0 (available: v2.34.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding crossbeam v0.2.12 (available: v0.8.4) [INFO] [stderr] Adding deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding gif v0.10.3 (available: v0.13.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding image v0.19.0 (available: v0.25.2) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (available: v0.3.1) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding num_cpus v1.0.0 (available: v1.16.0) [INFO] [stderr] Adding png v0.12.0 (available: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding scopeguard v0.1.2 (available: v1.2.0) [INFO] [stderr] Adding separator v0.3.1 (available: v0.4.1) [INFO] [stderr] Adding strsim v0.7.0 (available: v0.11.1) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.10.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `profile-overrides` has been stabilized in the 1.41 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#overrides for more information about using this feature. [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: profile.dev.overrides [INFO] [stderr] warning: unused manifest key: profile.release.overrides [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped-pool v1.0.0 [INFO] [stderr] Downloaded num_cpus v1.0.0 [INFO] [stderr] Downloaded scopeguard v0.1.2 [INFO] [stderr] Downloaded variance v0.1.3 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded image v0.19.0 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded separator v0.3.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4a8dcc65f2d29171d092bbced78e6bd12121755eb46e9134c173b9baceb4e1e [INFO] running `Command { std: "docker" "start" "-a" "e4a8dcc65f2d29171d092bbced78e6bd12121755eb46e9134c173b9baceb4e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4a8dcc65f2d29171d092bbced78e6bd12121755eb46e9134c173b9baceb4e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4a8dcc65f2d29171d092bbced78e6bd12121755eb46e9134c173b9baceb4e1e", kill_on_drop: false }` [INFO] [stdout] e4a8dcc65f2d29171d092bbced78e6bd12121755eb46e9134c173b9baceb4e1e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60e877ad197f50722ba566b6407e68d442dd447cdcc234c4ee4ed0cfd80f6f8 [INFO] running `Command { std: "docker" "start" "-a" "f60e877ad197f50722ba566b6407e68d442dd447cdcc234c4ee4ed0cfd80f6f8", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `profile-overrides` has been stabilized in the 1.41 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#overrides for more information about using this feature. [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: profile.dev.overrides [INFO] [stderr] warning: unused manifest key: profile.release.overrides [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking scopeguard v0.1.2 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking variance v0.1.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking separator v0.3.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking scoped-pool v1.0.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.0.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking voronoiify-image v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/grouping.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | &self.center_links[(index.0).value][(index.1)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - &self.center_links[(index.0).value][(index.1)] [INFO] [stdout] 144 + &self.center_links[(index.0).value][index.1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/norms.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /// Pseudo-distance is not a valid norm, but rather a value with the only guarantees [INFO] [stdout] 88 | | /// that is has the exact same partial order as the real norm ([Dist]) and is non-negative. [INFO] [stdout] | |_------------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/grouping.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | &self.center_links[(index.0).value][(index.1)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - &self.center_links[(index.0).value][(index.1)] [INFO] [stdout] 144 + &self.center_links[(index.0).value][index.1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/norms.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /// Pseudo-distance is not a valid norm, but rather a value with the only guarantees [INFO] [stdout] 88 | | /// that is has the exact same partial order as the real norm ([Dist]) and is non-negative. [INFO] [stdout] | |_------------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/voronoi.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/norms.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | fn get_norm_funcs() -> Vec<&'static Fn(&N) -> Dist> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | fn get_norm_funcs() -> Vec<&'static dyn Fn(&N) -> Dist> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/norms.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let mut funcs: Vec<&'static Fn(&N) -> Dist> = Vec::with_capacity(3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | let mut funcs: Vec<&'static dyn Fn(&N) -> Dist> = Vec::with_capacity(3); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `set`, and `get` are never used [INFO] [stdout] --> src/grouping.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait TestTrait { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 42 | fn empty(width: X, height: Y) -> Grouping; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | fn set(&mut self, x: X, y: Y, point_id: PointId); [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | fn get(&self, x: X, y: Y) -> PointId; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dx` and `dy` are never used [INFO] [stdout] --> src/point.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Step { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 35 | fn new(dx: dX, dy: dY) -> Self; [INFO] [stdout] 36 | fn dx(&self) -> dX; [INFO] [stdout] | ^^ [INFO] [stdout] 37 | fn dy(&self) -> dY; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/grouping.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | / format!( [INFO] [stdout] 69 | | "Expectation violated: X {} < X-dim {}\n", [INFO] [stdout] 70 | | x.value, [INFO] [stdout] 71 | | self.width().value [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 ~ [INFO] [stdout] 69 | "Expectation violated: X {} < X-dim {}\n", [INFO] [stdout] 70 | x.value, [INFO] [stdout] 71 | self.width().value [INFO] [stdout] 72 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/grouping.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / format!( [INFO] [stdout] 77 | | "Expectation violated: Y {} < y-dim {}\n", [INFO] [stdout] 78 | | y.value, [INFO] [stdout] 79 | | self.height().value [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 76 ~ [INFO] [stdout] 77 | "Expectation violated: Y {} < y-dim {}\n", [INFO] [stdout] 78 | y.value, [INFO] [stdout] 79 | self.height().value [INFO] [stdout] 80 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/benchmark.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/benchmark.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/benchmark.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/benchmark.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/benchmark.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/benchmark.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/benchmark.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/benchmark.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dx` and `dy` are never used [INFO] [stdout] --> src/point.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Step { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 35 | fn new(dx: dX, dy: dY) -> Self; [INFO] [stdout] 36 | fn dx(&self) -> dX; [INFO] [stdout] | ^^ [INFO] [stdout] 37 | fn dy(&self) -> dY; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/grouping.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | / format!( [INFO] [stdout] 69 | | "Expectation violated: X {} < X-dim {}\n", [INFO] [stdout] 70 | | x.value, [INFO] [stdout] 71 | | self.width().value [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 ~ [INFO] [stdout] 69 | "Expectation violated: X {} < X-dim {}\n", [INFO] [stdout] 70 | x.value, [INFO] [stdout] 71 | self.width().value [INFO] [stdout] 72 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/grouping.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / format!( [INFO] [stdout] 77 | | "Expectation violated: Y {} < y-dim {}\n", [INFO] [stdout] 78 | | y.value, [INFO] [stdout] 79 | | self.height().value [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 76 ~ [INFO] [stdout] 77 | "Expectation violated: Y {} < y-dim {}\n", [INFO] [stdout] 78 | y.value, [INFO] [stdout] 79 | self.height().value [INFO] [stdout] 80 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 7 | | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | | act, ex, $tolerance [INFO] [stdout] 9 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / assert_approx_eq!( [INFO] [stdout] 257 | | Dist::fnew(4f64), [INFO] [stdout] 258 | | manhattan(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 259 | | Dist::fnew(1e-10) [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 6 ~ panic!( [INFO] [stdout] 7 | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | act, ex, $tolerance [INFO] [stdout] 9 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 13 | | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | | act, ex, $tolerance [INFO] [stdout] 15 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / assert_approx_eq!( [INFO] [stdout] 257 | | Dist::fnew(4f64), [INFO] [stdout] 258 | | manhattan(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 259 | | Dist::fnew(1e-10) [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 12 ~ panic!( [INFO] [stdout] 13 | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | act, ex, $tolerance [INFO] [stdout] 15 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 7 | | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | | act, ex, $tolerance [INFO] [stdout] 9 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / assert_approx_eq!( [INFO] [stdout] 266 | | Dist::fnew(4. * (PI / 4.).cos()), [INFO] [stdout] 267 | | euclidean(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 268 | | Dist::fnew(1e-10) [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 6 ~ panic!( [INFO] [stdout] 7 | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | act, ex, $tolerance [INFO] [stdout] 9 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 13 | | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | | act, ex, $tolerance [INFO] [stdout] 15 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / assert_approx_eq!( [INFO] [stdout] 266 | | Dist::fnew(4. * (PI / 4.).cos()), [INFO] [stdout] 267 | | euclidean(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 268 | | Dist::fnew(1e-10) [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 12 ~ panic!( [INFO] [stdout] 13 | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | act, ex, $tolerance [INFO] [stdout] 15 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 7 | | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | | act, ex, $tolerance [INFO] [stdout] 9 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / assert_approx_eq!( [INFO] [stdout] 276 | | Dist::fnew(16f64.powf(1. / 3.)), [INFO] [stdout] 277 | | L3(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 278 | | Dist::fnew(1e-10) [INFO] [stdout] 279 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 6 ~ panic!( [INFO] [stdout] 7 | "Actual value {:?} is lower than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 8 | act, ex, $tolerance [INFO] [stdout] 9 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 13 | | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | | act, ex, $tolerance [INFO] [stdout] 15 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/norms.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / assert_approx_eq!( [INFO] [stdout] 276 | | Dist::fnew(16f64.powf(1. / 3.)), [INFO] [stdout] 277 | | L3(&Step2D::new(dX::new(2), dY::new(2))), [INFO] [stdout] 278 | | Dist::fnew(1e-10) [INFO] [stdout] 279 | | ); [INFO] [stdout] | |_________- in this macro invocation [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] = note: this warning originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 12 ~ panic!( [INFO] [stdout] 13 | "Actual value {:?} is higher than expected value {:?} (at tolerance {:?})", [INFO] [stdout] 14 | act, ex, $tolerance [INFO] [stdout] 15 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voronoiify-image` (bin "voronoi-benchmark") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `input`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/benchmark.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 145 | let input = Path::new("resources").join("imgs").join("parrots.png"); [INFO] [stdout] | ----- captured outer variable [INFO] [stdout] 146 | bench.iter(|| run_bench(input, 10, false)); [INFO] [stdout] | -- ^^^^^ move occurs because `input` has type `PathBuf`, which does not implement the `Copy` trait [INFO] [stdout] | | [INFO] [stdout] | captured by this `FnMut` closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 146 | bench.iter(|| run_bench(input.clone(), 10, false)); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voronoiify-image` (bin "voronoi-benchmark" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f60e877ad197f50722ba566b6407e68d442dd447cdcc234c4ee4ed0cfd80f6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60e877ad197f50722ba566b6407e68d442dd447cdcc234c4ee4ed0cfd80f6f8", kill_on_drop: false }` [INFO] [stdout] f60e877ad197f50722ba566b6407e68d442dd447cdcc234c4ee4ed0cfd80f6f8