[INFO] fetching crate recollection 0.1.1-beta.0...
[INFO] checking recollection-0.1.1-beta.0 against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] extracting crate recollection 0.1.1-beta.0 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate recollection 0.1.1-beta.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate recollection 0.1.1-beta.0
[INFO] tweaked toml for crates.io crate recollection 0.1.1-beta.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate recollection 0.1.1-beta.0 on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate recollection 0.1.1-beta.0 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f43492640c2f9069b67395a29b9d557e5e957e1906577e83eeb11a6653bbc9ed
[INFO] running `Command { std: "docker" "start" "-a" "f43492640c2f9069b67395a29b9d557e5e957e1906577e83eeb11a6653bbc9ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f43492640c2f9069b67395a29b9d557e5e957e1906577e83eeb11a6653bbc9ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43492640c2f9069b67395a29b9d557e5e957e1906577e83eeb11a6653bbc9ed", kill_on_drop: false }`
[INFO] [stdout] f43492640c2f9069b67395a29b9d557e5e957e1906577e83eeb11a6653bbc9ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd9eb6b53e59353db6694bf99a496ce7200f35b24616464bcc018724fac3c45c
[INFO] running `Command { std: "docker" "start" "-a" "bd9eb6b53e59353db6694bf99a496ce7200f35b24616464bcc018724fac3c45c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling semver v1.0.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling serde_json v1.0.65
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking bstr v0.2.16
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking recollection v0.1.1-beta.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `hash`, `iter`, and `slice`
[INFO] [stdout]  --> src/data/graph.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{iter, slice, vec, ops, fmt, hash};
[INFO] [stdout]   |           ^^^^  ^^^^^                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirEntry`
[INFO] [stdout]  --> src/fs.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{env, fs::{self, DirEntry, ReadDir}, io::{self, prelude::*}, path::PathBuf};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RecolError` and `RecolResult`
[INFO] [stdout]  --> src/channel/mod.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{RecolError, RecolResult};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/channel/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{sync::{self, Arc, Mutex, mpsc}, thread};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/data/chain.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{ops, fmt::{self, Write}};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/data/graph.rs:372:13
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let n = self.nodes.get(a)?;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link`
[INFO] [stdout]   --> src/data/chain.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let link = Self::new(data);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_link`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/fs.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stdout] warning: trait `ActionWrap` is more private than the item `ActionHandler`
[INFO] [stdout]   --> src/channel/mod.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub type ActionHandler = Box<dyn ActionWrap + Send + 'static>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ type alias `ActionHandler` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ActionWrap` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/channel/mod.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | trait ActionWrap {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_src`, `set_dest`, `set_both`, `set`, and `next_mut` are never used
[INFO] [stdout]    --> src/data/graph.rs:97:8
[INFO] [stdout]     |
[INFO] [stdout] 87  | impl NodeLink {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97  |     fn set_src(&mut self, src: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn set_dest(&mut self, dest: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn set_both(&mut self, node: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn set(&mut self, dir: &Direction, node: NodeIx) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn next_mut(&mut self, dir: &Direction) -> &mut NodeIx {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `src` is never read
[INFO] [stdout]    --> src/data/graph.rs:707:5
[INFO] [stdout]     |
[INFO] [stdout] 706 | pub struct Edges<'a, E: 'a> where E: Clone {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 707 |     src: NodeIx,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Edges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ix`, `node`, and `weight` are never read
[INFO] [stdout]    --> src/data/graph.rs:737:5
[INFO] [stdout]     |
[INFO] [stdout] 736 | pub struct EdgeRef<'a, E: 'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 737 |     ix: EdgeIx,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 738 |     node: NodeLink,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 739 |     weight: &'a E,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EdgeRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OpLike` is never used
[INFO] [stdout]   --> src/channel/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait OpLike {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:521:22
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<E> {
[INFO] [stdout]     |                      ^^^^^                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:525:31
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<E> {
[INFO] [stdout]     |                               ^^^^^                                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:537:33
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn neighbors_undirected(&self, a: NodeIx) -> Neighbors<E> {
[INFO] [stdout]     |                                 ^^^^^                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn neighbors_undirected(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/fs.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 18 -     for d in fs::read_dir(pwd()?) {
[INFO] [stdout] 18 +     while let Ok(d) = fs::read_dir(pwd()?) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?)? {
[INFO] [stdout]    |                                  +
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 18 -     for d in fs::read_dir(pwd()?) {
[INFO] [stdout] 18 +     if let Ok(d) = fs::read_dir(pwd()?) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Inspect` that must be used
[INFO] [stdout]   --> src/channel/mod.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | /         self.workers.iter()
[INFO] [stdout] 86 | |             .inspect(|_| self.sender.send(Op::Terminate).unwrap());
[INFO] [stdout]    | |__________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let _ = self.workers.iter()
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/channel/mod.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     thread.join();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let _ = thread.join();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `Graph`, `Node`, `RecolError`, `copy`, and `rm`
[INFO] [stdout]  --> src/bin/main.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use recollection::{RecolError, RecolResult,
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 3 |     data::{Graph, Node, Edge},
[INFO] [stdout]   |            ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 4 |     fs::{cat, copy, rm, touch, mkdir}
[INFO] [stdout]   |               ^^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/bin/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let r = cat("./Cargo.toml")?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fi`
[INFO] [stdout]   --> src/bin/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let fi = touch("./test.toml")?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_fi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `td`
[INFO] [stdout]   --> src/bin/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let td = mkdir("./testdir")?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_td`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tests` is never used
[INFO] [stdout]   --> src/bin/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn tests() -> RecolResult<()> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `Graph`, `Node`, `RecolError`, `copy`, and `rm`
[INFO] [stdout]  --> src/bin/main.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use recollection::{RecolError, RecolResult,
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 3 |     data::{Graph, Node, Edge},
[INFO] [stdout]   |            ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 4 |     fs::{cat, copy, rm, touch, mkdir}
[INFO] [stdout]   |               ^^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/bin/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let r = cat("./Cargo.toml")?;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fi`
[INFO] [stdout]   --> src/bin/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let fi = touch("./test.toml")?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_fi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `td`
[INFO] [stdout]   --> src/bin/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let td = mkdir("./testdir")?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_td`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tests` is never used
[INFO] [stdout]   --> src/bin/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn tests() -> RecolResult<()> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash`, `iter`, and `slice`
[INFO] [stdout]  --> src/data/graph.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{iter, slice, vec, ops, fmt, hash};
[INFO] [stdout]   |           ^^^^  ^^^^^                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirEntry`
[INFO] [stdout]  --> src/fs.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{env, fs::{self, DirEntry, ReadDir}, io::{self, prelude::*}, path::PathBuf};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RecolError` and `RecolResult`
[INFO] [stdout]  --> src/channel/mod.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{RecolError, RecolResult};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/channel/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{sync::{self, Arc, Mutex, mpsc}, thread};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction`, `Edge`, `Node`, `RecolError`, and `RecolResult`
[INFO] [stdout]  --> benches/graph/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     RecolResult, RecolError,
[INFO] [stdout]   |     ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 5 |     data::graph::{Direction, Node, Edge, Graph},
[INFO] [stdout]   |                   ^^^^^^^^^  ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/data/chain.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{ops, fmt::{self, Write}};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/data/graph.rs:372:13
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let n = self.nodes.get(a)?;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link`
[INFO] [stdout]   --> src/data/chain.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let link = Self::new(data);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_link`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/fs.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ActionWrap` is more private than the item `ActionHandler`
[INFO] [stdout]   --> src/channel/mod.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub type ActionHandler = Box<dyn ActionWrap + Send + 'static>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ type alias `ActionHandler` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `ActionWrap` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/channel/mod.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | trait ActionWrap {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_src`, `set_dest`, `set_both`, `set`, and `next_mut` are never used
[INFO] [stdout]    --> src/data/graph.rs:97:8
[INFO] [stdout]     |
[INFO] [stdout] 87  | impl NodeLink {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97  |     fn set_src(&mut self, src: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn set_dest(&mut self, dest: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn set_both(&mut self, node: NodeIx) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn set(&mut self, dir: &Direction, node: NodeIx) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn next_mut(&mut self, dir: &Direction) -> &mut NodeIx {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `src` is never read
[INFO] [stdout]    --> src/data/graph.rs:707:5
[INFO] [stdout]     |
[INFO] [stdout] 706 | pub struct Edges<'a, E: 'a> where E: Clone {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 707 |     src: NodeIx,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Edges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ix`, `node`, and `weight` are never read
[INFO] [stdout]    --> src/data/graph.rs:737:5
[INFO] [stdout]     |
[INFO] [stdout] 736 | pub struct EdgeRef<'a, E: 'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 737 |     ix: EdgeIx,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 738 |     node: NodeLink,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 739 |     weight: &'a E,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EdgeRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OpLike` is never used
[INFO] [stdout]   --> src/channel/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait OpLike {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:521:22
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<E> {
[INFO] [stdout]     |                      ^^^^^                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:525:31
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<E> {
[INFO] [stdout]     |                               ^^^^^                                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/data/graph.rs:537:33
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn neighbors_undirected(&self, a: NodeIx) -> Neighbors<E> {
[INFO] [stdout]     |                                 ^^^^^                ------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn neighbors_undirected(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/fs.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 18 -     for d in fs::read_dir(pwd()?) {
[INFO] [stdout] 18 +     while let Ok(d) = fs::read_dir(pwd()?) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for d in fs::read_dir(pwd()?)? {
[INFO] [stdout]    |                                  +
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 18 -     for d in fs::read_dir(pwd()?) {
[INFO] [stdout] 18 +     if let Ok(d) = fs::read_dir(pwd()?) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Inspect` that must be used
[INFO] [stdout]   --> src/channel/mod.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | /         self.workers.iter()
[INFO] [stdout] 86 | |             .inspect(|_| self.sender.send(Op::Terminate).unwrap());
[INFO] [stdout]    | |__________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let _ = self.workers.iter()
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/channel/mod.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     thread.join();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let _ = thread.join();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5
[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" "bd9eb6b53e59353db6694bf99a496ce7200f35b24616464bcc018724fac3c45c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd9eb6b53e59353db6694bf99a496ce7200f35b24616464bcc018724fac3c45c", kill_on_drop: false }`
[INFO] [stdout] bd9eb6b53e59353db6694bf99a496ce7200f35b24616464bcc018724fac3c45c
