[INFO] fetching crate superpixel 0.1.1... [INFO] checking superpixel-0.1.1 against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] extracting crate superpixel 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate superpixel 0.1.1 on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate superpixel 0.1.1 [INFO] finished tweaking crates.io crate superpixel 0.1.1 [INFO] tweaked toml for crates.io crate superpixel 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded image v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e26f13cca41bceb1fa0f7ddbaa4b174b3f210ffec2213034e430142eaec401b0 [INFO] running `Command { std: "docker" "start" "-a" "e26f13cca41bceb1fa0f7ddbaa4b174b3f210ffec2213034e430142eaec401b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26f13cca41bceb1fa0f7ddbaa4b174b3f210ffec2213034e430142eaec401b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26f13cca41bceb1fa0f7ddbaa4b174b3f210ffec2213034e430142eaec401b0", kill_on_drop: false }` [INFO] [stdout] e26f13cca41bceb1fa0f7ddbaa4b174b3f210ffec2213034e430142eaec401b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 513fc70204aab64f1bbd297d3a9a8a4fc7d0d0a2387bd824b342d07eb8f8f000 [INFO] running `Command { std: "docker" "start" "-a" "513fc70204aab64f1bbd297d3a9a8a4fc7d0d0a2387bd824b342d07eb8f8f000", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rayon v1.6.0 [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 superpixel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | ((y - 1) * width + x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((y - 1) * width + x) [INFO] [stdout] 480 + (y - 1) * width + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | (y * width + (x - 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 487 - (y * width + (x - 1)) [INFO] [stdout] 487 + y * width + (x - 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | ((y - 1) * width + x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((y - 1) * width + x) [INFO] [stdout] 480 + (y - 1) * width + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | (y * width + (x - 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 487 - (y * width + (x - 1)) [INFO] [stdout] 487 + y * width + (x - 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | let idx = y * width + x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klabels` [INFO] [stdout] --> src/lib.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | klabels: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_klabels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outline_color` [INFO] [stdout] --> src/lib.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | outline_color: &image::Rgb [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outline_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | let idx = y * width + x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klabels` [INFO] [stdout] --> src/lib.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | klabels: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_klabels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outline_color` [INFO] [stdout] --> src/lib.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | outline_color: &image::Rgb [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outline_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:578:32 [INFO] [stdout] | [INFO] [stdout] 578 | assert!(diff < 0.0001, format!("{} and {} are not within 0.0001", a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `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] 578 - assert!(diff < 0.0001, format!("{} and {} are not within 0.0001", a, b)); [INFO] [stdout] 578 + assert!(diff < 0.0001, "{} and {} are not within 0.0001", a, b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.15s [INFO] running `Command { std: "docker" "inspect" "513fc70204aab64f1bbd297d3a9a8a4fc7d0d0a2387bd824b342d07eb8f8f000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "513fc70204aab64f1bbd297d3a9a8a4fc7d0d0a2387bd824b342d07eb8f8f000", kill_on_drop: false }` [INFO] [stdout] 513fc70204aab64f1bbd297d3a9a8a4fc7d0d0a2387bd824b342d07eb8f8f000