[INFO] fetching crate recollection 0.1.1-beta.0...
[INFO] checking recollection-0.1.1-beta.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate recollection 0.1.1-beta.0 into /workspace/builds/worker-6-tc2/source
[INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate recollection 0.1.1-beta.0 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b5c22a85fcc38c4282a0e0b2663e28d75263e3cf8d9cc29b80aeecb3d62dd7b
[INFO] running `Command { std: "docker" "start" "-a" "9b5c22a85fcc38c4282a0e0b2663e28d75263e3cf8d9cc29b80aeecb3d62dd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b5c22a85fcc38c4282a0e0b2663e28d75263e3cf8d9cc29b80aeecb3d62dd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b5c22a85fcc38c4282a0e0b2663e28d75263e3cf8d9cc29b80aeecb3d62dd7b", kill_on_drop: false }`
[INFO] [stdout] 9b5c22a85fcc38c4282a0e0b2663e28d75263e3cf8d9cc29b80aeecb3d62dd7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5208200c7c992d16b3f0dfed73d8871af767e1c4c79197ee95a74b90573c404
[INFO] running `Command { std: "docker" "start" "-a" "f5208200c7c992d16b3f0dfed73d8871af767e1c4c79197ee95a74b90573c404", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[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 crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling semver v1.0.3
[INFO] [stderr]     Checking itoa v0.4.7
[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]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]    Compiling cast v0.2.7
[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 plotters v0.3.1
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking rayon v1.5.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)]` (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] [stderr]     Checking criterion v0.3.5
[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] error: struct `Edges` is never constructed
[INFO] [stdout]    --> src/data/graph.rs:706:12
[INFO] [stdout]     |
[INFO] [stdout] 706 | pub struct Edges<'a, E: 'a> where E: Clone {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) 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] error: could not compile `recollection` (lib) due to 1 previous error; 19 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f5208200c7c992d16b3f0dfed73d8871af767e1c4c79197ee95a74b90573c404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5208200c7c992d16b3f0dfed73d8871af767e1c4c79197ee95a74b90573c404", kill_on_drop: false }`
[INFO] [stdout] f5208200c7c992d16b3f0dfed73d8871af767e1c4c79197ee95a74b90573c404
