[INFO] cloning repository https://github.com/libc/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/libc/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibc%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibc%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0002eb82dbbecd7fa55ec84e68971afdeefe49f [INFO] checking libc/advent-of-code-2019 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibc%2Fadvent-of-code-2019" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/libc/advent-of-code-2019 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/libc/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/libc/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/libc/advent-of-code-2019 written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/libc/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mod_exp v1.0.1 [INFO] [stderr] Downloaded im v10.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad68120d961b88a11e0af58ca073e7351536daecf6f1314c9b3cd46e0731f776 [INFO] running `Command { std: "docker" "start" "-a" "ad68120d961b88a11e0af58ca073e7351536daecf6f1314c9b3cd46e0731f776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad68120d961b88a11e0af58ca073e7351536daecf6f1314c9b3cd46e0731f776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad68120d961b88a11e0af58ca073e7351536daecf6f1314c9b3cd46e0731f776", kill_on_drop: false }` [INFO] [stdout] ad68120d961b88a11e0af58ca073e7351536daecf6f1314c9b3cd46e0731f776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 734716b7677a170dc4df764c39d7aea650b288a45a4f77e87d231b8df11dfa80 [INFO] running `Command { std: "docker" "start" "-a" "734716b7677a170dc4df764c39d7aea650b288a45a4f77e87d231b8df11dfa80", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling im v10.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking mod_exp v1.0.1 [INFO] [stderr] Checking aoc2019 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_five_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day22-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day13-3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_nine_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_three_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_five_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_six_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_twelve_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_seven_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day19-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_seven_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day24-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day22-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day21-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day13-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_four_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_two_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day18-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_twelve_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day19-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day14-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_eight_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day17-3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day20-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_one_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day18-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day23-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day16-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day24-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_ten_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day17-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day15-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_three_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_ten_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day25-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_eight_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day21-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_six_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_eleven_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day17-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_four_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_two_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day_eleven_two.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day13-1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day20-2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day16-1.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bin/day13-3.rs (3 fixes) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day13-3.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 298 | / loop { [INFO] [stdout] 299 | | let (s, r) = bounded(0); [INFO] [stdout] 300 | | let (ss, rs) = unbounded(); [INFO] [stdout] 301 | | let (gs, gr) = unbounded(); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 465 | [INFO] [stdout] 466 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / write!( [INFO] [stdout] 83 | | stdout, [INFO] [stdout] 84 | | "{}Score: {:10} {:10} ", [INFO] [stdout] 85 | | termion::cursor::Goto(1, 2), [INFO] [stdout] 86 | | tile_id, [INFO] [stdout] 87 | | max_score [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | grids.send((tile_id, grid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / write!( [INFO] [stdout] 111 | | stdout, [INFO] [stdout] 112 | | "{}{}", [INFO] [stdout] 113 | | termion::clear::All, [INFO] [stdout] 114 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 115 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write!(stdout, "{}", termion::cursor::Goto(1, 23)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(stdout, "{}", x % 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / write!( [INFO] [stdout] 127 | | stdout, [INFO] [stdout] 128 | | "{}score: {}", [INFO] [stdout] 129 | | termion::cursor::Goto(1, 24), [INFO] [stdout] 130 | | max_score [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | write!(stdout, "{}", grids[idx].1[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day19-2.rs (2 fixes) [INFO] [stderr] Fixed src/bin/day18-1.rs (1 fix) [INFO] [stderr] Fixed src/bin/day21-2.rs (1 fix) [INFO] [stdout] warning: variant is never constructed: `Walk` [INFO] [stdout] --> src/bin/day21-2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day13-2.rs (4 fixes) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / write!( [INFO] [stdout] 101 | | stdout, [INFO] [stdout] 102 | | "{}{}", [INFO] [stdout] 103 | | termion::clear::All, [INFO] [stdout] 104 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 105 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | / write!( [INFO] [stdout] 113 | | stdout, [INFO] [stdout] 114 | | "{}score: {}", [INFO] [stdout] 115 | | termion::cursor::Goto(1, 31), [INFO] [stdout] 116 | | max_score [INFO] [stdout] 117 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `day17_3` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/day17-3.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `s` in this scope [INFO] [stderr] --> src/bin/day17-3.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let l = s [INFO] [stderr] | ^ help: a local variable with a similar name exists: `_s` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/bin/day17-3.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 51 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 52 | [INFO] [stderr] 53 | / let l = s [INFO] [stderr] 54 | | .lines() [INFO] [stderr] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stderr] 56 | | .collect::>>(); [INFO] [stderr] | |_____________________________________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17-3.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | / let l = s [INFO] [stdout] 54 | | .lines() [INFO] [stdout] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 56 | | .collect::>>(); [INFO] [stdout] | |_____________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day23-1.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 78 | / loop { [INFO] [stdout] 79 | | let oper_r = sel.select_timeout(Duration::from_millis(500)); [INFO] [stdout] 80 | | if oper_r.is_err() { [INFO] [stdout] 81 | | println!("sending: {:?}", last_xy); [INFO] [stdout] ... | [INFO] [stdout] 100 | | ss[addr as usize].send((x, y)).unwrap(); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 102 | [INFO] [stdout] 103 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day18-2.rs (1 fix) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | write!(stdout, "{}", termion::clear::All,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / write!( [INFO] [stdout] 138 | | stdout, [INFO] [stdout] 139 | | "{}", [INFO] [stdout] 140 | | termion::cursor::Goto(1, 1 + (y - min_y) as u16) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Walk` [INFO] [stdout] --> src/bin/day21-2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day21-1.rs (1 fix) [INFO] [stderr] Fixed src/bin/day17-1.rs (1 fix) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / write!( [INFO] [stdout] 101 | | stdout, [INFO] [stdout] 102 | | "{}{}", [INFO] [stdout] 103 | | termion::clear::All, [INFO] [stdout] 104 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 105 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | / write!( [INFO] [stdout] 113 | | stdout, [INFO] [stdout] 114 | | "{}score: {}", [INFO] [stdout] 115 | | termion::cursor::Goto(1, 31), [INFO] [stdout] 116 | | max_score [INFO] [stdout] 117 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day13-1.rs (1 fix) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | write!(stdout, "{}", termion::clear::All,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / write!( [INFO] [stdout] 138 | | stdout, [INFO] [stdout] 139 | | "{}", [INFO] [stdout] 140 | | termion::cursor::Goto(1, 1 + (y - min_y) as u16) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/day20-2.rs (1 fix) [INFO] [stderr] Fixed src/bin/day16-1.rs (1 fix) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day13-3.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 298 | / loop { [INFO] [stdout] 299 | | let (s, r) = bounded(0); [INFO] [stdout] 300 | | let (ss, rs) = unbounded(); [INFO] [stdout] 301 | | let (gs, gr) = unbounded(); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 465 | [INFO] [stdout] 466 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / write!( [INFO] [stdout] 83 | | stdout, [INFO] [stdout] 84 | | "{}Score: {:10} {:10} ", [INFO] [stdout] 85 | | termion::cursor::Goto(1, 2), [INFO] [stdout] 86 | | tile_id, [INFO] [stdout] 87 | | max_score [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | grids.send((tile_id, grid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / write!( [INFO] [stdout] 111 | | stdout, [INFO] [stdout] 112 | | "{}{}", [INFO] [stdout] 113 | | termion::clear::All, [INFO] [stdout] 114 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 115 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write!(stdout, "{}", termion::cursor::Goto(1, 23)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(stdout, "{}", x % 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / write!( [INFO] [stdout] 127 | | stdout, [INFO] [stdout] 128 | | "{}score: {}", [INFO] [stdout] 129 | | termion::cursor::Goto(1, 24), [INFO] [stdout] 130 | | max_score [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | write!(stdout, "{}", grids[idx].1[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day23-1.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 78 | / loop { [INFO] [stdout] 79 | | let oper_r = sel.select_timeout(Duration::from_millis(500)); [INFO] [stdout] 80 | | if oper_r.is_err() { [INFO] [stdout] 81 | | println!("sending: {:?}", last_xy); [INFO] [stdout] ... | [INFO] [stdout] 100 | | ss[addr as usize].send((x, y)).unwrap(); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 102 | [INFO] [stdout] 103 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `day17_3` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/day17-3.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `s` in this scope [INFO] [stderr] --> src/bin/day17-3.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let l = s [INFO] [stderr] | ^ help: a local variable with a similar name exists: `_s` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/bin/day17-3.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 51 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 52 | [INFO] [stderr] 53 | / let l = s [INFO] [stderr] 54 | | .lines() [INFO] [stderr] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stderr] 56 | | .collect::>>(); [INFO] [stderr] | |_____________________________________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17-3.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | / let l = s [INFO] [stdout] 54 | | .lines() [INFO] [stdout] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 56 | | .collect::>>(); [INFO] [stdout] | |_____________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.58s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking aoc2019 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day23-1.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 78 | / loop { [INFO] [stdout] 79 | | let oper_r = sel.select_timeout(Duration::from_millis(500)); [INFO] [stdout] 80 | | if oper_r.is_err() { [INFO] [stdout] 81 | | println!("sending: {:?}", last_xy); [INFO] [stdout] ... | [INFO] [stdout] 100 | | ss[addr as usize].send((x, y)).unwrap(); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 102 | [INFO] [stdout] 103 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day13-3.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 298 | / loop { [INFO] [stdout] 299 | | let (s, r) = bounded(0); [INFO] [stdout] 300 | | let (ss, rs) = unbounded(); [INFO] [stdout] 301 | | let (gs, gr) = unbounded(); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 465 | [INFO] [stdout] 466 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Walk` [INFO] [stdout] --> src/bin/day21-2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17-3.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | / let l = s [INFO] [stdout] 54 | | .lines() [INFO] [stdout] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 56 | | .collect::>>(); [INFO] [stdout] | |_____________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Walk` [INFO] [stdout] --> src/bin/day21-2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / write!( [INFO] [stdout] 83 | | stdout, [INFO] [stdout] 84 | | "{}Score: {:10} {:10} ", [INFO] [stdout] 85 | | termion::cursor::Goto(1, 2), [INFO] [stdout] 86 | | tile_id, [INFO] [stdout] 87 | | max_score [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | grids.send((tile_id, grid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / write!( [INFO] [stdout] 111 | | stdout, [INFO] [stdout] 112 | | "{}{}", [INFO] [stdout] 113 | | termion::clear::All, [INFO] [stdout] 114 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 115 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write!(stdout, "{}", termion::cursor::Goto(1, 23)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(stdout, "{}", x % 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / write!( [INFO] [stdout] 127 | | stdout, [INFO] [stdout] 128 | | "{}score: {}", [INFO] [stdout] 129 | | termion::cursor::Goto(1, 24), [INFO] [stdout] 130 | | max_score [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day23-1.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 78 | / loop { [INFO] [stdout] 79 | | let oper_r = sel.select_timeout(Duration::from_millis(500)); [INFO] [stdout] 80 | | if oper_r.is_err() { [INFO] [stdout] 81 | | println!("sending: {:?}", last_xy); [INFO] [stdout] ... | [INFO] [stdout] 100 | | ss[addr as usize].send((x, y)).unwrap(); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 102 | [INFO] [stdout] 103 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / write!( [INFO] [stdout] 101 | | stdout, [INFO] [stdout] 102 | | "{}{}", [INFO] [stdout] 103 | | termion::clear::All, [INFO] [stdout] 104 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 105 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | write!(stdout, "{}", grids[idx].1[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | / write!( [INFO] [stdout] 113 | | stdout, [INFO] [stdout] 114 | | "{}score: {}", [INFO] [stdout] 115 | | termion::cursor::Goto(1, 31), [INFO] [stdout] 116 | | max_score [INFO] [stdout] 117 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | write!(stdout, "{}", termion::clear::All,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / write!( [INFO] [stdout] 138 | | stdout, [INFO] [stdout] 139 | | "{}", [INFO] [stdout] 140 | | termion::cursor::Goto(1, 1 + (y - min_y) as u16) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | write!(stdout, "{}", termion::clear::All,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day15-1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / write!( [INFO] [stdout] 138 | | stdout, [INFO] [stdout] 139 | | "{}", [INFO] [stdout] 140 | | termion::cursor::Goto(1, 1 + (y - min_y) as u16) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17-3.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | / let l = s [INFO] [stdout] 54 | | .lines() [INFO] [stdout] 55 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 56 | | .collect::>>(); [INFO] [stdout] | |_____________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/day13-3.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 298 | / loop { [INFO] [stdout] 299 | | let (s, r) = bounded(0); [INFO] [stdout] 300 | | let (ss, rs) = unbounded(); [INFO] [stdout] 301 | | let (gs, gr) = unbounded(); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 465 | [INFO] [stdout] 466 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / write!( [INFO] [stdout] 83 | | stdout, [INFO] [stdout] 84 | | "{}Score: {:10} {:10} ", [INFO] [stdout] 85 | | termion::cursor::Goto(1, 2), [INFO] [stdout] 86 | | tile_id, [INFO] [stdout] 87 | | max_score [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | grids.send((tile_id, grid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / write!( [INFO] [stdout] 111 | | stdout, [INFO] [stdout] 112 | | "{}{}", [INFO] [stdout] 113 | | termion::clear::All, [INFO] [stdout] 114 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 115 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write!(stdout, "{}", termion::cursor::Goto(1, 23)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(stdout, "{}", x % 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / write!( [INFO] [stdout] 127 | | stdout, [INFO] [stdout] 128 | | "{}score: {}", [INFO] [stdout] 129 | | termion::cursor::Goto(1, 24), [INFO] [stdout] 130 | | max_score [INFO] [stdout] 131 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-3.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | write!(stdout, "{}", grids[idx].1[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / write!( [INFO] [stdout] 101 | | stdout, [INFO] [stdout] 102 | | "{}{}", [INFO] [stdout] 103 | | termion::clear::All, [INFO] [stdout] 104 | | termion::cursor::Goto(1, 1) [INFO] [stdout] 105 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | write!(stdout, "{}", termion::cursor::Goto(1, (y as u16) + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | write!(stdout, "{}", grid[y][x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day13-2.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | / write!( [INFO] [stdout] 113 | | stdout, [INFO] [stdout] 114 | | "{}score: {}", [INFO] [stdout] 115 | | termion::cursor::Goto(1, 31), [INFO] [stdout] 116 | | max_score [INFO] [stdout] 117 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "734716b7677a170dc4df764c39d7aea650b288a45a4f77e87d231b8df11dfa80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734716b7677a170dc4df764c39d7aea650b288a45a4f77e87d231b8df11dfa80", kill_on_drop: false }` [INFO] [stdout] 734716b7677a170dc4df764c39d7aea650b288a45a4f77e87d231b8df11dfa80