[INFO] cloning repository https://github.com/Amit3067/Bin_Packing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amit3067/Bin_Packing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmit3067%2FBin_Packing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmit3067%2FBin_Packing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f140c21093e58f32d7a3f2571ff7ffa64d34bb75
[INFO] testing Amit3067/Bin_Packing against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmit3067%2FBin_Packing" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Amit3067/Bin_Packing
[INFO] finished tweaking git repo https://github.com/Amit3067/Bin_Packing
[INFO] tweaked toml for git repo https://github.com/Amit3067/Bin_Packing written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Amit3067/Bin_Packing on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Amit3067/Bin_Packing 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15478163a63afc42caba75afefefdd2b35655189950b8a23341c9e730be03ba3
[INFO] running `Command { std: "docker" "start" "-a" "15478163a63afc42caba75afefefdd2b35655189950b8a23341c9e730be03ba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15478163a63afc42caba75afefefdd2b35655189950b8a23341c9e730be03ba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15478163a63afc42caba75afefefdd2b35655189950b8a23341c9e730be03ba3", kill_on_drop: false }`
[INFO] [stdout] 15478163a63afc42caba75afefefdd2b35655189950b8a23341c9e730be03ba3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6678c17c5aba0cf58640326c054f6c734ad9dde5c76ce06b320ad7013a7051f
[INFO] running `Command { std: "docker" "start" "-a" "b6678c17c5aba0cf58640326c054f6c734ad9dde5c76ce06b320ad7013a7051f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling bin_packing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/structs/solution.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         while(ind < ind2) {
[INFO] [stdout]     |              ^          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -         while(ind < ind2) {
[INFO] [stdout] 139 +         while ind < ind2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/structs/solution.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         while(ind < sz){
[INFO] [stdout]     |              ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -         while(ind < sz){
[INFO] [stdout] 146 +         while ind < sz {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/structs/solution.rs:175:21
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     (cnt - 1)
[INFO] [stdout]     |                     ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 175 -                     (cnt - 1)
[INFO] [stdout] 175 +                     cnt - 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bins`
[INFO] [stdout]   --> src/structs/solution.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn mutate(&mut self, _items: &Vec<Item>, bins: &Vec<Bin>, p_m: f32, u_b: usize) -> (){
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/structs/solution.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bins`
[INFO] [stdout]    --> src/structs/solution.rs:155:48
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_b`
[INFO] [stdout]    --> src/structs/solution.rs:188:68
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn best_fit(&mut self, items: &Vec<Item>, bins: &Vec<Bin>, u_b: usize) {
[INFO] [stdout]     |                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_u_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:127:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `algorithm_test` is never used
[INFO] [stdout]    --> src/main.rs:231:4
[INFO] [stdout]     |
[INFO] [stdout] 231 | fn algorithm_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/structs/solution.rs:171:22
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 Some(T) => *T,
[INFO] [stdout]     |                      ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.50s
[INFO] running `Command { std: "docker" "inspect" "b6678c17c5aba0cf58640326c054f6c734ad9dde5c76ce06b320ad7013a7051f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6678c17c5aba0cf58640326c054f6c734ad9dde5c76ce06b320ad7013a7051f", kill_on_drop: false }`
[INFO] [stdout] b6678c17c5aba0cf58640326c054f6c734ad9dde5c76ce06b320ad7013a7051f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1feb158d2873bdede643346b179b458f5439a60b5bc8a60cc1bb8357626b6c8
[INFO] running `Command { std: "docker" "start" "-a" "c1feb158d2873bdede643346b179b458f5439a60b5bc8a60cc1bb8357626b6c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling bin_packing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/structs/solution.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         while(ind < ind2) {
[INFO] [stdout]     |              ^          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 139 -         while(ind < ind2) {
[INFO] [stdout] 139 +         while ind < ind2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/structs/solution.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         while(ind < sz){
[INFO] [stdout]     |              ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -         while(ind < sz){
[INFO] [stdout] 146 +         while ind < sz {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/structs/solution.rs:175:21
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     (cnt - 1)
[INFO] [stdout]     |                     ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 175 -                     (cnt - 1)
[INFO] [stdout] 175 +                     cnt - 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bins`
[INFO] [stdout]   --> src/structs/solution.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn mutate(&mut self, _items: &Vec<Item>, bins: &Vec<Bin>, p_m: f32, u_b: usize) -> (){
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/structs/solution.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bins`
[INFO] [stdout]    --> src/structs/solution.rs:155:48
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_b`
[INFO] [stdout]    --> src/structs/solution.rs:188:68
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn best_fit(&mut self, items: &Vec<Item>, bins: &Vec<Bin>, u_b: usize) {
[INFO] [stdout]     |                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_u_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for i in 0..50{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]   --> src/main.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:127:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     for i in 0..50{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sol`
[INFO] [stdout]    --> src/main.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `algorithm_test` is never used
[INFO] [stdout]    --> src/main.rs:231:4
[INFO] [stdout]     |
[INFO] [stdout] 231 | fn algorithm_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/structs/solution.rs:171:22
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 Some(T) => *T,
[INFO] [stdout]     |                      ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "c1feb158d2873bdede643346b179b458f5439a60b5bc8a60cc1bb8357626b6c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1feb158d2873bdede643346b179b458f5439a60b5bc8a60cc1bb8357626b6c8", kill_on_drop: false }`
[INFO] [stdout] c1feb158d2873bdede643346b179b458f5439a60b5bc8a60cc1bb8357626b6c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0853126881f8ce37b765ef98b810235a6e3bd278fb8fe2a4bfc52db4cd2e1e38
[INFO] running `Command { std: "docker" "start" "-a" "0853126881f8ce37b765ef98b810235a6e3bd278fb8fe2a4bfc52db4cd2e1e38", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/structs/solution.rs:139:14
[INFO] [stderr]     |
[INFO] [stderr] 139 |         while(ind < ind2) {
[INFO] [stderr]     |              ^          ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 139 -         while(ind < ind2) {
[INFO] [stderr] 139 +         while ind < ind2 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/structs/solution.rs:146:14
[INFO] [stderr]     |
[INFO] [stderr] 146 |         while(ind < sz){
[INFO] [stderr]     |              ^        ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 146 -         while(ind < sz){
[INFO] [stderr] 146 +         while ind < sz {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/structs/solution.rs:175:21
[INFO] [stderr]     |
[INFO] [stderr] 175 |                     (cnt - 1)
[INFO] [stderr]     |                     ^       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 175 -                     (cnt - 1)
[INFO] [stderr] 175 +                     cnt - 1
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bins`
[INFO] [stderr]   --> src/structs/solution.rs:27:50
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub fn mutate(&mut self, _items: &Vec<Item>, bins: &Vec<Bin>, p_m: f32, u_b: usize) -> (){
[INFO] [stderr]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `items`
[INFO] [stderr]    --> src/structs/solution.rs:155:29
[INFO] [stderr]     |
[INFO] [stderr] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stderr]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bins`
[INFO] [stderr]    --> src/structs/solution.rs:155:48
[INFO] [stderr]     |
[INFO] [stderr] 155 |     pub fn adapt(&mut self, items: &Vec<Item>, bins: &Vec<Bin>) {
[INFO] [stderr]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_bins`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u_b`
[INFO] [stderr]    --> src/structs/solution.rs:188:68
[INFO] [stderr]     |
[INFO] [stderr] 188 |     pub fn best_fit(&mut self, items: &Vec<Item>, bins: &Vec<Bin>, u_b: usize) {
[INFO] [stderr]     |                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_u_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/main.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |     for i in 0..50{
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]   --> src/main.rs:32:14
[INFO] [stderr]    |
[INFO] [stderr] 32 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/main.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |     for i in 0..50{
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]   --> src/main.rs:62:14
[INFO] [stderr]    |
[INFO] [stderr] 62 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/main.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     for i in 0..50{
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]   --> src/main.rs:95:14
[INFO] [stderr]    |
[INFO] [stderr] 95 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:126:9
[INFO] [stderr]     |
[INFO] [stderr] 126 |     for i in 0..50{
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]    --> src/main.rs:127:14
[INFO] [stderr]     |
[INFO] [stderr] 127 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:158:9
[INFO] [stderr]     |
[INFO] [stderr] 158 |     for i in 0..50{
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]    --> src/main.rs:159:14
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:190:9
[INFO] [stderr]     |
[INFO] [stderr] 190 |     for i in 0..50{
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]    --> src/main.rs:191:14
[INFO] [stderr]     |
[INFO] [stderr] 191 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:222:9
[INFO] [stderr]     |
[INFO] [stderr] 222 |     for i in 0..50{
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sol`
[INFO] [stderr]    --> src/main.rs:223:14
[INFO] [stderr]     |
[INFO] [stderr] 223 |         let (sol, fitness, bins) = my_algo.run();
[INFO] [stderr]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_sol`
[INFO] [stderr] 
[INFO] [stderr] warning: function `algorithm_test` is never used
[INFO] [stderr]    --> src/main.rs:231:4
[INFO] [stderr]     |
[INFO] [stderr] 231 | fn algorithm_test() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `T` should have a snake case name
[INFO] [stderr]    --> src/structs/solution.rs:171:22
[INFO] [stderr]     |
[INFO] [stderr] 171 |                 Some(T) => *T,
[INFO] [stderr]     |                      ^ help: convert the identifier to snake case: `t`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `bin_packing` (bin "bin_packing" test) generated 23 warnings (run `cargo fix --bin "bin_packing" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bin_packing-1676778ac23af64d)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test structs::config::tests::config_creation ... ok
[INFO] [stdout] test structs::config::tests::test_getters ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0853126881f8ce37b765ef98b810235a6e3bd278fb8fe2a4bfc52db4cd2e1e38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0853126881f8ce37b765ef98b810235a6e3bd278fb8fe2a4bfc52db4cd2e1e38", kill_on_drop: false }`
[INFO] [stdout] 0853126881f8ce37b765ef98b810235a6e3bd278fb8fe2a4bfc52db4cd2e1e38
