[INFO] cloning repository https://github.com/citizen-stig/aoc_2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/citizen-stig/aoc_2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ac05dfdac0c6831026e148d161ae89593bcc977 [INFO] checking citizen-stig/aoc_2019 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/citizen-stig/aoc_2019 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17c00a4f4da2ee23e13dbeb0b6060bb5720623e07ec75a41ce012860218b3454 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17c00a4f4da2ee23e13dbeb0b6060bb5720623e07ec75a41ce012860218b3454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17c00a4f4da2ee23e13dbeb0b6060bb5720623e07ec75a41ce012860218b3454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c00a4f4da2ee23e13dbeb0b6060bb5720623e07ec75a41ce012860218b3454", kill_on_drop: false }` [INFO] [stdout] 17c00a4f4da2ee23e13dbeb0b6060bb5720623e07ec75a41ce012860218b3454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9aa7c22f1bee4b37cdc8f104bd83391f2493de7f2328a6671d99bd27f51e135 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9aa7c22f1bee4b37cdc8f104bd83391f2493de7f2328a6671d99bd27f51e135", kill_on_drop: false }` [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/intcode.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | let _output = program(&mut data, ||0); [INFO] [stdout] | ^^^^^^^ --------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/intcode.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn program(data: &mut [i64], mut input: F, position: Option) -> ProgramResult where [INFO] [stdout] | ^^^^^^^ ---------------- ------------ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/intcode.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | program(&mut data, ||0); [INFO] [stdout] | ^^^^^^^ --------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/intcode.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn program(data: &mut [i64], mut input: F, position: Option) -> ProgramResult where [INFO] [stdout] | ^^^^^^^ ---------------- ------------ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/intcode.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | program(&mut data, ||0); [INFO] [stdout] | ^^^^^^^ --------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/intcode.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn program(data: &mut [i64], mut input: F, position: Option) -> ProgramResult where [INFO] [stdout] | ^^^^^^^ ---------------- ------------ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/intcode.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | program(&mut data, ||0); [INFO] [stdout] | ^^^^^^^ --------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/intcode.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn program(data: &mut [i64], mut input: F, position: Option) -> ProgramResult where [INFO] [stdout] | ^^^^^^^ ---------------- ------------ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/intcode.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let output = program(&mut data, input); [INFO] [stdout] | ^^^^^^^ --------- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/intcode.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn program(data: &mut [i64], mut input: F, position: Option) -> ProgramResult where [INFO] [stdout] | ^^^^^^^ ---------------- ------------ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/day5.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let output = intcode::program(&mut original_input, ||5, None); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `ProgramResult` in the current scope [INFO] [stdout] --> src/intcode.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum ProgramResult { [INFO] [stdout] | ---------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 226 | assert_eq!(31337, output.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `ProgramResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "d9aa7c22f1bee4b37cdc8f104bd83391f2493de7f2328a6671d99bd27f51e135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9aa7c22f1bee4b37cdc8f104bd83391f2493de7f2328a6671d99bd27f51e135", kill_on_drop: false }` [INFO] [stdout] d9aa7c22f1bee4b37cdc8f104bd83391f2493de7f2328a6671d99bd27f51e135