[INFO] cloning repository https://github.com/y6nH/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y6nH/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2cfacfebdd6184dbaa69ce647d86fcf189e2267 [INFO] checking y6nH/aoc2018 against try#18f0df251aa25bd85bb3d295ad1bd925a64b1ffc for pr-94063 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y6nH/aoc2018 on toolchain 18f0df251aa25bd85bb3d295ad1bd925a64b1ffc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18f0df251aa25bd85bb3d295ad1bd925a64b1ffc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y6nH/aoc2018 [INFO] finished tweaking git repo https://github.com/y6nH/aoc2018 [INFO] tweaked toml for git repo https://github.com/y6nH/aoc2018 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/y6nH/aoc2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18f0df251aa25bd85bb3d295ad1bd925a64b1ffc" "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 regex v1.1.0 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+18f0df251aa25bd85bb3d295ad1bd925a64b1ffc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d125af6951b751876f6128cb7252a9ac0a1e6cd810e9e7e885c08828e32f23c9 [INFO] running `Command { std: "docker" "start" "-a" "d125af6951b751876f6128cb7252a9ac0a1e6cd810e9e7e885c08828e32f23c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d125af6951b751876f6128cb7252a9ac0a1e6cd810e9e7e885c08828e32f23c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d125af6951b751876f6128cb7252a9ac0a1e6cd810e9e7e885c08828e32f23c9", kill_on_drop: false }` [INFO] [stdout] d125af6951b751876f6128cb7252a9ac0a1e6cd810e9e7e885c08828e32f23c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+18f0df251aa25bd85bb3d295ad1bd925a64b1ffc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f394b508c51d97f58b0de8d5f1f873e319bf1adf135867beaf2ef7f040d2f34f [INFO] running `Command { std: "docker" "start" "-a" "f394b508c51d97f58b0de8d5f1f873e319bf1adf135867beaf2ef7f040d2f34f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [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] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/day6.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/day6.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | for mut line in split { [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/day1.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for mut line in split { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/day6.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/day6.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | for mut line in split { [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/day1.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for mut line in split { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day1.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day1.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `only_one_difference` [INFO] [stdout] --> src/day2.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn only_one_difference(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_claim` [INFO] [stdout] --> src/day3.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn check_claim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day4.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day5.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes` [INFO] [stdout] --> src/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn collapse_bytes(bytes: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes_loop` [INFO] [stdout] --> src/day5.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn collapse_bytes_loop(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day6.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_coords` [INFO] [stdout] --> src/day6.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_coords() -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_closest` [INFO] [stdout] --> src/day6.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/day3.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | &overlapping_claims.insert(cc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = &overlapping_claims.insert(cc.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day1.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day1.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `only_one_difference` [INFO] [stdout] --> src/day2.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn only_one_difference(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_claim` [INFO] [stdout] --> src/day3.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn check_claim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day4.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day5.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes` [INFO] [stdout] --> src/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn collapse_bytes(bytes: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes_loop` [INFO] [stdout] --> src/day5.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn collapse_bytes_loop(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day6.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_coords` [INFO] [stdout] --> src/day6.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_coords() -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_closest` [INFO] [stdout] --> src/day6.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day1.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 46 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 9 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!(why), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("{}", why), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => std::panic::panic_any(why), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/day3.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | &overlapping_claims.insert(cc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = &overlapping_claims.insert(cc.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "f394b508c51d97f58b0de8d5f1f873e319bf1adf135867beaf2ef7f040d2f34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f394b508c51d97f58b0de8d5f1f873e319bf1adf135867beaf2ef7f040d2f34f", kill_on_drop: false }` [INFO] [stdout] f394b508c51d97f58b0de8d5f1f873e319bf1adf135867beaf2ef7f040d2f34f