[INFO] fetching crate cisat 0.2.0... [INFO] checking cisat-0.2.0 against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] extracting crate cisat 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cisat 0.2.0 on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cisat 0.2.0 [INFO] finished tweaking crates.io crate cisat 0.2.0 [INFO] tweaked toml for crates.io crate cisat 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate cisat 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trussx v0.1.3 [INFO] [stderr] Downloaded structural-shapes v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db07ac55d6860bfbe57f226e7857cc3546d2a42a9ebe5969221b192271c1fcc7 [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" "db07ac55d6860bfbe57f226e7857cc3546d2a42a9ebe5969221b192271c1fcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db07ac55d6860bfbe57f226e7857cc3546d2a42a9ebe5969221b192271c1fcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db07ac55d6860bfbe57f226e7857cc3546d2a42a9ebe5969221b192271c1fcc7", kill_on_drop: false }` [INFO] [stdout] db07ac55d6860bfbe57f226e7857cc3546d2a42a9ebe5969221b192271c1fcc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62869ce3bf3d1afbb6d24447850ad0f9f929116fcd0c480eaa453f69a18979b8 [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" "62869ce3bf3d1afbb6d24447850ad0f9f929116fcd0c480eaa453f69a18979b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking structural-shapes v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking trussx v0.1.3 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking cisat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::problems::Ackley` [INFO] [stdout] --> src/abm/cohort.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::problems::Ackley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::Ackley` [INFO] [stdout] --> src/abm/team.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::problems::Ackley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::Ackley` [INFO] [stdout] --> src/abm/cohort.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::problems::Ackley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::Ackley` [INFO] [stdout] --> src/abm/team.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::problems::Ackley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | 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:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | 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:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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: `multinomial_draw` [INFO] [stdout] --> src/utilities/randomness.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn multinomial_draw(weights: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 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: `parameters` [INFO] [stdout] --> examples/custom_implementation.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | 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: unused variable: `parameters` [INFO] [stdout] --> examples/custom_implementation.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.78s [INFO] running `Command { std: "docker" "inspect" "62869ce3bf3d1afbb6d24447850ad0f9f929116fcd0c480eaa453f69a18979b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62869ce3bf3d1afbb6d24447850ad0f9f929116fcd0c480eaa453f69a18979b8", kill_on_drop: false }` [INFO] [stdout] 62869ce3bf3d1afbb6d24447850ad0f9f929116fcd0c480eaa453f69a18979b8