[INFO] fetching crate superpixel 0.1.1... [INFO] checking superpixel-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate superpixel 0.1.1 into /workspace/builds/worker-0-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate superpixel 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding image v0.19.0 (available: v0.25.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.19.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 186692ec15b3f49212f4a93e0f4fa7623088f2425d75399f0c6912e511ebf485 [INFO] running `Command { std: "docker" "start" "-a" "186692ec15b3f49212f4a93e0f4fa7623088f2425d75399f0c6912e511ebf485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "186692ec15b3f49212f4a93e0f4fa7623088f2425d75399f0c6912e511ebf485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186692ec15b3f49212f4a93e0f4fa7623088f2425d75399f0c6912e511ebf485", kill_on_drop: false }` [INFO] [stdout] 186692ec15b3f49212f4a93e0f4fa7623088f2425d75399f0c6912e511ebf485 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d1ff427142d69cae926abd8e8cbf76bc5304884ea9ff42ebbbcf9de70982438 [INFO] running `Command { std: "docker" "start" "-a" "0d1ff427142d69cae926abd8e8cbf76bc5304884ea9ff42ebbbcf9de70982438", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling quote v0.6.13 [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut c = &mut seeds_vec[k]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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: 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut c = &mut seeds_vec[k]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.94s [INFO] running `Command { std: "docker" "inspect" "0d1ff427142d69cae926abd8e8cbf76bc5304884ea9ff42ebbbcf9de70982438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1ff427142d69cae926abd8e8cbf76bc5304884ea9ff42ebbbcf9de70982438", kill_on_drop: false }` [INFO] [stdout] 0d1ff427142d69cae926abd8e8cbf76bc5304884ea9ff42ebbbcf9de70982438