[INFO] fetching crate recollection 0.1.1-beta.0...
[INFO] building recollection-0.1.1-beta.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate recollection 0.1.1-beta.0 into /workspace/builds/worker-1-tc1/source
[INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate recollection 0.1.1-beta.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.2.9
[INFO] [stderr]   Downloaded half v1.7.1
[INFO] [stderr]   Downloaded plotters-svg v0.3.1
[INFO] [stderr]   Downloaded plotters-backend v0.3.2
[INFO] [stderr]   Downloaded criterion-plot v0.4.4
[INFO] [stderr]   Downloaded cast v0.2.7
[INFO] [stderr]   Downloaded semver v1.0.3
[INFO] [stderr]   Downloaded serde_cbor v0.11.1
[INFO] [stderr]   Downloaded criterion v0.3.5
[INFO] [stderr]   Downloaded serde v1.0.126
[INFO] [stderr]   Downloaded serde_json v1.0.65
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded syn v1.0.74
[INFO] [stderr]   Downloaded bstr v0.2.16
[INFO] [stderr]   Downloaded plotters v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad290e4b03766ae39a231f899eced8d8cbde5d594073d801adab2c4137781a7b
[INFO] running `Command { std: "docker" "start" "-a" "ad290e4b03766ae39a231f899eced8d8cbde5d594073d801adab2c4137781a7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad290e4b03766ae39a231f899eced8d8cbde5d594073d801adab2c4137781a7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad290e4b03766ae39a231f899eced8d8cbde5d594073d801adab2c4137781a7b", kill_on_drop: false }`
[INFO] [stdout] ad290e4b03766ae39a231f899eced8d8cbde5d594073d801adab2c4137781a7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c52bf4bd157fee347fe1f25deb5ed476f109742bcac52f34c0f94a4a546449a
[INFO] running `Command { std: "docker" "start" "-a" "0c52bf4bd157fee347fe1f25deb5ed476f109742bcac52f34c0f94a4a546449a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.65
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.35s
[INFO] running `Command { std: "docker" "inspect" "0c52bf4bd157fee347fe1f25deb5ed476f109742bcac52f34c0f94a4a546449a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c52bf4bd157fee347fe1f25deb5ed476f109742bcac52f34c0f94a4a546449a", kill_on_drop: false }`
[INFO] [stdout] 0c52bf4bd157fee347fe1f25deb5ed476f109742bcac52f34c0f94a4a546449a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8181f1ef2320bce7ae32e7bf0984231d70a32b41428e51d538b54f71050abeb0
[INFO] running `Command { std: "docker" "start" "-a" "8181f1ef2320bce7ae32e7bf0984231d70a32b41428e51d538b54f71050abeb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling plotters-backend v0.3.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling half v1.7.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling plotters-svg v0.3.1
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling oorandom v11.1.3
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling plotters v0.3.1
[INFO] [stderr]    Compiling serde_cbor v0.11.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling criterion-plot v0.4.4
[INFO] [stderr]    Compiling criterion v0.3.5
[INFO] [stderr]    Compiling recollection v0.1.1-beta.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 521 |     pub fn neighbors(&self, a: NodeIx) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 525 |     pub fn neighbors_directed(&self, a: NodeIx, dir: Direction) -> Neighbors<'_, E> {
[INFO] [stdout]     |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 22.52s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "8181f1ef2320bce7ae32e7bf0984231d70a32b41428e51d538b54f71050abeb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8181f1ef2320bce7ae32e7bf0984231d70a32b41428e51d538b54f71050abeb0", kill_on_drop: false }`
[INFO] [stdout] 8181f1ef2320bce7ae32e7bf0984231d70a32b41428e51d538b54f71050abeb0
