[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcitizen-stig%2Faoc_2019" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/citizen-stig/aoc_2019 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1559b4aa4e7135f1713013158b79413e97195e6777dd872efcaa33ca70f4ce0d [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" "1559b4aa4e7135f1713013158b79413e97195e6777dd872efcaa33ca70f4ce0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1559b4aa4e7135f1713013158b79413e97195e6777dd872efcaa33ca70f4ce0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1559b4aa4e7135f1713013158b79413e97195e6777dd872efcaa33ca70f4ce0d", kill_on_drop: false }` [INFO] [stdout] 1559b4aa4e7135f1713013158b79413e97195e6777dd872efcaa33ca70f4ce0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0095653af2df614a3347d9cf6d6fc620dbc40cc278eb5c8356730bebed132d9b [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" "0095653af2df614a3347d9cf6d6fc620dbc40cc278eb5c8356730bebed132d9b", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [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: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: 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" "0095653af2df614a3347d9cf6d6fc620dbc40cc278eb5c8356730bebed132d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0095653af2df614a3347d9cf6d6fc620dbc40cc278eb5c8356730bebed132d9b", kill_on_drop: false }` [INFO] [stdout] 0095653af2df614a3347d9cf6d6fc620dbc40cc278eb5c8356730bebed132d9b