[INFO] cloning repository https://github.com/yabirgb/woa-clustering [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yabirgb/woa-clustering" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyabirgb%2Fwoa-clustering", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyabirgb%2Fwoa-clustering'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc71722a7fa2530e9bc666459e4dcc6fdaeaec1f [INFO] checking yabirgb/woa-clustering against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyabirgb%2Fwoa-clustering" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yabirgb/woa-clustering on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yabirgb/woa-clustering [INFO] finished tweaking git repo https://github.com/yabirgb/woa-clustering [INFO] tweaked toml for git repo https://github.com/yabirgb/woa-clustering written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/yabirgb/woa-clustering already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3144aab362cdffc4bcda4570269f4ca46002c0f332b7c538222fc28341aa6a08 [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" "3144aab362cdffc4bcda4570269f4ca46002c0f332b7c538222fc28341aa6a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3144aab362cdffc4bcda4570269f4ca46002c0f332b7c538222fc28341aa6a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3144aab362cdffc4bcda4570269f4ca46002c0f332b7c538222fc28341aa6a08", kill_on_drop: false }` [INFO] [stdout] 3144aab362cdffc4bcda4570269f4ca46002c0f332b7c538222fc28341aa6a08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b27f0aa01df44c7ecde98cd2cb022cd5658c8133b4e0483932f86099ef6607d8 [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" "b27f0aa01df44c7ecde98cd2cb022cd5658c8133b4e0483932f86099ef6607d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking woa-classification v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `population` is never read [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut population: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/woa/algorithm.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..k{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_scores` [INFO] [stdout] --> src/woa/algorithm.rs:353:47 [INFO] [stdout] | [INFO] [stdout] 353 | let (best_whale_id, best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluations); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale` [INFO] [stdout] --> src/woa/algorithm.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let best_whale = whales[best_whale_id].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MAX_LS_EVALS` [INFO] [stdout] --> src/woa/algorithm.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | let MAX_LS_EVALS:usize = 2500; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MAX_LS_EVALS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale` [INFO] [stdout] --> src/woa/algorithm.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | let best_whale = whales[best_whale_id].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale_id` [INFO] [stdout] --> src/woa/algorithm.rs:1093:18 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale_score` [INFO] [stdout] --> src/woa/algorithm.rs:1093:33 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_scores` [INFO] [stdout] --> src/woa/algorithm.rs:1093:55 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `population` is never read [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut population: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/woa/algorithm.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..k{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_scores` [INFO] [stdout] --> src/woa/algorithm.rs:353:47 [INFO] [stdout] | [INFO] [stdout] 353 | let (best_whale_id, best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluations); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale` [INFO] [stdout] --> src/woa/algorithm.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let best_whale = whales[best_whale_id].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MAX_LS_EVALS` [INFO] [stdout] --> src/woa/algorithm.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | let MAX_LS_EVALS:usize = 2500; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MAX_LS_EVALS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale` [INFO] [stdout] --> src/woa/algorithm.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | let best_whale = whales[best_whale_id].clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale_id` [INFO] [stdout] --> src/woa/algorithm.rs:1093:18 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_whale_score` [INFO] [stdout] --> src/woa/algorithm.rs:1093:33 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_whale_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_scores` [INFO] [stdout] --> src/woa/algorithm.rs:1093:55 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | ... let (mut best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evalu... [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: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:935:29 [INFO] [stdout] | [INFO] [stdout] 935 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | let mut whale_selected:usize = rng.gen_range(0, whales.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1037:25 [INFO] [stdout] | [INFO] [stdout] 1037 | let mut whale_selected:usize = rng.gen_range(0, whales.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1093:33 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | ... let (mut best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evalu... [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: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:935:29 [INFO] [stdout] | [INFO] [stdout] 935 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | let mut whale_selected:usize = rng.gen_range(0, whales.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1037:25 [INFO] [stdout] | [INFO] [stdout] 1037 | let mut whale_selected:usize = rng.gen_range(0, whales.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/woa/algorithm.rs:1093:33 [INFO] [stdout] | [INFO] [stdout] 1093 | ... let (best_whale_id, mut best_whale_score, step_scores) = find_best_whale(&whale_solutions, data, rest, k, l, &mut current_evaluatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.05s [INFO] running `Command { std: "docker" "inspect" "b27f0aa01df44c7ecde98cd2cb022cd5658c8133b4e0483932f86099ef6607d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27f0aa01df44c7ecde98cd2cb022cd5658c8133b4e0483932f86099ef6607d8", kill_on_drop: false }` [INFO] [stdout] b27f0aa01df44c7ecde98cd2cb022cd5658c8133b4e0483932f86099ef6607d8