[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2Fk-clustering" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/disDeal/k-clustering on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-0/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e29aeb06f8f0cfa0f0317475b2d681905e6d3ef88598f05128dd67d0b89ee39 [INFO] running `Command { std: "docker" "start" "-a" "6e29aeb06f8f0cfa0f0317475b2d681905e6d3ef88598f05128dd67d0b89ee39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e29aeb06f8f0cfa0f0317475b2d681905e6d3ef88598f05128dd67d0b89ee39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e29aeb06f8f0cfa0f0317475b2d681905e6d3ef88598f05128dd67d0b89ee39", kill_on_drop: false }` [INFO] [stdout] 6e29aeb06f8f0cfa0f0317475b2d681905e6d3ef88598f05128dd67d0b89ee39 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43dcf7cb6ce31f6e62443011d140518c60d8ffda7a8878cea73956fdb7fe4eed [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" "43dcf7cb6ce31f6e62443011d140518c60d8ffda7a8878cea73956fdb7fe4eed", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cgmath v0.17.0 [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 rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rayon-core v1.5.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [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: 5 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.04s [INFO] running `Command { std: "docker" "inspect" "43dcf7cb6ce31f6e62443011d140518c60d8ffda7a8878cea73956fdb7fe4eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43dcf7cb6ce31f6e62443011d140518c60d8ffda7a8878cea73956fdb7fe4eed", kill_on_drop: false }` [INFO] [stdout] 43dcf7cb6ce31f6e62443011d140518c60d8ffda7a8878cea73956fdb7fe4eed