Oct 11 04:34:56.977 INFO testing Sceptix/bf-ai against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 11 04:34:56.977 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 11 04:34:56.977 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 04:34:57.350 INFO blam! 922694b9eef678528e391f71263ba632b6eb8a4ba526cf0a0868e74c5102b288 Oct 11 04:34:57.358 INFO running `"docker" "start" "-a" "922694b9eef678528e391f71263ba632b6eb8a4ba526cf0a0868e74c5102b288"` Oct 11 04:34:58.292 INFO kablam! usermod: no changes Oct 11 04:34:58.396 INFO kablam! Compiling bf-ai v0.0.1 (/source) Oct 11 04:34:58.816 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.816 INFO kablam! --> src/main.rs:123:7 Oct 11 04:34:58.816 INFO kablam! | Oct 11 04:34:58.816 INFO kablam! 123 | if(population[0].genome != lastbestgenome){ Oct 11 04:34:58.816 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.816 INFO kablam! | Oct 11 04:34:58.816 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 11 04:34:58.816 INFO kablam! Oct 11 04:34:58.816 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.816 INFO kablam! --> src/main.rs:141:7 Oct 11 04:34:58.816 INFO kablam! | Oct 11 04:34:58.816 INFO kablam! 141 | if(population[0].fitness == ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as i32){ Oct 11 04:34:58.816 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:34:58.822 INFO kablam! help: remove these parentheses Oct 11 04:34:58.822 INFO kablam! | Oct 11 04:34:58.822 INFO kablam! 141 | ifpopulation[0].fitness == Oct 11 04:34:58.822 INFO kablam! 142 | ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as Oct 11 04:34:58.822 INFO kablam! 143 | i32{ Oct 11 04:34:58.822 INFO kablam! | Oct 11 04:34:58.822 INFO kablam! Oct 11 04:34:58.822 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.822 INFO kablam! --> src/main.rs:199:7 Oct 11 04:34:58.822 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 199 | if(yesorno >= 0 && yesorno < mutation || bypass){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:206:23 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 206 | if(y != index){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:243:7 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 243 | if(s1genome.len() > s2genome.len()){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:247:15 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 247 | if(rand == 0){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:250:19 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 250 | if(s2genome.len() <= x) { Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:261:15 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 261 | if(rand == 0){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:264:19 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 264 | if(s1genome.len() <= x) { Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:281:7 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 281 | if(ind1.fitness > ind2.fitness){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:313:15 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 313 | if(rand >= currangestart && rand <= currangestart + (probabilities[i2] * 1000.0) as i32){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:34:58.823 INFO kablam! help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 313 | ifrand >= currangestart && Oct 11 04:34:58.823 INFO kablam! 314 | rand <= currangestart + (probabilities[i2] * 1000.0) as i32{ Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:58.823 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:34:58.823 INFO kablam! --> src/main.rs:327:15 Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 327 | if(rand >= currangestart2 && rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32){ Oct 11 04:34:58.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:34:58.823 INFO kablam! help: remove these parentheses Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! 327 | ifrand >= currangestart2 && Oct 11 04:34:58.823 INFO kablam! 328 | rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32{ Oct 11 04:34:58.823 INFO kablam! | Oct 11 04:34:58.823 INFO kablam! Oct 11 04:34:59.060 INFO kablam! warning: unused variable: `iselite` Oct 11 04:34:59.060 INFO kablam! --> src/main.rs:150:73 Oct 11 04:34:59.060 INFO kablam! | Oct 11 04:34:59.060 INFO kablam! 150 | fn evolve_population(size: i32, oldpop: Vec, mutationval: i32, iselite: i32) -> (Vec){ Oct 11 04:34:59.060 INFO kablam! | ^^^^^^^ help: consider using `_iselite` instead Oct 11 04:34:59.060 INFO kablam! | Oct 11 04:34:59.060 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 04:34:59.060 INFO kablam! Oct 11 04:34:59.060 INFO kablam! warning: unused variable: `x` Oct 11 04:34:59.060 INFO kablam! --> src/main.rs:203:17 Oct 11 04:34:59.060 INFO kablam! | Oct 11 04:34:59.060 INFO kablam! 203 | for x in 0..changes{ Oct 11 04:34:59.060 INFO kablam! | ^ help: consider using `_x` instead Oct 11 04:34:59.060 INFO kablam! Oct 11 04:34:59.060 INFO kablam! warning: value assigned to `rand` is never read Oct 11 04:34:59.060 INFO kablam! --> src/main.rs:244:9 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 244 | rand = rand::thread_rng().gen_range(0,2); Oct 11 04:34:59.061 INFO kablam! | ^^^^ Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.061 INFO kablam! warning: value assigned to `rand` is never read Oct 11 04:34:59.061 INFO kablam! --> src/main.rs:258:9 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 258 | rand = rand::thread_rng().gen_range(0,2); Oct 11 04:34:59.061 INFO kablam! | ^^^^ Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.061 INFO kablam! warning: value assigned to `iterations` is never read Oct 11 04:34:59.061 INFO kablam! --> src/main.rs:315:17 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 315 | iterations = 0; Oct 11 04:34:59.061 INFO kablam! | ^^^^^^^^^^ Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.061 INFO kablam! warning: value assigned to `currangestart` is never read Oct 11 04:34:59.061 INFO kablam! --> src/main.rs:316:17 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 316 | currangestart = 0; Oct 11 04:34:59.061 INFO kablam! | ^^^^^^^^^^^^^ Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.061 INFO kablam! warning: value assigned to `iterations2` is never read Oct 11 04:34:59.061 INFO kablam! --> src/main.rs:329:17 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 329 | iterations2 = 0; Oct 11 04:34:59.061 INFO kablam! | ^^^^^^^^^^^ Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.061 INFO kablam! warning: value assigned to `currangestart2` is never read Oct 11 04:34:59.061 INFO kablam! --> src/main.rs:330:17 Oct 11 04:34:59.061 INFO kablam! | Oct 11 04:34:59.061 INFO kablam! 330 | currangestart2 = 0; Oct 11 04:34:59.061 INFO kablam! | ^^^^^^^^^^^^^^ Oct 11 04:34:59.061 INFO kablam! Oct 11 04:34:59.071 INFO kablam! warning: variable does not need to be mutable Oct 11 04:34:59.071 INFO kablam! --> src/main.rs:100:9 Oct 11 04:34:59.071 INFO kablam! | Oct 11 04:34:59.071 INFO kablam! 100 | let mut mutation: i32 = MUTATIONRATE; Oct 11 04:34:59.071 INFO kablam! | ----^^^^^^^^ Oct 11 04:34:59.071 INFO kablam! | | Oct 11 04:34:59.071 INFO kablam! | help: remove this `mut` Oct 11 04:34:59.071 INFO kablam! | Oct 11 04:34:59.080 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 04:34:59.080 INFO kablam! Oct 11 04:34:59.080 INFO kablam! warning: variable does not need to be mutable Oct 11 04:34:59.080 INFO kablam! --> src/main.rs:239:9 Oct 11 04:34:59.080 INFO kablam! | Oct 11 04:34:59.080 INFO kablam! 239 | let mut s1genome = String::from(s1.genome.clone()); Oct 11 04:34:59.080 INFO kablam! | ----^^^^^^^^ Oct 11 04:34:59.080 INFO kablam! | | Oct 11 04:34:59.080 INFO kablam! | help: remove this `mut` Oct 11 04:34:59.080 INFO kablam! Oct 11 04:34:59.080 INFO kablam! warning: variable does not need to be mutable Oct 11 04:34:59.080 INFO kablam! --> src/main.rs:240:9 Oct 11 04:34:59.080 INFO kablam! | Oct 11 04:34:59.080 INFO kablam! 240 | let mut s2genome = s2.genome.clone(); Oct 11 04:34:59.080 INFO kablam! | ----^^^^^^^^ Oct 11 04:34:59.080 INFO kablam! | | Oct 11 04:34:59.080 INFO kablam! | help: remove this `mut` Oct 11 04:34:59.080 INFO kablam! Oct 11 04:34:59.080 INFO kablam! warning: variable does not need to be mutable Oct 11 04:34:59.080 INFO kablam! --> src/main.rs:277:9 Oct 11 04:34:59.080 INFO kablam! | Oct 11 04:34:59.080 INFO kablam! 277 | let mut random = rand::thread_rng().gen_range(0, population.len()); Oct 11 04:34:59.080 INFO kablam! | ----^^^^^^ Oct 11 04:34:59.080 INFO kablam! | | Oct 11 04:34:59.080 INFO kablam! | help: remove this `mut` Oct 11 04:34:59.080 INFO kablam! Oct 11 04:34:59.080 INFO kablam! warning: variable does not need to be mutable Oct 11 04:34:59.080 INFO kablam! --> src/main.rs:278:9 Oct 11 04:34:59.080 INFO kablam! | Oct 11 04:34:59.080 INFO kablam! 278 | let mut random2 = rand::thread_rng().gen_range(0, population.len()); Oct 11 04:34:59.080 INFO kablam! | ----^^^^^^^ Oct 11 04:34:59.080 INFO kablam! | | Oct 11 04:34:59.080 INFO kablam! | help: remove this `mut` Oct 11 04:34:59.080 INFO kablam! Oct 11 04:34:59.088 INFO kablam! warning: constant item is never used: `POPULATIONGROWTH` Oct 11 04:34:59.088 INFO kablam! --> src/main.rs:22:1 Oct 11 04:34:59.088 INFO kablam! | Oct 11 04:34:59.088 INFO kablam! 22 | const POPULATIONGROWTH: i32 = 0; //in percent Oct 11 04:34:59.088 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:34:59.088 INFO kablam! | Oct 11 04:34:59.088 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 04:34:59.088 INFO kablam! Oct 11 04:35:00.409 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.08s Oct 11 04:35:00.410 INFO kablam! su: No module specific data is present Oct 11 04:35:01.252 INFO running `"docker" "rm" "-f" "922694b9eef678528e391f71263ba632b6eb8a4ba526cf0a0868e74c5102b288"` Oct 11 04:35:01.566 INFO blam! 922694b9eef678528e391f71263ba632b6eb8a4ba526cf0a0868e74c5102b288 Oct 11 04:35:01.566 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 11 04:35:01.566 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 04:35:02.026 INFO blam! d8623e93069da761aff81da3fa92f7ff4b986664ff2168555dbddd90c507b453 Oct 11 04:35:02.044 INFO running `"docker" "start" "-a" "d8623e93069da761aff81da3fa92f7ff4b986664ff2168555dbddd90c507b453"` Oct 11 04:35:03.163 INFO kablam! usermod: no changes Oct 11 04:35:03.225 INFO kablam! Compiling bf-ai v0.0.1 (/source) Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:123:7 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 123 | if(population[0].genome != lastbestgenome){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:141:7 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 141 | if(population[0].fitness == ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as i32){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:35:03.689 INFO kablam! help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 141 | ifpopulation[0].fitness == Oct 11 04:35:03.689 INFO kablam! 142 | ((SEARCHSTRING.chars().count() as i32 - 1 as i32) as i32 * 256 as i32) as Oct 11 04:35:03.689 INFO kablam! 143 | i32{ Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:199:7 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 199 | if(yesorno >= 0 && yesorno < mutation || bypass){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:206:23 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 206 | if(y != index){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:243:7 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 243 | if(s1genome.len() > s2genome.len()){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:247:15 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 247 | if(rand == 0){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:250:19 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 250 | if(s2genome.len() <= x) { Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:261:15 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 261 | if(rand == 0){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:264:19 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 264 | if(s1genome.len() <= x) { Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:281:7 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 281 | if(ind1.fitness > ind2.fitness){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! Oct 11 04:35:03.689 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.689 INFO kablam! --> src/main.rs:313:15 Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.689 INFO kablam! 313 | if(rand >= currangestart && rand <= currangestart + (probabilities[i2] * 1000.0) as i32){ Oct 11 04:35:03.689 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:35:03.689 INFO kablam! help: remove these parentheses Oct 11 04:35:03.689 INFO kablam! | Oct 11 04:35:03.690 INFO kablam! 313 | ifrand >= currangestart && Oct 11 04:35:03.690 INFO kablam! 314 | rand <= currangestart + (probabilities[i2] * 1000.0) as i32{ Oct 11 04:35:03.690 INFO kablam! | Oct 11 04:35:03.690 INFO kablam! Oct 11 04:35:03.690 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 11 04:35:03.690 INFO kablam! --> src/main.rs:327:15 Oct 11 04:35:03.690 INFO kablam! | Oct 11 04:35:03.690 INFO kablam! 327 | if(rand >= currangestart2 && rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32){ Oct 11 04:35:03.690 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:35:03.690 INFO kablam! help: remove these parentheses Oct 11 04:35:03.690 INFO kablam! | Oct 11 04:35:03.690 INFO kablam! 327 | ifrand >= currangestart2 && Oct 11 04:35:03.690 INFO kablam! 328 | rand <= currangestart2 + (probabilities[i3] * 1000.0) as i32{ Oct 11 04:35:03.690 INFO kablam! | Oct 11 04:35:03.690 INFO kablam! Oct 11 04:35:03.834 INFO kablam! warning: unused variable: `iselite` Oct 11 04:35:03.834 INFO kablam! --> src/main.rs:150:73 Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! 150 | fn evolve_population(size: i32, oldpop: Vec, mutationval: i32, iselite: i32) -> (Vec){ Oct 11 04:35:03.834 INFO kablam! | ^^^^^^^ help: consider using `_iselite` instead Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 04:35:03.834 INFO kablam! Oct 11 04:35:03.834 INFO kablam! warning: unused variable: `x` Oct 11 04:35:03.834 INFO kablam! --> src/main.rs:203:17 Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! 203 | for x in 0..changes{ Oct 11 04:35:03.834 INFO kablam! | ^ help: consider using `_x` instead Oct 11 04:35:03.834 INFO kablam! Oct 11 04:35:03.834 INFO kablam! warning: value assigned to `rand` is never read Oct 11 04:35:03.834 INFO kablam! --> src/main.rs:244:9 Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! 244 | rand = rand::thread_rng().gen_range(0,2); Oct 11 04:35:03.834 INFO kablam! | ^^^^ Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 11 04:35:03.834 INFO kablam! Oct 11 04:35:03.834 INFO kablam! warning: value assigned to `rand` is never read Oct 11 04:35:03.834 INFO kablam! --> src/main.rs:258:9 Oct 11 04:35:03.834 INFO kablam! | Oct 11 04:35:03.834 INFO kablam! 258 | rand = rand::thread_rng().gen_range(0,2); Oct 11 04:35:03.834 INFO kablam! | ^^^^ Oct 11 04:35:03.834 INFO kablam! Oct 11 04:35:03.840 INFO kablam! warning: value assigned to `iterations` is never read Oct 11 04:35:03.840 INFO kablam! --> src/main.rs:315:17 Oct 11 04:35:03.840 INFO kablam! | Oct 11 04:35:03.840 INFO kablam! 315 | iterations = 0; Oct 11 04:35:03.840 INFO kablam! | ^^^^^^^^^^ Oct 11 04:35:03.840 INFO kablam! Oct 11 04:35:03.840 INFO kablam! warning: value assigned to `currangestart` is never read Oct 11 04:35:03.840 INFO kablam! --> src/main.rs:316:17 Oct 11 04:35:03.840 INFO kablam! | Oct 11 04:35:03.840 INFO kablam! 316 | currangestart = 0; Oct 11 04:35:03.840 INFO kablam! | ^^^^^^^^^^^^^ Oct 11 04:35:03.840 INFO kablam! Oct 11 04:35:03.840 INFO kablam! warning: value assigned to `iterations2` is never read Oct 11 04:35:03.840 INFO kablam! --> src/main.rs:329:17 Oct 11 04:35:03.840 INFO kablam! | Oct 11 04:35:03.840 INFO kablam! 329 | iterations2 = 0; Oct 11 04:35:03.840 INFO kablam! | ^^^^^^^^^^^ Oct 11 04:35:03.840 INFO kablam! Oct 11 04:35:03.840 INFO kablam! warning: value assigned to `currangestart2` is never read Oct 11 04:35:03.840 INFO kablam! --> src/main.rs:330:17 Oct 11 04:35:03.840 INFO kablam! | Oct 11 04:35:03.840 INFO kablam! 330 | currangestart2 = 0; Oct 11 04:35:03.840 INFO kablam! | ^^^^^^^^^^^^^^ Oct 11 04:35:03.840 INFO kablam! Oct 11 04:35:03.852 INFO kablam! warning: variable does not need to be mutable Oct 11 04:35:03.852 INFO kablam! --> src/main.rs:100:9 Oct 11 04:35:03.852 INFO kablam! | Oct 11 04:35:03.852 INFO kablam! 100 | let mut mutation: i32 = MUTATIONRATE; Oct 11 04:35:03.852 INFO kablam! | ----^^^^^^^^ Oct 11 04:35:03.852 INFO kablam! | | Oct 11 04:35:03.852 INFO kablam! | help: remove this `mut` Oct 11 04:35:03.852 INFO kablam! | Oct 11 04:35:03.852 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 04:35:03.852 INFO kablam! Oct 11 04:35:03.860 INFO kablam! warning: variable does not need to be mutable Oct 11 04:35:03.860 INFO kablam! --> src/main.rs:239:9 Oct 11 04:35:03.860 INFO kablam! | Oct 11 04:35:03.860 INFO kablam! 239 | let mut s1genome = String::from(s1.genome.clone()); Oct 11 04:35:03.860 INFO kablam! | ----^^^^^^^^ Oct 11 04:35:03.860 INFO kablam! | | Oct 11 04:35:03.860 INFO kablam! | help: remove this `mut` Oct 11 04:35:03.860 INFO kablam! Oct 11 04:35:03.860 INFO kablam! warning: variable does not need to be mutable Oct 11 04:35:03.860 INFO kablam! --> src/main.rs:240:9 Oct 11 04:35:03.860 INFO kablam! | Oct 11 04:35:03.860 INFO kablam! 240 | let mut s2genome = s2.genome.clone(); Oct 11 04:35:03.860 INFO kablam! | ----^^^^^^^^ Oct 11 04:35:03.860 INFO kablam! | | Oct 11 04:35:03.860 INFO kablam! | help: remove this `mut` Oct 11 04:35:03.860 INFO kablam! Oct 11 04:35:03.860 INFO kablam! warning: variable does not need to be mutable Oct 11 04:35:03.860 INFO kablam! --> src/main.rs:277:9 Oct 11 04:35:03.860 INFO kablam! | Oct 11 04:35:03.860 INFO kablam! 277 | let mut random = rand::thread_rng().gen_range(0, population.len()); Oct 11 04:35:03.861 INFO kablam! | ----^^^^^^ Oct 11 04:35:03.861 INFO kablam! | | Oct 11 04:35:03.861 INFO kablam! | help: remove this `mut` Oct 11 04:35:03.861 INFO kablam! Oct 11 04:35:03.861 INFO kablam! warning: variable does not need to be mutable Oct 11 04:35:03.861 INFO kablam! --> src/main.rs:278:9 Oct 11 04:35:03.861 INFO kablam! | Oct 11 04:35:03.861 INFO kablam! 278 | let mut random2 = rand::thread_rng().gen_range(0, population.len()); Oct 11 04:35:03.861 INFO kablam! | ----^^^^^^^ Oct 11 04:35:03.861 INFO kablam! | | Oct 11 04:35:03.861 INFO kablam! | help: remove this `mut` Oct 11 04:35:03.861 INFO kablam! Oct 11 04:35:03.872 INFO kablam! warning: constant item is never used: `POPULATIONGROWTH` Oct 11 04:35:03.872 INFO kablam! --> src/main.rs:22:1 Oct 11 04:35:03.872 INFO kablam! | Oct 11 04:35:03.872 INFO kablam! 22 | const POPULATIONGROWTH: i32 = 0; //in percent Oct 11 04:35:03.872 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 04:35:03.872 INFO kablam! | Oct 11 04:35:03.872 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 04:35:03.872 INFO kablam! Oct 11 04:35:04.405 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.22s Oct 11 04:35:04.414 INFO kablam! su: No module specific data is present Oct 11 04:35:05.140 INFO running `"docker" "rm" "-f" "d8623e93069da761aff81da3fa92f7ff4b986664ff2168555dbddd90c507b453"` Oct 11 04:35:05.377 INFO blam! d8623e93069da761aff81da3fa92f7ff4b986664ff2168555dbddd90c507b453 Oct 11 04:35:05.378 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 11 04:35:05.378 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 04:35:05.720 INFO blam! f927d15230a0ef626879464b51d67d9170604d633a83b4b1fb8bce511c9f0b5f Oct 11 04:35:05.728 INFO running `"docker" "start" "-a" "f927d15230a0ef626879464b51d67d9170604d633a83b4b1fb8bce511c9f0b5f"` Oct 11 04:35:06.631 INFO kablam! usermod: no changes Oct 11 04:35:06.664 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.01s Oct 11 04:35:06.668 INFO kablam! Running /target/debug/deps/bf_ai-78535ae30843adfb Oct 11 04:35:06.672 INFO blam! Oct 11 04:35:06.672 INFO blam! running 0 tests Oct 11 04:35:06.672 INFO blam! Oct 11 04:35:06.672 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 11 04:35:06.672 INFO blam! Oct 11 04:35:06.672 INFO kablam! su: No module specific data is present Oct 11 04:35:07.432 INFO running `"docker" "rm" "-f" "f927d15230a0ef626879464b51d67d9170604d633a83b4b1fb8bce511c9f0b5f"` Oct 11 04:35:07.757 INFO blam! f927d15230a0ef626879464b51d67d9170604d633a83b4b1fb8bce511c9f0b5f