[INFO] cloning repository https://github.com/neoeinstein/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/neoeinstein/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ab1f91284b8b68ea1220674b17f0e1764869820 [INFO] checking neoeinstein/advent-of-code-2019 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fadvent-of-code-2019" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/neoeinstein/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/neoeinstein/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/neoeinstein/advent-of-code-2019 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neoeinstein/advent-of-code-2019 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/neoeinstein/advent-of-code-2019 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded tokio-macros v0.2.0 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded bytes v0.5.2 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded doc-comment v0.3.1 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded termion v1.5.4 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded smallvec v1.0.0 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.9 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded snafu-derive v0.6.0 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded thiserror v1.0.9 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded snafu v0.6.0 [INFO] [stderr] Downloaded anyhow v1.0.25 [INFO] [stderr] Downloaded serde_derive v1.0.103 [INFO] [stderr] Downloaded serde v1.0.103 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fe4e275d43c042833f8a6b9d23440ad62f5d94ad4e62c716bb8fdcfffc46f07 [INFO] running `Command { std: "docker" "start" "-a" "2fe4e275d43c042833f8a6b9d23440ad62f5d94ad4e62c716bb8fdcfffc46f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe4e275d43c042833f8a6b9d23440ad62f5d94ad4e62c716bb8fdcfffc46f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe4e275d43c042833f8a6b9d23440ad62f5d94ad4e62c716bb8fdcfffc46f07", kill_on_drop: false }` [INFO] [stdout] 2fe4e275d43c042833f8a6b9d23440ad62f5d94ad4e62c716bb8fdcfffc46f07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cdb2b61a7e614734e77b28e3224b176a0984271619a1c0a1d786bc293e518a8 [INFO] running `Command { std: "docker" "start" "-a" "6cdb2b61a7e614734e77b28e3224b176a0984271619a1c0a1d786bc293e518a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Checking bytes v0.5.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling snafu-derive v0.6.0 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking thiserror v1.0.9 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking snafu v0.6.0 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking intcode v0.1.0 (/opt/rustwide/workdir/intcode) [INFO] [stdout] warning: struct `UnaryOperands` is never constructed [INFO] [stdout] --> intcode/src/decode.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct UnaryOperands { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day04.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | (values[0]..=values[1]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - (values[0]..=values[1]) [INFO] [stdout] 53 + values[0]..=values[1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day04.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | (values[0]..=values[1]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - (values[0]..=values[1]) [INFO] [stdout] 53 + values[0]..=values[1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryOperands` is never constructed [INFO] [stdout] --> intcode/src/decode.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct UnaryOperands { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | BadDistance(std::num::ParseIntError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidDirective` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 - BadDistance(std::num::ParseIntError), [INFO] [stdout] 210 + BadDistance(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> src/day18.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 778 | struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day06.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | std::mem::replace(&mut current, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = std::mem::replace(&mut current, n); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | fn layer_at(&self, start: usize) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn layer_at(&self, start: usize) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn layers(&self) -> LayerIterator { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn layers(&self) -> LayerIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | fn layer(&self, idx: usize) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | fn layer(&self, idx: usize) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn resolve(&self) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | pub fn resolve(&self) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn resolve_back(&self) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn resolve_back(&self) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn enumerate(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn enumerate(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn column(&self, column: usize) -> ColumnIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn column(&self, column: usize) -> ColumnIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn row(&self, row: usize) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn row(&self, row: usize) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn neighbors(&self, position: GridPosition) -> NeighborIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn neighbors(&self, position: GridPosition) -> NeighborIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | BadDistance(std::num::ParseIntError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidDirective` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 - BadDistance(std::num::ParseIntError), [INFO] [stdout] 210 + BadDistance(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> src/day18.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 778 | struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day06.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | std::mem::replace(&mut current, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = std::mem::replace(&mut current, n); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | fn layer_at(&self, start: usize) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn layer_at(&self, start: usize) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn layers(&self) -> LayerIterator { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn layers(&self) -> LayerIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | fn layer(&self, idx: usize) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | fn layer(&self, idx: usize) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn resolve(&self) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | pub fn resolve(&self) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day08.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn resolve_back(&self) -> Layer { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn resolve_back(&self) -> Layer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn enumerate(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn enumerate(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn column(&self, column: usize) -> ColumnIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn column(&self, column: usize) -> ColumnIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn row(&self, row: usize) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn row(&self, row: usize) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn neighbors(&self, position: GridPosition) -> NeighborIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn neighbors(&self, position: GridPosition) -> NeighborIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6cdb2b61a7e614734e77b28e3224b176a0984271619a1c0a1d786bc293e518a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdb2b61a7e614734e77b28e3224b176a0984271619a1c0a1d786bc293e518a8", kill_on_drop: false }` [INFO] [stdout] 6cdb2b61a7e614734e77b28e3224b176a0984271619a1c0a1d786bc293e518a8