[INFO] fetching crate recollection 0.1.1-beta.0... [INFO] checking recollection-0.1.1-beta.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate recollection 0.1.1-beta.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate recollection 0.1.1-beta.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f65f2d42eb700b38a15ab8a9cae270e8f1bbc22cf761041c6f9c661dd339b9d [INFO] running `Command { std: "docker" "start" "-a" "9f65f2d42eb700b38a15ab8a9cae270e8f1bbc22cf761041c6f9c661dd339b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f65f2d42eb700b38a15ab8a9cae270e8f1bbc22cf761041c6f9c661dd339b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f65f2d42eb700b38a15ab8a9cae270e8f1bbc22cf761041c6f9c661dd339b9d", kill_on_drop: false }` [INFO] [stdout] 9f65f2d42eb700b38a15ab8a9cae270e8f1bbc22cf761041c6f9c661dd339b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c0445f77d2bc952943c3b9f344c8319a1e8f6f2da13472705c14ca8a878911 [INFO] running `Command { std: "docker" "start" "-a" "61c0445f77d2bc952943c3b9f344c8319a1e8f6f2da13472705c14ca8a878911", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [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] Compiling semver v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ryu v1.0.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 serde_json v1.0.65 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [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 regex-syntax v0.6.25 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking csv-core v0.1.10 [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 rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [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] [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; [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] [stderr] Checking criterion v0.3.5 [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] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/graph.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn src(self) -> NodeIx { self.node.src } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / impl ops::Deref for Edge [INFO] [stdout] 237 | | where [INFO] [stdout] 238 | | E: Clone [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 239 | { [INFO] [stdout] 240 | type Target = E; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/graph.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn dest(self) -> NodeIx { self.node.dest } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / impl ops::Deref for Edge [INFO] [stdout] 237 | | where [INFO] [stdout] 238 | | E: Clone [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 239 | { [INFO] [stdout] 240 | type Target = E; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/graph.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn is_loop(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / impl ops::Deref for Edge [INFO] [stdout] 237 | | where [INFO] [stdout] 238 | | E: Clone [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 239 | { [INFO] [stdout] 240 | type Target = E; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/graph.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn node(&self, dir: &Direction) -> NodeIx { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / impl ops::Deref for Edge [INFO] [stdout] 237 | | where [INFO] [stdout] 238 | | E: Clone [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 239 | { [INFO] [stdout] 240 | type Target = E; [INFO] [stdout] | ----------- with `Target` set here [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 { [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 { [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 { [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] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn data(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn set_data(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn data_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn next(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn next_mut(&mut self) -> &mut Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/data/chain.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_next(&mut self, next: Option>>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl ops::Deref for Chain { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [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 11 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "61c0445f77d2bc952943c3b9f344c8319a1e8f6f2da13472705c14ca8a878911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c0445f77d2bc952943c3b9f344c8319a1e8f6f2da13472705c14ca8a878911", kill_on_drop: false }` [INFO] [stdout] 61c0445f77d2bc952943c3b9f344c8319a1e8f6f2da13472705c14ca8a878911