[INFO] cloning repository https://github.com/izco42/DE-optimization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/izco42/DE-optimization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizco42%2FDE-optimization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizco42%2FDE-optimization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45e48dfb68c5958e07598df773a5ccd1c713f615 [INFO] checking izco42/DE-optimization against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizco42%2FDE-optimization" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/izco42/DE-optimization on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/izco42/DE-optimization [INFO] finished tweaking git repo https://github.com/izco42/DE-optimization [INFO] tweaked toml for git repo https://github.com/izco42/DE-optimization written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/izco42/DE-optimization already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5a651dfbdac3b9fb402734aed7bff455c91e8f2a21fc035042f18943ebed37c [INFO] running `Command { std: "docker" "start" "-a" "f5a651dfbdac3b9fb402734aed7bff455c91e8f2a21fc035042f18943ebed37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5a651dfbdac3b9fb402734aed7bff455c91e8f2a21fc035042f18943ebed37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a651dfbdac3b9fb402734aed7bff455c91e8f2a21fc035042f18943ebed37c", kill_on_drop: false }` [INFO] [stdout] f5a651dfbdac3b9fb402734aed7bff455c91e8f2a21fc035042f18943ebed37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3702449e84f5064c8e7d15224c3d5549e283bec3aa7dc4430639096b71df1368 [INFO] running `Command { std: "docker" "start" "-a" "3702449e84f5064c8e7d15224c3d5549e283bec3aa7dc4430639096b71df1368", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking difevo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/diffevomaze/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/diffevomaze/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `differentialevo::Differentialevo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use differentialevo::Differentialevo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diffevomaze::Diffevomaze` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diffevomaze::Diffevomaze; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `differentialevo::Differentialevo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use differentialevo::Differentialevo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diffevomaze::Diffevomaze` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diffevomaze::Diffevomaze; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn sphere(x: Vec) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn sphere(x: Vec) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sub(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul4scalar` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn mul4scalar(v: Vec, s: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sub(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul4scalar` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn mul4scalar(v: Vec, s: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutation` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn mutation(v: Vec>, f: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutation` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn mutation(v: Vec>, f: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossver` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn crossver(vmuted: Vec, voriginal: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_population` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn initialize_population(num_p: usize, num_d: usize, range: (f64, f64)) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossver` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn crossver(vmuted: Vec, voriginal: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn obj(position: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_population` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn initialize_population(num_p: usize, num_d: usize, range: (f64, f64)) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj` is never used [INFO] [stdout] --> src/differentialevo/mod.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn obj(position: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/differentialevo/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Differentialevo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 72 | solutions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | problem: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | constraints: fn(Vec) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | objective: fn(Vec) -> f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | best_solution: Particle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 78 | worst_solution: Particle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/differentialevo/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Differentialevo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 72 | solutions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | problem: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | constraints: fn(Vec) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | objective: fn(Vec) -> f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | best_solution: Particle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 78 | worst_solution: Particle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default`, `update_avalue`, `update_best_worst`, `show_worst`, `vec_4_mut`, and `run` are never used [INFO] [stdout] --> src/differentialevo/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Differentialevo { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn update_avalue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn update_best_worst(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn show_worst(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn vec_4_mut(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn run(&mut self)->Result<(Particle,Vec), &'static str>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Diffevomaze` is never constructed [INFO] [stdout] --> src/diffevomaze/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Diffevomaze { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default`, `update_avalue`, `update_best_worst`, `show_worst`, `vec_4_mut`, and `run` are never used [INFO] [stdout] --> src/differentialevo/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Differentialevo { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn update_avalue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn update_best_worst(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn show_worst(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn vec_4_mut(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn run(&mut self)->Result<(Particle,Vec), &'static str>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/diffevomaze/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Diffevomaze { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Diffevomaze` is never constructed [INFO] [stdout] --> src/diffevomaze/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Diffevomaze { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/diffevomaze/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Diffevomaze { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "3702449e84f5064c8e7d15224c3d5549e283bec3aa7dc4430639096b71df1368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3702449e84f5064c8e7d15224c3d5549e283bec3aa7dc4430639096b71df1368", kill_on_drop: false }` [INFO] [stdout] 3702449e84f5064c8e7d15224c3d5549e283bec3aa7dc4430639096b71df1368