[INFO] cloning repository https://github.com/prioritize/advent_of_code_2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prioritize/advent_of_code_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] def0f677968b2b298160277065eea933f0150b37 [INFO] checking prioritize/advent_of_code_2017 against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2017" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prioritize/advent_of_code_2017 [INFO] finished tweaking git repo https://github.com/prioritize/advent_of_code_2017 [INFO] tweaked toml for git repo https://github.com/prioritize/advent_of_code_2017 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prioritize/advent_of_code_2017 on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prioritize/advent_of_code_2017 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fea641fbe564a2dcfb6ca8ff73abe37b919e15dfa8a88d76a01d28a37740947c [INFO] running `Command { std: "docker" "start" "-a" "fea641fbe564a2dcfb6ca8ff73abe37b919e15dfa8a88d76a01d28a37740947c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fea641fbe564a2dcfb6ca8ff73abe37b919e15dfa8a88d76a01d28a37740947c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea641fbe564a2dcfb6ca8ff73abe37b919e15dfa8a88d76a01d28a37740947c", kill_on_drop: false }` [INFO] [stdout] fea641fbe564a2dcfb6ca8ff73abe37b919e15dfa8a88d76a01d28a37740947c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06726c5ba6f372d525152db3da6112bc48a63392daf83942a2baa2cc5db308ce [INFO] running `Command { std: "docker" "start" "-a" "06726c5ba6f372d525152db3da6112bc48a63392daf83942a2baa2cc5db308ce", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2017_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `+`, `::`, `;`, or `=`, found `temp` [INFO] [stdout] --> src/day_2.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | let mut temp: VecDeque temp.clone().into(); [INFO] [stdout] | - ^^^^ expected one of `!`, `+`, `::`, `;`, or `=` [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `+`, `::`, `;`, or `=`, found `temp` [INFO] [stdout] --> src/day_2.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | let mut temp: VecDeque temp.clone().into(); [INFO] [stdout] | - ^^^^ expected one of `!`, `+`, `::`, `;`, or `=` [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/day_1.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | true => (normal_length - total_length), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - true => (normal_length - total_length), [INFO] [stdout] 49 + true => normal_length - total_length , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/day_1.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | true => (normal_length - total_length), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - true => (normal_length - total_length), [INFO] [stdout] 49 + true => normal_length - total_length , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day_1::day_1_part_1` [INFO] [stdout] --> src/day_2.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use crate::day_1::day_1_part_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `(u32, u32)` [INFO] [stdout] --> src/day_2.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | ).collect::>().iter().sum() [INFO] [stdout] | ------- ^^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(u32, u32)>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `(u32, u32)` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/day_2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | let lines = parse_file_to_entries(fname); [INFO] [stdout] | ---------------------------- this expression has type `Vec>` [INFO] [stdout] 18 | lines.iter().map(|x| { [INFO] [stdout] | ___________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Vec` here [INFO] [stdout] 19 | | let mut temp = x.clone(); [INFO] [stdout] 20 | | let mut out: (u32, u32); [INFO] [stdout] 21 | | temp.sort(); [INFO] [stdout] ... | [INFO] [stdout] 37 | | ).collect::>().iter().sum() [INFO] [stdout] | |_____^ `Iterator::Item` changed to `(u32, u32)` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b4c55082edd8dec08ce8af276d7054d9c4db20c4/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `(u32, u32)` [INFO] [stdout] --> src/day_2.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | ).collect::>().iter().sum() [INFO] [stdout] | ------- ^^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(u32, u32)>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `(u32, u32)` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/day_2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | let lines = parse_file_to_entries(fname); [INFO] [stdout] | ---------------------------- this expression has type `Vec>` [INFO] [stdout] 18 | lines.iter().map(|x| { [INFO] [stdout] | ___________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Vec` here [INFO] [stdout] 19 | | let mut temp = x.clone(); [INFO] [stdout] 20 | | let mut out: (u32, u32); [INFO] [stdout] 21 | | temp.sort(); [INFO] [stdout] ... | [INFO] [stdout] 37 | | ).collect::>().iter().sum() [INFO] [stdout] | |_____^ `Iterator::Item` changed to `(u32, u32)` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b4c55082edd8dec08ce8af276d7054d9c4db20c4/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/day_2.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn day_2_part_1(fname: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/day_2.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn day_2_part_1(fname: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2017_rust` (bin "advent_of_code_2017_rust") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2017_rust` (bin "advent_of_code_2017_rust" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06726c5ba6f372d525152db3da6112bc48a63392daf83942a2baa2cc5db308ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06726c5ba6f372d525152db3da6112bc48a63392daf83942a2baa2cc5db308ce", kill_on_drop: false }` [INFO] [stdout] 06726c5ba6f372d525152db3da6112bc48a63392daf83942a2baa2cc5db308ce