[INFO] cloning repository https://github.com/potatob6/RustGeneticsCaculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/potatob6/RustGeneticsCaculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRustGeneticsCaculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRustGeneticsCaculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b5aa8c4e1826931f9120cd67c4826507154eb9f [INFO] checking potatob6/RustGeneticsCaculator against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRustGeneticsCaculator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/potatob6/RustGeneticsCaculator on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/potatob6/RustGeneticsCaculator [INFO] finished tweaking git repo https://github.com/potatob6/RustGeneticsCaculator [INFO] tweaked toml for git repo https://github.com/potatob6/RustGeneticsCaculator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/potatob6/RustGeneticsCaculator 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/b2775c2a351ba9ea5dbbfcecd163db157431b2996f7326b01c8f3b74b3006538-init: no space left on device [INFO] checking potatob6/RustGeneticsCaculator against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRustGeneticsCaculator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/var_macro.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking potatob6/RustGeneticsCaculator against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRustGeneticsCaculator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/potatob6/RustGeneticsCaculator on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/potatob6/RustGeneticsCaculator [INFO] finished tweaking git repo https://github.com/potatob6/RustGeneticsCaculator [INFO] tweaked toml for git repo https://github.com/potatob6/RustGeneticsCaculator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/potatob6/RustGeneticsCaculator 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 986de301c4281cd584ceb0750f76914f6194d9f29bc4569c1b3c9e7d02fca7e2 [INFO] running `Command { std: "docker" "start" "-a" "986de301c4281cd584ceb0750f76914f6194d9f29bc4569c1b3c9e7d02fca7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986de301c4281cd584ceb0750f76914f6194d9f29bc4569c1b3c9e7d02fca7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986de301c4281cd584ceb0750f76914f6194d9f29bc4569c1b3c9e7d02fca7e2", kill_on_drop: false }` [INFO] [stdout] 986de301c4281cd584ceb0750f76914f6194d9f29bc4569c1b3c9e7d02fca7e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a2f920236ad583349c14a300e1000ed46e8ade3b313649d1b518eba644dac1 [INFO] running `Command { std: "docker" "start" "-a" "33a2f920236ad583349c14a300e1000ed46e8ade3b313649d1b518eba644dac1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking nohash v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking poke v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashSet`, `default`, `fs::exists`, `hash_map::Keys`, `id`, `rc::Rc`, and `sync::LazyLock` [INFO] [stdout] --> src/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{hash_map::Keys, HashMap, HashSet}, default, fmt::Display, fs::exists, hash::{BuildHasherDefault, Hash}, hint::assert_unchecked, io::{self, stdin, stdout, Write}, mem::transmute, process::{exit, id}, rc::Rc, sync::LazyLock, t... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | = ((self.0[0] as u64) << 40 | [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | (self.0[5] as u64)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 ~ = (self.0[0] as u64) << 40 | [INFO] [stdout] 178 | (self.0[1] as u64) << 32 | [INFO] [stdout] ... [INFO] [stdout] 181 | (self.0[4] as u64) << 8 | [INFO] [stdout] 182 ~ (self.0[5] as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `default`, `fs::exists`, `hash_map::Keys`, `id`, `rc::Rc`, and `sync::LazyLock` [INFO] [stdout] --> src/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{hash_map::Keys, HashMap, HashSet}, default, fmt::Display, fs::exists, hash::{BuildHasherDefault, Hash}, hint::assert_unchecked, io::{self, stdin, stdout, Write}, mem::transmute, process::{exit, id}, rc::Rc, sync::LazyLock, t... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | = ((self.0[0] as u64) << 40 | [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | (self.0[5] as u64)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 ~ = (self.0[0] as u64) << 40 | [INFO] [stdout] 178 | (self.0[1] as u64) << 32 | [INFO] [stdout] ... [INFO] [stdout] 181 | (self.0[4] as u64) << 8 | [INFO] [stdout] 182 ~ (self.0[5] as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 913 | / match partial { [INFO] [stdout] 914 | | None => { [INFO] [stdout] 915 | | return (None, None); [INFO] [stdout] ... | [INFO] [stdout] 1003 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 1004 | generation += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 913 | / match partial { [INFO] [stdout] 914 | | None => { [INFO] [stdout] 915 | | return (None, None); [INFO] [stdout] ... | [INFO] [stdout] 1003 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 1004 | generation += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, cell::RefCell, collections::{hash_map::Keys, HashMap, HashSet}, default, fmt::Display, fs::exists, hash::{Build... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, cell::RefCell, collections::{hash_map::Keys, HashMap, HashSet}, default, fmt::Display, fs::exists, hash::{Build... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_seq` is never read [INFO] [stdout] --> src/main.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let mut prev_seq = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lowest_idx` is assigned to, but never used [INFO] [stdout] --> src/main.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | let mut lowest_idx = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_lowest_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:643:25 [INFO] [stdout] | [INFO] [stdout] 643 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_seq` is never read [INFO] [stdout] --> src/main.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let mut prev_seq = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generation` [INFO] [stdout] --> src/main.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut generation = 1usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partial_lowest` [INFO] [stdout] --> src/main.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | let mut partial_lowest: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_lowest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generation` is never read [INFO] [stdout] --> src/main.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1004 | generation += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | let mut generation = 1usize; [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:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | let mut partial_lowest: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:904:18 [INFO] [stdout] | [INFO] [stdout] 904 | let (global, mut partial) = first_time_step(exist_gene, composed_collection, selected_collection, probability); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:917:14 [INFO] [stdout] | [INFO] [stdout] 917 | Some(mut prev_selected_result) => { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | let mut prev_lowest_loss = composed_collection.iter().min_by_key(|x| *x.0.loss.borrow() ); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:927:39 [INFO] [stdout] | [INFO] [stdout] 927 | ... let (global, partial, mut delta_compose) = delta_step(exist_gene, composed_collection, selected_collection, probability, &prev_sele... [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lowest_idx` is assigned to, but never used [INFO] [stdout] --> src/main.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | let mut lowest_idx = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_lowest_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:643:25 [INFO] [stdout] | [INFO] [stdout] 643 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_idx` is never read [INFO] [stdout] --> src/main.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | lowest_idx = idx; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:1293:13 [INFO] [stdout] | [INFO] [stdout] 1293 | let mut idx = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | let mut idx = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `probability` [INFO] [stdout] --> src/main.rs:1363:23 [INFO] [stdout] | [INFO] [stdout] 1363 | fn change_probability(probability: BigDecimal) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_probability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generation` [INFO] [stdout] --> src/main.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut generation = 1usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partial_lowest` [INFO] [stdout] --> src/main.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | let mut partial_lowest: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_lowest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generation` is never read [INFO] [stdout] --> src/main.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1004 | generation += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | let mut generation = 1usize; [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:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | let mut partial_lowest: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:904:18 [INFO] [stdout] | [INFO] [stdout] 904 | let (global, mut partial) = first_time_step(exist_gene, composed_collection, selected_collection, probability); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:917:14 [INFO] [stdout] | [INFO] [stdout] 917 | Some(mut prev_selected_result) => { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | let mut prev_lowest_loss = composed_collection.iter().min_by_key(|x| *x.0.loss.borrow() ); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:927:39 [INFO] [stdout] | [INFO] [stdout] 927 | ... let (global, partial, mut delta_compose) = delta_step(exist_gene, composed_collection, selected_collection, probability, &prev_sele... [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_lowest_loss` [INFO] [stdout] --> src/main.rs:1393:17 [INFO] [stdout] | [INFO] [stdout] 1393 | let mut global_lowest_loss: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_lowest_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | let mut global_lowest_loss: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:1293:13 [INFO] [stdout] | [INFO] [stdout] 1293 | let mut idx = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `display` are never used [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl GeneGroup { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | if unsafe { &LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 626 | if unsafe { &raw const LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | let mut idx = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:656:24 [INFO] [stdout] | [INFO] [stdout] 656 | } else if unsafe { &LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 656 | } else if unsafe { &raw const LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `probability` [INFO] [stdout] --> src/main.rs:1363:23 [INFO] [stdout] | [INFO] [stdout] 1363 | fn change_probability(probability: BigDecimal) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_probability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | if unsafe { &LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | if unsafe { &raw const LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | } else if unsafe { &LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 763 | } else if unsafe { &raw const LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_lowest_loss` [INFO] [stdout] --> src/main.rs:1393:17 [INFO] [stdout] | [INFO] [stdout] 1393 | let mut global_lowest_loss: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_lowest_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | let mut global_lowest_loss: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `display` are never used [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl GeneGroup { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | if unsafe { &LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 626 | if unsafe { &raw const LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:656:24 [INFO] [stdout] | [INFO] [stdout] 656 | } else if unsafe { &LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 656 | } else if unsafe { &raw const LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | if unsafe { &LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 735 | if unsafe { &raw const LOSS_MODE } == &LossMode::ACCURACY { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1365:5 [INFO] [stdout] | [INFO] [stdout] 1365 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1365 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1415:9 [INFO] [stdout] | [INFO] [stdout] 1415 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1415 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | } else if unsafe { &LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 763 | } else if unsafe { &raw const LOSS_MODE } == &LossMode::AMOUNT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1365:5 [INFO] [stdout] | [INFO] [stdout] 1365 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1365 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1415:9 [INFO] [stdout] | [INFO] [stdout] 1415 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1415 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "33a2f920236ad583349c14a300e1000ed46e8ade3b313649d1b518eba644dac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a2f920236ad583349c14a300e1000ed46e8ade3b313649d1b518eba644dac1", kill_on_drop: false }` [INFO] [stdout] 33a2f920236ad583349c14a300e1000ed46e8ade3b313649d1b518eba644dac1