Oct 15 06:56:38.205 INFO testing Sceptix/bf-ai against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 15 06:56:38.206 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +40d4795669493f1965de7c44029c69552134fe1f-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 06:56:38.563 INFO blam! 07421c3ababc8aa3f0d95f096ced1a68a8623dce5662f1b6278f5b796bd56748 Oct 15 06:56:38.565 INFO running `"docker" "start" "-a" "07421c3ababc8aa3f0d95f096ced1a68a8623dce5662f1b6278f5b796bd56748"` Oct 15 06:56:39.452 INFO kablam! usermod: no changes Oct 15 06:56:39.543 INFO kablam! Compiling bf-ai v0.0.1 (/source) Oct 15 06:56:40.132 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.132 INFO kablam! --> src/main.rs:123:7 Oct 15 06:56:40.132 INFO kablam! | Oct 15 06:56:40.132 INFO kablam! 123 | if(population[0].genome != lastbestgenome){ Oct 15 06:56:40.133 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.133 INFO kablam! | Oct 15 06:56:40.133 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 15 06:56:40.134 INFO kablam! Oct 15 06:56:40.134 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.134 INFO kablam! --> src/main.rs:141:7 Oct 15 06:56:40.134 INFO kablam! | Oct 15 06:56:40.135 INFO kablam! 141 | if(population[0].fitness == ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as i32){ Oct 15 06:56:40.135 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:40.135 INFO kablam! help: remove these parentheses Oct 15 06:56:40.136 INFO kablam! | Oct 15 06:56:40.136 INFO kablam! 141 | ifpopulation[0].fitness == Oct 15 06:56:40.136 INFO kablam! 142 | ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as Oct 15 06:56:40.136 INFO kablam! 143 | i32{ Oct 15 06:56:40.137 INFO kablam! | Oct 15 06:56:40.137 INFO kablam! Oct 15 06:56:40.137 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.137 INFO kablam! --> src/main.rs:199:7 Oct 15 06:56:40.138 INFO kablam! | Oct 15 06:56:40.138 INFO kablam! 199 | if(yesorno >= 0 && yesorno < mutation || bypass){ Oct 15 06:56:40.138 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.139 INFO kablam! Oct 15 06:56:40.139 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.139 INFO kablam! --> src/main.rs:206:23 Oct 15 06:56:40.139 INFO kablam! | Oct 15 06:56:40.140 INFO kablam! 206 | if(y != index){ Oct 15 06:56:40.140 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.140 INFO kablam! Oct 15 06:56:40.140 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.141 INFO kablam! --> src/main.rs:243:7 Oct 15 06:56:40.141 INFO kablam! | Oct 15 06:56:40.141 INFO kablam! 243 | if(s1genome.len() > s2genome.len()){ Oct 15 06:56:40.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.142 INFO kablam! Oct 15 06:56:40.142 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.143 INFO kablam! --> src/main.rs:247:15 Oct 15 06:56:40.143 INFO kablam! | Oct 15 06:56:40.143 INFO kablam! 247 | if(rand == 0){ Oct 15 06:56:40.143 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.144 INFO kablam! Oct 15 06:56:40.144 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.144 INFO kablam! --> src/main.rs:250:19 Oct 15 06:56:40.144 INFO kablam! | Oct 15 06:56:40.145 INFO kablam! 250 | if(s2genome.len() <= x) { Oct 15 06:56:40.145 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.145 INFO kablam! Oct 15 06:56:40.145 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.145 INFO kablam! --> src/main.rs:261:15 Oct 15 06:56:40.146 INFO kablam! | Oct 15 06:56:40.146 INFO kablam! 261 | if(rand == 0){ Oct 15 06:56:40.146 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.147 INFO kablam! Oct 15 06:56:40.150 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.151 INFO kablam! --> src/main.rs:264:19 Oct 15 06:56:40.151 INFO kablam! | Oct 15 06:56:40.151 INFO kablam! 264 | if(s1genome.len() <= x) { Oct 15 06:56:40.152 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.152 INFO kablam! Oct 15 06:56:40.152 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.152 INFO kablam! --> src/main.rs:281:7 Oct 15 06:56:40.153 INFO kablam! | Oct 15 06:56:40.153 INFO kablam! 281 | if(ind1.fitness > ind2.fitness){ Oct 15 06:56:40.153 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:40.154 INFO kablam! Oct 15 06:56:40.154 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.154 INFO kablam! --> src/main.rs:313:15 Oct 15 06:56:40.154 INFO kablam! | Oct 15 06:56:40.155 INFO kablam! 313 | if(rand >= currangestart && rand <= currangestart + (probabilities[i2] * 1000.0) as i32){ Oct 15 06:56:40.155 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:40.155 INFO kablam! help: remove these parentheses Oct 15 06:56:40.156 INFO kablam! | Oct 15 06:56:40.156 INFO kablam! 313 | ifrand >= currangestart && Oct 15 06:56:40.156 INFO kablam! 314 | rand <= currangestart + (probabilities[i2] * 1000.0) as i32{ Oct 15 06:56:40.156 INFO kablam! | Oct 15 06:56:40.157 INFO kablam! Oct 15 06:56:40.157 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:40.157 INFO kablam! --> src/main.rs:327:15 Oct 15 06:56:40.157 INFO kablam! | Oct 15 06:56:40.158 INFO kablam! 327 | if(rand >= currangestart2 && rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32){ Oct 15 06:56:40.158 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:40.158 INFO kablam! help: remove these parentheses Oct 15 06:56:40.158 INFO kablam! | Oct 15 06:56:40.158 INFO kablam! 327 | ifrand >= currangestart2 && Oct 15 06:56:40.158 INFO kablam! 328 | rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32{ Oct 15 06:56:40.159 INFO kablam! | Oct 15 06:56:40.159 INFO kablam! Oct 15 06:56:40.287 INFO kablam! warning: unused variable: `iselite` Oct 15 06:56:40.288 INFO kablam! --> src/main.rs:150:73 Oct 15 06:56:40.288 INFO kablam! | Oct 15 06:56:40.288 INFO kablam! 150 | fn evolve_population(size: i32, oldpop: Vec, mutationval: i32, iselite: i32) -> (Vec){ Oct 15 06:56:40.288 INFO kablam! | ^^^^^^^ help: consider using `_iselite` instead Oct 15 06:56:40.288 INFO kablam! | Oct 15 06:56:40.288 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 06:56:40.289 INFO kablam! Oct 15 06:56:40.289 INFO kablam! warning: unused variable: `x` Oct 15 06:56:40.289 INFO kablam! --> src/main.rs:203:17 Oct 15 06:56:40.289 INFO kablam! | Oct 15 06:56:40.289 INFO kablam! 203 | for x in 0..changes{ Oct 15 06:56:40.289 INFO kablam! | ^ help: consider using `_x` instead Oct 15 06:56:40.289 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `rand` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:244:9 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 244 | rand = rand::thread_rng().gen_range(0,2); Oct 15 06:56:40.290 INFO kablam! | ^^^^ Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `rand` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:258:9 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 258 | rand = rand::thread_rng().gen_range(0,2); Oct 15 06:56:40.290 INFO kablam! | ^^^^ Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `iterations` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:315:17 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 315 | iterations = 0; Oct 15 06:56:40.290 INFO kablam! | ^^^^^^^^^^ Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `currangestart` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:316:17 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 316 | currangestart = 0; Oct 15 06:56:40.290 INFO kablam! | ^^^^^^^^^^^^^ Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `iterations2` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:329:17 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 329 | iterations2 = 0; Oct 15 06:56:40.290 INFO kablam! | ^^^^^^^^^^^ Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.290 INFO kablam! warning: value assigned to `currangestart2` is never read Oct 15 06:56:40.290 INFO kablam! --> src/main.rs:330:17 Oct 15 06:56:40.290 INFO kablam! | Oct 15 06:56:40.290 INFO kablam! 330 | currangestart2 = 0; Oct 15 06:56:40.290 INFO kablam! | ^^^^^^^^^^^^^^ Oct 15 06:56:40.290 INFO kablam! Oct 15 06:56:40.307 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:40.307 INFO kablam! --> src/main.rs:100:9 Oct 15 06:56:40.307 INFO kablam! | Oct 15 06:56:40.307 INFO kablam! 100 | let mut mutation: i32 = MUTATIONRATE; Oct 15 06:56:40.307 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:40.307 INFO kablam! | | Oct 15 06:56:40.307 INFO kablam! | help: remove this `mut` Oct 15 06:56:40.307 INFO kablam! | Oct 15 06:56:40.307 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 06:56:40.307 INFO kablam! Oct 15 06:56:40.319 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:40.320 INFO kablam! --> src/main.rs:239:9 Oct 15 06:56:40.320 INFO kablam! | Oct 15 06:56:40.320 INFO kablam! 239 | let mut s1genome = String::from(s1.genome.clone()); Oct 15 06:56:40.320 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:40.320 INFO kablam! | | Oct 15 06:56:40.320 INFO kablam! | help: remove this `mut` Oct 15 06:56:40.320 INFO kablam! Oct 15 06:56:40.320 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:40.320 INFO kablam! --> src/main.rs:240:9 Oct 15 06:56:40.320 INFO kablam! | Oct 15 06:56:40.320 INFO kablam! 240 | let mut s2genome = s2.genome.clone(); Oct 15 06:56:40.320 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:40.320 INFO kablam! | | Oct 15 06:56:40.320 INFO kablam! | help: remove this `mut` Oct 15 06:56:40.320 INFO kablam! Oct 15 06:56:40.320 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:40.320 INFO kablam! --> src/main.rs:277:9 Oct 15 06:56:40.320 INFO kablam! | Oct 15 06:56:40.321 INFO kablam! 277 | let mut random = rand::thread_rng().gen_range(0, population.len()); Oct 15 06:56:40.321 INFO kablam! | ----^^^^^^ Oct 15 06:56:40.321 INFO kablam! | | Oct 15 06:56:40.321 INFO kablam! | help: remove this `mut` Oct 15 06:56:40.321 INFO kablam! Oct 15 06:56:40.321 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:40.321 INFO kablam! --> src/main.rs:278:9 Oct 15 06:56:40.321 INFO kablam! | Oct 15 06:56:40.321 INFO kablam! 278 | let mut random2 = rand::thread_rng().gen_range(0, population.len()); Oct 15 06:56:40.321 INFO kablam! | ----^^^^^^^ Oct 15 06:56:40.321 INFO kablam! | | Oct 15 06:56:40.321 INFO kablam! | help: remove this `mut` Oct 15 06:56:40.321 INFO kablam! Oct 15 06:56:40.326 INFO kablam! warning: constant item is never used: `POPULATIONGROWTH` Oct 15 06:56:40.326 INFO kablam! --> src/main.rs:22:1 Oct 15 06:56:40.326 INFO kablam! | Oct 15 06:56:40.326 INFO kablam! 22 | const POPULATIONGROWTH: i32 = 0; //in percent Oct 15 06:56:40.326 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:40.326 INFO kablam! | Oct 15 06:56:40.326 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 06:56:40.326 INFO kablam! Oct 15 06:56:41.756 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.28s Oct 15 06:56:41.759 INFO kablam! su: No module specific data is present Oct 15 06:56:42.427 INFO running `"docker" "rm" "-f" "07421c3ababc8aa3f0d95f096ced1a68a8623dce5662f1b6278f5b796bd56748"` Oct 15 06:56:42.691 INFO blam! 07421c3ababc8aa3f0d95f096ced1a68a8623dce5662f1b6278f5b796bd56748 Oct 15 06:56:42.704 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +40d4795669493f1965de7c44029c69552134fe1f-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 06:56:43.156 INFO blam! fa2337dc00fe50c116ea6f9c49a879951c304ab6ff40b4931c60f762a3b4e1e7 Oct 15 06:56:43.169 INFO running `"docker" "start" "-a" "fa2337dc00fe50c116ea6f9c49a879951c304ab6ff40b4931c60f762a3b4e1e7"` Oct 15 06:56:44.367 INFO kablam! usermod: no changes Oct 15 06:56:44.431 INFO kablam! Compiling bf-ai v0.0.1 (/source) Oct 15 06:56:44.975 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.975 INFO kablam! --> src/main.rs:123:7 Oct 15 06:56:44.975 INFO kablam! | Oct 15 06:56:44.975 INFO kablam! 123 | if(population[0].genome != lastbestgenome){ Oct 15 06:56:44.975 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.975 INFO kablam! | Oct 15 06:56:44.976 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 15 06:56:44.976 INFO kablam! Oct 15 06:56:44.976 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.976 INFO kablam! --> src/main.rs:141:7 Oct 15 06:56:44.976 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 141 | if(population[0].fitness == ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as i32){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:44.977 INFO kablam! help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 141 | ifpopulation[0].fitness == Oct 15 06:56:44.977 INFO kablam! 142 | ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as Oct 15 06:56:44.977 INFO kablam! 143 | i32{ Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:199:7 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 199 | if(yesorno >= 0 && yesorno < mutation || bypass){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:206:23 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 206 | if(y != index){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:243:7 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 243 | if(s1genome.len() > s2genome.len()){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:247:15 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 247 | if(rand == 0){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:250:19 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 250 | if(s2genome.len() <= x) { Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:261:15 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 261 | if(rand == 0){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:264:19 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 264 | if(s1genome.len() <= x) { Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:281:7 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 281 | if(ind1.fitness > ind2.fitness){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:313:15 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 313 | if(rand >= currangestart && rand <= currangestart + (probabilities[i2] * 1000.0) as i32){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:44.977 INFO kablam! help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 313 | ifrand >= currangestart && Oct 15 06:56:44.977 INFO kablam! 314 | rand <= currangestart + (probabilities[i2] * 1000.0) as i32{ Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:44.977 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 15 06:56:44.977 INFO kablam! --> src/main.rs:327:15 Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 327 | if(rand >= currangestart2 && rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32){ Oct 15 06:56:44.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:44.977 INFO kablam! help: remove these parentheses Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! 327 | ifrand >= currangestart2 && Oct 15 06:56:44.977 INFO kablam! 328 | rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32{ Oct 15 06:56:44.977 INFO kablam! | Oct 15 06:56:44.977 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: unused variable: `iselite` Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:150:73 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 150 | fn evolve_population(size: i32, oldpop: Vec, mutationval: i32, iselite: i32) -> (Vec){ Oct 15 06:56:45.151 INFO kablam! | ^^^^^^^ help: consider using `_iselite` instead Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: unused variable: `x` Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:203:17 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 203 | for x in 0..changes{ Oct 15 06:56:45.151 INFO kablam! | ^ help: consider using `_x` instead Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `rand` is never read Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:244:9 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 244 | rand = rand::thread_rng().gen_range(0,2); Oct 15 06:56:45.151 INFO kablam! | ^^^^ Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `rand` is never read Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:258:9 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 258 | rand = rand::thread_rng().gen_range(0,2); Oct 15 06:56:45.151 INFO kablam! | ^^^^ Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `iterations` is never read Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:315:17 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 315 | iterations = 0; Oct 15 06:56:45.151 INFO kablam! | ^^^^^^^^^^ Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `currangestart` is never read Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:316:17 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 316 | currangestart = 0; Oct 15 06:56:45.151 INFO kablam! | ^^^^^^^^^^^^^ Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `iterations2` is never read Oct 15 06:56:45.151 INFO kablam! --> src/main.rs:329:17 Oct 15 06:56:45.151 INFO kablam! | Oct 15 06:56:45.151 INFO kablam! 329 | iterations2 = 0; Oct 15 06:56:45.151 INFO kablam! | ^^^^^^^^^^^ Oct 15 06:56:45.151 INFO kablam! Oct 15 06:56:45.151 INFO kablam! warning: value assigned to `currangestart2` is never read Oct 15 06:56:45.152 INFO kablam! --> src/main.rs:330:17 Oct 15 06:56:45.152 INFO kablam! | Oct 15 06:56:45.152 INFO kablam! 330 | currangestart2 = 0; Oct 15 06:56:45.152 INFO kablam! | ^^^^^^^^^^^^^^ Oct 15 06:56:45.152 INFO kablam! Oct 15 06:56:45.159 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:45.159 INFO kablam! --> src/main.rs:100:9 Oct 15 06:56:45.159 INFO kablam! | Oct 15 06:56:45.159 INFO kablam! 100 | let mut mutation: i32 = MUTATIONRATE; Oct 15 06:56:45.159 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:45.159 INFO kablam! | | Oct 15 06:56:45.159 INFO kablam! | help: remove this `mut` Oct 15 06:56:45.159 INFO kablam! | Oct 15 06:56:45.159 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 06:56:45.159 INFO kablam! Oct 15 06:56:45.171 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:45.171 INFO kablam! --> src/main.rs:239:9 Oct 15 06:56:45.171 INFO kablam! | Oct 15 06:56:45.171 INFO kablam! 239 | let mut s1genome = String::from(s1.genome.clone()); Oct 15 06:56:45.171 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:45.171 INFO kablam! | | Oct 15 06:56:45.171 INFO kablam! | help: remove this `mut` Oct 15 06:56:45.171 INFO kablam! Oct 15 06:56:45.171 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:45.171 INFO kablam! --> src/main.rs:240:9 Oct 15 06:56:45.171 INFO kablam! | Oct 15 06:56:45.171 INFO kablam! 240 | let mut s2genome = s2.genome.clone(); Oct 15 06:56:45.171 INFO kablam! | ----^^^^^^^^ Oct 15 06:56:45.171 INFO kablam! | | Oct 15 06:56:45.171 INFO kablam! | help: remove this `mut` Oct 15 06:56:45.171 INFO kablam! Oct 15 06:56:45.171 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:45.171 INFO kablam! --> src/main.rs:277:9 Oct 15 06:56:45.171 INFO kablam! | Oct 15 06:56:45.171 INFO kablam! 277 | let mut random = rand::thread_rng().gen_range(0, population.len()); Oct 15 06:56:45.171 INFO kablam! | ----^^^^^^ Oct 15 06:56:45.171 INFO kablam! | | Oct 15 06:56:45.171 INFO kablam! | help: remove this `mut` Oct 15 06:56:45.171 INFO kablam! Oct 15 06:56:45.171 INFO kablam! warning: variable does not need to be mutable Oct 15 06:56:45.171 INFO kablam! --> src/main.rs:278:9 Oct 15 06:56:45.171 INFO kablam! | Oct 15 06:56:45.171 INFO kablam! 278 | let mut random2 = rand::thread_rng().gen_range(0, population.len()); Oct 15 06:56:45.171 INFO kablam! | ----^^^^^^^ Oct 15 06:56:45.171 INFO kablam! | | Oct 15 06:56:45.171 INFO kablam! | help: remove this `mut` Oct 15 06:56:45.171 INFO kablam! Oct 15 06:56:45.179 INFO kablam! warning: constant item is never used: `POPULATIONGROWTH` Oct 15 06:56:45.179 INFO kablam! --> src/main.rs:22:1 Oct 15 06:56:45.179 INFO kablam! | Oct 15 06:56:45.179 INFO kablam! 22 | const POPULATIONGROWTH: i32 = 0; //in percent Oct 15 06:56:45.179 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 06:56:45.179 INFO kablam! | Oct 15 06:56:45.179 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 06:56:45.179 INFO kablam! Oct 15 06:56:45.643 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.25s Oct 15 06:56:45.643 INFO kablam! su: No module specific data is present Oct 15 06:56:46.827 INFO running `"docker" "rm" "-f" "fa2337dc00fe50c116ea6f9c49a879951c304ab6ff40b4931c60f762a3b4e1e7"` Oct 15 06:56:47.167 INFO blam! fa2337dc00fe50c116ea6f9c49a879951c304ab6ff40b4931c60f762a3b4e1e7 Oct 15 06:56:47.175 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +40d4795669493f1965de7c44029c69552134fe1f-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 06:56:47.545 INFO blam! eee246df234e7063bc2c21ea741fc5ccb5528e87a78504839def521fb8e77657 Oct 15 06:56:47.549 INFO running `"docker" "start" "-a" "eee246df234e7063bc2c21ea741fc5ccb5528e87a78504839def521fb8e77657"` Oct 15 06:56:48.867 INFO kablam! usermod: no changes Oct 15 06:56:48.923 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.02s Oct 15 06:56:48.924 INFO kablam! Running /target/debug/deps/bf_ai-1b97abb0d02ffe90 Oct 15 06:56:48.945 INFO blam! Oct 15 06:56:48.945 INFO blam! running 0 tests Oct 15 06:56:48.945 INFO blam! Oct 15 06:56:48.945 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 15 06:56:48.945 INFO blam! Oct 15 06:56:48.951 INFO kablam! su: No module specific data is present Oct 15 06:56:49.559 INFO running `"docker" "rm" "-f" "eee246df234e7063bc2c21ea741fc5ccb5528e87a78504839def521fb8e77657"` Oct 15 06:56:49.833 INFO blam! eee246df234e7063bc2c21ea741fc5ccb5528e87a78504839def521fb8e77657