[INFO] cloning repository https://github.com/JoshOrndorff/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshOrndorff/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshOrndorff%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshOrndorff%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b04cbf36be0cd223f5beaa88d0e8cf13e6ae8fe7 [INFO] checking JoshOrndorff/advent-of-code-2019 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshOrndorff%2Fadvent-of-code-2019" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshOrndorff/advent-of-code-2019 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshOrndorff/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/JoshOrndorff/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/JoshOrndorff/advent-of-code-2019 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JoshOrndorff/advent-of-code-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/Cargo.toml: file `/workspace/builds/worker-0-tc1/source/day02/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `day2` [INFO] [stderr] * `bin` target `day3` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a92314fcab88a650aadc61c5eca56cbf9a08d21f57f3b81c9c22591254a608bb [INFO] running `Command { std: "docker" "start" "-a" "a92314fcab88a650aadc61c5eca56cbf9a08d21f57f3b81c9c22591254a608bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92314fcab88a650aadc61c5eca56cbf9a08d21f57f3b81c9c22591254a608bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92314fcab88a650aadc61c5eca56cbf9a08d21f57f3b81c9c22591254a608bb", kill_on_drop: false }` [INFO] [stdout] a92314fcab88a650aadc61c5eca56cbf9a08d21f57f3b81c9c22591254a608bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180b4cd2df73fa5da0b8cc364a4a8e954604797d96331f44cc7be979b72e1846 [INFO] running `Command { std: "docker" "start" "-a" "180b4cd2df73fa5da0b8cc364a4a8e954604797d96331f44cc7be979b72e1846", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: file `/opt/rustwide/workdir/day02/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `day2` [INFO] [stderr] * `bin` target `day3` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking intcode v0.1.0 (/opt/rustwide/workdir/intcode) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking AOC2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashSet`, `convert::TryInto` [INFO] [stdout] --> day14/src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(part1("R8,U5,L5,D3", "U7,R6,D4,L4"), 6); [INFO] [stdout] | ^^^^^ ------------- unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: expected `&HashSet`, found `&str` [INFO] [stdout] --> day03/src/main.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(part1("R8,U5,L5,D3", "U7,R6,D4,L4"), 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&HashSet` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn part1(points: &HashSet) -> usize { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 130 - assert_eq!(part1("R8,U5,L5,D3", "U7,R6,D4,L4"), 6); [INFO] [stdout] 130 + assert_eq!(part1(/* &HashSet */), 6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | part1( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 137 | "R75,D30,R83,U83,L12,D49,R71,U7,L72", [INFO] [stdout] 138 | "U62,R66,U55,R34,D71,R55,D58,R83" [INFO] [stdout] | --------------------------------- unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: expected `&HashSet`, found `&str` [INFO] [stdout] --> day03/src/main.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | "R75,D30,R83,U83,L12,D49,R71,U7,L72", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&HashSet` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn part1(points: &HashSet) -> usize { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 137 - "R75,D30,R83,U83,L12,D49,R71,U7,L72", [INFO] [stdout] 137 + /* &HashSet */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `candidate` is never read [INFO] [stdout] --> day14/src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut candidate = 0u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | part1( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | "R98,U47,R26,D63,R33,U87,L62,D20,R33,U53,R51", [INFO] [stdout] 149 | "U98,R91,D20,R16,D67,R40,U7,R15,U6,R7" [INFO] [stdout] | -------------------------------------- unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: expected `&HashSet`, found `&str` [INFO] [stdout] --> day03/src/main.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | "R98,U47,R26,D63,R33,U87,L62,D20,R33,U53,R51", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&HashSet` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn part1(points: &HashSet) -> usize { [INFO] [stdout] | ^^^^^ ----------------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 148 - "R98,U47,R26,D63,R33,U87,L62,D20,R33,U53,R51", [INFO] [stdout] 148 + /* &HashSet */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day05/src/main.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | let mut machine1 = Intcode::new_with_input(&s, input1); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&VecDeque`, found `VecDeque<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&VecDeque` [INFO] [stdout] found struct `VecDeque<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/intcode/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new_with_input(s: &str, input: &VecDeque) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | let mut machine1 = Intcode::new_with_input(&s, &input1); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day05/src/main.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | let mut machine2 = Intcode::new_with_input(&s, input2); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&VecDeque`, found `VecDeque<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&VecDeque` [INFO] [stdout] found struct `VecDeque<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/intcode/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new_with_input(s: &str, input: &VecDeque) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | let mut machine2 = Intcode::new_with_input(&s, &input2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> day07/src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | fn part1(s: &str) -> isize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] [stdout] warning: function `part1` is never used [INFO] [stdout] --> day07/src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn part1(s: &str) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day05` (bin "day05" test) due to 3 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day05/src/main.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | let mut machine1 = Intcode::new_with_input(&s, input1); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&VecDeque`, found `VecDeque<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&VecDeque` [INFO] [stdout] found struct `VecDeque<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/intcode/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new_with_input(s: &str, input: &VecDeque) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | let mut machine1 = Intcode::new_with_input(&s, &input1); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day05/src/main.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | let mut machine2 = Intcode::new_with_input(&s, input2); [INFO] [stdout] | ----------------------- ^^^^^^ expected `&VecDeque`, found `VecDeque<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&VecDeque` [INFO] [stdout] found struct `VecDeque<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/intcode/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new_with_input(s: &str, input: &VecDeque) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | let mut machine2 = Intcode::new_with_input(&s, &input2); [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 `day05` (bin "day05") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "180b4cd2df73fa5da0b8cc364a4a8e954604797d96331f44cc7be979b72e1846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180b4cd2df73fa5da0b8cc364a4a8e954604797d96331f44cc7be979b72e1846", kill_on_drop: false }` [INFO] [stdout] 180b4cd2df73fa5da0b8cc364a4a8e954604797d96331f44cc7be979b72e1846