[INFO] cloning repository https://github.com/disDeal/k-clustering [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/disDeal/k-clustering" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2Fk-clustering", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2Fk-clustering'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5df0d56984b64cc31e2b22c97b8a1292d2e3f11d [INFO] checking disDeal/k-clustering against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2Fk-clustering" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/disDeal/k-clustering on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/disDeal/k-clustering [INFO] finished tweaking git repo https://github.com/disDeal/k-clustering [INFO] tweaked toml for git repo https://github.com/disDeal/k-clustering written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/disDeal/k-clustering already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac4bd261a0e518bebca5d78156817ae97ec0043f531a1fe793841f5472b17ab0 [INFO] running `Command { std: "docker" "start" "-a" "ac4bd261a0e518bebca5d78156817ae97ec0043f531a1fe793841f5472b17ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac4bd261a0e518bebca5d78156817ae97ec0043f531a1fe793841f5472b17ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4bd261a0e518bebca5d78156817ae97ec0043f531a1fe793841f5472b17ab0", kill_on_drop: false }` [INFO] [stdout] ac4bd261a0e518bebca5d78156817ae97ec0043f531a1fe793841f5472b17ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588cb5fda58674b1bc2e2d82f569eaedb4997072c711894ee880fd0f97ad0df9 [INFO] running `Command { std: "docker" "start" "-a" "588cb5fda58674b1bc2e2d82f569eaedb4997072c711894ee880fd0f97ad0df9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking k_clustering v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let val_f: f64 = unwrap_or_panic!(NumCast::from(val), "first"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let in_min_f: f64 = unwrap_or_panic!(NumCast::from(in_min), "second"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let in_max_f: f64 = unwrap_or_panic!(NumCast::from(in_max), "third"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | let out_min_f: f64 = unwrap_or_panic!(NumCast::from(out_min), "fourth"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let out_max_f: f64 = unwrap_or_panic!(NumCast::from(out_max), "fifth"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let val_f: f64 = unwrap_or_panic!(NumCast::from(val), "first"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let in_min_f: f64 = unwrap_or_panic!(NumCast::from(in_min), "second"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let in_max_f: f64 = unwrap_or_panic!(NumCast::from(in_max), "third"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | let out_min_f: f64 = unwrap_or_panic!(NumCast::from(out_min), "fourth"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let out_max_f: f64 = unwrap_or_panic!(NumCast::from(out_max), "fifth"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 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 20.70s [INFO] running `Command { std: "docker" "inspect" "588cb5fda58674b1bc2e2d82f569eaedb4997072c711894ee880fd0f97ad0df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588cb5fda58674b1bc2e2d82f569eaedb4997072c711894ee880fd0f97ad0df9", kill_on_drop: false }` [INFO] [stdout] 588cb5fda58674b1bc2e2d82f569eaedb4997072c711894ee880fd0f97ad0df9