[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#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohageman%2Fadvent-of-code-2019" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ricohageman/advent-of-code-2019 on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a221408d48bb1a08dae912add2858480cfef053f04ad6296c124cf4aab04654 [INFO] running `Command { std: "docker" "start" "-a" "4a221408d48bb1a08dae912add2858480cfef053f04ad6296c124cf4aab04654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a221408d48bb1a08dae912add2858480cfef053f04ad6296c124cf4aab04654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a221408d48bb1a08dae912add2858480cfef053f04ad6296c124cf4aab04654", kill_on_drop: false }` [INFO] [stdout] 4a221408d48bb1a08dae912add2858480cfef053f04ad6296c124cf4aab04654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 908335e879c0b19917f3149022576482d8a920c335d16bebff3a8d100f0b85e9 [INFO] running `Command { std: "docker" "start" "-a" "908335e879c0b19917f3149022576482d8a920c335d16bebff3a8d100f0b85e9", 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] 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] 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] 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] 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] 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] 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] 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: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] 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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [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") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent_of_code` (bin "02" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "908335e879c0b19917f3149022576482d8a920c335d16bebff3a8d100f0b85e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "908335e879c0b19917f3149022576482d8a920c335d16bebff3a8d100f0b85e9", kill_on_drop: false }` [INFO] [stdout] 908335e879c0b19917f3149022576482d8a920c335d16bebff3a8d100f0b85e9