[INFO] fetching crate superpixel 0.1.1... [INFO] checking superpixel-0.1.1 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate superpixel 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate superpixel 0.1.1 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 259f0c547cb072f8f5f098d7a422bbe271d34b51d4f804b6e4aa8df06046ae36 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "259f0c547cb072f8f5f098d7a422bbe271d34b51d4f804b6e4aa8df06046ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "259f0c547cb072f8f5f098d7a422bbe271d34b51d4f804b6e4aa8df06046ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "259f0c547cb072f8f5f098d7a422bbe271d34b51d4f804b6e4aa8df06046ae36", kill_on_drop: false }` [INFO] [stdout] 259f0c547cb072f8f5f098d7a422bbe271d34b51d4f804b6e4aa8df06046ae36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4e645661ccff89667cff3195f3090ed1430286010694b2ca6fe9c599d9652c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc4e645661ccff89667cff3195f3090ed1430286010694b2ca6fe9c599d9652c", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.19s [INFO] running `Command { std: "docker" "inspect" "cc4e645661ccff89667cff3195f3090ed1430286010694b2ca6fe9c599d9652c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4e645661ccff89667cff3195f3090ed1430286010694b2ca6fe9c599d9652c", kill_on_drop: false }` [INFO] [stdout] cc4e645661ccff89667cff3195f3090ed1430286010694b2ca6fe9c599d9652c