[INFO] cloning repository https://github.com/dylmeadows/aoc2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dylmeadows/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmeadows%2Faoc2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmeadows%2Faoc2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 808cd3b5a7a760437442800f1443316912eaf612
[INFO] checking dylmeadows/aoc2020 against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmeadows%2Faoc2020" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dylmeadows/aoc2020
[INFO] finished tweaking git repo https://github.com/dylmeadows/aoc2020
[INFO] tweaked toml for git repo https://github.com/dylmeadows/aoc2020 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dylmeadows/aoc2020 on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dylmeadows/aoc2020 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb
[INFO] running `Command { std: "docker" "start" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling substring v1.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking aoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> src/day07.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/day07.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut sum = (quantity * policy.values().sum::<i32>());
[INFO] [stdout]     |                   ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 121 -     let mut sum = (quantity * policy.values().sum::<i32>());
[INFO] [stdout] 121 +     let mut sum = quantity * policy.values().sum::<i32>() ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::day08::Sign::PLUS`
[INFO] [stdout]  --> src/day08.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::day08::Sign::PLUS;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/day08.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day08.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         pc += (instruction.operand.1 as usize);
[INFO] [stdout]    |                               ^                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 -                         pc += (instruction.operand.1 as usize);
[INFO] [stdout] 85 +                         pc += instruction.operand.1 as usize ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day08.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |                         pc -= (instruction.operand.1 as usize);
[INFO] [stdout]    |                               ^                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -                         pc -= (instruction.operand.1 as usize);
[INFO] [stdout] 89 +                         pc -= instruction.operand.1 as usize ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/day09.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> src/day07.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/day07.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut sum = (quantity * policy.values().sum::<i32>());
[INFO] [stdout]     |                   ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 121 -     let mut sum = (quantity * policy.values().sum::<i32>());
[INFO] [stdout] 121 +     let mut sum = quantity * policy.values().sum::<i32>() ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::day08::Sign::PLUS`
[INFO] [stdout]  --> src/day08.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::day08::Sign::PLUS;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/day08.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day08.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |                         pc += (instruction.operand.1 as usize);
[INFO] [stdout]    |                               ^                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 -                         pc += (instruction.operand.1 as usize);
[INFO] [stdout] 85 +                         pc += instruction.operand.1 as usize ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day08.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |                         pc -= (instruction.operand.1 as usize);
[INFO] [stdout]    |                               ^                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -                         pc -= (instruction.operand.1 as usize);
[INFO] [stdout] 89 +                         pc -= instruction.operand.1 as usize ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/day09.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day10.rs:38:65
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn p2_find_solution_aux(adapters: &mut Vec<u64>, idx: usize) -> i32 {
[INFO] [stdout]    |    --------------------                                         ^^^ expected `i32`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `count`
[INFO] [stdout]    |
[INFO] [stdout] 39 ~     let mut count = 0;
[INFO] [stdout] 40 +     count
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day08.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut instructions = contents.lines()
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/day10.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for i in 0..adapters.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day10.rs:38:65
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn p2_find_solution_aux(adapters: &mut Vec<u64>, idx: usize) -> i32 {
[INFO] [stdout]    |    --------------------                                         ^^^ expected `i32`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `count`
[INFO] [stdout]    |
[INFO] [stdout] 39 ~     let mut count = 0;
[INFO] [stdout] 40 +     count
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day08.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut instructions = contents.lines()
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/day10.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for i in 0..adapters.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb", kill_on_drop: false }`
[INFO] [stdout] 05cba398f7c576a735333e581c785db9982f6446e8df822e6672f34037f6a4fb
