[INFO] updating cached repository https://github.com/citizen-stig/aoc_2019
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9ac05dfdac0c6831026e148d161ae89593bcc977
[INFO] checking citizen-stig/aoc_2019 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/citizen-stig/aoc_2019 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/citizen-stig/aoc_2019
[INFO] finished tweaking git repo https://github.com/citizen-stig/aoc_2019
[INFO] tweaked toml for git repo https://github.com/citizen-stig/aoc_2019 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/citizen-stig/aoc_2019 already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 51bcaa669839aa52a572d123bab168a470a16ad17e0a8f4529e865037dbc3745
[INFO] running `"docker" "start" "-a" "51bcaa669839aa52a572d123bab168a470a16ad17e0a8f4529e865037dbc3745"`
[INFO] [stderr]     Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused variable: `output`
[INFO] [stderr]  --> src/day5.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let output = intcode::program(&mut original_input, ||5, None);
[INFO] [stderr]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stderr]    --> src/intcode.rs:193:23
[INFO] [stderr]     |
[INFO] [stderr] 84  | / pub fn program<F>(data: &mut [i64], mut input: F, position: Option<usize>) -> ProgramResult where
[INFO] [stderr] 85  | |     F: FnMut() -> i64 {
[INFO] [stderr] 86  | |     let mut position = position.unwrap_or(0);
[INFO] [stderr] 87  | |     loop {
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | |     }
[INFO] [stderr] 147 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] ...
[INFO] [stderr] 193 |           let _output = program(&mut data, ||0);
[INFO] [stderr]     |                         ^^^^^^^ ---------  --- supplied 2 arguments
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         expected 3 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stderr]    --> src/intcode.rs:201:9
[INFO] [stderr]     |
[INFO] [stderr] 84  | / pub fn program<F>(data: &mut [i64], mut input: F, position: Option<usize>) -> ProgramResult where
[INFO] [stderr] 85  | |     F: FnMut() -> i64 {
[INFO] [stderr] 86  | |     let mut position = position.unwrap_or(0);
[INFO] [stderr] 87  | |     loop {
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | |     }
[INFO] [stderr] 147 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] ...
[INFO] [stderr] 201 |           program(&mut data, ||0);
[INFO] [stderr]     |           ^^^^^^^ ---------  --- supplied 2 arguments
[INFO] [stderr]     |           |
[INFO] [stderr]     |           expected 3 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stderr]    --> src/intcode.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 84  | / pub fn program<F>(data: &mut [i64], mut input: F, position: Option<usize>) -> ProgramResult where
[INFO] [stderr] 85  | |     F: FnMut() -> i64 {
[INFO] [stderr] 86  | |     let mut position = position.unwrap_or(0);
[INFO] [stderr] 87  | |     loop {
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | |     }
[INFO] [stderr] 147 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] ...
[INFO] [stderr] 209 |           program(&mut data, ||0);
[INFO] [stderr]     |           ^^^^^^^ ---------  --- supplied 2 arguments
[INFO] [stderr]     |           |
[INFO] [stderr]     |           expected 3 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stderr]    --> src/intcode.rs:217:9
[INFO] [stderr]     |
[INFO] [stderr] 84  | / pub fn program<F>(data: &mut [i64], mut input: F, position: Option<usize>) -> ProgramResult where
[INFO] [stderr] 85  | |     F: FnMut() -> i64 {
[INFO] [stderr] 86  | |     let mut position = position.unwrap_or(0);
[INFO] [stderr] 87  | |     loop {
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | |     }
[INFO] [stderr] 147 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] ...
[INFO] [stderr] 217 |           program(&mut data, ||0);
[INFO] [stderr]     |           ^^^^^^^ ---------  --- supplied 2 arguments
[INFO] [stderr]     |           |
[INFO] [stderr]     |           expected 3 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stderr]    --> src/intcode.rs:225:22
[INFO] [stderr]     |
[INFO] [stderr] 84  | / pub fn program<F>(data: &mut [i64], mut input: F, position: Option<usize>) -> ProgramResult where
[INFO] [stderr] 85  | |     F: FnMut() -> i64 {
[INFO] [stderr] 86  | |     let mut position = position.unwrap_or(0);
[INFO] [stderr] 87  | |     loop {
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | |     }
[INFO] [stderr] 147 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] ...
[INFO] [stderr] 225 |           let output = program(&mut data, input);
[INFO] [stderr]     |                        ^^^^^^^ ---------  ----- supplied 2 arguments
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        expected 3 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `unwrap` found for enum `intcode::ProgramResult` in the current scope
[INFO] [stderr]    --> src/intcode.rs:226:34
[INFO] [stderr]     |
[INFO] [stderr] 79  | pub enum ProgramResult {
[INFO] [stderr]     | ---------------------- method `unwrap` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 226 |         assert_eq!(31337, output.unwrap());
[INFO] [stderr]     |                                  ^^^^^^ method not found in `intcode::ProgramResult`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `advent_of_code_2019`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "51bcaa669839aa52a572d123bab168a470a16ad17e0a8f4529e865037dbc3745"`
[INFO] running `"docker" "rm" "-f" "51bcaa669839aa52a572d123bab168a470a16ad17e0a8f4529e865037dbc3745"`
[INFO] [stdout] 51bcaa669839aa52a572d123bab168a470a16ad17e0a8f4529e865037dbc3745
