[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-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshOrndorff%2Fadvent-of-code-2019" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-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-6-tc1/source/Cargo.toml: file `/workspace/builds/worker-6-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 09e256b29d481a288fdd9830e1c01b81a7f178d35dc4c6ce1c3fd00bb8da240e [INFO] running `Command { std: "docker" "start" "-a" "09e256b29d481a288fdd9830e1c01b81a7f178d35dc4c6ce1c3fd00bb8da240e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e256b29d481a288fdd9830e1c01b81a7f178d35dc4c6ce1c3fd00bb8da240e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e256b29d481a288fdd9830e1c01b81a7f178d35dc4c6ce1c3fd00bb8da240e", kill_on_drop: false }` [INFO] [stdout] 09e256b29d481a288fdd9830e1c01b81a7f178d35dc4c6ce1c3fd00bb8da240e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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] 88e788b660248d21cc199c4403f9beda0f6e872e1875fc3e2656ccd3360ab466 [INFO] running `Command { std: "docker" "start" "-a" "88e788b660248d21cc199c4403f9beda0f6e872e1875fc3e2656ccd3360ab466", 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] Checking intcode v0.1.0 (/opt/rustwide/workdir/intcode) [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking AOC2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [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] 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] error[E0432]: unresolved import `intcode` [INFO] [stdout] --> day02/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use intcode::Intcode; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `intcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 `AOC2019` (bin "day3") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `day03` (bin "day03" test) due to 4 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" "88e788b660248d21cc199c4403f9beda0f6e872e1875fc3e2656ccd3360ab466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e788b660248d21cc199c4403f9beda0f6e872e1875fc3e2656ccd3360ab466", kill_on_drop: false }` [INFO] [stdout] 88e788b660248d21cc199c4403f9beda0f6e872e1875fc3e2656ccd3360ab466