[INFO] fetching crate cut-optimizer-2d 0.4.2... [INFO] checking cut-optimizer-2d-0.4.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cut-optimizer-2d 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate cut-optimizer-2d 0.4.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cut-optimizer-2d 0.4.2 [INFO] finished tweaking crates.io crate cut-optimizer-2d 0.4.2 [INFO] tweaked toml for crates.io crate cut-optimizer-2d 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ba512df8257bc07a70faaea344fb26a2baca586a39d5a832ef4c5f7a3ebd16 [INFO] running `Command { std: "docker" "start" "-a" "42ba512df8257bc07a70faaea344fb26a2baca586a39d5a832ef4c5f7a3ebd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ba512df8257bc07a70faaea344fb26a2baca586a39d5a832ef4c5f7a3ebd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ba512df8257bc07a70faaea344fb26a2baca586a39d5a832ef4c5f7a3ebd16", kill_on_drop: false }` [INFO] [stdout] 42ba512df8257bc07a70faaea344fb26a2baca586a39d5a832ef4c5f7a3ebd16 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2622af2ef8b94e43414375c89330edeaafe15023b97ffb6035fe61371ae8442 [INFO] running `Command { std: "docker" "start" "-a" "c2622af2ef8b94e43414375c89330edeaafe15023b97ffb6035fe61371ae8442", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking cut-optimizer-2d v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:514:52 [INFO] [stdout] | [INFO] [stdout] 514 | SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 514 - SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] 514 + SplitHeuristic::ShorterLeftoverAxis => w <= h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:515:51 [INFO] [stdout] | [INFO] [stdout] 515 | SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 - SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] 515 + SplitHeuristic::LongerLeftoverAxis => w > h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 516 - SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] 516 + SplitHeuristic::MinimizeArea => rect.width as u64 * h > w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 517 - SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] 517 + SplitHeuristic::MaximizeArea => rect.width as u64 * h <= w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 518 - SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] 518 + SplitHeuristic::ShorterAxis => free_rect.width as u64 <= free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:519:43 [INFO] [stdout] | [INFO] [stdout] 519 | SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] 519 + SplitHeuristic::LongerAxis => free_rect.width as u64 > free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 20 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:514:52 [INFO] [stdout] | [INFO] [stdout] 514 | SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 514 - SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] 514 + SplitHeuristic::ShorterLeftoverAxis => w <= h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:515:51 [INFO] [stdout] | [INFO] [stdout] 515 | SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 - SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] 515 + SplitHeuristic::LongerLeftoverAxis => w > h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 516 - SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] 516 + SplitHeuristic::MinimizeArea => rect.width as u64 * h > w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 517 - SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] 517 + SplitHeuristic::MaximizeArea => rect.width as u64 * h <= w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 518 - SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] 518 + SplitHeuristic::ShorterAxis => free_rect.width as u64 <= free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:519:43 [INFO] [stdout] | [INFO] [stdout] 519 | SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] 519 + SplitHeuristic::LongerAxis => free_rect.width as u64 > free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 20 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.74s [INFO] running `Command { std: "docker" "inspect" "c2622af2ef8b94e43414375c89330edeaafe15023b97ffb6035fe61371ae8442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2622af2ef8b94e43414375c89330edeaafe15023b97ffb6035fe61371ae8442", kill_on_drop: false }` [INFO] [stdout] c2622af2ef8b94e43414375c89330edeaafe15023b97ffb6035fe61371ae8442 [INFO] checking cut-optimizer-2d-0.4.2 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate cut-optimizer-2d 0.4.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cut-optimizer-2d 0.4.2 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cut-optimizer-2d 0.4.2 [INFO] finished tweaking crates.io crate cut-optimizer-2d 0.4.2 [INFO] tweaked toml for crates.io crate cut-optimizer-2d 0.4.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0272416b0a23a670afa7ee47d40d20cb1b015ae93becf4a62aae0cf87193203f [INFO] running `Command { std: "docker" "start" "-a" "0272416b0a23a670afa7ee47d40d20cb1b015ae93becf4a62aae0cf87193203f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0272416b0a23a670afa7ee47d40d20cb1b015ae93becf4a62aae0cf87193203f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0272416b0a23a670afa7ee47d40d20cb1b015ae93becf4a62aae0cf87193203f", kill_on_drop: false }` [INFO] [stdout] 0272416b0a23a670afa7ee47d40d20cb1b015ae93becf4a62aae0cf87193203f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a90831933c08c8aaf6485dacf43d2812adaaadbf96de1ee9ff523e62254d0c11 [INFO] running `Command { std: "docker" "start" "-a" "a90831933c08c8aaf6485dacf43d2812adaaadbf96de1ee9ff523e62254d0c11", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking cut-optimizer-2d v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:514:52 [INFO] [stdout] | [INFO] [stdout] 514 | SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 514 - SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] 514 + SplitHeuristic::ShorterLeftoverAxis => w <= h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:515:51 [INFO] [stdout] | [INFO] [stdout] 515 | SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 - SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] 515 + SplitHeuristic::LongerLeftoverAxis => w > h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 516 - SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] 516 + SplitHeuristic::MinimizeArea => rect.width as u64 * h > w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 517 - SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] 517 + SplitHeuristic::MaximizeArea => rect.width as u64 * h <= w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 518 - SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] 518 + SplitHeuristic::ShorterAxis => free_rect.width as u64 <= free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:519:43 [INFO] [stdout] | [INFO] [stdout] 519 | SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] 519 + SplitHeuristic::LongerAxis => free_rect.width as u64 > free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 20 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/guillotine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:514:52 [INFO] [stdout] | [INFO] [stdout] 514 | SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 514 - SplitHeuristic::ShorterLeftoverAxis => (w <= h), [INFO] [stdout] 514 + SplitHeuristic::ShorterLeftoverAxis => w <= h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:515:51 [INFO] [stdout] | [INFO] [stdout] 515 | SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 - SplitHeuristic::LongerLeftoverAxis => (w > h), [INFO] [stdout] 515 + SplitHeuristic::LongerLeftoverAxis => w > h, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 516 - SplitHeuristic::MinimizeArea => (rect.width as u64 * h > w * rect.length as u64), [INFO] [stdout] 516 + SplitHeuristic::MinimizeArea => rect.width as u64 * h > w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:517:45 [INFO] [stdout] | [INFO] [stdout] 517 | SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 517 - SplitHeuristic::MaximizeArea => (rect.width as u64 * h <= w * rect.length as u64), [INFO] [stdout] 517 + SplitHeuristic::MaximizeArea => rect.width as u64 * h <= w * rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 518 - SplitHeuristic::ShorterAxis => (free_rect.width as u64 <= free_rect.length as u64), [INFO] [stdout] 518 + SplitHeuristic::ShorterAxis => free_rect.width as u64 <= free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/guillotine.rs:519:43 [INFO] [stdout] | [INFO] [stdout] 519 | SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - SplitHeuristic::LongerAxis => (free_rect.width as u64 > free_rect.length as u64), [INFO] [stdout] 519 + SplitHeuristic::LongerAxis => free_rect.width as u64 > free_rect.length as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/maxrects.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 20 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.68s [INFO] running `Command { std: "docker" "inspect" "a90831933c08c8aaf6485dacf43d2812adaaadbf96de1ee9ff523e62254d0c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90831933c08c8aaf6485dacf43d2812adaaadbf96de1ee9ff523e62254d0c11", kill_on_drop: false }` [INFO] [stdout] a90831933c08c8aaf6485dacf43d2812adaaadbf96de1ee9ff523e62254d0c11