[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] 70fd3f9de7e4d22fff6a437b20c796a37c1f2284 [INFO] checking citizen-stig/aoc_2019/70fd3f9de7e4d22fff6a437b20c796a37c1f2284 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/citizen-stig/aoc_2019 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permutohedron v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdb0a0147d3712966c8ba0bbe63af32397b339ec4886b0abd19c6c6022d0d73e [INFO] running `Command { std: "docker" "start" "-a" "cdb0a0147d3712966c8ba0bbe63af32397b339ec4886b0abd19c6c6022d0d73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb0a0147d3712966c8ba0bbe63af32397b339ec4886b0abd19c6c6022d0d73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb0a0147d3712966c8ba0bbe63af32397b339ec4886b0abd19c6c6022d0d73e", kill_on_drop: false }` [INFO] [stdout] cdb0a0147d3712966c8ba0bbe63af32397b339ec4886b0abd19c6c6022d0d73e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433d0e5d2d061ef08419bf38aeca958801f12ae7f1acefcb4efd5ffea5174b73 [INFO] running `Command { std: "docker" "start" "-a" "433d0e5d2d061ef08419bf38aeca958801f12ae7f1acefcb4efd5ffea5174b73", 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] | ^^^^^^^---------------- argument #3 of type `Option` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 193 | let _output = program(&mut data, ||0, /* Option */); [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] | ^^^^^^^---------------- argument #3 of type `Option` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 201 | program(&mut data, ||0, /* Option */); [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] | ^^^^^^^---------------- argument #3 of type `Option` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 209 | program(&mut data, ||0, /* Option */); [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] | ^^^^^^^---------------- argument #3 of type `Option` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 217 | program(&mut data, ||0, /* Option */); [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] | ^^^^^^^------------------ argument #3 of type `Option` is missing [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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 225 | let output = program(&mut data, input, /* Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 enum [INFO] [stdout] ... [INFO] [stdout] 226 | assert_eq!(31337, output.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `ProgramResult` [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` (bin "advent_of_code_2019" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "433d0e5d2d061ef08419bf38aeca958801f12ae7f1acefcb4efd5ffea5174b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433d0e5d2d061ef08419bf38aeca958801f12ae7f1acefcb4efd5ffea5174b73", kill_on_drop: false }` [INFO] [stdout] 433d0e5d2d061ef08419bf38aeca958801f12ae7f1acefcb4efd5ffea5174b73