[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 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/citizen-stig/aoc_2019 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5af6a0232c0a55598a97753651febb16f9e8951fbdf68f90d9a4f86d666bd1a0 [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" "5af6a0232c0a55598a97753651febb16f9e8951fbdf68f90d9a4f86d666bd1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5af6a0232c0a55598a97753651febb16f9e8951fbdf68f90d9a4f86d666bd1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af6a0232c0a55598a97753651febb16f9e8951fbdf68f90d9a4f86d666bd1a0", kill_on_drop: false }` [INFO] [stdout] 5af6a0232c0a55598a97753651febb16f9e8951fbdf68f90d9a4f86d666bd1a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb2cedfd505512a03e61e8cf43093662033c539b4116de369d2ceb517696faa [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" "bfb2cedfd505512a03e61e8cf43093662033c539b4116de369d2ceb517696faa", 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] 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] 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: 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" "bfb2cedfd505512a03e61e8cf43093662033c539b4116de369d2ceb517696faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb2cedfd505512a03e61e8cf43093662033c539b4116de369d2ceb517696faa", kill_on_drop: false }` [INFO] [stdout] bfb2cedfd505512a03e61e8cf43093662033c539b4116de369d2ceb517696faa