[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] testing ricohageman/advent-of-code-2019 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricohageman%2Fadvent-of-code-2019" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ricohageman/advent-of-code-2019 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fd3d94b0c85b48be76335087478e33704ae8dfefa85c4cdb6e371f9677db7a0 [INFO] running `Command { std: "docker" "start" "-a" "1fd3d94b0c85b48be76335087478e33704ae8dfefa85c4cdb6e371f9677db7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fd3d94b0c85b48be76335087478e33704ae8dfefa85c4cdb6e371f9677db7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd3d94b0c85b48be76335087478e33704ae8dfefa85c4cdb6e371f9677db7a0", kill_on_drop: false }` [INFO] [stdout] 1fd3d94b0c85b48be76335087478e33704ae8dfefa85c4cdb6e371f9677db7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c8edc5eecfd224c581f907999a64ec7b620e531387249812e1d9e457d6774508 [INFO] running `Command { std: "docker" "start" "-a" "c8edc5eecfd224c581f907999a64ec7b620e531387249812e1d9e457d6774508", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling advent_of_code v0.8.0 (/opt/rustwide/workdir) [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: 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: 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] 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: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] [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] running `Command { std: "docker" "inspect" "c8edc5eecfd224c581f907999a64ec7b620e531387249812e1d9e457d6774508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8edc5eecfd224c581f907999a64ec7b620e531387249812e1d9e457d6774508", kill_on_drop: false }` [INFO] [stdout] c8edc5eecfd224c581f907999a64ec7b620e531387249812e1d9e457d6774508