[INFO] cloning repository https://github.com/ricohageman/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/ricohageman/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohageman%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohageman%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 534572c4020fd03326099f887fcf432d7c949cc3 [INFO] checking ricohageman/advent-of-code-2019 against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohageman%2Fadvent-of-code-2019" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/ricohageman/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/ricohageman/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/ricohageman/advent-of-code-2019 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ricohageman/advent-of-code-2019 on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ricohageman/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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb5b2b33259e344ced7a223da6921f1805fcabbaf60465b11a69f6b93027c755 [INFO] running `Command { std: "docker" "start" "-a" "bb5b2b33259e344ced7a223da6921f1805fcabbaf60465b11a69f6b93027c755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb5b2b33259e344ced7a223da6921f1805fcabbaf60465b11a69f6b93027c755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5b2b33259e344ced7a223da6921f1805fcabbaf60465b11a69f6b93027c755", kill_on_drop: false }` [INFO] [stdout] bb5b2b33259e344ced7a223da6921f1805fcabbaf60465b11a69f6b93027c755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78155ebd70c4d00f6fe4d8b06eeb8496fb51d415bdf14d6b3f433384a6a3e3f [INFO] running `Command { std: "docker" "start" "-a" "a78155ebd70c4d00f6fe4d8b06eeb8496fb51d415bdf14d6b3f433384a6a3e3f", kill_on_drop: false }` [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking advent_of_code v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | intcode.set(1, noun); [INFO] [stdout] | --- ^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/helpers.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set(&mut self, index: usize, value: isize) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 5 | intcode.set(1, noun.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | intcode.set(1, noun); [INFO] [stdout] | --- ^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/helpers.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set(&mut self, index: usize, value: isize) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 5 | intcode.set(1, noun.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_range` [INFO] [stdout] --> src/bin/03.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | (LineSegment::Horizontal { y, x_range }, LineSegment::Vertical { x, y_range }) => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `x_range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_range` [INFO] [stdout] --> src/bin/03.rs:102:81 [INFO] [stdout] | [INFO] [stdout] 102 | (LineSegment::Horizontal { y, x_range }, LineSegment::Vertical { x, y_range }) => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `y_range: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | intcode.set(2, verb); [INFO] [stdout] | --- ^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/helpers.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set(&mut self, index: usize, value: isize) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 6 | intcode.set(2, verb.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | fn simulate(intcode: Intcode, noun: usize, verb: usize) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 10 | computer.code.get(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | computer.code.get(0).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | intcode.set(2, verb); [INFO] [stdout] | --- ^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/helpers.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set(&mut self, index: usize, value: isize) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 6 | intcode.set(2, verb.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/02.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | fn simulate(intcode: Intcode, noun: usize, verb: usize) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 10 | computer.code.get(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | computer.code.get(0).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fixed` is never used [INFO] [stdout] --> src/bin/03.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LineSegment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn fixed(&self) -> Unit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_range` [INFO] [stdout] --> src/bin/03.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | (LineSegment::Horizontal { y, x_range }, LineSegment::Vertical { x, y_range }) => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `x_range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_range` [INFO] [stdout] --> src/bin/03.rs:102:81 [INFO] [stdout] | [INFO] [stdout] 102 | (LineSegment::Horizontal { y, x_range }, LineSegment::Vertical { x, y_range }) => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `y_range: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "02") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "02" test) due to 3 previous errors [INFO] [stdout] warning: method `fixed` is never used [INFO] [stdout] --> src/bin/03.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LineSegment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn fixed(&self) -> Unit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a78155ebd70c4d00f6fe4d8b06eeb8496fb51d415bdf14d6b3f433384a6a3e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78155ebd70c4d00f6fe4d8b06eeb8496fb51d415bdf14d6b3f433384a6a3e3f", kill_on_drop: false }` [INFO] [stdout] a78155ebd70c4d00f6fe4d8b06eeb8496fb51d415bdf14d6b3f433384a6a3e3f