[INFO] fetching crate cisat 0.2.2... [INFO] checking cisat-0.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cisat 0.2.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cisat 0.2.2 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 crates.io crate cisat 0.2.2 [INFO] finished tweaking crates.io crate cisat 0.2.2 [INFO] tweaked toml for crates.io crate cisat 0.2.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate cisat 0.2.2 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structural-shapes v0.1.5 [INFO] [stderr] Downloaded trussx v0.1.3 [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" "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] f21abc66aea65a52dcc21714bb4da30edb1350a11fefeb9fa8ce8bf88de3e707 [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" "f21abc66aea65a52dcc21714bb4da30edb1350a11fefeb9fa8ce8bf88de3e707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f21abc66aea65a52dcc21714bb4da30edb1350a11fefeb9fa8ce8bf88de3e707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f21abc66aea65a52dcc21714bb4da30edb1350a11fefeb9fa8ce8bf88de3e707", kill_on_drop: false }` [INFO] [stdout] f21abc66aea65a52dcc21714bb4da30edb1350a11fefeb9fa8ce8bf88de3e707 [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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d1449d736c304a78a86f37b44c8b1bc14363ce55cf7b47f90fc630f0f5bba59 [INFO] running `Command { std: "docker" "start" "-a" "7d1449d736c304a78a86f37b44c8b1bc14363ce55cf7b47f90fc630f0f5bba59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking structural-shapes v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking trussx v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking cisat v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random_gaussian_vector` [INFO] [stdout] --> src/problems/ackley.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | utilities::randomness::{random_gaussian_vector, random_uniform_vector}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_gaussian_vector` [INFO] [stdout] --> src/problems/ackley.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | utilities::randomness::{random_gaussian_vector, random_uniform_vector}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/utilities/parameters.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn load_from_file(&mut self, file_name: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_learning_matrix` [INFO] [stdout] --> src/utilities/parameters.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | initial_learning_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_learning_matrix` [INFO] [stdout] --> src/utilities/parameters.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | initial_learning_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/abm/agent.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | delta, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `delta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_index` [INFO] [stdout] --> src/problems/structure.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/problems/structure.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/utilities/parameters.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn load_from_file(&mut self, file_name: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_learning_matrix` [INFO] [stdout] --> src/utilities/parameters.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | initial_learning_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_learning_matrix` [INFO] [stdout] --> src/utilities/parameters.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | initial_learning_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utilities/randomness.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let x = random_gaussian_vector(5, 0.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utilities/randomness.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let x = multinomial_draw(vec![1.0, 2.3, 10.1, 3.1]); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/abm/agent.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | delta, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `delta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_index` [INFO] [stdout] --> src/problems/structure.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/problems/structure.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_gaussian_vector` [INFO] [stdout] --> src/utilities/randomness.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn random_gaussian_vector( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_index` [INFO] [stdout] --> examples/custom_implementation.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> examples/custom_implementation.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> examples/custom_implementation.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> examples/custom_implementation.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> examples/custom_implementation.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> examples/custom_implementation.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> examples/custom_implementation.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(id: usize, parameters: Parameters) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> examples/custom_implementation.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(id: usize, parameters: Parameters) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solutions` [INFO] [stdout] --> examples/custom_implementation.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | fn communicate(&mut self, solutions: Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> examples/custom_implementation.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn new(parameters: Parameters) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_solution` [INFO] [stdout] --> examples/custom_implementation.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | current_solution: CustomProblem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `best_solution_so_far` [INFO] [stdout] --> examples/custom_implementation.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | best_solution_so_far: CustomProblem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut cisat = Cohort::::new(params); [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/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut cisat = Cohort::::new(params); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut cisat = Cohort::::new(params); [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/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut cisat = Cohort::::new(params); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.26s [INFO] running `Command { std: "docker" "inspect" "7d1449d736c304a78a86f37b44c8b1bc14363ce55cf7b47f90fc630f0f5bba59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1449d736c304a78a86f37b44c8b1bc14363ce55cf7b47f90fc630f0f5bba59", kill_on_drop: false }` [INFO] [stdout] 7d1449d736c304a78a86f37b44c8b1bc14363ce55cf7b47f90fc630f0f5bba59