[INFO] cloning repository https://github.com/atimos/advent2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atimos/advent2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20def034d9b50dd9ecf6214cedeca853db47e5ba [INFO] checking atimos/advent2019/20def034d9b50dd9ecf6214cedeca853db47e5ba against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atimos/advent2019 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atimos/advent2019 [INFO] finished tweaking git repo https://github.com/atimos/advent2019 [INFO] tweaked toml for git repo https://github.com/atimos/advent2019 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/atimos/advent2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.6 [INFO] [stderr] Downloaded displaydoc v0.1.5 [INFO] [stderr] Downloaded joinery v2.0.0 [INFO] [stderr] Downloaded thiserror v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab4e015075c566c4477013f3baa2b6fd7d2b0b0ceecf4e11af3c12c9b4c5b62d [INFO] running `Command { std: "docker" "start" "-a" "ab4e015075c566c4477013f3baa2b6fd7d2b0b0ceecf4e11af3c12c9b4c5b62d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab4e015075c566c4477013f3baa2b6fd7d2b0b0ceecf4e11af3c12c9b4c5b62d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4e015075c566c4477013f3baa2b6fd7d2b0b0ceecf4e11af3c12c9b4c5b62d", kill_on_drop: false }` [INFO] [stdout] ab4e015075c566c4477013f3baa2b6fd7d2b0b0ceecf4e11af3c12c9b4c5b62d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8510b2eaeab620c459fbe7e45679ac0a9bc26d59bce37ca37920be249abe4c05 [INFO] running `Command { std: "docker" "start" "-a" "8510b2eaeab620c459fbe7e45679ac0a9bc26d59bce37ca37920be249abe4c05", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking joinery v2.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.6 [INFO] [stderr] Compiling displaydoc v0.1.5 [INFO] [stderr] Checking thiserror v1.0.6 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day2.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day2.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn step2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parse`, `Op`, `ArgCount`, and `Eof` are never constructed [INFO] [stdout] --> src/day2/enum_.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | Parse(ParseIntError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | ArgCount(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/enum_.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Result = StdResult; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/enum_.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/enum_.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Op`, `ArgCount`, and `Eof` are never constructed [INFO] [stdout] --> src/day2/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 12 | Parse(ParseIntError), [INFO] [stdout] 13 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | ArgCount(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/error.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = StdResult; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/error.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/error.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day2/panic.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn step1(input: R) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day2/panic.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn step2(input: R) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2/panic.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(mut input: R) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/panic.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn run(mut program: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parse`, `Op`, `Eof`, `OutOfBounds`, and `ToManyOperations` are never constructed [INFO] [stdout] --> src/day2/thiserror.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | /// {0} [INFO] [stdout] 6 | Parse(#[source] std::num::ParseIntError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | /// Unknown op {op} in position {pos} [INFO] [stdout] 8 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | /// Unexpected end of file [INFO] [stdout] 10 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | /// Address {0} out of bounds [INFO] [stdout] 12 | OutOfBounds(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// Could not finish program, max operations {0} [INFO] [stdout] 14 | ToManyOperations(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/thiserror.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OPERATIONS` is never used [INFO] [stdout] --> src/day2/thiserror.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX_OPERATIONS: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/thiserror.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/thiserror.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIRE1` is never used [INFO] [stdout] --> src/day3.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const WIRE1: &str = "R1009,U263,L517,U449,L805,D78,L798,D883,L777,D562,R652,D348,R999,D767,L959,U493,R59,D994,L225,D226,R634,D200,R953,U3... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIRE2` is never used [INFO] [stdout] --> src/day3.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const WIRE2: &str = "L1003,D960,L10,D57,R294,U538,R867,D426,L524,D441,R775,U308,R577,D785,R495,U847,R643,D895,R448,U685,L253,U312,L312,U7... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn step1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day3.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn step2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day2.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dir` is never used [INFO] [stdout] --> src/day3.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_route` is never used [INFO] [stdout] --> src/day3.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_route(wire: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day2.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn step2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parse`, `Op`, `ArgCount`, and `Eof` are never constructed [INFO] [stdout] --> src/day2/enum_.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | Parse(ParseIntError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | ArgCount(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/enum_.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Result = StdResult; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/enum_.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/enum_.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Op`, `ArgCount`, and `Eof` are never constructed [INFO] [stdout] --> src/day2/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 12 | Parse(ParseIntError), [INFO] [stdout] 13 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | ArgCount(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/error.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = StdResult; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/error.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/error.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day2/panic.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn step1(input: R) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day2/panic.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn step2(input: R) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2/panic.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(mut input: R) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/panic.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn run(mut program: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Parse`, `Op`, `Eof`, `OutOfBounds`, and `ToManyOperations` are never constructed [INFO] [stdout] --> src/day2/thiserror.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | /// {0} [INFO] [stdout] 6 | Parse(#[source] std::num::ParseIntError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | /// Unknown op {op} in position {pos} [INFO] [stdout] 8 | Op { op: usize, pos: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | /// Unexpected end of file [INFO] [stdout] 10 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | /// Address {0} out of bounds [INFO] [stdout] 12 | OutOfBounds(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// Could not finish program, max operations {0} [INFO] [stdout] 14 | ToManyOperations(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/day2/thiserror.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OPERATIONS` is never used [INFO] [stdout] --> src/day2/thiserror.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX_OPERATIONS: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day2/thiserror.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/day2/thiserror.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIRE1` is never used [INFO] [stdout] --> src/day3.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const WIRE1: &str = "R1009,U263,L517,U449,L805,D78,L798,D883,L777,D562,R652,D348,R999,D767,L959,U493,R59,D994,L225,D226,R634,D200,R953,U3... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIRE2` is never used [INFO] [stdout] --> src/day3.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const WIRE2: &str = "L1003,D960,L10,D57,R294,U538,R867,D426,L524,D441,R775,U308,R577,D785,R495,U847,R643,D895,R448,U685,L253,U312,L312,U7... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1` is never used [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn step1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2` is never used [INFO] [stdout] --> src/day3.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn step2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dir` is never used [INFO] [stdout] --> src/day3.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_route` is never used [INFO] [stdout] --> src/day3.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_route(wire: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_steps` is never used [INFO] [stdout] --> src/day3.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_steps(route: &str) -> Vec<(Dir, i32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk` is never used [INFO] [stdout] --> src/day3.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn walk(dir: Dir, dist: i32, path: &mut Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_x_path` is never used [INFO] [stdout] --> src/day3.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn add_x_path( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_y_path` is never used [INFO] [stdout] --> src/day3.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn add_y_path( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_steps` is never used [INFO] [stdout] --> src/day3.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_steps(route: &str) -> Vec<(Dir, i32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk` is never used [INFO] [stdout] --> src/day3.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn walk(dir: Dir, dist: i32, path: &mut Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_x_path` is never used [INFO] [stdout] --> src/day3.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn add_x_path( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_y_path` is never used [INFO] [stdout] --> src/day3.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn add_y_path( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "8510b2eaeab620c459fbe7e45679ac0a9bc26d59bce37ca37920be249abe4c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8510b2eaeab620c459fbe7e45679ac0a9bc26d59bce37ca37920be249abe4c05", kill_on_drop: false }` [INFO] [stdout] 8510b2eaeab620c459fbe7e45679ac0a9bc26d59bce37ca37920be249abe4c05