[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] testing pineapplehunter/Append-Only-Storage against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pineapplehunter/Append-Only-Storage on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89d626e8149a83f2172788fa4e505064662436b472ac6fb917c0751ab69d0fa6
[INFO] running `Command { std: "docker" "start" "-a" "89d626e8149a83f2172788fa4e505064662436b472ac6fb917c0751ab69d0fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89d626e8149a83f2172788fa4e505064662436b472ac6fb917c0751ab69d0fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89d626e8149a83f2172788fa4e505064662436b472ac6fb917c0751ab69d0fa6", kill_on_drop: false }`
[INFO] [stdout] 89d626e8149a83f2172788fa4e505064662436b472ac6fb917c0751ab69d0fa6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47906416a5fbb833b444b0d99ce992a25c34ff2bec1fe1f80b870e6f4aec52f1
[INFO] running `Command { std: "docker" "start" "-a" "47906416a5fbb833b444b0d99ce992a25c34ff2bec1fe1f80b870e6f4aec52f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling block-padding v0.1.4
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling sha2 v0.8.0
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling 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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s
[INFO] running `Command { std: "docker" "inspect" "47906416a5fbb833b444b0d99ce992a25c34ff2bec1fe1f80b870e6f4aec52f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47906416a5fbb833b444b0d99ce992a25c34ff2bec1fe1f80b870e6f4aec52f1", kill_on_drop: false }`
[INFO] [stdout] 47906416a5fbb833b444b0d99ce992a25c34ff2bec1fe1f80b870e6f4aec52f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 563da6965c254b3063ab5e52faf0a3b0397b1c98d8458efcccddfa59384c3b75
[INFO] running `Command { std: "docker" "start" "-a" "563da6965c254b3063ab5e52faf0a3b0397b1c98d8458efcccddfa59384c3b75", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling vec_map v0.8.1
[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] [stderr]    Compiling same-file v1.0.5
[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]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling bstr v0.2.8
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling globset v0.4.4
[INFO] [stderr]    Compiling ignore v0.4.10
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling structopt-derive v0.3.3
[INFO] [stderr]    Compiling structopt v0.3.3
[INFO] [stderr]    Compiling 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: `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] 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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.22s
[INFO] running `Command { std: "docker" "inspect" "563da6965c254b3063ab5e52faf0a3b0397b1c98d8458efcccddfa59384c3b75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "563da6965c254b3063ab5e52faf0a3b0397b1c98d8458efcccddfa59384c3b75", kill_on_drop: false }`
[INFO] [stdout] 563da6965c254b3063ab5e52faf0a3b0397b1c98d8458efcccddfa59384c3b75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7d56ef7a472b1ce0cb51a2c7deda2ba63f2d98170100656728a0e49a4be4351d
[INFO] running `Command { std: "docker" "start" "-a" "7d56ef7a472b1ce0cb51a2c7deda2ba63f2d98170100656728a0e49a4be4351d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::ptr::hash`
[INFO] [stderr]  --> src/file.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::ptr::hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]  --> src/storage.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{Error, Read, Write};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr::hash`
[INFO] [stderr]  --> src/storage.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::ptr::hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/storage.rs:4:28
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{Error, Read, Write};
[INFO] [stderr]   |                            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/file.rs:49:21
[INFO] [stderr]    |
[INFO] [stderr] 49 |                 let mut hashes = hashes_lock.read().expect("could not get write lock");
[INFO] [stderr]    |                     ----^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/file.rs:78:17
[INFO] [stderr]    |
[INFO] [stderr] 78 |             let mut size_left = buf.len();
[INFO] [stderr]    |                 ----^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `hashes` are never read
[INFO] [stderr]   --> src/file.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct FileWriter<'a> {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr]  9 |     id: usize,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 10 |     storage: &'a Storage,
[INFO] [stderr] 11 |     hashes: Vec<Hash>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `storage`, `index`, and `hashes` are never read
[INFO] [stderr]   --> src/file.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct FileReader<'a> {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 17 |     storage: &'a Storage,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 18 |     index: usize,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 19 |     hashes: Vec<Hash>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/file.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |         self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/file.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |         std::io::copy(&mut self.temp_file, &mut hasher);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let _ = std::io::copy(&mut self.temp_file, &mut hasher);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/file.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |         self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let _ = self.temp_file.seek(SeekFrom::Start(0));
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/file.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             std::io::copy(&mut self.temp_file, &mut files.storage_file);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 61 |             let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/file.rs:64:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |             writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 64 |             let _ = writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/storage.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |         std::fs::DirBuilder::new().create(&path);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 28 |         let _ = std::fs::DirBuilder::new().create(&path);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/storage.rs:81:28
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn new_file_writer(&self) -> FileWriter {
[INFO] [stderr]    |                            ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn new_file_writer(&self) -> FileWriter<'_> {
[INFO] [stderr]    |                                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `hash-storage` (lib) generated 15 warnings (run `cargo fix --lib -p hash-storage` to apply 6 suggestions)
[INFO] [stderr] warning: unused import: `FileType`
[INFO] [stderr]  --> examples/save_recursive.rs:5:21
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::fs::{File, FileType};
[INFO] [stderr]   |                     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `WalkParallel` and `Walk`
[INFO] [stderr]  --> examples/save_recursive.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 | use ignore::{Walk, WalkBuilder, WalkParallel, WalkState};
[INFO] [stderr]   |              ^^^^               ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hash-storage` (lib test) generated 15 warnings (15 duplicates)
[INFO] [stderr] warning: `hash-storage` (example "save_recursive") generated 2 warnings (run `cargo fix --example "save_recursive" -p hash-storage` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hash_storage-8c32ae1c004dadea)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hash_storage
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7d56ef7a472b1ce0cb51a2c7deda2ba63f2d98170100656728a0e49a4be4351d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d56ef7a472b1ce0cb51a2c7deda2ba63f2d98170100656728a0e49a4be4351d", kill_on_drop: false }`
[INFO] [stdout] 7d56ef7a472b1ce0cb51a2c7deda2ba63f2d98170100656728a0e49a4be4351d
