[INFO] cloning repository https://github.com/alexanderkjall/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexanderkjall/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderkjall%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderkjall%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cde5673e9bb06dd6c3668feab9d500fa4b3165b0 [INFO] checking alexanderkjall/adventofcode2021 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderkjall%2Fadventofcode2021" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexanderkjall/adventofcode2021 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexanderkjall/adventofcode2021 [INFO] finished tweaking git repo https://github.com/alexanderkjall/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/alexanderkjall/adventofcode2021 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/alexanderkjall/adventofcode2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a349e1939b1999bf9bff9bb6f9076c9650d72826351adbd7285ec3258b58614 [INFO] running `Command { std: "docker" "start" "-a" "4a349e1939b1999bf9bff9bb6f9076c9650d72826351adbd7285ec3258b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a349e1939b1999bf9bff9bb6f9076c9650d72826351adbd7285ec3258b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a349e1939b1999bf9bff9bb6f9076c9650d72826351adbd7285ec3258b58614", kill_on_drop: false }` [INFO] [stdout] 4a349e1939b1999bf9bff9bb6f9076c9650d72826351adbd7285ec3258b58614 [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96bce2a9221a0257eca0691fad3a77deae1e45792599ae5c2a895ad221e6a49 [INFO] running `Command { std: "docker" "start" "-a" "d96bce2a9221a0257eca0691fad3a77deae1e45792599ae5c2a895ad221e6a49", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rust-gmp v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day3.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Ok((part1(&(&input_t.0, input_t.1))?, part2(&input, input_t.1)?)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice, found struct `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&[(Mpz, usize)], usize)` [INFO] [stdout] found reference `&(&Vec<(Mpz, usize)>, usize)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day3.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn part1(input: &(&[(Mpz, usize)], usize)) -> Result { [INFO] [stdout] | ^^^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day3.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Ok((part1(&(&input_t.0, input_t.1))?, part2(&input, input_t.1)?)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^ expected slice, found struct `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&[(Mpz, usize)], usize)` [INFO] [stdout] found reference `&(&Vec<(Mpz, usize)>, usize)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day3.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn part1(input: &(&[(Mpz, usize)], usize)) -> Result { [INFO] [stdout] | ^^^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day3.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | part1(&( [INFO] [stdout] | _________-----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 204 | | &vec![ [INFO] [stdout] 205 | | (Mpz::from(1948), 12), [INFO] [stdout] 206 | | (Mpz::from(1109), 12), [INFO] [stdout] ... | [INFO] [stdout] 211 | | 5 [INFO] [stdout] 212 | | )) [INFO] [stdout] | |_________^ expected slice, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&[(Mpz, usize)], usize)` [INFO] [stdout] found reference `&(&Vec<(Mpz, {integer})>, {integer})` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day3.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn part1(input: &(&[(Mpz, usize)], usize)) -> Result { [INFO] [stdout] | ^^^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d96bce2a9221a0257eca0691fad3a77deae1e45792599ae5c2a895ad221e6a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96bce2a9221a0257eca0691fad3a77deae1e45792599ae5c2a895ad221e6a49", kill_on_drop: false }` [INFO] [stdout] d96bce2a9221a0257eca0691fad3a77deae1e45792599ae5c2a895ad221e6a49