[INFO] cloning repository https://github.com/pineapplehunter/Append-Only-Storage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pineapplehunter/Append-Only-Storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0039794e3c91771fff58f1ff0d8f99201bb21289
[INFO] checking pineapplehunter/Append-Only-Storage against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pineapplehunter/Append-Only-Storage
[INFO] finished tweaking git repo https://github.com/pineapplehunter/Append-Only-Storage
[INFO] tweaked toml for git repo https://github.com/pineapplehunter/Append-Only-Storage written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pineapplehunter/Append-Only-Storage on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pineapplehunter/Append-Only-Storage 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8475d1f39798970bdca7502783e303e8a9e92d3c879f1a693b7b140680bb097
[INFO] running `Command { std: "docker" "start" "-a" "f8475d1f39798970bdca7502783e303e8a9e92d3c879f1a693b7b140680bb097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8475d1f39798970bdca7502783e303e8a9e92d3c879f1a693b7b140680bb097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8475d1f39798970bdca7502783e303e8a9e92d3c879f1a693b7b140680bb097", kill_on_drop: false }`
[INFO] [stdout] f8475d1f39798970bdca7502783e303e8a9e92d3c879f1a693b7b140680bb097
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a162f908dd62a23d255d1c072467be012267a14190c70dba32151812a4b067af
[INFO] running `Command { std: "docker" "start" "-a" "a162f908dd62a23d255d1c072467be012267a14190c70dba32151812a4b067af", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking block-padding v0.1.4
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]     Checking log v0.4.8
[INFO] [stderr]     Checking bstr v0.2.8
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking sha2 v0.8.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking hash-storage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/file.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::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: `Error`
[INFO] [stdout]  --> src/storage.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/storage.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/storage.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 let mut hashes = hashes_lock.read().expect("could not get write lock");
[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]   --> src/file.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let mut size_left = buf.len();
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `hashes` are never read
[INFO] [stdout]   --> src/file.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct FileWriter<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  9 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     storage: &'a Storage,
[INFO] [stdout] 11 |     hashes: Vec<Hash>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `storage`, `index`, and `hashes` are never read
[INFO] [stdout]   --> src/file.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct FileReader<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 17 |     storage: &'a Storage,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 18 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     hashes: Vec<Hash>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 35 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         std::io::copy(&mut self.temp_file, &mut hasher);
[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] 36 |         let _ = std::io::copy(&mut self.temp_file, &mut hasher);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         self.temp_file.seek(SeekFrom::Start(0));
[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] 45 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             std::io::copy(&mut self.temp_file, &mut files.storage_file);
[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] 61 |             let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[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] 64 |             let _ = writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/storage.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         std::fs::DirBuilder::new().create(&path);
[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] 28 |         let _ = std::fs::DirBuilder::new().create(&path);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn new_file_writer(&self) -> FileWriter {
[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] 81 |     pub fn new_file_writer(&self) -> FileWriter<'_> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking globset v0.4.4
[INFO] [stderr]     Checking ignore v0.4.10
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling structopt-derive v0.3.3
[INFO] [stderr]     Checking structopt v0.3.3
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/file.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::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: `Error`
[INFO] [stdout]  --> src/storage.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/storage.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/storage.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 let mut hashes = hashes_lock.read().expect("could not get write lock");
[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]   --> src/file.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let mut size_left = buf.len();
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `hashes` are never read
[INFO] [stdout]   --> src/file.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct FileWriter<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  9 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     storage: &'a Storage,
[INFO] [stdout] 11 |     hashes: Vec<Hash>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `storage`, `index`, and `hashes` are never read
[INFO] [stdout]   --> src/file.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct FileReader<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 17 |     storage: &'a Storage,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 18 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     hashes: Vec<Hash>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 35 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         std::io::copy(&mut self.temp_file, &mut hasher);
[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] 36 |         let _ = std::io::copy(&mut self.temp_file, &mut hasher);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         self.temp_file.seek(SeekFrom::Start(0));
[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] 45 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             std::io::copy(&mut self.temp_file, &mut files.storage_file);
[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] 61 |             let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/file.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[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] 64 |             let _ = writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/storage.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         std::fs::DirBuilder::new().create(&path);
[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] 28 |         let _ = std::fs::DirBuilder::new().create(&path);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn new_file_writer(&self) -> FileWriter {
[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] 81 |     pub fn new_file_writer(&self) -> FileWriter<'_> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileType`
[INFO] [stdout]  --> examples/save_recursive.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::{File, FileType};
[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 imports: `WalkParallel` and `Walk`
[INFO] [stdout]  --> examples/save_recursive.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ignore::{Walk, WalkBuilder, WalkParallel, WalkState};
[INFO] [stdout]   |              ^^^^               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> examples/save_recursive.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | /     #[structopt(short = "o", long = "out_dir")]
[INFO] [stdout] 15 | |     out_dir: String,
[INFO] [stdout]    | |___________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> examples/save_recursive.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     #[structopt(short = "i", long = "input_dir")]
[INFO] [stdout] 17 | |     input_dir: String,
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hash-storage` (example "save_recursive") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> examples/save.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     #[structopt(short = "o", long = "out_dir")]
[INFO] [stdout] 12 | |     out_dir: String,
[INFO] [stdout]    | |___________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> examples/save.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | /     #[structopt(short = "i", long = "input_file")]
[INFO] [stdout] 14 | |     input_file: String,
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hash-storage` (example "save") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a162f908dd62a23d255d1c072467be012267a14190c70dba32151812a4b067af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a162f908dd62a23d255d1c072467be012267a14190c70dba32151812a4b067af", kill_on_drop: false }`
[INFO] [stdout] a162f908dd62a23d255d1c072467be012267a14190c70dba32151812a4b067af
