[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 try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshOrndorff%2Fadvent-of-code-2019" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoshOrndorff/advent-of-code-2019 on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc2/source/Cargo.toml: file `/workspace/builds/worker-4-tc2/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] 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69ef58444c7b38872703fc61389f970d7298f14a195810fc4922f1674c6b5c5c [INFO] running `Command { std: "docker" "start" "-a" "69ef58444c7b38872703fc61389f970d7298f14a195810fc4922f1674c6b5c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69ef58444c7b38872703fc61389f970d7298f14a195810fc4922f1674c6b5c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ef58444c7b38872703fc61389f970d7298f14a195810fc4922f1674c6b5c5c", kill_on_drop: false }` [INFO] [stdout] 69ef58444c7b38872703fc61389f970d7298f14a195810fc4922f1674c6b5c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea202e466e897124143f8d5ecd517946acf666b6058303004cfcd53298d4a1a [INFO] running `Command { std: "docker" "start" "-a" "0ea202e466e897124143f8d5ecd517946acf666b6058303004cfcd53298d4a1a", 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 AOC2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [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 unresolved module or unlinked crate `intcode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `intcode`, use `cargo add intcode` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `intcode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `intcode`, use `cargo add intcode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `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] [stdout] warning: unused imports: `HashSet` and `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] [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AOC2019` (bin "day3") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AOC2019` (bin "day2" test) due to 1 previous error [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:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(part1("R8,U5,L5,D3", "U7,R6,D4,L4"), 6); [INFO] [stdout] | ^^^^^ ------------- unexpected argument #2 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 #2 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 #2 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[E0308]: mismatched types [INFO] [stdout] --> intcode/src/lib.rs:192:66 [INFO] [stdout] | [INFO] [stdout] 192 | let mut machine = Intcode::new_with_input(&"3,0,4,0,99", input); [INFO] [stdout] | ----------------------- ^^^^^ expected `&VecDeque`, found `VecDeque<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::collections::VecDeque` [INFO] [stdout] found struct `std::collections::VecDeque<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> 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] 192 | let mut machine = Intcode::new_with_input(&"3,0,4,0,99", &input); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03" test) due to 3 previous errors [INFO] [stderr] error: could not compile `intcode` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0ea202e466e897124143f8d5ecd517946acf666b6058303004cfcd53298d4a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea202e466e897124143f8d5ecd517946acf666b6058303004cfcd53298d4a1a", kill_on_drop: false }` [INFO] [stdout] 0ea202e466e897124143f8d5ecd517946acf666b6058303004cfcd53298d4a1a