[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibc%2Fadvent-of-code-2019" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/libc/advent-of-code-2019 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e219edb8cc0e6e3435817ac36e59f95e2cd0008b63f3f5981061d52c49b56499 [INFO] running `Command { std: "docker" "start" "-a" "e219edb8cc0e6e3435817ac36e59f95e2cd0008b63f3f5981061d52c49b56499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e219edb8cc0e6e3435817ac36e59f95e2cd0008b63f3f5981061d52c49b56499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e219edb8cc0e6e3435817ac36e59f95e2cd0008b63f3f5981061d52c49b56499", kill_on_drop: false }` [INFO] [stdout] e219edb8cc0e6e3435817ac36e59f95e2cd0008b63f3f5981061d52c49b56499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d051c521c36e182bb34deb412a413d9fd0e79a91a719c5815c18bbce95e36903 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d051c521c36e182bb34deb412a413d9fd0e79a91a719c5815c18bbce95e36903", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling im v10.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/bin/day13-3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::select` [INFO] [stdout] --> src/bin/day13-3.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crossbeam::select; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day19-2.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day19-2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::select` [INFO] [stdout] --> src/bin/day13-2.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crossbeam::select; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/bin/day13-2.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{stdin, stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::event::Key` [INFO] [stdout] --> src/bin/day13-2.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use termion::event::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/bin/day13-2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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 variable: `i` [INFO] [stdout] --> src/bin/day13-3.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let i = try_game(&program, &qq, s2).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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: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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/bin/day17-1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day21-2.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut prog = vec![ [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 variable: `all_keys` [INFO] [stdout] --> src/bin/day18-1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let all_keys = find_all_keys(&puzzle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_keys` [INFO] [stdout] --> src/bin/day18-2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let all_keys = find_all_keys(&puzzle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_keys` [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/day21-2.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut prog = vec![ [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: 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: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/bin/day17-1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::select` [INFO] [stdout] --> src/bin/day13-2.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crossbeam::select; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/bin/day13-2.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{stdin, stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::event::Key` [INFO] [stdout] --> src/bin/day13-2.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use termion::event::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/bin/day13-2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day13-1.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (input, output) = aoc2019::intcode::start_intcode_thread(&program); [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/day13-1.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (input, output) = aoc2019::intcode::start_intcode_thread(&program); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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: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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/bin/day13-3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::select` [INFO] [stdout] --> src/bin/day13-3.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crossbeam::select; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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 variable: `i` [INFO] [stdout] --> src/bin/day13-3.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let i = try_game(&program, &qq, s2).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/day21-1.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut prog = vec![ [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 variable: `all_keys` [INFO] [stdout] --> src/bin/day18-2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let all_keys = find_all_keys(&puzzle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day16-1.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/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 a macro (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 a macro (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: 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day20-2.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | if (inwards || q.2 > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_keys` [INFO] [stdout] --> src/bin/day18-1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let all_keys = find_all_keys(&puzzle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day17-3.rs:21:9 [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day20-2.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | if (inwards || q.2 > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day21-1.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut prog = vec![ [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day19-2.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day19-2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day16-1.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.27s [INFO] running `Command { std: "docker" "inspect" "d051c521c36e182bb34deb412a413d9fd0e79a91a719c5815c18bbce95e36903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d051c521c36e182bb34deb412a413d9fd0e79a91a719c5815c18bbce95e36903", kill_on_drop: false }` [INFO] [stdout] d051c521c36e182bb34deb412a413d9fd0e79a91a719c5815c18bbce95e36903