[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] testing disDeal/k-clustering against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2Fk-clustering" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/disDeal/k-clustering on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-3/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5aa92eb700df38468113476d9674c160e3b5073d6d56e657f33d169485c5187 [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" "d5aa92eb700df38468113476d9674c160e3b5073d6d56e657f33d169485c5187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5aa92eb700df38468113476d9674c160e3b5073d6d56e657f33d169485c5187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5aa92eb700df38468113476d9674c160e3b5073d6d56e657f33d169485c5187", kill_on_drop: false }` [INFO] [stdout] d5aa92eb700df38468113476d9674c160e3b5073d6d56e657f33d169485c5187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da265812197836896f677a96e6f73cfd6a96010adfb77aa6e7e42caff199c7f [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" "1da265812197836896f677a96e6f73cfd6a96010adfb77aa6e7e42caff199c7f", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.10s [INFO] running `Command { std: "docker" "inspect" "1da265812197836896f677a96e6f73cfd6a96010adfb77aa6e7e42caff199c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da265812197836896f677a96e6f73cfd6a96010adfb77aa6e7e42caff199c7f", kill_on_drop: false }` [INFO] [stdout] 1da265812197836896f677a96e6f73cfd6a96010adfb77aa6e7e42caff199c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", 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] 6dd7271c08ae9ce5df15242caa96f6fd1fa19974dc2eb5594c8a966977e03cde [INFO] running `Command { std: "docker" "start" "-a" "6dd7271c08ae9ce5df15242caa96f6fd1fa19974dc2eb5594c8a966977e03cde", kill_on_drop: false }` [INFO] [stderr] Compiling 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 test [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "6dd7271c08ae9ce5df15242caa96f6fd1fa19974dc2eb5594c8a966977e03cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd7271c08ae9ce5df15242caa96f6fd1fa19974dc2eb5594c8a966977e03cde", kill_on_drop: false }` [INFO] [stdout] 6dd7271c08ae9ce5df15242caa96f6fd1fa19974dc2eb5594c8a966977e03cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d6867ccd1503ebcd366fe05a0e431d01ff36f358d50e0923fd0222006796263 [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" "6d6867ccd1503ebcd366fe05a0e431d01ff36f358d50e0923fd0222006796263", kill_on_drop: false }` [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | let val_f: f64 = unwrap_or_panic!(NumCast::from(val), "first"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | let in_min_f: f64 = unwrap_or_panic!(NumCast::from(in_min), "second"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:183:25 [INFO] [stderr] | [INFO] [stderr] 183 | let in_max_f: f64 = unwrap_or_panic!(NumCast::from(in_max), "third"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:184:26 [INFO] [stderr] | [INFO] [stderr] 184 | let out_min_f: f64 = unwrap_or_panic!(NumCast::from(out_min), "fourth"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/lib.rs:185:26 [INFO] [stderr] | [INFO] [stderr] 185 | let out_max_f: f64 = unwrap_or_panic!(NumCast::from(out_max), "fifth"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("[map_range] failed to cast {} arg to `f64`", ...)) [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 177 | $result.unwrap_or_else(|| panic!("{}", "[map_range] failed to cast {} arg to `f64`")) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `k_clustering` (lib) generated 5 warnings [INFO] [stderr] warning: `k_clustering` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/k_clustering-4f23c7a1d47b2bb9) [INFO] [stdout] [INFO] [stderr] Doc-tests k_clustering [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d6867ccd1503ebcd366fe05a0e431d01ff36f358d50e0923fd0222006796263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6867ccd1503ebcd366fe05a0e431d01ff36f358d50e0923fd0222006796263", kill_on_drop: false }` [INFO] [stdout] 6d6867ccd1503ebcd366fe05a0e431d01ff36f358d50e0923fd0222006796263