[INFO] fetching crate cisat 0.2.2... [INFO] testing cisat-0.2.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cisat 0.2.2 into /workspace/builds/worker-77/source [INFO] validating manifest of crates.io crate cisat 0.2.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-77/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21998130a95d8045493f65ebe3a1e772a20c478f922688d6ee2384df00f2304d [INFO] running `Command { std: "docker" "start" "-a" "21998130a95d8045493f65ebe3a1e772a20c478f922688d6ee2384df00f2304d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21998130a95d8045493f65ebe3a1e772a20c478f922688d6ee2384df00f2304d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21998130a95d8045493f65ebe3a1e772a20c478f922688d6ee2384df00f2304d", kill_on_drop: false }` [INFO] [stdout] 21998130a95d8045493f65ebe3a1e772a20c478f922688d6ee2384df00f2304d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af50ac1ccd1d42af158665f62fe909d07a59962522bbcf121b819d4bc58b5af [INFO] running `Command { std: "docker" "start" "-a" "3af50ac1ccd1d42af158665f62fe909d07a59962522bbcf121b819d4bc58b5af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling structural-shapes v0.1.5 [INFO] [stderr] Compiling number_prefix v0.3.0 [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 textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling trussx v0.1.3 [INFO] [stderr] Compiling rand_distr v0.4.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling 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 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: 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: field is never read: `last_operation` [INFO] [stdout] --> src/abm/agent.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | last_operation: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_solution_quality` [INFO] [stdout] --> src/abm/agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | current_solution_quality: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `truss` [INFO] [stdout] --> src/problems/structure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | truss: Truss, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `objective_function_value` [INFO] [stdout] --> src/problems/structure.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | objective_function_value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: field is never read: `verbose` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.64s [INFO] running `Command { std: "docker" "inspect" "3af50ac1ccd1d42af158665f62fe909d07a59962522bbcf121b819d4bc58b5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af50ac1ccd1d42af158665f62fe909d07a59962522bbcf121b819d4bc58b5af", kill_on_drop: false }` [INFO] [stdout] 3af50ac1ccd1d42af158665f62fe909d07a59962522bbcf121b819d4bc58b5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a40e2b15c9d75a3ee6b1b665c10b23d8b7014c9cc61d4a4885def4e36e5a13 [INFO] running `Command { std: "docker" "start" "-a" "52a40e2b15c9d75a3ee6b1b665c10b23d8b7014c9cc61d4a4885def4e36e5a13", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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 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: 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: field is never read: `last_operation` [INFO] [stdout] --> src/abm/agent.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | last_operation: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_solution_quality` [INFO] [stdout] --> src/abm/agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | current_solution_quality: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `truss` [INFO] [stdout] --> src/problems/structure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | truss: Truss, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `objective_function_value` [INFO] [stdout] --> src/problems/structure.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | objective_function_value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 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: 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: 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: 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: field is never read: `verbose` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `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: field is never read: `last_operation` [INFO] [stdout] --> src/abm/agent.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | last_operation: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_solution_quality` [INFO] [stdout] --> src/abm/agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | current_solution_quality: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/abm/agent.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `truss` [INFO] [stdout] --> src/problems/structure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | truss: Truss, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `objective_function_value` [INFO] [stdout] --> src/problems/structure.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | objective_function_value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/problems/structure.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.93s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cisat-b6a820226ddbfe00) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cisat-f684629b00d21e8c) [INFO] running `Command { std: "docker" "inspect" "52a40e2b15c9d75a3ee6b1b665c10b23d8b7014c9cc61d4a4885def4e36e5a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a40e2b15c9d75a3ee6b1b665c10b23d8b7014c9cc61d4a4885def4e36e5a13", kill_on_drop: false }` [INFO] [stdout] 52a40e2b15c9d75a3ee6b1b665c10b23d8b7014c9cc61d4a4885def4e36e5a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1393abc3de33894e49668ddb219d53b3637bdcd618a968d25a3e287045f4ed52 [INFO] running `Command { std: "docker" "start" "-a" "1393abc3de33894e49668ddb219d53b3637bdcd618a968d25a3e287045f4ed52", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `random_gaussian_vector` [INFO] [stderr] --> src/problems/ackley.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | utilities::randomness::{random_gaussian_vector, random_uniform_vector}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/utilities/parameters.rs:109:38 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn load_from_file(&mut self, file_name: String) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `initial_learning_matrix` [INFO] [stderr] --> src/utilities/parameters.rs:187:17 [INFO] [stderr] | [INFO] [stderr] 187 | initial_learning_matrix, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `initial_learning_matrix` [INFO] [stderr] --> src/utilities/parameters.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | initial_learning_matrix, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `initial_learning_matrix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta` [INFO] [stderr] --> src/abm/agent.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | delta, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `delta: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_index` [INFO] [stderr] --> src/problems/structure.rs:28:39 [INFO] [stderr] | [INFO] [stderr] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temperature` [INFO] [stderr] --> src/problems/structure.rs:28:58 [INFO] [stderr] | [INFO] [stderr] 28 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_gaussian_vector` [INFO] [stderr] --> src/utilities/randomness.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn random_gaussian_vector( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_operation` [INFO] [stderr] --> src/abm/agent.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | last_operation: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/abm/agent.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_solution_quality` [INFO] [stderr] --> src/abm/agent.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | current_solution_quality: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/abm/agent.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `truss` [INFO] [stderr] --> src/problems/structure.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | truss: Truss, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/problems/structure.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `objective_function_value` [INFO] [stderr] --> src/problems/structure.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | objective_function_value: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Structure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/problems/structure.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/utilities/randomness.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let x = random_gaussian_vector(5, 0.0, 1.0); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/utilities/randomness.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | let x = multinomial_draw(vec![1.0, 2.3, 10.1, 3.1]); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_operation` [INFO] [stderr] --> src/abm/agent.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | last_operation: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Agent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/abm/agent.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cisat` (lib) generated 12 warnings [INFO] [stderr] warning: `cisat` (lib test) generated 13 warnings (10 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | let mut cisat = Cohort::::new(params); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:135:17 [INFO] [stderr] | [INFO] [stderr] 135 | let mut cisat = Cohort::::new(params); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `verbose` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | verbose: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(StructOpt, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_index` [INFO] [stderr] --> examples/custom_implementation.rs:16:39 [INFO] [stderr] | [INFO] [stderr] 16 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temperature` [INFO] [stderr] --> examples/custom_implementation.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | fn apply_move_operator(&mut self, move_index: usize, temperature: f64) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> examples/custom_implementation.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> examples/custom_implementation.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | fn eq(&self, other: &Self) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> examples/custom_implementation.rs:40:27 [INFO] [stderr] | [INFO] [stderr] 40 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> examples/custom_implementation.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> examples/custom_implementation.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | fn new(id: usize, parameters: Parameters) -> Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parameters` [INFO] [stderr] --> examples/custom_implementation.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | fn new(id: usize, parameters: Parameters) -> Self { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `solutions` [INFO] [stderr] --> examples/custom_implementation.rs:75:31 [INFO] [stderr] | [INFO] [stderr] 75 | fn communicate(&mut self, solutions: Vec) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parameters` [INFO] [stderr] --> examples/custom_implementation.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | fn new(parameters: Parameters) -> Self { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_solution` [INFO] [stderr] --> examples/custom_implementation.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | current_solution: CustomProblem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `best_solution_so_far` [INFO] [stderr] --> examples/custom_implementation.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | best_solution_so_far: CustomProblem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cisat` (bin "cisat" test) generated 3 warnings [INFO] [stderr] warning: `cisat` (example "custom_implementation") generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cisat-b6a820226ddbfe00) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test utilities::randomness::random_tests::test_multinomial_draw ... ok [INFO] [stdout] test utilities::randomness::random_tests::test_vector_generation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cisat-f684629b00d21e8c) [INFO] [stderr] Doc-tests cisat [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] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/abm/agent.rs - abm::agent (line 2) ... ok [INFO] [stdout] test src/abm/cohort.rs - abm::cohort::Cohort (line 15) ... ok [INFO] [stdout] test src/abm/cohort.rs - abm::cohort::Cohort (line 23) ... ok [INFO] [stdout] test src/abm/cohort.rs - abm::cohort::Cohort (line 31) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1393abc3de33894e49668ddb219d53b3637bdcd618a968d25a3e287045f4ed52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1393abc3de33894e49668ddb219d53b3637bdcd618a968d25a3e287045f4ed52", kill_on_drop: false }` [INFO] [stdout] 1393abc3de33894e49668ddb219d53b3637bdcd618a968d25a3e287045f4ed52