[INFO] cloning repository https://github.com/shaurya0/advent_of_code_2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaurya0/advent_of_code_2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya0%2Fadvent_of_code_2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya0%2Fadvent_of_code_2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2cd7482a197f2a37faa3166543bfdf70e7cfd72 [INFO] checking shaurya0/advent_of_code_2018 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya0%2Fadvent_of_code_2018" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaurya0/advent_of_code_2018 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaurya0/advent_of_code_2018 [INFO] finished tweaking git repo https://github.com/shaurya0/advent_of_code_2018 [INFO] tweaked toml for git repo https://github.com/shaurya0/advent_of_code_2018 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/shaurya0/advent_of_code_2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7ee2e871a319014c4f7497b502a9e5f620b0a61c8145eb4945b398536ceed65 [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" "f7ee2e871a319014c4f7497b502a9e5f620b0a61c8145eb4945b398536ceed65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7ee2e871a319014c4f7497b502a9e5f620b0a61c8145eb4945b398536ceed65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ee2e871a319014c4f7497b502a9e5f620b0a61c8145eb4945b398536ceed65", kill_on_drop: false }` [INFO] [stdout] f7ee2e871a319014c4f7497b502a9e5f620b0a61c8145eb4945b398536ceed65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d352a81e3a77d98fe28345adaf3cc81e4d98a7c3117ee3c714200f6b23f09bd0 [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" "d352a81e3a77d98fe28345adaf3cc81e4d98a7c3117ee3c714200f6b23f09bd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/day11/day11.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader` [INFO] [stdout] --> src/day11/day11.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader,BufRead}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day11/day11.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/day11/day11.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/day11/day11.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day16/day16.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/day16/day16.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day16/day16.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | self.regs[c] = (a as i32); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_grid_val` [INFO] [stdout] --> src/day11/day11.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_grid_val(grid: &[[i32; NSS]; NSS], x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `NaiveDate` [INFO] [stdout] --> src/day4/day4.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{NaiveDateTime, NaiveDate, NaiveTime, Duration, Timelike}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/day11/day11.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader` [INFO] [stdout] --> src/day11/day11.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader,BufRead}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day11/day11.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/day11/day11.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/day11/day11.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day7/day7.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/day7.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut n = graph.add_node(src); [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/day7/day7.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut incoming = graph.neighbors_directed(*o, Direction::Incoming); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/day7.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut outgoing = graph.neighbors_directed(root, Direction::Outgoing); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day10/day10.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NX` [INFO] [stdout] --> src/day10/day10.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const NX: usize = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NY` [INFO] [stdout] --> src/day10/day10.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const NY: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X_OFFSET` [INFO] [stdout] --> src/day10/day10.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const X_OFFSET: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_OFFSET` [INFO] [stdout] --> src/day10/day10.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const Y_OFFSET: i32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_grid` [INFO] [stdout] --> src/day10/day10.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_grid(grid: &[[char; NX]; NY]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `upate_grid` [INFO] [stdout] --> src/day10/day10.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn upate_grid(grid: &mut [[char; NX]; NY], lights: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day16/day16.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/day16/day16.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day16/day16.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | self.regs[c] = (a as i32); [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 imports: `Duration`, `NaiveDate` [INFO] [stdout] --> src/day4/day4.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{NaiveDateTime, NaiveDate, NaiveTime, Duration, Timelike}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day2/day2.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day3/day3.rs:149:56 [INFO] [stdout] | [INFO] [stdout] 149 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:37:74 [INFO] [stdout] | [INFO] [stdout] 37 | Err(why) => panic!("couldn't parse timestamp_date {} ", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:37:74 [INFO] [stdout] | [INFO] [stdout] 37 | Err(why) => panic!("couldn't parse timestamp_date {} ", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_grid_val` [INFO] [stdout] --> src/day11/day11.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_grid_val(grid: &[[i32; NSS]; NSS], x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day10/day10.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day16/day16.rs:150:56 [INFO] [stdout] | [INFO] [stdout] 150 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day3/day3.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Some(count) => unclaimed = true, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day3/day3.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | Some(&count) => print!("#"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_grid` [INFO] [stdout] --> src/day3/day3.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn draw_grid(grid_description: &HashMap, nx: u32, ny: u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't parse timestamp {} ", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't parse timestamp {} ", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day4/day4.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day1/day1.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_iter` [INFO] [stdout] --> src/day16/day16.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let line_iter = lines.iter(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/day16/day16.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard_sleep_time` [INFO] [stdout] --> src/day4/day4.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut guard_sleep_time: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guard_sleep_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/day4/day4.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let timestamp = message.timestamp; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4/day4.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut guard_sleep_time: HashMap [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: constant is never used: `NX` [INFO] [stdout] --> src/day10/day10.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const NX: usize = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NY` [INFO] [stdout] --> src/day10/day10.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const NY: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X_OFFSET` [INFO] [stdout] --> src/day10/day10.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const X_OFFSET: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_OFFSET` [INFO] [stdout] --> src/day10/day10.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const Y_OFFSET: i32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_grid` [INFO] [stdout] --> src/day10/day10.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_grid(grid: &[[char; NX]; NY]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `upate_grid` [INFO] [stdout] --> src/day10/day10.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn upate_grid(grid: &mut [[char; NX]; NY], lights: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let mut reg0: i32 = cap[1].trim().parse().expect("expected i32"); [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/day16/day16.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let mut reg1: i32 = cap[2].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | let mut reg2: i32 = cap[3].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let mut reg3: i32 = cap[4].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day3/day3.rs:149:56 [INFO] [stdout] | [INFO] [stdout] 149 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard_sleep_time` [INFO] [stdout] --> src/day4/day4.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut guard_sleep_time: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guard_sleep_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day16/day16.rs:150:56 [INFO] [stdout] | [INFO] [stdout] 150 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day3/day3.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Some(count) => unclaimed = true, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day3/day3.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | Some(&count) => print!("#"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/day4/day4.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let timestamp = message.timestamp; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day7/day7.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day1/day1.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_grid` [INFO] [stdout] --> src/day3/day3.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn draw_grid(grid_description: &HashMap, nx: u32, ny: u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [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/day7/day7.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut n = graph.add_node(src); [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/day7/day7.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut incoming = graph.neighbors_directed(*o, Direction::Incoming); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/day7.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut outgoing = graph.neighbors_directed(root, Direction::Outgoing); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4/day4.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut guard_sleep_time: HashMap [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/day2/day2.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_iter` [INFO] [stdout] --> src/day16/day16.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let line_iter = lines.iter(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/day16/day16.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let mut reg0: i32 = cap[1].trim().parse().expect("expected i32"); [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/day16/day16.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let mut reg1: i32 = cap[2].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | let mut reg2: i32 = cap[3].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16/day16.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let mut reg3: i32 = cap[4].trim().parse().expect("expected i32"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.08s [INFO] running `Command { std: "docker" "inspect" "d352a81e3a77d98fe28345adaf3cc81e4d98a7c3117ee3c714200f6b23f09bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d352a81e3a77d98fe28345adaf3cc81e4d98a7c3117ee3c714200f6b23f09bd0", kill_on_drop: false }` [INFO] [stdout] d352a81e3a77d98fe28345adaf3cc81e4d98a7c3117ee3c714200f6b23f09bd0