[INFO] cloning repository https://github.com/cdelmas/99-problems-lists-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdelmas/99-problems-lists-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdelmas%2F99-problems-lists-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdelmas%2F99-problems-lists-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a950980f56eea2736b0c4178c9fd77bbd964ef8
[INFO] checking cdelmas/99-problems-lists-rs against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdelmas%2F99-problems-lists-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cdelmas/99-problems-lists-rs
[INFO] finished tweaking git repo https://github.com/cdelmas/99-problems-lists-rs
[INFO] tweaked toml for git repo https://github.com/cdelmas/99-problems-lists-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cdelmas/99-problems-lists-rs on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cdelmas/99-problems-lists-rs 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded getrandom v0.2.3
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.15
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] [stderr]   Downloaded num-iter v0.1.42
[INFO] [stderr]   Downloaded factorial v0.2.1
[INFO] [stderr]   Downloaded rand_xorshift v0.3.0
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded bit-set v0.5.2
[INFO] [stderr]   Downloaded wait-timeout v0.2.0
[INFO] [stderr]   Downloaded num-complex v0.4.0
[INFO] [stderr]   Downloaded num-rational v0.4.0
[INFO] [stderr]   Downloaded rusty-fork v0.3.0
[INFO] [stderr]   Downloaded num-bigint v0.4.3
[INFO] [stderr]   Downloaded proptest v1.0.0
[INFO] [stderr]   Downloaded itertools v0.10.1
[INFO] [stderr]   Downloaded libc v0.2.104
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 729d0239b453690e3b3db004efb2de75a554653795d3171fb39087acad95972b
[INFO] running `Command { std: "docker" "start" "-a" "729d0239b453690e3b3db004efb2de75a554653795d3171fb39087acad95972b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "729d0239b453690e3b3db004efb2de75a554653795d3171fb39087acad95972b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "729d0239b453690e3b3db004efb2de75a554653795d3171fb39087acad95972b", kill_on_drop: false }`
[INFO] [stdout] 729d0239b453690e3b3db004efb2de75a554653795d3171fb39087acad95972b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51842d972b40e6621db5e85d88286526473a2df8e18c601f5b254d98796bc9dc
[INFO] running `Command { std: "docker" "start" "-a" "51842d972b40e6621db5e85d88286526473a2df8e18c601f5b254d98796bc9dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking factorial v0.2.1
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking proptest v1.0.0
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking problems_99 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `is_prime` is never used
[INFO] [stdout]  --> src/arithmetic/mod.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn is_prime(n: u64) -> bool {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gcd` is never used
[INFO] [stdout]   --> src/arithmetic/mod.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn gcd(n: u32, m: u32) -> u32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `are_coprime` is never used
[INFO] [stdout]   --> src/arithmetic/mod.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn are_coprime(n: u32, m: u32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last` is never used
[INFO] [stdout]  --> src/lists/mod.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn last<A>(l: &[A]) -> Option<&A> {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `but_last` is never used
[INFO] [stdout]   --> src/lists/mod.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn but_last<A>(l: &[A]) -> Option<&A> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `k_th` is never used
[INFO] [stdout]   --> src/lists/mod.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn k_th<A>(l: &[A], index: usize) -> Option<&A> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length` is never used
[INFO] [stdout]   --> src/lists/mod.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn length<A>(l: &[A]) -> usize {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]   --> src/lists/mod.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn reverse<A: Clone>(l: &[A]) -> Vec<A> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_palindrome` is never used
[INFO] [stdout]   --> src/lists/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn is_palindrome<A: Eq>(l: &[A]) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NestedList` is never used
[INFO] [stdout]   --> src/lists/mod.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 | enum NestedList<A> {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flatten` is never used
[INFO] [stdout]   --> src/lists/mod.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn flatten<A>(list: &NestedList<A>) -> Vec<&A> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_consecutive_duplicates` is never used
[INFO] [stdout]   --> src/lists/mod.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn remove_consecutive_duplicates<A: Eq>(list: &[A]) -> Vec<&A> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_consecutive_duplicates` is never used
[INFO] [stdout]   --> src/lists/mod.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn pack_consecutive_duplicates<A: Eq>(list: &[A]) -> Vec<Vec<&A>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `occurrences` is never used
[INFO] [stdout]   --> src/lists/mod.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn occurrences<A: Eq>(list: &[A]) -> Vec<(usize, &A)> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Occurrence` is never used
[INFO] [stdout]   --> src/lists/mod.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | enum Occurrence<'a, A> {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `can_increment`, and `increment` are never used
[INFO] [stdout]    --> src/lists/mod.rs:93:8
[INFO] [stdout]     |
[INFO] [stdout]  89 | / impl<'a, A> Occurrence<'a, A>
[INFO] [stdout]  90 | | where
[INFO] [stdout]  91 | |     A: Eq,
[INFO] [stdout]     | |__________- associated items in this implementation
[INFO] [stdout]  92 |   {
[INFO] [stdout]  93 |       fn new(size: usize, elem: &'a A) -> Self {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |       fn can_increment(self: &Occurrence<'a, A>, elem: &'a A) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |       fn increment(occurrence: &'a Occurrence<A>, elem: &'a A) -> Option<Occurrence<'a, A>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]    --> src/lists/mod.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn encode<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/lists/mod.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn decode<'a, A>(list: &'a [Occurrence<A>]) -> Vec<&'a A> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_no_intermediary` is never used
[INFO] [stdout]    --> src/lists/mod.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn encode_no_intermediary<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `duplicate` is never used
[INFO] [stdout]    --> src/lists/mod.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn duplicate<A: Clone>(list: &[A]) -> Vec<A> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replicate` is never used
[INFO] [stdout]    --> src/lists/mod.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn replicate<A: Clone>(list: &[A], repl_num: u8) -> Vec<A> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop_every_nth` is never used
[INFO] [stdout]    --> src/lists/mod.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn drop_every_nth<A>(list: &[A], each: usize) -> Vec<&A> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_n` is never used
[INFO] [stdout]    --> src/lists/mod.rs:173:4
[INFO] [stdout]     |
[INFO] [stdout] 173 | fn split_n<A>(list: &[A], at: usize) -> (&[A], &[A]) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice` is never used
[INFO] [stdout]    --> src/lists/mod.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn slice<A>(list: &[A], from: usize, to: usize) -> Option<&[A]> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate` is never used
[INFO] [stdout]    --> src/lists/mod.rs:189:4
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn rotate<A: Clone>(list: &[A], n: isize) -> Vec<A> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_at` is never used
[INFO] [stdout]    --> src/lists/mod.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn remove_at<A: Clone>(list: &[A], n: usize) -> Option<(A, Vec<A>)> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_at` is never used
[INFO] [stdout]    --> src/lists/mod.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn insert_at<A: Clone>(list: &[A], a: A, at: usize) -> Vec<A> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `range` is never used
[INFO] [stdout]    --> src/lists/mod.rs:216:4
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn range(from: u32, to: u32) -> Vec<u32> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_select` is never used
[INFO] [stdout]    --> src/lists/mod.rs:220:4
[INFO] [stdout]     |
[INFO] [stdout] 220 | fn random_select<'a, A, R>(list: &'a [A], n: usize, rng: &mut R) -> Vec<&'a A>
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lottery_draw` is never used
[INFO] [stdout]    --> src/lists/mod.rs:227:4
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn lottery_draw<R>(upper_bound: u32, n: u32, rng: &mut R) -> Vec<u32>
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_permutation` is never used
[INFO] [stdout]    --> src/lists/mod.rs:238:4
[INFO] [stdout]     |
[INFO] [stdout] 238 | fn random_permutation<'a, A, R>(list: &'a [A], rng: &mut R) -> Vec<&'a A>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combinations` is never used
[INFO] [stdout]    --> src/lists/mod.rs:247:4
[INFO] [stdout]     |
[INFO] [stdout] 247 | fn combinations<A>(list: &[A], n: usize) -> Vec<Vec<&A>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `group` is never used
[INFO] [stdout]    --> src/lists/mod.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn group<A>(sizes: &[u8], list: &[A]) -> Option<Vec<Vec<Vec<A>>>>
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_by_length` is never used
[INFO] [stdout]    --> src/lists/mod.rs:298:4
[INFO] [stdout]     |
[INFO] [stdout] 298 | fn sort_by_length<A>(list: &[Vec<A>]) -> Vec<Vec<A>>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lists/mod.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn encode<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[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] 117 | fn encode<A: Eq>(list: &[A]) -> Vec<Occurrence<'_, A>> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lists/mod.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn encode_no_intermediary<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[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] 133 | fn encode_no_intermediary<A: Eq>(list: &[A]) -> Vec<Occurrence<'_, A>> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]    --> src/lists/mod.rs:840:13
[INFO] [stdout]     |
[INFO] [stdout] 840 |         use std::collections::BTreeMap;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]    --> src/lists/mod.rs:841:13
[INFO] [stdout]     |
[INFO] [stdout] 841 |         use std::iter::FromIterator;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length` is never used
[INFO] [stdout]   --> src/lists/mod.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn length<A>(l: &[A]) -> usize {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `can_increment` and `increment` are never used
[INFO] [stdout]    --> src/lists/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout]  89 | / impl<'a, A> Occurrence<'a, A>
[INFO] [stdout]  90 | | where
[INFO] [stdout]  91 | |     A: Eq,
[INFO] [stdout]     | |__________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |       fn can_increment(self: &Occurrence<'a, A>, elem: &'a A) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |       fn increment(occurrence: &'a Occurrence<A>, elem: &'a A) -> Option<Occurrence<'a, A>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lists/mod.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn encode<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[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] 117 | fn encode<A: Eq>(list: &[A]) -> Vec<Occurrence<'_, A>> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lists/mod.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn encode_no_intermediary<A: Eq>(list: &[A]) -> Vec<Occurrence<A>> {
[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] 133 | fn encode_no_intermediary<A: Eq>(list: &[A]) -> Vec<Occurrence<'_, A>> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s
[INFO] running `Command { std: "docker" "inspect" "51842d972b40e6621db5e85d88286526473a2df8e18c601f5b254d98796bc9dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51842d972b40e6621db5e85d88286526473a2df8e18c601f5b254d98796bc9dc", kill_on_drop: false }`
[INFO] [stdout] 51842d972b40e6621db5e85d88286526473a2df8e18c601f5b254d98796bc9dc
