[INFO] cloning repository https://github.com/lukecollier/sink
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukecollier/sink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50229fdffb201ef0d089ba4eb91aeee983a1e27b
[INFO] checking lukecollier/sink against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lukecollier/sink
[INFO] finished tweaking git repo https://github.com/lukecollier/sink
[INFO] tweaked toml for git repo https://github.com/lukecollier/sink written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lukecollier/sink on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lukecollier/sink 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha1 v0.6.0
[INFO] [stderr]   Downloaded smallvec v0.6.8
[INFO] [stderr]   Downloaded ws v0.7.9
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded mio-extras v2.0.5
[INFO] [stderr]   Downloaded walkdir v2.2.7
[INFO] [stderr]   Downloaded bincode v1.0.1
[INFO] [stderr]   Downloaded tokio-executor v0.1.6
[INFO] [stderr]   Downloaded filetime v0.2.4
[INFO] [stderr]   Downloaded inotify-sys v0.1.3
[INFO] [stderr]   Downloaded same-file v1.0.4
[INFO] [stderr]   Downloaded redox_syscall v0.1.50
[INFO] [stderr]   Downloaded colored v1.7.0
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded tokio-io v0.1.11
[INFO] [stderr]   Downloaded rand v0.4.5
[INFO] [stderr]   Downloaded unicode-normalization v0.1.8
[INFO] [stderr]   Downloaded notify v4.0.7
[INFO] [stderr]   Downloaded yansi v0.5.0
[INFO] [stderr]   Downloaded serde v1.0.87
[INFO] [stderr]   Downloaded libc v0.2.47
[INFO] [stderr]   Downloaded rand v0.6.4
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded tokio-reactor v0.1.8
[INFO] [stderr]   Downloaded seahash v3.0.5
[INFO] [stderr]   Downloaded rand_os v0.1.1
[INFO] [stderr]   Downloaded fsevent v0.2.17
[INFO] [stderr]   Downloaded inotify v0.6.1
[INFO] [stderr]   Downloaded twox-hash v1.1.2
[INFO] [stderr]   Downloaded fsevent-sys v0.1.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0f003ec1e77427ba9a06a1692d484e77d8d6caa1404ff34cdaf6aafe5e47688
[INFO] running `Command { std: "docker" "start" "-a" "f0f003ec1e77427ba9a06a1692d484e77d8d6caa1404ff34cdaf6aafe5e47688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0f003ec1e77427ba9a06a1692d484e77d8d6caa1404ff34cdaf6aafe5e47688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0f003ec1e77427ba9a06a1692d484e77d8d6caa1404ff34cdaf6aafe5e47688", kill_on_drop: false }`
[INFO] [stdout] f0f003ec1e77427ba9a06a1692d484e77d8d6caa1404ff34cdaf6aafe5e47688
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75f1aa52b4be156831defa32fbda3135ceae0d16a4723488c706b5fa38791158
[INFO] running `Command { std: "docker" "start" "-a" "75f1aa52b4be156831defa32fbda3135ceae0d16a4723488c706b5fa38791158", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.47
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking smallvec v0.6.8
[INFO] [stderr]     Checking tokio-executor v0.1.6
[INFO] [stderr]     Checking same-file v1.0.4
[INFO] [stderr]    Compiling serde v1.0.87
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]     Checking seahash v3.0.5
[INFO] [stderr]     Checking colored v1.7.0
[INFO] [stderr]     Checking yansi v0.5.0
[INFO] [stderr]     Checking walkdir v2.2.7
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking inotify-sys v0.1.3
[INFO] [stderr]     Checking filetime v0.2.4
[INFO] [stderr]     Checking rand v0.4.5
[INFO] [stderr]     Checking bytes v0.4.11
[INFO] [stderr]     Checking tokio-io v0.1.11
[INFO] [stderr]     Checking mio v0.6.16
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking twox-hash v1.1.2
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking mio-extras v2.0.5
[INFO] [stderr]     Checking tokio-reactor v0.1.8
[INFO] [stderr]     Checking inotify v0.6.1
[INFO] [stderr]     Checking notify v4.0.7
[INFO] [stderr]     Checking ws v0.7.9
[INFO] [stderr]     Checking client v0.1.0 (/opt/rustwide/workdir/client)
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused import: `core`
[INFO] [stdout]  --> client/src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[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: `core`
[INFO] [stdout]  --> client/src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[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: `user`
[INFO] [stdout]   --> client/src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn init(user: &str) -> Result<&'static str, &'static str> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> client/src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn init(user: &str) -> Result<&'static str, &'static str> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking bincode v1.0.1
[INFO] [stderr]     Checking core v0.1.0 (/opt/rustwide/workdir/core)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(hasher: &mut Hasher) -> Self {
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(hasher: &mut dyn Hasher) -> Self {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(hasher: &mut Hasher) -> Node;
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(hasher: &mut dyn Hasher) -> Node;
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn update(&mut self, mut hasher: &mut Hasher) -> Self  {
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn update(&mut self, mut hasher: &mut dyn Hasher) -> Self  {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn update(&mut self, hasher: &mut Hasher) -> Self;
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn update(&mut self, hasher: &mut dyn Hasher) -> Self;
[INFO] [stdout]   |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn hash_key(&mut self, hasher: &mut Hasher) {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn hash_key(&mut self, hasher: &mut dyn Hasher) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:9:41
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn hash_key(&mut self, hasher: &mut Hasher);
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn hash_key(&mut self, hasher: &mut dyn Hasher);
[INFO] [stdout]   |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hash_node(&mut self, hasher: &mut Hasher) -> u64 {
[INFO] [stdout]    |                                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hash_node(&mut self, hasher: &mut dyn Hasher) -> u64 {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:10:42
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn hash_node(&mut self, hasher: &mut Hasher) -> u64;
[INFO] [stdout]    |                                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn hash_node(&mut self, hasher: &mut dyn Hasher) -> u64;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/hash_tree.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn calc_hash(bytes: Vec<u8>, hasher: &mut Hasher) -> u64 {
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn calc_hash(bytes: Vec<u8>, hasher: &mut dyn Hasher) -> u64 {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/lib.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn visit_dirs(dir: &Path, cb: &Fn(PathBuf) -> Result<u64>) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn visit_dirs(dir: &Path, cb: &dyn Fn(PathBuf) -> Result<u64>) -> Result<()> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `iterator`
[INFO] [stdout]   --> core/src/hash_tree.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let iterator = self.clone().into_iter();
[INFO] [stdout]    |             -------- move occurs because `iterator` has type `HashTreeIterator`, which does not implement the `Copy` trait
[INFO] [stdout] 41 |         iterator.for_each(|mut node| node.hash_key(&mut hasher)); 
[INFO] [stdout]    |                  ----------------------------------------------- `iterator` moved due to this method call
[INFO] [stdout] 42 |         let node: Node = iterator.collect();
[INFO] [stdout]    |                          ^^^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `for_each` takes ownership of the receiver `self`, which moves `iterator`
[INFO] [stdout]   --> /rustc/bac5816c5f3d02cebd0599070af62d1782530294/library/core/src/iter/traits/iterator.rs:818:19
[INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior
[INFO] [stdout]    |
[INFO] [stdout] 41 |         iterator.clone().for_each(|mut node| node.hash_key(&mut hasher)); 
[INFO] [stdout]    |                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> core/src/hash_tree.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let node: Node = iterator.collect();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(hasher: &mut Hasher) -> Self {
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(hasher: &mut dyn Hasher) -> Self {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `core` (lib) due to 1 previous error; 11 warnings emitted
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(hasher: &mut Hasher) -> Node;
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(hasher: &mut dyn Hasher) -> Node;
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn update(&mut self, mut hasher: &mut Hasher) -> Self  {
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn update(&mut self, mut hasher: &mut dyn Hasher) -> Self  {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn update(&mut self, hasher: &mut Hasher) -> Self;
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn update(&mut self, hasher: &mut dyn Hasher) -> Self;
[INFO] [stdout]   |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn hash_key(&mut self, hasher: &mut Hasher) {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn hash_key(&mut self, hasher: &mut dyn Hasher) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> core/src/hash_tree.rs:9:41
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn hash_key(&mut self, hasher: &mut Hasher);
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn hash_key(&mut self, hasher: &mut dyn Hasher);
[INFO] [stdout]   |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hash_node(&mut self, hasher: &mut Hasher) -> u64 {
[INFO] [stdout]    |                                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hash_node(&mut self, hasher: &mut dyn Hasher) -> u64 {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/hash_tree.rs:10:42
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn hash_node(&mut self, hasher: &mut Hasher) -> u64;
[INFO] [stdout]    |                                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn hash_node(&mut self, hasher: &mut dyn Hasher) -> u64;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/hash_tree.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn calc_hash(bytes: Vec<u8>, hasher: &mut Hasher) -> u64 {
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn calc_hash(bytes: Vec<u8>, hasher: &mut dyn Hasher) -> u64 {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> core/src/lib.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn visit_dirs(dir: &Path, cb: &Fn(PathBuf) -> Result<u64>) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn visit_dirs(dir: &Path, cb: &dyn Fn(PathBuf) -> Result<u64>) -> Result<()> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `iterator`
[INFO] [stdout]   --> core/src/hash_tree.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let iterator = self.clone().into_iter();
[INFO] [stdout]    |             -------- move occurs because `iterator` has type `HashTreeIterator`, which does not implement the `Copy` trait
[INFO] [stdout] 41 |         iterator.for_each(|mut node| node.hash_key(&mut hasher)); 
[INFO] [stdout]    |                  ----------------------------------------------- `iterator` moved due to this method call
[INFO] [stdout] 42 |         let node: Node = iterator.collect();
[INFO] [stdout]    |                          ^^^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `for_each` takes ownership of the receiver `self`, which moves `iterator`
[INFO] [stdout]   --> /rustc/bac5816c5f3d02cebd0599070af62d1782530294/library/core/src/iter/traits/iterator.rs:818:19
[INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior
[INFO] [stdout]    |
[INFO] [stdout] 41 |         iterator.clone().for_each(|mut node| node.hash_key(&mut hasher)); 
[INFO] [stdout]    |                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> core/src/hash_tree.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let node: Node = iterator.collect();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let mut expected = Node { key: 1, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut actual = Node::new(&mut hasher);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut hasher = FakeHash::new();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut node_two = Node { key: 2, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut node_five = Node { key: 5, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasher`
[INFO] [stdout]    --> core/src/hash_tree.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut hasher = FakeHash::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let mut node_two = Node { key: 2, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut node_four = Node { key: 4, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let mut node_two = Node { key: 2, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let mut node_four = Node { key: 4, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let mut expected_node_two = Node { key: 3, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:189:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let mut expected_node_four = Node { key: 1, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut node_two = Node { key: 0, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut node_four = Node { key: 0, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let mut expected_node_two = Node { key: 3, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/hash_tree.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let mut expected_node_four = Node { key: 1, nodes: vec![], value: vec![]};
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `core` (lib test) due to 1 previous error; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "75f1aa52b4be156831defa32fbda3135ceae0d16a4723488c706b5fa38791158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75f1aa52b4be156831defa32fbda3135ceae0d16a4723488c706b5fa38791158", kill_on_drop: false }`
[INFO] [stdout] 75f1aa52b4be156831defa32fbda3135ceae0d16a4723488c706b5fa38791158
