Oct 10 18:19:30.974 INFO testing mmajko/knapsack-problem against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 18:19:30.974 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 18:19:30.974 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-6/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 10 18:19:31.399 INFO blam! 5415694dc7ead20c783dd3460c4715111919efb00ccc55da95acb3e70d157d31 Oct 10 18:19:31.409 INFO running `"docker" "start" "-a" "5415694dc7ead20c783dd3460c4715111919efb00ccc55da95acb3e70d157d31"` Oct 10 18:19:32.332 INFO kablam! usermod: no changes Oct 10 18:19:32.428 INFO kablam! Compiling rand v0.3.18 Oct 10 18:19:34.658 INFO kablam! Compiling knapsack-problem v0.2.0 (/source) Oct 10 18:19:35.184 INFO kablam! warning: unused import: `solvers::recursive` Oct 10 18:19:35.184 INFO kablam! --> src/solvers/dynamic.rs:2:5 Oct 10 18:19:35.184 INFO kablam! | Oct 10 18:19:35.184 INFO kablam! 2 | use solvers::recursive; Oct 10 18:19:35.184 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 18:19:35.184 INFO kablam! | Oct 10 18:19:35.184 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 18:19:35.184 INFO kablam! Oct 10 18:19:35.184 INFO kablam! warning: unused imports: `KnapItem`, `sum_of_prices` Oct 10 18:19:35.184 INFO kablam! --> src/solvers/recursive.rs:1:14 Oct 10 18:19:35.184 INFO kablam! | Oct 10 18:19:35.184 INFO kablam! 1 | use parser::{sum_of_prices, Knapsack, KnapItem}; Oct 10 18:19:35.184 INFO kablam! | ^^^^^^^^^^^^^ ^^^^^^^^ Oct 10 18:19:35.184 INFO kablam! Oct 10 18:19:35.185 INFO kablam! warning: unused import: `inspect` Oct 10 18:19:35.185 INFO kablam! --> src/genetic/mod.rs:6:48 Oct 10 18:19:35.185 INFO kablam! | Oct 10 18:19:35.185 INFO kablam! 6 | use self::utils::{odds_are, random_individual, inspect, sort_population}; Oct 10 18:19:35.185 INFO kablam! | ^^^^^^^ Oct 10 18:19:35.185 INFO kablam! Oct 10 18:19:35.302 INFO kablam! warning: unused variable: `x` Oct 10 18:19:35.302 INFO kablam! --> src/solvers/mod.rs:60:72 Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! 60 | let new_items = knap.items.clone().iter().enumerate().filter(|&(i, x)| bits[i]) Oct 10 18:19:35.302 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:19:35.302 INFO kablam! Oct 10 18:19:35.302 INFO kablam! warning: unused variable: `i` Oct 10 18:19:35.302 INFO kablam! --> src/solvers/mod.rs:61:28 Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! 61 | .map(|(i, x)| *x).collect(); Oct 10 18:19:35.302 INFO kablam! | ^ help: consider using `_i` instead Oct 10 18:19:35.302 INFO kablam! Oct 10 18:19:35.302 INFO kablam! warning: unused variable: `pop_size` Oct 10 18:19:35.302 INFO kablam! --> src/genetic/selectors.rs:7:9 Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! 7 | let pop_size = population.len(); Oct 10 18:19:35.302 INFO kablam! | ^^^^^^^^ help: consider using `_pop_size` instead Oct 10 18:19:35.302 INFO kablam! Oct 10 18:19:35.302 INFO kablam! warning: unused variable: `generation` Oct 10 18:19:35.302 INFO kablam! --> src/genetic/utils.rs:34:19 Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! 34 | pub fn inspect(generation: usize, sorted_population: &Vec>, fitness_fn: &F) where F: Fn(&Vec) -> usize { Oct 10 18:19:35.302 INFO kablam! | ^^^^^^^^^^ help: consider using `_generation` instead Oct 10 18:19:35.302 INFO kablam! Oct 10 18:19:35.302 INFO kablam! warning: unused variable: `elitism_count` Oct 10 18:19:35.302 INFO kablam! --> src/genetic/mod.rs:16:9 Oct 10 18:19:35.302 INFO kablam! | Oct 10 18:19:35.302 INFO kablam! 16 | let elitism_count = 2; Oct 10 18:19:35.302 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_elitism_count` instead Oct 10 18:19:35.302 INFO kablam! Oct 10 18:19:35.303 INFO kablam! warning: unused variable: `i` Oct 10 18:19:35.303 INFO kablam! --> src/genetic/mod.rs:21:9 Oct 10 18:19:35.303 INFO kablam! | Oct 10 18:19:35.303 INFO kablam! 21 | for i in 0..500 { Oct 10 18:19:35.303 INFO kablam! | ^ help: consider using `_i` instead Oct 10 18:19:35.303 INFO kablam! Oct 10 18:19:35.322 INFO kablam! warning: variable does not need to be mutable Oct 10 18:19:35.322 INFO kablam! --> src/reporter.rs:22:9 Oct 10 18:19:35.322 INFO kablam! | Oct 10 18:19:35.322 INFO kablam! 22 | let mut stype = String::from(format!("{:?}", solution)); Oct 10 18:19:35.322 INFO kablam! | ----^^^^^ Oct 10 18:19:35.322 INFO kablam! | | Oct 10 18:19:35.322 INFO kablam! | help: remove this `mut` Oct 10 18:19:35.322 INFO kablam! | Oct 10 18:19:35.322 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:19:35.322 INFO kablam! Oct 10 18:19:35.343 INFO kablam! warning: variant is never constructed: `None` Oct 10 18:19:35.343 INFO kablam! --> src/parser.rs:10:5 Oct 10 18:19:35.343 INFO kablam! | Oct 10 18:19:35.343 INFO kablam! 10 | None, Oct 10 18:19:35.343 INFO kablam! | ^^^^ Oct 10 18:19:35.343 INFO kablam! | Oct 10 18:19:35.343 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:19:35.343 INFO kablam! Oct 10 18:19:35.344 INFO kablam! warning: variant is never constructed: `FPTAS25` Oct 10 18:19:35.344 INFO kablam! --> src/parser.rs:15:5 Oct 10 18:19:35.344 INFO kablam! | Oct 10 18:19:35.344 INFO kablam! 15 | FPTAS25, Oct 10 18:19:35.344 INFO kablam! | ^^^^^^^ Oct 10 18:19:35.344 INFO kablam! Oct 10 18:19:35.344 INFO kablam! warning: variant is never constructed: `FPTAS75` Oct 10 18:19:35.344 INFO kablam! --> src/parser.rs:17:5 Oct 10 18:19:35.344 INFO kablam! | Oct 10 18:19:35.344 INFO kablam! 17 | FPTAS75, Oct 10 18:19:35.344 INFO kablam! | ^^^^^^^ Oct 10 18:19:35.344 INFO kablam! Oct 10 18:19:35.344 INFO kablam! warning: function is never used: `inspect` Oct 10 18:19:35.344 INFO kablam! --> src/genetic/utils.rs:34:1 Oct 10 18:19:35.344 INFO kablam! | Oct 10 18:19:35.344 INFO kablam! 34 | pub fn inspect(generation: usize, sorted_population: &Vec>, fitness_fn: &F) where F: Fn(&Vec) -> usize { Oct 10 18:19:35.344 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:19:35.344 INFO kablam! Oct 10 18:19:36.240 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.87s Oct 10 18:19:36.242 INFO kablam! su: No module specific data is present Oct 10 18:19:36.748 INFO running `"docker" "rm" "-f" "5415694dc7ead20c783dd3460c4715111919efb00ccc55da95acb3e70d157d31"` Oct 10 18:19:36.971 INFO blam! 5415694dc7ead20c783dd3460c4715111919efb00ccc55da95acb3e70d157d31 Oct 10 18:19:36.976 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 18:19:36.976 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-6/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 10 18:19:37.402 INFO blam! 68fdc765bba337373db634760825724a11a3b57435c9f4543d8f5e30ccb4bac1 Oct 10 18:19:37.403 INFO running `"docker" "start" "-a" "68fdc765bba337373db634760825724a11a3b57435c9f4543d8f5e30ccb4bac1"` Oct 10 18:19:37.896 INFO kablam! usermod: no changes Oct 10 18:19:37.934 INFO kablam! Compiling knapsack-problem v0.2.0 (/source) Oct 10 18:19:38.468 INFO kablam! warning: unused import: `solvers::recursive` Oct 10 18:19:38.468 INFO kablam! --> src/solvers/dynamic.rs:2:5 Oct 10 18:19:38.468 INFO kablam! | Oct 10 18:19:38.468 INFO kablam! 2 | use solvers::recursive; Oct 10 18:19:38.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 18:19:38.468 INFO kablam! | Oct 10 18:19:38.468 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 18:19:38.468 INFO kablam! Oct 10 18:19:38.468 INFO kablam! warning: unused imports: `KnapItem`, `sum_of_prices` Oct 10 18:19:38.468 INFO kablam! --> src/solvers/recursive.rs:1:14 Oct 10 18:19:38.468 INFO kablam! | Oct 10 18:19:38.468 INFO kablam! 1 | use parser::{sum_of_prices, Knapsack, KnapItem}; Oct 10 18:19:38.468 INFO kablam! | ^^^^^^^^^^^^^ ^^^^^^^^ Oct 10 18:19:38.468 INFO kablam! Oct 10 18:19:38.468 INFO kablam! warning: unused import: `inspect` Oct 10 18:19:38.468 INFO kablam! --> src/genetic/mod.rs:6:48 Oct 10 18:19:38.468 INFO kablam! | Oct 10 18:19:38.468 INFO kablam! 6 | use self::utils::{odds_are, random_individual, inspect, sort_population}; Oct 10 18:19:38.468 INFO kablam! | ^^^^^^^ Oct 10 18:19:38.468 INFO kablam! Oct 10 18:19:38.633 INFO kablam! warning: unused variable: `x` Oct 10 18:19:38.633 INFO kablam! --> src/solvers/mod.rs:60:72 Oct 10 18:19:38.633 INFO kablam! | Oct 10 18:19:38.634 INFO kablam! 60 | let new_items = knap.items.clone().iter().enumerate().filter(|&(i, x)| bits[i]) Oct 10 18:19:38.634 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:19:38.634 INFO kablam! | Oct 10 18:19:38.635 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:19:38.635 INFO kablam! Oct 10 18:19:38.635 INFO kablam! warning: unused variable: `i` Oct 10 18:19:38.636 INFO kablam! --> src/solvers/mod.rs:61:28 Oct 10 18:19:38.636 INFO kablam! | Oct 10 18:19:38.636 INFO kablam! 61 | .map(|(i, x)| *x).collect(); Oct 10 18:19:38.637 INFO kablam! | ^ help: consider using `_i` instead Oct 10 18:19:38.637 INFO kablam! Oct 10 18:19:38.637 INFO kablam! warning: unused variable: `pop_size` Oct 10 18:19:38.638 INFO kablam! --> src/genetic/selectors.rs:7:9 Oct 10 18:19:38.638 INFO kablam! | Oct 10 18:19:38.638 INFO kablam! 7 | let pop_size = population.len(); Oct 10 18:19:38.639 INFO kablam! | ^^^^^^^^ help: consider using `_pop_size` instead Oct 10 18:19:38.639 INFO kablam! Oct 10 18:19:38.639 INFO kablam! warning: unused variable: `generation` Oct 10 18:19:38.639 INFO kablam! --> src/genetic/utils.rs:34:19 Oct 10 18:19:38.640 INFO kablam! | Oct 10 18:19:38.640 INFO kablam! 34 | pub fn inspect(generation: usize, sorted_population: &Vec>, fitness_fn: &F) where F: Fn(&Vec) -> usize { Oct 10 18:19:38.640 INFO kablam! | ^^^^^^^^^^ help: consider using `_generation` instead Oct 10 18:19:38.641 INFO kablam! Oct 10 18:19:38.641 INFO kablam! warning: unused variable: `elitism_count` Oct 10 18:19:38.641 INFO kablam! --> src/genetic/mod.rs:16:9 Oct 10 18:19:38.642 INFO kablam! | Oct 10 18:19:38.642 INFO kablam! 16 | let elitism_count = 2; Oct 10 18:19:38.642 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_elitism_count` instead Oct 10 18:19:38.642 INFO kablam! Oct 10 18:19:38.643 INFO kablam! warning: unused variable: `i` Oct 10 18:19:38.643 INFO kablam! --> src/genetic/mod.rs:21:9 Oct 10 18:19:38.643 INFO kablam! | Oct 10 18:19:38.644 INFO kablam! 21 | for i in 0..500 { Oct 10 18:19:38.644 INFO kablam! | ^ help: consider using `_i` instead Oct 10 18:19:38.644 INFO kablam! Oct 10 18:19:38.657 INFO kablam! warning: variable does not need to be mutable Oct 10 18:19:38.657 INFO kablam! --> src/reporter.rs:22:9 Oct 10 18:19:38.657 INFO kablam! | Oct 10 18:19:38.658 INFO kablam! 22 | let mut stype = String::from(format!("{:?}", solution)); Oct 10 18:19:38.658 INFO kablam! | ----^^^^^ Oct 10 18:19:38.658 INFO kablam! | | Oct 10 18:19:38.659 INFO kablam! | help: remove this `mut` Oct 10 18:19:38.659 INFO kablam! | Oct 10 18:19:38.659 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:19:38.660 INFO kablam! Oct 10 18:19:38.689 INFO kablam! warning: variant is never constructed: `None` Oct 10 18:19:38.689 INFO kablam! --> src/parser.rs:10:5 Oct 10 18:19:38.690 INFO kablam! | Oct 10 18:19:38.690 INFO kablam! 10 | None, Oct 10 18:19:38.690 INFO kablam! | ^^^^ Oct 10 18:19:38.690 INFO kablam! | Oct 10 18:19:38.691 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:19:38.691 INFO kablam! Oct 10 18:19:38.691 INFO kablam! warning: variant is never constructed: `FPTAS25` Oct 10 18:19:38.692 INFO kablam! --> src/parser.rs:15:5 Oct 10 18:19:38.692 INFO kablam! | Oct 10 18:19:38.692 INFO kablam! 15 | FPTAS25, Oct 10 18:19:38.693 INFO kablam! | ^^^^^^^ Oct 10 18:19:38.693 INFO kablam! Oct 10 18:19:38.693 INFO kablam! warning: variant is never constructed: `FPTAS75` Oct 10 18:19:38.693 INFO kablam! --> src/parser.rs:17:5 Oct 10 18:19:38.694 INFO kablam! | Oct 10 18:19:38.694 INFO kablam! 17 | FPTAS75, Oct 10 18:19:38.694 INFO kablam! | ^^^^^^^ Oct 10 18:19:38.694 INFO kablam! Oct 10 18:19:38.695 INFO kablam! warning: function is never used: `inspect` Oct 10 18:19:38.695 INFO kablam! --> src/genetic/utils.rs:34:1 Oct 10 18:19:38.695 INFO kablam! | Oct 10 18:19:38.695 INFO kablam! 34 | pub fn inspect(generation: usize, sorted_population: &Vec>, fitness_fn: &F) where F: Fn(&Vec) -> usize { Oct 10 18:19:38.696 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:19:38.696 INFO kablam! Oct 10 18:19:39.198 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.28s Oct 10 18:19:39.202 INFO kablam! su: No module specific data is present Oct 10 18:19:39.877 INFO running `"docker" "rm" "-f" "68fdc765bba337373db634760825724a11a3b57435c9f4543d8f5e30ccb4bac1"` Oct 10 18:19:40.043 INFO blam! 68fdc765bba337373db634760825724a11a3b57435c9f4543d8f5e30ccb4bac1 Oct 10 18:19:40.045 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 18:19:40.045 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-6/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 10 18:19:40.396 INFO blam! 6d134f1578e4d4d3c7810f53cf310905ef7361171076b8c4a9dd3e18681c89a9 Oct 10 18:19:40.398 INFO running `"docker" "start" "-a" "6d134f1578e4d4d3c7810f53cf310905ef7361171076b8c4a9dd3e18681c89a9"` Oct 10 18:19:41.430 INFO kablam! usermod: no changes Oct 10 18:19:41.533 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.05s Oct 10 18:19:41.533 INFO kablam! Running /target/debug/deps/knapsack_problem-554ca2261c677a28 Oct 10 18:19:41.541 INFO blam! Oct 10 18:19:41.541 INFO blam! running 0 tests Oct 10 18:19:41.542 INFO blam! Oct 10 18:19:41.542 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 18:19:41.542 INFO kablam! su: No module specific data is present Oct 10 18:19:41.542 INFO blam! Oct 10 18:19:42.035 INFO running `"docker" "rm" "-f" "6d134f1578e4d4d3c7810f53cf310905ef7361171076b8c4a9dd3e18681c89a9"` Oct 10 18:19:42.296 INFO blam! 6d134f1578e4d4d3c7810f53cf310905ef7361171076b8c4a9dd3e18681c89a9